davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
322 stars 54 forks source link

Hide Access point(SSID) #66

Closed Muzzamil1 closed 4 years ago

Muzzamil1 commented 4 years ago

Hi, @davesteele Thanks for the Great project! I just want to ask, is it possible to hide the access point(SSID)? And how to connect if there is a network that requires a user name or something like a login key?

davesteele commented 4 years ago

Yiou can make the AP hidden by adding "hidden=TRUE" to the "[wifi]" section of the NetworkManager configuration file in /etc/NetworkManager/system-connections. (See https://developer.gnome.org/NetworkManager/stable/nm-settings.html)

Login authentication for upstream APs is discussed in #65.

Muzzamil1 commented 4 years ago

Ok, thanks. I will try.

Muzzamil1 commented 4 years ago

Hi, @davesteele I try to hide the network but it didn't work. I did the following steps: cd /etc/NetworkManager/system-connections sudo nano wifiTest-0000.nmconnection and added hidden=TRUE in wifi section.

steps

Then I clear the previously saved configuration using comitup-cli and then reboot the Pi. But after booting I can still see the Access Point. Then I go to wifiTest-0000.nmconnection in which I added the hidden=TRUE and that line was no longer there. Am I missing something or doing something wrong?

davesteele commented 4 years ago

Sorry about that. I remembered last night that the Hotspot config is currently remade on every connect. Currently, you would need to add this config item to the source code.

Muzzamil1 commented 4 years ago

I added 'hidden': True, , then clear the previously saved configuration using comitup-cli and then reboot the Pi but I can still see the AP on my mobile.

changes

davesteele commented 4 years ago

You are charting new territory at this point. Check if the config file matches what you expect.

Muzzamil1 commented 4 years ago

I checked sudo nano /etc/NetworkManager/system-connections/wifiTest-0000.nmconnection But there is no hidden=True in that file.

davesteele commented 4 years ago

Ok, so check the documentation for NetworkManager AddConnection for the right parameter.