Wifi keys are forgotten every time, is this on purpose?

It’s a feature of setting sys-net up as a disposable qube.

To have your wifi connection persist, find your <ACCESS_POINT>.nmconnection file in sys-net

find / -type f -name "*.nmconnection"

and copy it into the disposable template (e.g., <DEFAULT-DVM>). Then, in the disposable template create the following folder

mkdir -p /rw/config/NM-system-connections/

and copy the file there, where it will persist. Finally, add the following line to /rw/config/rc.local:

echo "nmcli connection up <ACCESS_POINT>" >> /rw/config/rc.local
2 Likes