On Sun, Jul 09, 2006 at 06:57:35PM +0000, Todd Alan Smith wrote:
| Actually, the way I read the original post, the OP is already
| restarting the DHCP server when he/she power cycles the "cable modem
| with DHCP server". Thus, he/she just wants to restart the DHCP client.
| Is there not an equivalent to the Linux "ifdown eth0", followed by an
| "ifup eth0" to obtain another lease and IP address?
Sure, just 'dhclient ${if}'. When 'something' (even another dhclient
process) touches the networking config of a dhclient-configured
interface, dhclient will exit (as not to change the new config later).
Bringing down your interface is a bit overkill. And if it's overkill
you want, you can just reboot your machine to obtain another lease.
Cheers,
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/