You are not logged in.
Hey I've problem with '802-11-wireless-security.key-mgmt: property is missing.'
when I want to use:
nmcli device wifi connect 'DummyName' password '!My!P4ssw0rd!' ifname 'wlan0'
After researching I saw a post about using passwd-file argument:
nmcli con up 'DummyName' passwd-file mypwfile ifname 'wlan0'
mypwfile content:
802-11-wireless-security.sk:!My!P4ssw0rd!
It seems like this will works but in my case it doesn't because of special character in my passphrase, the exclamation mark one..
I'm trying to figure out how to escape the exclamation
I already tried with:
802-11-wireless-security.sk:"\!My!P4ssw0rd\!"
802-11-wireless-security.sk:\!My!P4ssw0rd\!
802-11-wireless-security.sk:'\!My!P4ssw0rd\!'
802-11-wireless-security.sk:'!My!P4ssw0rd!'
nmcli tool, version 1.54.0-1
EDIT:
Okay, I was wrong. A password file with the passwd-file argument doesn't change anything.
I just changed to a simple password without special characters, only set from numbers in the router for testing.
It does not accept the password even though it is correctly in the password file. Probably because extra definitions are missing for key-mgmt
I want and have to use wpa-psk
I already researching the official docs of nmcli the 'nm-settings-nmcli' part. But I didn't figured out or get how I could it pass it as argument using nmcli
It's important not to use --ask argument in my case because I would like to use it as automation script for on first boot in further times
Last edited by zero01 (2025-08-30 16:28:45)
Offline
For me 1.48.6-1 version of nmcli works (I downgraded). But it's not a great option, and I am waiting for the gods of arch to figure out a more nicer way
Offline