On 2/23/26 6:01 PM, Dave Close wrote:
I'd like a wifi connection to be automatically activated whenever the associated machine is booted. This file does the job on one machine:# cat /etc/NetworkManager/system-connections/NAME.nmconnection [connection] id=NAME uuid=... type=wifi timestamp=... [wifi] cloned-mac-address=permanent mac-address-randomization=never mode=infrastructure ssid=NAME [wifi-security] key-mgmt=wpa-psk psk=PASSWORD [ipv4] method=auto [ipv6] addr-gen-mode=stable-privacy method=auto [proxy] However, on two others the connection does not come up. Trying after boot from the command line, I see: # nmcli c up NAME Push of the WPS button on the router or a password is required to access the wireless network 'NAME'. Warning: password for '802-11-wireless-security.psk' not given in 'passwd-file' and nmcli cannot ask without '--ask' option. Error: Connection activation failed: Secrets were required, but not provided
The "psk=PASSWORD" line is what does it. You need the password there. -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
