Re: force nm to use a connection



On Wed, Mar 11, 2009 at 12:10:40AM +0100, Jérôme PRIOR wrote:
> hello,
> 
> I'm looking for info to force nm to use a connection instead of "Auto
> eth0". I explain :
> 
>   at home I need a static IP, with special DNS, ... So, I created a
>   connection called `home` with those parameters. Works fine when I
>   activated it manually.
> 
>   When I'm outside, I need `auto eth0`.
> 
> How can I tell nm "when I'm at home, connect me via `home`, even if
> connect me via `auto eth0` ?
> 
> I try to pla with "automatic connection" but of course, if I put `home`
> as auto, and `auto eth0` as no-auto, when I'm outside, `home` is up.
> And inversement.
> 

NetworkManager currently has no "smart" tie-break logic to decide
which auto connection to use. Not sure, but maybe it prefers the last
one that was active.

Not sure if we could come up with something smarter for wired. Any ideas?

 - Alexander



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