SUMMARY If I would like connect on my Kubuntu 24.04 to a open Wifi with OWE like ffm.freifunk.net, then I am unable to connect and I receive a error message in /var/log/syslog: "802-11-wireless-security.key-mgmt: Access point does not support PSK but setting requires it" Additional hint - the issue occurs with owe networks (https://en.wikipedia.org/wiki/Opportunistic_Wireless_Encryption) STEPS TO REPRODUCE 1. Setup a Wifi Device with OWE, for example flash a device with freifunk.net OpenWRT Firmware: https://firmware.ffffm.net/ 2. Watch available Wifi networks 3. "Connect" with free owe network OBSERVED RESULT Logmessages: Apr 17 12:27:02 workstation NetworkManager[900]: <info> [1713349622.6890] audit: op="statistics" interface="wlp58s0" ifindex=2 args="0" pid=1776 uid=1000 result="success" Apr 17 12:27:04 workstation NetworkManager[900]: <info> [1713349624.3895] audit: op="statistics" interface="wlp58s0" ifindex=2 args="2000" pid=1776 uid=1000 result="success" Apr 17 12:27:07 workstation NetworkManager[900]: <info> [1713349627.9540] audit: op="connection-add-activate" pid=1776 uid=1000 result="fail" reason="802-11-wireless-security.key-mgmt: Access point does not support PSK but setting requires it" Apr 17 12:27:15 workstation NetworkManager[900]: <info> [1713349635.4389] audit: op="connection-add-activate" pid=1776 uid=1000 result="fail" reason="802-11-wireless-security.key-mgmt: Access point does not support PSK but setting requires it" Apr 17 12:27:26 workstation NetworkManager[900]: <info> [1713349646.4014] audit: op="connection-add-activate" pid=1776 uid=1000 result="fail" reason="802-11-wireless-security.key-mgmt: Access point does not support PSK but setting requires it" Apr 17 12:27:32 workstation NetworkManager[900]: <info> [1713349652.2236] audit: op="connection-add-activate" pid=1776 uid=1000 result="fail" reason="802-11-wireless-security.key-mgmt: Access point does not support PSK but setting requires it" The wifi data of ffm.freifunk.net: bash$ nmcli dev wifi IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY DE:83:89:1B:D6:A8 ffm.freifunk.net Infra 1 130 Mbit/s 90 ▂▄▆█ OWE DE:83:89:1B:D6:AA owe.ffm.freifunk.net Infra 1 130 Mbit/s 90 ▂▄▆█ OWE EXPECTED RESULT The open wifi with OWE should get an connection. The workaround ist curently this: root@bash# nmcli device wifi connect ffm.freifunk.net Device 'wlp58s0' successfully activated with 'db.....2'. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubunti 24.04 (available in About System) KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Last updates are applied. 2024/05/03
Created attachment 169131 [details] Wifi scan data for affected open wifi network with owe Here a scan of the affected open wifi with OWE ffm.freifunk.net
I can confirm this bug on Fedora 40: NetworkManager-1.46.2-1.fc40.x86_64 kf6-networkmanager-qt-6.5.0-1.fc40.x86_64 plasma-nm-6.1.4-1.fc40.x86_64 This only happens trying to connect to an unknown network. After manually creating a network profile using nmcli it connects just fine: nmcli conn add type wifi con-name '<NETWORK NAME>' ssid '<NETWORK NAME>'
I hit this when I tried to connect to the free wifi at Dallas Airport, using Kubuntu 24.04. Maybe it will be fixed by this commit from June, when it filters down to us? https://github.com/KDE/networkmanager-qt/commit/a0fd534af280de14f4e7fb1c16fa9825e7fb594c