My ubuntu disconnects after a while (a few minutes), after it working perfectly. I invariably had to do a “/etc/init.d/networking restart”. Not only can I not ssh to it (or vnc via ssh tunneling per my previous post), but existing ssh connections get disconnected with a “broken pipe” error (which tend to just mean it’s connected). Usual forms of troubleshooting did not help (loose/bad cable, configuration, etc)
Apparently, ubuntu, and other flavors of linux, has the regular network stuff, plus the network manager, which is supposed to make it easy to manage the regular network stuff. But, it seems broken ( system -> preference -> network connections will show it’s “last use” as never every time I’ve seen it).
So, try disabling either the network manager or the regular linux network stuff, i.e. do either:
1. in /etc/network/interfaces comment out the (by default) 2 lines for eth0
2. /etc/NetworkManager/nm-system-settings.conf change to “managed=true”
I have commented out the former and left /etc/NetworkManager/nm-system-settings.conf as it was, and it seemed to have worked.