Description of problem: COnfiguring eth0 to use a static IP address and setting manual DNS entries in system-config-network, when using systemwide NetworkManager, results in an empty /etc/resolv.conf file Version-Release number of selected component (if applicable): NetworkManager-0.7.0-0.9.2.svn3566.fc9.i386 How reproducible: always Steps to Reproduce: 1. setup eth0 to use a static IP address and enter manual DNS entries 2. cat /etc/resolv.conf (to confirm entered DNS) 3. service NetworkManager restart 4. cat /etc/resolv.conf (empty file) Actual results: cat /etc/resolv.conf # Configured by NetworkManager (do not edit) Expected results: cat /etc/resolv.conf nameserver xxx.xxx.xxx.xxx nameserver xxx.xxx.xxx.xxx Additional info: Adding a eth0 local configuration using the gnome applet works correctly, but then eth0 would only work when logged into GNOME, and not in runlevel 3 for example.
Try putting DNS1=xxxxxx and DNS2=xxxxxx into your ifcfg-eth0 file (or whatever the device name you're using is).
(In reply to comment #1) > Try putting DNS1=xxxxxx and DNS2=xxxxxx into your ifcfg-eth0 file (or whatever > the device name you're using is). This works, but puts only DNS1 value in /etc/resolv.conf, DNS2 is ignored. So it seems at least that system-config-network needs to be updated to be able to edit DNS1 and DNS2 in the config filess....
Latest Koji builds fix this issue; please try: http://koji.fedoraproject.org/koji/buildinfo?buildID=47429 Thanks!
It works!