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?

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.

  • Are these system wide or user? The OP wants his "user" configs. – slm Jul 3 '13 at 22:01
  • it's really there named ifcfg-home, but without password field (data) what i also want to export – easl Jul 3 '13 at 22:05
  • @loofda - It must be kept somewhere else as well, I don't have that in my directory. – slm Jul 3 '13 at 22:07
  • 1
    @loofda on my system the keys are in the same directory. – Renan Jul 3 '13 at 22:08
  • thanks! i've found it, it was in separate file keys-home – easl Jul 3 '13 at 22:10
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
  • Won't work for files that are no longer open. – Pavel Šimerda Jun 6 '14 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.