Linux-Noob Forums
Loosing Network Connection - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Network Problems (https://www.linux-noob.com/forums/forum-58.html)
+--- Thread: Loosing Network Connection (/thread-2193.html)



Loosing Network Connection - noexit - 2006-02-02

I set up a Debian box to do web/file sharing last week. I have Apache2 and Samba installed, and it's connected to my D-link router. I've been having problems with keeping it connected to the network. I'm running it headless and accessing it through SSH, but I keep loosing the connection, whether I'm connected through SSH or the web. Switching it off then back on get it to connect to the network again, and I then have full access. Obviously, I'd like to not have to do this. Any suggestions?



Loosing Network Connection - anyweb - 2006-02-02


have a look at this post about ssh sessions timing out

 

cheers

anyweb




Loosing Network Connection - z0ny - 2006-02-02

If the problem doesn't get solved by anyweb's suggestion have a look at the system logs (/var/log/messages, 'dmesg', ...) once you lose the connection. Do this directly from the console, so plug a monitor in or use a serial console! [img]<___base_url___>/uploads/emoticons/default_ph34r.png[/img] Also check the IP setup ('ifconfig'), the routes ('route -n') and the ethernet connectivity ('mii-tool' or even the LED on the NIC itself) when the problem appears.



Loosing Network Connection - noexit - 2006-02-03


Quote:If the problem doesn't get solved by anyweb's suggestion have a look at the system logs (/var/log/messages, 'dmesg', ...) once you lose the connection. Do this directly from the console, so plug a monitor in or use a serial console! [img]<___base_url___>/uploads/emoticons/default_ph34r.png[/img] Also check the IP setup ('ifconfig'), the routes ('route -n') and the ethernet connectivity ('mii-tool' or even the LED on the NIC itself) when the problem appears.
 

 

It's not ssh timing out. If it were just that, I could just open another shell, and my webserver would still work. I'll try these suggestions next time I loose network connectivity.