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

If I create a password file and run,

  # nmcli c up NAME passwd-file NAME.pw

it comes up just fine. But I can't find any way to declare that file name
in the nmconnection file.

The only obvious difference between the machines is that the one which
works does not have a wired connection, only wifi. The other two do have
a wired connection which does come up on boot.

Note, Fedora 43 x86_64 regularly upgraded. NetworkManager version on all
three machines is the same, NetworkManager-1.54.3-2.fc43.x86_64.
-- 
         Dave Close, Compata, Irvine CA       +1 714 434 7359
       [email protected]              [email protected]
    "Life resembles a novel more often than novels resemble life."
                                     -- George Sand


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

Reply via email to