How to configure PC for wired/static and wired/DHCP networks?

Tapas Mishra mightydreams at
Wed Oct 27 11:57:43 UTC 2010

I want my netbook to connect automatically to both the office
wired/static network and to the usual wired/DHCP networks.

wicd exists. netsearching hasn't revealed how to configure it for both
wired/static and wired/DHCP except by manually switching profiles.

wicd's profiles can use pre/post(dis)connect scripts but I don't know
how to integrate them into wicd when they are upping/downing
connections on cable (un)plugging.
If it is not practical to solve this within wicd, I'll explore
standalone scripts to configure eth0 on cable (un)plugging, as
detected by ifplugd.

More information about the ubuntu-users mailing list