peerdns=no, NetworkManager, doesn't work?
Dan Williams
dcbw at redhat.com
Mon Aug 11 02:54:24 UTC 2008
On Sun, 2008-08-10 at 19:06 -0400, Neal Becker wrote:
> Thomas M Steenholdt wrote:
>
> > Neal Becker wrote:
> >> 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 PEERDNS=no
> >>
> >> But starting NetworkManager, I get in /etc/resolv.conf:
> >> # generated by NetworkManager, do not edit!
> >>
> >> nameserver 192.168.1.1
> >>
> >>
> >> I don't think NetworkManager is respecting the setting (and I can't seem
> >> to find any workaround)
> >>
> >
> > NetworkManager and the ifcfg-xxx style net configs are two completely
> > seperate ways to configure your network connection, so NetworkManager
> > really shouldn't respect those settings...
> >
> > The only thing NetworkManager cares about is that the interface is
> > actually up.
> >
> > Perhaps you can tweak /etc/dhclient-eth0.conf to do what you need instead?
> >
> > /Thomas
>
> No, it seems recent NetworkManager will ignore these files also.
Recent NetworkManager (perhaps not 3675 from F9-updates) does respect
these files, and will attempt to merge whatever is in them into the
dhclient.conf that's actually used. Could you try the NM from
F9-updates-testing?
Dan
> What does work is to put scripts in /etc/NetworkManager/dispatcher.d, but it seems this information is hard to come by.
>
>
More information about the devel
mailing list