From: Ed Jabbour on
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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201004141717.48733.edjabr(a)gmail.com
From: Eduardo M KALINOWSKI on
On 04/14/2010 06:17 PM, Ed Jabbour 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.
>

There's an option in dhclient.conf that allows you to specify your own
DNS servers.



--
What the large print giveth, the small print taketh away.

Eduardo M KALINOWSKI
eduardo(a)kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BC6324A.6090403(a)kalinowski.com.br
From: Tom H on
On Wed, Apr 14, 2010 at 5:23 PM, Eduardo M KALINOWSKI
<eduardo(a)kalinowski.com.br> wrote:
> On 04/14/2010 06:17 PM, Ed Jabbour 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.
>
> There's an option in dhclient.conf that allows you to specify your own DNS
> servers.

supersede domain-name-servers "..."

Although, if WICD is like NM, you may have to set your dns server(s)
in the WICD gui.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/v2t6d4219cc1004141429ga7e449dai6328f4e5dd2e74dc(a)mail.gmail.com
From: Celejar on
On Wed, 14 Apr 2010 17:17:48 -0400
Ed Jabbour <edjabr(a)gmail.com> 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.

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100414173154.43939d21.celejar(a)gmail.com
From: Ed Jabbour on
On Wed, 14 Apr 2010 17:31:54 -0400, Celejar wrote:

>> Ed Jabbour <edjabr(a)gmail.com> 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.