« 1:24:26/150 | Main | Before and after »

January 17, 2006

whereami for laptop network configuration

One of the Ubuntu Wiki's sent me to whereami, the network autoconfiguration utility you can get for Debian and therefore Ubuntu.

Configuration is done using two files, detect.conf and whereami.conf, the former being used to set up your network connection including which interface you use and how you get that configured, the second for other actions you want to script depending on the network configuration. /etc/init.d/whereami start runs at boot time, though you can also of course sudo /etc/init.d/whereami stop; sudo /etc/init.d/whereami start any time you change networks.

So far the only thing I do in whereami.conf is set proxy preferences for Firefox, but since it's just a shell script with location information, I could do just about anything. Highly recommended if you have a portable computer.

Posted by Mark at January 17, 2006 04:19 PM

Trackback Pings

TrackBack URL for this entry:
http://mcraig.org/movabletype/mt-tb.cgi/1256

Comments

I think the French existentialists would get a kick out of the fact that computers have commands named "whereami" and "whoami." When I say "get a kick" I mean they would write some long article in Le Monde Diplomatique about technological "ennui" or the anthropomorphization of computers causing the dehumanifying of people, or something even more clever than I can come up with in a blog comment.

Posted by: Andy at January 19, 2006 01:42 AM