On Thu, Oct 18, 2012 at 7:19 PM, Vincent Lefevre <[email protected]> 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.
>
> Does anyone have any solution that does *not* require manual changes
> (when I want to change the way I connect)?

WAG: Isn't resolvconf meant for situations like this one?


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CAOdo=sxpky3s-qjseeca9o5-xnrfohbr9e_ymbhq4pem-vr...@mail.gmail.com

Reply via email to