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

Hi all, my cubes on the laptop always forgets the wifi password which is quite annoying to retype it every boot up.
Maybe it is not a bug but a feature, so I do not forget my disk mantra and the wifi key. Who knows?

1 Like

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
1 Like

Depending on needs, it’s possible to have sys-net being an AppVM and not a disposable qube.

I wrote a guide here How can I make sys-net from disposable to non-disposable - #3 by solene

1 Like

Store the wifi passwords in the keepassxc program inside the vault qube.

1 Like