Summary: | Every WiFi is marked as having "unknown security type" | ||
---|---|---|---|
Product: | [Plasma] plasma-nm | Reporter: | tgnff242 |
Component: | applet | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jgrulich, nate |
Priority: | NOR | Keywords: | regression |
Version: | 5.19.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-nm/commit/4fbe7b4d19e9208141ccdd245ae68cb63572a3b8 | Version Fixed In: | 5.19.1 |
Attachments: | Patch to fix this issue |
Description
tgnff242
2020-06-10 12:28:21 UTC
What is your NetworkManager version? I cannot reproduce this issue, I see WPA2-PSK for each WiFi network I see. It seems it broke after an update in networkmanager. I can reproduce the issue with 1.24.2, which archlinux is at, but not with the previous version (1.22.8). (In reply to tgnff242 from comment #2) > It seems it broke after an update in networkmanager. I can reproduce the > issue with 1.24.2, which archlinux is at, but not with the previous version > (1.22.8). Ok. I will build latest NM and try to investigate. I can also reproduce this for all un-connected wifi networks. My networkmanager version is 1.24.2 on openSUSE Tumbleweed. The currently connected wifi network shows the correct security type. If this is an NM regression, let's close it as RESOLVED UPSTREAM and track it with a bug report at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues I can reproduce now when I updated to newer NetworkManager. I will try to investigate during the day. Created attachment 129228 [details]
Patch to fix this issue
Anyone willing to try this patch?
Yes, the patch seems to work perfectly. Thank you. Could you answer my question about the MAC address? Is it expected to show the address of the wifi card instead of the router's BSSID? (In reply to tgnff242 from comment #7) > Yes, the patch seems to work perfectly. Thank you. > > Could you answer my question about the MAC address? Is it expected to show > the address of the wifi card instead of the router's BSSID? Yes, it is expected. I think it is more meaningful as it's an information you might be asked to provide to your ISP for example. We used to have BSSID there, but we limited the information as we just want to focus on most basic/needed ones. Git commit 4fbe7b4d19e9208141ccdd245ae68cb63572a3b8 by Jan Grulich. Committed on 11/06/2020 at 13:02. Pushed by grulich into branch 'Plasma/5.19'. Testing AccessPoint::Privacy flag is not enough to check whether AP is secured The privacy flag is not used all the time and for some security types it might not be set by newer NetworkManager versions. Instead add additional checks for WPA and RSN flags. M +2 -1 libs/models/networkmodel.cpp https://invent.kde.org/plasma/plasma-nm/commit/4fbe7b4d19e9208141ccdd245ae68cb63572a3b8 |