[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with Dhclient
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Problems with Dhclient
- From: mark <lists_(_at_)_xinot_(_dot_)_net>
- Date: Wed, 2 Oct 2002 22:14:41 +0100
On Wednesday 02 October 2002 9:49 pm, Nick Nauwelaerts wrote:
> On Wed, 2 Oct 2002 11:43:45 -0700
>
> "Robert Connon" <rob_(_at_)_vfs_(_dot_)_com> wrote:
> > I've been having problems with DHCP options, I configured the
> > /etc/dhclient.conf to the following. And no matter what I do I still
> > get ISP DNS servers from the server. I have tried Many different
> > configurations, wiped out the "/var/db/dhclient.leases" file....and
> > the same results.. I have read the man pages, FAQs and this is my last
> > resort...
> >
> > timeout 60;
> > retry 60;
> > reboot 10;
> > select-timeout 5;
> > initial-interval 2;
> > interface "dc0" {
> > supersede domain-name "xyz.net";
> > supersede host-name "hostname";
> > prepend domain-name-servers 192.168.1.6;
> > request subnet-mask, broadcast-address, time-offset,
> > routers; media "media 10baseT/UTP";
> > }
>
> Could you try with just the following in your /etc/dhclient.conf :
>
> send dhcp-lease-time 3600;
> request subnet-mask, broadcast-address, routers;
>
> This stopped dhclient from overwriting my resolv.conf.
>
> // nick
I just wish I could get my cable provider TO overwrite my resolv.conf.
mark
Visit your host, monkey.org