On Tuesday 04 May 2004 10:48,begin Serge Marelli wrote:
Hi,
I normally access the Net via the cable.
Sometimes, when I boot my computer, I don't have an IP address. This is
usually because for one reason or the other I've unplugged my
cable-modem. So I plug the modem back in and... nada... still no IP
(even if I wait).
So I usually have to reboot :(
My question : is there a way to force the system to recognize that the
network (cable-modem) plugged to eth0 is back up and that it should
request an IP address (via DHCP)?
Would something like
~ # ifconfig eth0 down
~ # ifconfig eth0 up
work?
Of course
Or simply restart the network:
/etc/rc.d/network restart
Al