Hello, > I've got a new laptop (under 3 months old) that I've got Debian Etch > installed on (up to date too, of course). I use my laptop at home, school, > work, and occasionally at friends houses. It is a royal pain to change the > network (either ethernet, wireless 802.11x, or both) configureations > everytime I change my surroundings. > a common problem. > I would like a nice solution for this. I've googled considerably and about > the only thing I've come up with is a combination of ifplugd, wpasuppliment, > and /etc/network/interfaces interoperability. I've tried this but have > failed to get the bugs worked out of it completely. Worst of all, > documentation seems to be scarce. > Hmm, i can just tell you the way i have choosen some time ago for my network, which is completely relying on /etc/network/interfaces. I found it fairly powerful using the builtin mappings. So for example you can have a script that checks via arp whether a certain host exists (i believe the 'guessnet' package does that for you, i've written it using shell scripts 'arping') and tells you which host is currently up and running so it automatically chooses the right network to be pushed up. I remember that fiddling with it was a bit tricky at the beginning but i think i could find my example configuration and script files for it, if you need them (right now, my notebook is in a semi-finished state, need it for exams, no time to fiddle around). If you want to use wireless too, you probably want ifplugd to push up the interface via ifup and so stuff should solve for you. Don't know whether that helps. Maybe 'resolvconf' is some helper you maybe also want to be looking into. Martin
Attachment:
pgpFRtc2Cjqyv.pgp
Description: PGP signature