I am going to reinstall Ubuntu soon and want to move my wireless passwords I have to the new installation. What do I need to backup to put on the new installation?
1 Answer
As @Alaa mentioned, you'd want to copy your system connections to the new computer. Just doing a quick copy of files from /etc/NetworkManager/system-connections/
will suffice. If it doesn't work double check that permissions are rw for root only.
If you have any VPN connections, you'd want to do that for /etc/NetworkManager/VPN
as well.
User-specific ones are stuck in your keyring. If you want, you can copy that to a remote location and drop it onto your new system.
-
2Just copying the files was not enough on Ubuntu 16.04. The MAC address in the files also had to be changed. See this answer for detailed instructions.– mivkJan 11, 2017 at 14:55
/etc/NetworkManager/system-connections/
, if you're using Network Manager that is (which is the default in Ubuntu). I've never tried this before though, so I'm not sure if simply copying and pasting those config files into another machine would work.