oblique / create_ap

[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
BSD 2-Clause "Simplified" License
4.45k stars 1k forks source link

Cannot use "nmcli connect" after using create_ap #408

Open FSet89 opened 5 years ago

FSet89 commented 5 years ago

Consider the following scenario: a SBC running Ubuntu 16.04 generates an AP with the command create_ap -n wlan0 mynetwork mypassword A device connected to the AP sends some WIFI credentials to the SBC. At the next reboot, the SBC connects to the WIFI network instead of generating an AP. I tried to implement this pipeline. Since the create_ap script sets the interface as unmanaged for NetworkManager, I tried to run: nmcli dev set wlan0 managed yes nmcli dev wifi connect "mynetwork" password "mypassword"

But this is not working. Is there some other setting that is changed by create_ap that I have to take into account?

Rqbiny commented 4 years ago

hello ,I also encountered this problem. How did you solve it? thank you

Rqbiny commented 4 years ago

I have solved it /etc/NetworkManager/NetworkManager.conf last line Comment out it