Testing Leap 15.2 alpha with Gnome. My WiFi router has a hidden SSID, I need to go to WiFi settings, “Connect to hidden network”, select (known, configured) SSID, <root password>, then connection is established.
With Leap 15.1 all that is automatic at boot (“connect automatically” and “available to all users” are checked), but apparently 15.2 doesn’t scan for known hidden networks.
Configs are the same apparently, unless I missed something (checked with nmtui).
Has something important changed in that area? Any hints to check configs I possibly missed?
Can the kernel driver (ath9k) have a role or is the 5.3 kernel doing something odd in that area?
Based on a general search which may be inadequate,
I turn up only old issues which have been patched.
My guess this is likely a 15.2 bug.
TSU
Thanks for looking into that. Actually it may not be a bug, just a different config.
Playing and comparing the two systems I found that in the 15.2 test the following highlighted line was missing:
localhost:/home/beta_bruno # cat /etc/NetworkManager/system-connections/wifi-wlan0
[connection]
id=*<edited>*
uuid=*<edited>*
type=wifi
interface-name=wlan0
permissions=
timestamp=1581174005
[wifi]
**hidden=true <<<<<<<<<<<<<<<<<<<<<<**
mac-address-blacklist=
mode=infrastructure
seen-bssids=*<edited>*;
ssid=*<edited>*
[wifi-security]
key-mgmt=wpa-psk
psk=*<edited>*
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
[proxy]
localhost:/home/beta_bruno #
Once I added that “hidden=true” line, the 15.2 system sooner or later began scanning for that known SSID and automatically connecting if it was available.
So new install and new config, but I wonder how that line was written in my main 15.1 system, since neither nmtui nor nm-connection-editor provide a checkbox or whatever to insert or change that line.
Nor have I found docs about that on a quick search (but the hunt continues…)
That setting is described in the “802-11-wireless setting” paragraph here https://developer.gnome.org/NetworkManager/stable/nm-settings.html and you can modify it via nmcli, for instance:
beta_bruno@localhost:~> nmcli connection edit type wifi
===| nmcli interactive connection editor |===
Adding a new '802-11-wireless' connection
Type 'help' or '?' for available commands.
Type 'print' to show all the connection properties.
Type 'describe <setting>.<prop>]' for detailed property description.
You may edit the following settings: connection, 802-11-wireless (wifi), 802-11-wireless-security (wifi-sec), 802-1x, ethtool, match, ipv4, ipv6, tc, proxy
nmcli> describe 802-11-wireless.hidden
=== [hidden] ===
[NM property description]
If TRUE, indicates that the network is a non-broadcasting network that hides its SSID....
I certainly did nothing like that on my main system, so that setting snaked in during the very first connection to that AP after the system was installed.
Next time I’ll do a clean beta install of 15.2 I’ll pay more attention to that and report back should I find something interesting.
Interesting.
I have never tried to hide my home network. But, in the past, I used an old router to setup a hidden network for testing. And NetworkManager always had problems. Once it was up and working it was fine. But, connecting the first time was tricky.