Creating different network profiles for a laptop
I have a laptop with two cardbus cards:
1. Standard rtl-8139 -based 10/100Mbps ethernet card (used with DHCP and static addresses)
2. Rt2400-based 11Mbps wireless netword card (to connect to 2-3 different wireless routers)
Currently I use "ifplugd" for the 10/100Mbps ethernet. As "ifplugd" gets it interface info from /etc/network/interfaces, it can only cope with one configuration setting. So, to use DHCP on eth0 (not default), I have to reconfigure the interface manually (with dpkg-reconfigure etherconf) to make it work.
As for my wireless card, although the "Ralink utility" is quite good, if I know the (iwconfig) settings, I don't need it. Am I correct?
So to my question: is there some program or "Debian Way" of creating different network profiles for this kind of scenario? I don't mind activating the right profile manually... Or do I just write a bunch of scripts?
Thanks in advance!
|