NetworkManager and DNS

Patrick C patrick.pxc.c at gmail.com
Wed Mar 28 21:32:06 MST 2007


Thanks! That works quite nicely. Instead of dealing with all sorts of Gentoo
configuration programs and removing NetworkManager from startup, I can do a
static IP very easily (networkmanager now just starts up and tries to
connect forever). To switch back, I can simply remove the flag!

On 3/23/07, George Toft <george at georgetoft.com> wrote:
>
> Try setting the immutable flag:
> chattr +i /etc/resolv.conf
>
> that'll fix it fer shure, yup :)
>
> George Toft, CISSP, MSIS
> 623-203-1760
>
>
>
>
> Patrick C wrote:
> > For some dumb reason, NetworkManager doesn't support static IP
> > addresses, so it just wipes the resolv.conf when it starts up if you try
> > to have a static IP, which would just perpetuate the problem this guy is
> > happening.
> >
> > On 3/21/07, *Eric Shubes* <plug at shubes.net <mailto:plug at shubes.net>>
> wrote:
> >
> >     Daniel P. Stasinski wrote:
> >      > There is an unfixed firmware bug in my DSL modem/router that
> >     causes it
> >      > to provide incorrect DNS servers when the DHCP lease is obtained.
> >      >
> >      > Before I started using NetworkManager, I could specify my own DNS
> >      > servers in /etc/resolve.conf but NetworkManager rewrites it with
> the
> >      > invalid server information provided by DHCP.  Is there some other
> >      > place where I can specify my own DNS servers?
> >      >
> >      > Thanks,
> >      >
> >      > Daniel
> >      >
> >
> >     I presume you've tried to change the DSL modem/router's
> configuration.
> >
> >     I think you'll need to configure your network interface as static.
> >     Either
> >     that or get a new DSL modem/router.
> >
> >     --
> >     -Eric 'shubes'
> >     ---------------------------------------------------
> >     PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> >     <mailto:PLUG-discuss at lists.plug.phoenix.az.us>
> >     To subscribe, unsubscribe, or to change  you mail settings:
> >     http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070328/6e202194/attachment.htm 


More information about the PLUG-discuss mailing list