Proper way to restart network after modem/router reset
Occasionally I need reset the external cable modem/router that connects
our home machines to the internet. After doing so, I frequently have
to reboot my machine to establish a connection. Occasionally I've
been successful just doing
$ sudo dhclient -r
$ sudo dhclient
However, that frequently does not work. When on Ubuntu I occasionally
was able to succeed with
$ sudo /etc/init.d/networking restart
Trying that on Squeeze gives the warning
Running /etc/init.d/networking restart deprecated because it may
not enable again some interfaces
Web searching indicate that
$ sudo service networking restart
may be the proper way, however that was unclear. I haven't tried that
yet. Is there a recommended method? Is there a Debian howto that
recommends what should be done?
--
Joe Riel
Reply to: