When you enter your password for a Wi-fi connection, it is stored in a file but is not kept if you do not use the "save changes" mode.
There is a way to keep this file for a next connection, by copying it after creating its mirror folder in the rootcopy one
Attention, this method works only for those who use a Linux partition (ext2/ext3/ext4) : because this file uses the necessary permissions to work (only the root user can
see its content), but these permissions are not kept on ntfs or fat32 partitions (I explain below how to solve this problem by using a module
So for those who use a linux partition (but also for those who have an ntfs or fat32 partition), build the location of this file by creating the folders tree
First, if you have started Porteus as guest, connect to your Wi-fi Network with the appropriate password...the connections settings file will be then automatically created
Open the file manager (as root)
Go to the root/Desktop/ and open terminal here (root)
Run this command as root on desktop (With no / before etc/ it is important) :
Code: Select all
root@porteus:~/Desktop# mkdir -p etc/NetworkManager/system-connections/
Copy the file like "Mybox-10a8e.nmconnection" where the password and others settings are saved (visible as root)
Paste it inside the directory "system-connections" you created on /root/Desktop
And then, copy the "etc" folder from /root/Desktop/ to your /porteus/rootcopy/
Reboot your computer, the connections settings must be saved...
if you use Porteus with a fat32 or ntfs filesystems, you need to create a module: it is the solution to preserve the permissions
Since the content of the "etc" folder is already created on the /root/Desktop/ (see the sequence of tasks above), you only have to create a "Wifi-connection" folder and copy the "etc" in it.
Then, always as "root" with the file manager, right click on the folder "Wifi-connection" and then "Create xzm module".
the job is done, you just have to copy the created module to the module folder (be careful, not in the "optional" folder otherwise it won't work ! Also no activation with this module once Porteus started...)
idem, restart your computer, the connection settings must be functional..
.