Re: Ethernet choice menu
On Thu, 02 Dec 2004 12:30:58 +0000, wireless <firstname.lastname@example.org> wrote:
> A long, long time ago, I setup a Debian (woody) portable. It had a nice
> little interface that allows one to setup multiple environments for
> different locations, particular the IP address, subnet mask......
> I' trying to remember the name of this wonderful package.....?
> net <something> but googling has not produced the name.
> I ideas (sever brain-drain) on this one are most appreciated.
You can accomplish some of the things that netenv does by adding
"stanzas" to your /etc/network/interfaces file as well. The way I do
it now for both wired and wireless is,
########fragment of /etc/network/interfaces
iface eth0 inet dhcp
iface home inet dhcp
iface tmobile inet dhcp
iface eds inet dhcp
Then when I want an interface to come up if I am at a coffee shop, I
just do an if up eth1=tmobile and I get my linksys WPC54G talking with
a new set of defaults. I used to work at a place that only had static
IPs so I had a stanza in there for that place as well called fittingly