4

I am using Fedora 19, there is no ~/.gconf/networking/NetworkManager directory, and system-wide /etc/NetworkManager has no files required.

I want to export my user's NetworkManager configurations, that is Wireless, VPN credentials (ip, username, password) to a file, or at least find the directory where they are stored in Fedora 19. How to do that?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
easl
  • 1,968
  • 7
  • 21
  • 29
  • Duplicate: http://unix.stackexchange.com/questions/22367/where-are-networkmanagers-wifi-settings-stored – slm Jul 03 '13 at 21:29
  • it's for fedora, not for ubuntu, i don't see enough similarities for considering this post a duplicate – easl Jul 03 '13 at 22:00

2 Answers2

5

In Fedora seems that /etc/NetworkManager doesn't work, it's always empty. Take a look at /etc/sysconfig/network-scripts, I found mine here.

Renan
  • 16,976
  • 8
  • 69
  • 88
1

If you run the following command you can determine what files NetworkManager is using to store it's config info:

$ sudo lsof | grep NetworkMa

You can also list out the contents of the NetworkManager package to see where things are kept (v0.8.5.92):

$ rpm -ql NetworkManager
...
/etc/NetworkManager
/etc/NetworkManager/NetworkManager.conf
/etc/NetworkManager/VPN
/etc/NetworkManager/dispatcher.d
/etc/NetworkManager/system-connections
/etc/dbus-1/system.d/NetworkManager.conf
/etc/dbus-1/system.d/nm-avahi-autoipd.conf
/etc/dbus-1/system.d/nm-dhcp-client.conf
/etc/dbus-1/system.d/nm-dispatcher.conf
/etc/dbus-1/system.d/nm-ifcfg-rh.conf
slm
  • 363,520
  • 117
  • 767
  • 871