Re: multiple DHCP servers and /etc/resolv.conf

2012-10-23 Thread Vincent Lefevre
On 2012-10-23 06:48:37 -0400, Tom H wrote: > You seem to have hit a resolvconf bug. I'll try to investigate and report a bug. I need to do the same tests with the wicd daemon stopped (though I don't see how it could interfere, because it doesn't track the n900 interface). -- Vincent Lefèvre -

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-23 Thread Tom H
On Mon, Oct 22, 2012 at 7:12 AM, Vincent Lefevre wrote: > On 2012-10-21 16:11:28 -0400, Tom H wrote: >> >> What do you mean by "kill"? "dhclient -r "? > > I don't know how it is killed exactly. I have in /etc/network/interfaces: > > allow-hotplug n900 > > mapping n900 > script /usr/sbin/guessnet

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-22 Thread Vincent Lefevre
On 2012-10-21 16:11:28 -0400, Tom H wrote: > On Sun, Oct 21, 2012 at 9:46 AM, Vincent Lefevre wrote: > > Thanks. This seems to do what I want, with a minor problem: when the > > DHCP client is killed, resolvconf doesn't remove the corresponding > > nameserver line from the generated "/etc/resolv.c

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Tom H
On Sun, Oct 21, 2012 at 9:46 AM, Vincent Lefevre wrote: > On 2012-10-19 01:32:10 -0400, Tom H wrote: >> >> WAG: Isn't resolvconf meant for situations like this one? > > Thanks. This seems to do what I want, with a minor problem: when the > DHCP client is killed, resolvconf doesn't remove the corre

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Vincent Lefevre
On 2012-10-21 16:36:27 +0300, Andrei POPESCU wrote: > I see. Could you please also mention what network managing software > you are using right now? I'm guessing Network Manager, but want to > make sure. No, I mainly use ifupdown (together with other tools like guessnet and netplug), and wicd for

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Vincent Lefevre
On 2012-10-19 01:32:10 -0400, Tom H wrote: > WAG: Isn't resolvconf meant for situations like this one? Thanks. This seems to do what I want, with a minor problem: when the DHCP client is killed, resolvconf doesn't remove the corresponding nameserver line from the generated "/etc/resolv.conf". --

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Andrei POPESCU
On Du, 21 oct 12, 14:23:57, Vincent Lefevre wrote: > > I sometimes connect the phone to do file transfers between my laptop > and my N900, or to run commands remotely from my laptop (using the > keyboard of my laptop is more practical than the N900 keyboard). I see. Could you please also mention

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Vincent Lefevre
On 2012-10-21 12:08:51 +0300, Andrei POPESCU wrote: > On Vi, 19 oct 12, 01:19:08, Vincent Lefevre wrote: > > My Debian laptop has several ways to have network connection: Ethernet, > > wifi and USB (the latter is used together with my Nokia N900, which has > > a DHCP server). I have the following p

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-21 Thread Andrei POPESCU
On Vi, 19 oct 12, 01:19:08, Vincent Lefevre wrote: > My Debian laptop has several ways to have network connection: Ethernet, > wifi and USB (the latter is used together with my Nokia N900, which has > a DHCP server). I have the following problem, when doing: > > 1. Connect via wifi, using DHCP (as

Re: multiple DHCP servers and /etc/resolv.conf

2012-10-18 Thread Tom H
On Thu, Oct 18, 2012 at 7:19 PM, Vincent Lefevre wrote: > > My Debian laptop has several ways to have network connection: Ethernet, > wifi and USB (the latter is used together with my Nokia N900, which has > a DHCP server). I have the following problem, when doing: > > 1. Connect via wifi, using D

multiple DHCP servers and /etc/resolv.conf

2012-10-18 Thread Vincent Lefevre
My Debian laptop has several ways to have network connection: Ethernet, wifi and USB (the latter is used together with my Nokia N900, which has a DHCP server). I have the following problem, when doing: 1. Connect via wifi, using DHCP (as usual). /etc/resolv.conf is modified accordingly, as expe