You are not logged in.
After a NetworkManager update I can't use the following command if I'm trying to connect to a known network, I get this error
$ nmcli device wifi connect <SSID> password <password>
Error: 802-11-wireless-security.key-mgmt: property is missing.
Now I'm only able to use "nmcli connection up <SSID>" for know networks.
I also noticed that my connection is way more unstable, and the networks becomes unavailable for about 40 seconds every few hours, and sometimes it goes blank indefinetly until I reconnect. I went back to version 1.48.6-1 and it fixed every problem I had with the newer versions. Should I just stay on this version forever or...?
Have/Had the same problem, and we are not the only ones. I also found
https://www.reddit.com/r/archlinux/comm … n_kind_of/
where the following
I've been having similar issues for months. Turns out the issue was not NetworkManager but rather the wifi backend. I'm assuming you are using wpa_supplicant. Try either downgradeing and/or switching NetworkManager to use iwd as the backend https://wiki.archlinux.org/title/Networ … Fi_backend
was proposed by VALTIELENTINE
. I cant say that it helped me, but it might help you.
Offline
. Deleted any existing (but not working) wifi connection listed in nm-connection-editor.
. Installed iwd but did not enable the service nor configure it.
. Created the conf file :
/etc/NetworkManager/conf.d/wifi_backend.conf
as mentioned in the wiki link above (§7.12).
. Checked 'Enable wi-fi' option in nm-connection-editor and let it create a wifi connection.
. Done.
PS - It helped me… Did it help anyone else?
Last edited by philo (2024-10-22 11:12:31)
Offline
. Deleted any existing (but not working) wifi connection listed in nm-connection-editor.
. Installed iwd but did not enable the service nor configure it.
. Created the conf file :
/etc/NetworkManager/conf.d/wifi_backend.conf
as mentioned in the wiki link above (§7.12).
. Checked 'Enable wi-fi' option in nm-connection-editor and let it create a wifi connection.
. Done.PS - It helped me… Did it help anyone else?
What's weird is that downgrading NetworkManager fixed the issue, not wpa_supplicant. It broke after a networkmanager update as well.
When I run the following command, I get this error also: `Error: 802-11-wireless-security.key-mgmt: property is missing.`
`$ nmcli device wifi connect <SSID> password <password>`
But when I run this with --ask instead, and provide the wifi password, I am able to connect.
`$ nmcli device wifi connect <SSID> --ask`
This is on nmcli version 1.50.0-1
Hope this helps someone.
Last edited by ttrreevvoorr (2024-11-07 21:54:58)
Offline
I have access to 2 arch linux desktops and see this error on one of them but not on second so I will try to provide details to reproduction.
It works for:
nmcli --version
nmcli tool, version 1.48.6-1
but i getting error `Error: 802-11-wireless-security.key-mgmt: property is missing.` for
nmcli --version
nmcli tool, version 1.50.0-1
it works for
pacman -Q | grep 'networkmanager\|wpa_supplicant\|iwd'
iwd 3.1-1
networkmanager 1.48.6-1
wpa_supplicant 2:2.11-2
but is broken for
pacman -Q | grep 'networkmanager\|wpa_supplicant\|iwd'
iwd 3.1-1
networkmanager 1.50.0-1
wpa_supplicant 2:2.11-2
in both cases i have network
cat /etc/NetworkManager/system-connections/Sandro.nmconnection
[connection]
id=Sandro
uuid=4f4d7d6b-3c05-4c64-b6ca-bf47183ba0a8
type=wifi
interface-name=wlan0
timestamp=1731223044
[wifi]
mode=infrastructure
ssid=Sandro
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=xxx
[ipv4]
method=auto
[ipv6]
addr-gen-mode=default
method=auto
[proxy]
Offline
Please use [code][/code] tags. Edit your post in this regard.
is broken for … in both cases i have network
Is there some actual misfunction or are you reporting some stray error message out of context but everything end up working fine?
Offline
I reproduced this problem for 2 different wifi networks on one of laptops, but there are some networks that still works.
Offline
Networks w/ presumingly pre-stored credentials (ie NM would already know the WPA key)?
But when I run this with --ask instead, and provide the wifi password, I am able to connect.
`$ nmcli device wifi connect <SSID> --ask`
Offline