just got DSL, can't surf or get mail

Michael C. Shultz ringworm01 at gmail.com
Mon Apr 4 10:00:11 PDT 2005


On Monday 04 April 2005 09:52 am, Brian John wrote:
> > On Monday 04 April 2005 07:40 am, Brian John wrote:
> > > > On Apr 3, 2005 9:12 PM, Anthony Atkielski
> > > > <atkielski.anthony at wanadoo.fr>
> > >
> > > wrote:
> > > > > One you've changed resolv.conf, it should stay that way
> > > > > permanently across boots, unless you change it again.
> > > >
> > > > dhclient will overwrite /etc/resolv.conf on boot
> > >
> > > How can I keep dhclient from doing this?
> > >
> > > /Brian
> >
> > Running chflags schg /etc/resolv.conf as root would keep
> > it from being changed. You still should figure out why
> > dhclient is putting the wrong info in resolv.conf though.
>
> How can I find that out?  Sorry, but I'm pretty new to networking in
> FreeBSD (not networking in general) so I need a little bit of
> direction.
>
> Thanks for the help
>
> /Brian

I'm not an expert on dhclient sorry, I just know that setting the 
immutable flag will keep things from changing your resolv.conf file.
Hopefully someone else will give you useful information about dhclient.

-Mike



More information about the freebsd-questions mailing list