When connection to Internet fails...

NoOp glgxg at sbcglobal.net
Fri Jul 23 18:28:31 UTC 2010

On 07/23/2010 08:03 AM, Afsheen Ghorashy wrote:
> I have a laptop running Ubuntu.  Sometimes, during long sessions, my 
> computer automatically releases the wireless connection.  When I try to 
> connect again, it is not able to. 
> My current solution is to restart the computer or to do sudo 
> /etc/init.d/gdm restart. 
> Is there any other service that I can restart that will just restart the 
> internet connection interface (my goal is fix the problem without losing 
> my session when this happens)?

$ sudo /etc/init.d/networking restart

Note for the 'service'/upstart folks:
$ sudo service networking restart
restart: Unknown instance:

$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...

ssh stop/waiting
ssh start/running, process 5152

More information about the ubuntu-users mailing list