Enable WiFi at boot

I have Fedora 42 KDE installed on a ThinkPad X380 and I would like to set it up so the WiFi becomes active at boot before log in. Basically, if I reboot remotely, I want the WiFi to connect without a log in so I would not have to physically log into the machine.

Here’s the CLI way to make it autoconnect at boot:

nmcli connection show
nmcli connection modify "CONNECTION_NAME" \
    connection.autoconnect "" \
    connection.permissions "" \
    wifi-sec.psk-flags "" \
    wifi-sec.psk "WIFI_PASSWORD"
1 Like

Thank you, sir! I will give that a try later.