Re: NetworkManager on Fedora Core 9 Does Not Respect PEERDNS=no



On Mon, 2008-06-30 at 18:34 -0500, marlowe wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> All,
> 
> I am running the latest available NetworkManager package on Fedora Core 9.
> 
> | NetworkManager-glib-0.7.0-0.9.4.svn3675.fc9.i386
> | NetworkManager-openvpn-0.7.0-14.svn3632.fc9.i386
> | NetworkManager-gnome-0.7.0-0.9.4.svn3675.fc9.i386
> | NetworkManager-0.7.0-0.9.4.svn3675.fc9.i386
> 
> 
> I cannot seem to get NetworkManager to respect the PEERDNS=no setting in
> /etc/sysconfig/network-scripts/ifcfg-*.  Below is the ifcfg-wlan0
> 
> TYPE=Wireless
> DEVICE=wlan0
> HWADDR=00:90:4b:2f:b7:a5
> BOOTPROTO=dhcp
> NETMASK=
> DHCP_HOSTNAME=suntzu.antagonism.home
> IPADDR=
> DOMAIN=
> ONBOOT=no
> USERCTL=no
> PEERDNS=no
> IPV6INIT=no
> ESSID=linksys
> CHANNEL=9
> MODE=Managed
> RATE=auto
> NM_CONTROLLED=yes
> DNS1=127.0.0.1
> DNS2=
> DNS3=
> SEARCH=
> 
> My understanding is NetworkManager should write a /etc/resolv.conf file
> with the following contents
> 
> nameserver 127.0.0.1
> 
> However, NetworkManager rewrites the /etc/resolv.conf file with contents
> supplied by DHCP.  If I stop NetworkManager with "service NetworkManager
> stop", the following contents are in /etc/resolv.conf
> 
> # generated by NetworkManager, do not edit!
> 
> 
> 
> # No nameservers found; try putting DNS servers into your
> # ifcfg files in /etc/sysconfig/network-scripts like so:
> #
> # DNS1=xxx.xxx.xxx.xxx
> # DNS2=xxx.xxx.xxx.xxx
> # SEARCH=lab.foo.com bar.foo.com
> 
> I searched through Google but was unable to find anything which would
> help me resolve the issue.  What did I miss with my configuration?

Looks like a bug; the ifcfg you post here should result in the
resolv.conf that you also expect.  Will investigate.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]