Re: Ethernet choice menu
On Thu, 02 Dec 2004 12:30:58 +0000, wireless <wireless@tampabay.rr.com> wrote:
> Hello,
>
> 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.
>
> James
>
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
auto eth0
iface eth0 inet dhcp
iface home inet dhcp
wireless-essid xxxxxx
wireless-key yyyyyyy
iface tmobile inet dhcp
wireless-essid tmobile
iface eds inet dhcp
wireless-essid zzzzzz
wireless-key aaaaaaa
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
"work" :)
--
Michael Perry
meperry@gmail.com
Reply to: