Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
Duplicate: unix.stackexchange.com/questions/22367/… –  slm Jul 3 '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 3 '13 at 22:00
add comment

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
    
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
add comment

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
share|improve this answer
    
Won't work for files that are no longer open. –  Pavel Šimerda Jun 6 at 21:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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