6

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
  • They're all stored under /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.
    – Alaa Ali
    Jul 18, 2013 at 5:14

1 Answer 1

1

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.

1
  • 2
    Just 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.
    – mivk
    Jan 11, 2017 at 14:55

Not the answer you're looking for? Browse other questions tagged .