Automatic PSK wifi on boot

Dave Close dave at compata.com
Sun Feb 26 20:14:56 GMT 2023


Bertin wrote:

>The password is stored elsewhere, presumably in some secure storage
>managed by the NM and changes are made via a privileged helper
>launched by the KDE Daemon (kded). That one isn't running when you're
>not logged in, nor is the KDE wallet daemon, which means a KDE wallet
>cannot be required for connecting to a WiFi network at boot...

Thanks for that clue. I think my problem was that, although I was
following directions, I was doing it while KDE was running. Running
from a simple command line without KDE seems to have solved it.

  # nmcli c modify ${name} 802-11-wireless-security.psk "password" \
                           802-11-wireless-security.psk-flags 0

After booting and before starting KDE (which I do using startx because
I like seeing boot messages), the connection is up. And still up after
KDE is running. No wallet impact at all.
-- 
         Dave Close, Compata, Irvine CA       +1 714 434 7359
       dave at compata.com              dhclose at alumni.caltech.edu
    "There are now so many exceptions to the Fourth Amendment that
      it operates only by accident."  --William Hugh Murray, 2013




More information about the kde mailing list