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

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



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 problem, when doing:
> > 
> > 1. Connect via wifi, using DHCP (as usual). /etc/resolv.conf is
> >    modified accordingly, as expected.
> > 
> > 2. Connect my Nokia N900 via USB, also using DHCP. The problem is
> >    that /etc/resolv.conf is overwritten, and if I do not enable wifi
> >    or GPRS/3G connection on my N900, DNS resolution no longer works.
> >    Overwriting /etc/resolv.conf is expected when there is only the
> >    USB connection (the N900 being used as a router, so that I can
> >    get an Internet connection via GPRS/3G when no wifi hotspots are
> >    available); otherwise it should not be modified, IMHO.
> 
> Could you please elaborate on point 2.? I don't understand why you would 
> connect the phone, but not use it.

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).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: