I have installed the latest version (11 Jan 2021) of Raspbian Buster OS on my Pi 4. I changed the network manager from default to nmcli (
network-manager network-manager-gnome are the packages I installed). It worked fine as it stored the WiFi connections to
Now I made the system read-only and only allowed
/tmp to be read-write plus an external disk to avoid any corruptions.
After switching to read-only the WiFi gets connected but it is not saved. On reboot I have to enter the password and SSID again. It is not getting stored in the
Readonly.sh <- This is the sh file I run to convert the Pi to read-only.
Please help me fix this, I have very little knowledge of Linux.
EDIT: I am using a switch command that remounts the system in read write mode. If you follow the shared link of the link I have shared, you'll find it's making an alias
rw to switch to read write mode during runtime. I use this command before adding the new WiFi.
Before using the nmcli, I used the default WiFi network manager that comes with the Raspbian Buster OS. It writes in the
wpa_supplicant.conf file which works perfectly when I run