Laptop and roaming
Par jd le mardi, juin 22 2004, 13:32 - Debian - Lien permanent
Since last Thursday I got a new laptop. My last one was dead one year ago. I wonder what software I could use to change network configuration when I move from home to anywhere (where there is no DHCP)
apt-cache search did not help me because there is a lot of choices, and I would not like to test them all.
So, what do you use ?
Commentaires
use laptop-net.
This nice tool uses arp-requests to look where you are...
apt-get install laptop-net
hotplug + ifplugd + guessnet + resolvconf + masqmail gives me automatic interfaces and correct SMTP routing wherever I am, whenever I insert my wifi card or plug in an ethernet cable.
It even uses /etc/network/interfaces as the configuration file, so everything is transparent.
I don't do roaming; I hardly ever use my laptop on networks where I can't change firewall configurations. Thus, what I do is make sure the network fits right in, rather than try to change the laptop. That's easy:
* I hijack SMTP connections on smarthosts, so that the laptop can think it connects to remote hosts, although it really connects to the local smarthost, whichever that one is.
* Same goes for transparent proxies, where proxies are required.
* Stuff that cannot go to random servers (NNTP, IMAP) is done through some SSH tunnels which I configured in ~/.ssh/config; my mailclient and leafnode setup think their "servers" are localhost:1143 and localhost:1119, respectively.
I looked at that recently, the mos usefull configuration in debian is ifupdown + ifplugd + resolvconf + ifuproam
ifuproam can be found at panopticon.csustan.edu/th... and is created specificaly for debian
Personally, I use waproamd and ifplugd, to manage the wireless and wired interfaces respectively. With that, the wireless interface automatically finds a usable network (using a WEP key if I've configured one) and the wired interface comes up as soon as I plug in the cable. In my case, all of my networks use DHCP, so I don't need anything more than that. If you do need different configurations for different networks, use ifupdown-roam, available at panopticon.csustan.edu/th... .