PDA

View Full Version : [ubuntu] dhcp client on network reconnect



ekiller200
January 4th, 2010, 05:46 PM
I need a way to have dhcp client obtain an IP from the dhcp server when a previously unconnected adapter is connected.

For instance.. say there is the network cable is not plugged into eth0 on boot.. then sometime in the future a cable is connected to eth0.. The only way I can get eth0 to fetch and get assigned in IP address is to do it manually (/etc/init.d/network restart). I would like it to happen automatically..

eric