so do you want old settings to be saved at new place at where the new files are being saved?
–
ashutoshMay 1 '12 at 19:58

The place is the same, what really matters is to have my configs working again, /home or /etc is the same for me...
–
JorgeMay 1 '12 at 20:12

1

hm... I think it has nothing to do with wi-fi, it is the gnome-network-manager, and it is not only the place... look, another difference is that in /etc, configs are arranged in a file per connection and in /home you have a folder per connection and an xml as a database of connections...
–
JorgeMay 1 '12 at 20:45

3 Answers
3

The migration is usally done by "nm-applet", meaning it reads the old user config via GConf and writes them in the new format under "/etc/NetworkManager/system-connections/"

One problem is that this only done once, but you can trigger "nm-applet" to rerun the migration by "gconftool-2 -s /apps/nm-applet/stamp --type=int 2", so on the next start it will rescan GConf. Double entries will get a UUID attached.

But as "nm-applet" search for old config via GConf you should make sure that ".gconf/system/networking/connections" is really listed in it. So verify it with "gconftool-2 --dump /system/networking/connections", that should list all your connections.

In my case ".gconf/system/networking/connections" wasn't available via GConf and therefore "nm-applet" could not migrate it. Therefore i created a new user on the system and copied my ".gconf/system/networking/connections" to the new user's home and migrated it from this new login. To correct the wrong permission i used "sudo sed -i "s/permissions=user:NEWUSER/permissions=user:REALUSER/g" /etc/NetworkManager/system-connections/*" where REALUSER is obviously your real user and NEWUSER is the temporary migration user.

After all while it's nice to finally have everything migrated to "/etc/NetworkManager/system-connections/", there are quite a few problems with the new storage location, you should be aware of:

for reinstallations and backup cases you always need to save/move the new location, where formerly your /home was enough

your user only connections are no longer secured by your encrypted home directory

the are some security flaws, where passwords for user only connections are stored in clear text under /etc instead of being stored securely in the encrypted keyring

You need to convert your settings in network-manager gui as a system connection, which is available to all users. In this case you will get your settings in /etc/NetworkManager/system-connections/ . After that just copy the contents of that directory to new system and restart network-manager or reboot your system.

Sorry, I can't understand, or maybe I'm not explaining my problem correctly... I have my old connections in /home, after installing Precise, Network Manager seems to read connections from /etc. what I want to do is to recover my connections by migrating them to /etc or re point the new Net Manager to /home. Sorry for my english... I'm doing my best!
–
JorgeMay 2 '12 at 19:54