Re: Proper way to restart network after modem/router reset

2011-02-15 Thread Joe Riel
Thanks, all for the replies. As has been surmised, I'm using NetworkManager. So next time the cable modem needs to be rebooted, I'll try sudo /etc/init.d/network-manager restart and see if that reestablishes a connection. I gather I don't need to use NetworkManager---this is on a desktop P

Re: Proper way to restart network after modem/router reset

2011-02-14 Thread Camaleón
On Sun, 13 Feb 2011 08:39:06 -0800, Joe Riel wrote: > Occasionally I need reset the external cable modem/router that connects > our home machines to the internet. (...) I use to get good results with: /etc/init.d/networking stop /etc/init.d/networking start ifdown eth0 ifup eth0 But if you

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Tom H
On Sun, Feb 13, 2011 at 8:20 PM, Bob Proulx wrote: > Tom H wrote: >> Joe Riel wrote: >> > >> > $ grep -v '^\#' /etc/network/interfaces >> > >> > auto lo >> > iface lo inet loopback >> > allow-hotplug eth0 >> >> Your "/etc/network/interfaces" is incorrect. >> If you're using NM, "allow-hotplug eth0

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Bob Proulx
Tom H wrote: > Joe Riel wrote: > > $ grep -v '^\#' /etc/network/interfaces > > > > auto lo > > iface lo inet loopback > > allow-hotplug eth0 > > > > Should I then do > > > > sudo ifdown eth0 > > sudo ifup etho0 > > > > Hmm. That doesn't work: > > > > $ sudo ifdown eth0 > > ifdown: interface eth0 n

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread consul tores
2011/2/13 Joe Riel : > 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 Hello Joe I usually do not do a

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Tom H
On Sun, Feb 13, 2011 at 12:27 PM, Joe Riel wrote: > On Sun, 13 Feb 2011 19:10:08 +0200 > Andrei Popescu wrote: > >> On Du, 13 feb 11, 08:39:06, Joe Riel wrote: >> > >> > may be the proper way, however that was unclear.  I haven't tried >> > that yet.   Is there a recommended method?  Is there a D

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Tom H
On Sun, Feb 13, 2011 at 11:39 AM, Joe Riel wrote: > > 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 >

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Joe Riel
On Sun, 13 Feb 2011 19:10:08 +0200 Andrei Popescu wrote: > On Du, 13 feb 11, 08:39:06, Joe Riel wrote: > > > > 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? > > A

Re: Proper way to restart network after modem/router reset

2011-02-13 Thread Andrei Popescu
On Du, 13 feb 11, 08:39:06, Joe Riel wrote: > > 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? Assuming your network is configured via /etc/network/interfaces (you didn

Proper way to restart network after modem/router reset

2011-02-13 Thread Joe Riel
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