peerdns=no, NetworkManager, doesn't work?
tgl at redhat.com
Mon Aug 11 02:23:12 UTC 2008
Neal Becker <ndbecker2 at gmail.com> writes:
> I have used system-config-network to de-select 'Automatically obtain dns information from provider' and I see in /etc/sysconfig/networking/devices/ifcfg-wlan0
> But starting NetworkManager, I get in /etc/resolv.conf:
> # generated by NetworkManager, do not edit!
> nameserver 192.168.1.1
F-9's NetworkManager refuses to believe that you don't want its
services: even after "sudo /sbin/chkconfig NetworkManager off", it
overwrites /etc/resolv.conf during boot with figments of its imagination.
(I'd be interested to know exactly where that's happening BTW; the file
timestamp suggests it's being done during kernel start, which I
sincerely hope isn't the case.)
I considered "rpm -e NetworkManager" but bz #351101 suggests that that
would probably break my system even worse. My current workaround is
to do this in /etc/rc.d/rc.local:
# gross workaround for NetworkManager brain death
cp /etc/resolv.conf.manual /etc/resolv.conf
regards, tom lane
More information about the devel