On 06/22/2015 10:39 PM, Bob Proulx wrote:
You say networks.  Is that the same as ethernet interfaces?  You have
two ethernet interfaces?  Or you have one ethernet interface that you
sometimes connect to one wired network and sometimes to a different
wired network?
Bob, your ever so detailed and kind responses are simply wonderful. Sorry for the naming. You explanation as understood is correct: "

"one ethernet interface that you sometimes connect to one wired network and 
sometimes to a different wired network?"


Is this a laptop that is carried mobile to various places?  Or is it a
laptop that always sits in one place and needs to connect to different
networks in that one place?  (I would suggest different things if it
iis three fully specified local networks with static ip addresses
versus if it were carried mobile and must connect to random dhcp
networks too.)
For now, this is a laptop that is located in one place.

On these networks are they DHCP or static IPs?
All networks are DHCP.

For the WiFi network are you needing to select them manually from a
desktop graphically with the mouse?  Or is this from a set of known
networks that you would preconfigure and then not change?  (Such as in
a home network environment but not mobile at airports or elsewhere.)
Home network, just select and go. So for now, I simply disconnect the wired when I want to use the wireless and disconnect the wireless when I want to use the wifi. I do this with Network manager. And it's a tiring business.

>And when I do this, hope to be connected to a respective network based
>on my explicit rules.
Have you looked at the "guessnet" package?  It might help you.

   http://guessnet.alioth.debian.org/

   https://packages.debian.org/jessie/guessnet

There are also "whereami" and other packages in this topic space too.

>I hope this can work. And I hope I have explained a bit more enough.
>Are there rules I must follow to do this properly. As I've tried before
>without success.
>Thanks for your help.
There are still many possibilities.  But if we go through more
questions and answers then it will eventually be communicated.:-)

So far we have the above and your previously written:

>I'm using a laptop and want the wifi to go online, but the ethernet to
>stay on a different lan networks, actually two different networks. And
>I worry how to proceed with such a configuration. Ideas?
Let me assume you want to keep NetworkManager (or better wicd)
managing your wifi interface but manually configure your eth0 and eth1
wired interfaces.  For that you would simply add a static or dhcp
configuration to /etc/network/interfaces for eth0 and eth1 but not
specify wlan0.  (Reboot after doing this so that NM won't grab eth0
and eth1.)  With that configuration you will manually select the WiFi
connection "to the internet" as you say.  As you connect the wired
networks they will use the explicit configuration in
/etc/network/interfaces for them.

If you have only one wired ethernet and are planning on connecting
back and forth between two wired networks then it is similar but I
would use guessnet to manage the interface so that it can
automatically switch you between the specified network profiles.
Would I need to remove network manager to use the guessnet option?

And so forth...

Bob


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/558874f4.7060...@gmx.de

Reply via email to