You are not logged in.

#1 2024-10-17 18:02:29

rabaimorp
Guest

NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

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...?

#2 2024-10-19 20:43:55

Evil_Hamster
Member
Registered: 2021-01-14
Posts: 28

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

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

#3 2024-10-21 11:04:48

philo
Member
Registered: 2015-01-26
Posts: 267

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

. 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

#4 2024-10-23 17:24:33

rabaimorp
Guest

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

philo wrote:

. 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.

#5 2024-11-07 21:54:39

ttrreevvoorr
Member
Registered: 2024-11-07
Posts: 1

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

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

#6 2024-11-13 07:29:26

gustaw.daniel@gmail.com
Member
Registered: 2022-09-26
Posts: 3

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

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

#7 2024-11-13 15:02:13

seth
Member
Registered: 2012-09-03
Posts: 59,193

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

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

#8 2024-11-17 13:00:15

gustaw.daniel@gmail.com
Member
Registered: 2022-09-26
Posts: 3

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

I reproduced this problem for 2 different wifi networks on one of laptops, but there are some networks that still works.

Offline

#9 2024-11-17 14:20:31

seth
Member
Registered: 2012-09-03
Posts: 59,193

Re: NetworkManager 802-11-wireless-security.key-mgmt: property is missing.

Networks w/ presumingly pre-stored credentials (ie NM would already know the WPA key)?

ttrreevvoorr wrote:

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

Board footer

Powered by FluxBB