On Thu, 30 Oct 2014, Brian Flaherty wrote: > Like many, I have a laptop that I use in multiple settings: > - home wired > - home wireless > - work wired > - work wireless > - roaming around (hotels, coffee shops, airports etc.) > > Right now, I used wicd, but I get different IPs at home whether I'm on > wired or wireless. I'd like to set a static wired IP at home, but use > dhcp wired at work.
I personally used to use a setup with guessnet-ifupdown and a mapping for the interfaces that determined what the right thing to do was. You can have this detect wired networks using arping and wireless networks by essid pretty simply. However, now that wireless networks are reasonably quick, I tend not to bother with wired networks, and just use wpa-supplicant directly everywhere. -- Don Armstrong http://www.donarmstrong.com Everyone has to die. And in a hundred years nobody's going to inquire just how most people died. The best thing is to do it in the way that strikes your fancy most. -- Kenzaburō Ōe _Silent Cry_ p5 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

