In rootcopy folder , create folder 'etc', open it and create a folder NetworkManager. open and copy systems-connections folder from /etc/Netwworkmanager.
On reboot, your network will be connected automatically. May be you know this years ago.
Saving network signons
-
- Shogun
- Posts: 434
- Joined: 02 May 2017, 09:51
- Distribution: v3.2.2-32 and Porteus-Artix-64
- Location: Chennai,India
Saving network signons
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Saving network signons
Hi raja. I do have an /etc/NetworkManager folder and I do copy it to my module.
But when booting with the module I still have to signon to my wifi network. BTW I don't use rootcopy, I use a save.dat file.
With Porteus 4 this is what I use and it works.
Added in 5 hours 45 minutes 36 seconds:
So I boot the module system, no save.dat file, and before I signon to a wifi connection I have:the long named -pro connection.
I test the non -pro wifi options before entering the password for the -pro connection and now I have two long named networks:But I've only entered the password for 1.
Code: Select all
# -- Network files --
touch /var/lib/dhcpcd/dhcpd.leases
cp -a --parents /etc/NetworkManager/system-connections/* /tmp/mod/
cp -a --parents /var/run/NetworkManager/* /tmp/mod/
cp -a --parents /var/lib/dhcpcd/* /tmp/mod/
cp -a --parents /etc/hosts /tmp/mod/
With Porteus 4 this is what I use and it works.
Code: Select all
# -- Network files --
# touch /var/lib/dhcpcd/dhcpd.leases
cp -a --parents /etc/NetworkManager/system-connections/* /tmp/mod/
cp -a --parents /var/run/NetworkManager/* /tmp/mod/
cp -a --parents /var/lib/dhcpcd/* /tmp/mod/
cp -a --parents /etc/hosts /tmp/mod/
So I boot the module system, no save.dat file, and before I signon to a wifi connection I have:
Code: Select all
guest@porteus:~$ ls -lght /etc/NetworkManager/system-connections/*.nm*
-rw------- 1 root 343 May 23 17:21 /etc/NetworkManager/system-connections/Auto\ QuickGoose-pro-6b1bdfc4-11f6-4fbc-941e-83eedcac6d97.nmconnection
-rw------- 1 root 364 Mar 18 01:36 /etc/NetworkManager/system-connections/Auto\ Linksys08941-5GHz.nmconnection
-rw------- 1 root 358 Mar 18 01:36 /etc/NetworkManager/system-connections/Auto\ QuickGoose-pro.nmconnection
I test the non -pro wifi options before entering the password for the -pro connection and now I have two long named networks:
Code: Select all
guest@porteus:~$ ls -lght /etc/NetworkManager/system-connections/*.nm*
-rw------- 1 root 358 May 23 17:27 /etc/NetworkManager/system-connections/Auto\ QuickGoose-pro-6b1bdfc4-11f6-4fbc-941e-83eedcac6d97.nmconnection
-rw------- 1 root 349 May 23 17:26 /etc/NetworkManager/system-connections/Auto\ Linksys08941-5GHz-f0e79101-5da9-410e-9754-dbfcb1abd812.nmconnection
-rw------- 1 root 335 May 23 17:25 /etc/NetworkManager/system-connections/Auto\ QuickGoose.nmconnection
-rw------- 1 root 364 Mar 18 01:36 /etc/NetworkManager/system-connections/Auto\ Linksys08941-5GHz.nmconnection
-rw------- 1 root 358 Mar 18 01:36 /etc/NetworkManager/system-connections/Auto\ QuickGoose-pro.nmconnection
guest@porteus:~$
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Saving network signons
So, what setting, option causes Porteus to create each wifi connection a user connects to to be unique? Or what setting, option disables this capability?Ed_P wrote: ↑23 May 2022, 21:37Code: Select all
6b1bdfc4-11f6-4fbc-941e-83eedcac6d97 f0e79101-5da9-410e-9754-dbfcb1abd812
Do other users have wifi connections named this way?