Re: Changes to /etc/resolv.conf don't stick

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Siri Amrit Kaur
Date:  
To: Main PLUG discussion list
Subject: Re: Changes to /etc/resolv.conf don't stick
On Monday 23 January 2006 01:44 pm, Kevin kindly wrote:
> On 1/23/06 11:23 AM, "Siri Amrit Kaur" <> wrote:
> >> From a google search, it looks like PCLinuxOS probably uses the
> >> 'dhclient'
> >>
> >> dhcp client. If so, read `man dhclient.conf` specifically the supersede
> >> option.
> >>
> >> Something like this works for me in /etc/dhclient.conf:
> >>
> >> supersede domain-name-servers 192.168.0.1;
> >>
> >> ...Kevin
> >
> > Is that the complete command? Do you tell it what domain-name-servers you
> > want it to use?
> >
> > And it may be a moot point, because I don't have a file
> > /etc/dhclient.conf
> >
> > Siri Amrit
>
> Maybe /etc/dhcp3/dhclient.conf?
>
> If you don't see it there search for it:
> find /etc -name dhclient.conf -print
>


Did the search, it didn't find anything. I don't have that file.

> Once you find it, just do this:
> echo "supersede domain-name-servers 192.168.0.1;" >>
> /etc/dhcp3/dhclient.conf
>
> That should be all one line. Don't forget the semicolon and the
> double-quotes, and of course substitute the IP address you need.
>


Sorry to be so stupid, but _where_ would I substitute the IP address? I don't
understand the syntax, and that makes me really insecure about messing with
this.

> Then, check your work like this, you should see your supersede statement on
> the last line:
> tail /etc/dhcp3/dhclient.conf
>
> If that goes according to plan, just restart dhclient:
> killall dhclient && dhclient
> -or-
> killall dhclient3 && dhclient
>
>
> Let me know how that goes.
>


I do appreciate your help, but this is just too scary for me.

Siri Amrit

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss