[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alternative to dhcp?



X-Rcmultipart/mixed;
	boundary="Add_By_Label_Mail_Nextpart_001"Spam: 2008-11-04_01
Resent-Message-ID: <lRZ74tASUwM.A.DIC.7u0xLB@liszt>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/574188
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Date: Thu, 15 Apr 2010 17:24:11 +0000 (UTC)

Ed Jabbour <edjabr@csmining.org>
--Add_By_Label_Mail_Nextpart_001
Content-Type: text/plain;

 writes:

> On Wed, 14 Apr 2010 17:31:54 -0400, Celejar wrote:
>
>>> Ed Jabbour <edjabr@csmining.org> wrote:
>
>>> I edited /etc/resolv.conf to add a nameserver, edited
>>> etc/dhcp3/dhclient.conf to do the same and added the dns to wicd.  
>>> However, I keep getting the same old dns from the router, i.e., 
>>> resolv.conf keeps changing to the router's 192 ip.  The router does not
>>> allow editing dns.  I think this is due to using dhcp.  Is there an
>>> alternative which wouldn't cause a default to the router's dns?  Any 
>>> pointers appreciated.
>>
>>Do 'man dhclient.conf' and look at the prepend and supersede options.
>
> I had already done that.  I tried either one and both.  I had also already 
> done the wicd gui edit.  As I said above, my chosen dns doesn't stick, as 
> resolv.conf keeps reverting to the router's.   

Has the dhclient been restarted since you edited the configuration
file, either manually or through a reboot?  I use the prepend- option,
but I assume that it isn't reread automatically so I kill and restart
the client manually when I change the file.

-- 
Carl Johnson		carlj@peak.org


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 87vdbsy6hl.fsf@cjlinux.localnet">http://lists.debian.org/[🔎] 87vdbsy6hl.fsf@cjlinux.localnet



Reply to: