cd /etc/NetworkManager/system-connections/
sudo cp NameOfConnection ~
cd ~
sudo chown yourusername.yourusername NameOfConnection
[copy file to second machine's home directory]
sudo chown root.root NameOfConnection
sudo chmod 600 NameOfConnection
sudo cp NameOfConnection /etc/NetworkManager/system-connections/
cd /etc/NetworkManager/system-connections/
ls -hl
Make sure that NameOfConnection is there, and make sure its permissions are set like this:
-rw------- 1 root root
Possible workaround:
On the first machine:
cd /etc/NetworkMan ager/system- connections/ yourusername NameOfConnection ager/system- connections/ ager/system- connections/
sudo cp NameOfConnection ~
cd ~
sudo chown yourusername.
[copy file to second machine's home directory]
sudo chown root.root NameOfConnection
sudo chmod 600 NameOfConnection
sudo cp NameOfConnection /etc/NetworkMan
cd /etc/NetworkMan
ls -hl
Make sure that NameOfConnection is there, and make sure its permissions are set like this:
-rw------- 1 root root
Can anyone confirm that this works?