PDA

View Full Version : [ubuntu] when switch rebooted, network connection lost



jdc
April 19th, 2010, 03:03 PM
When there is a power failure at my university for about 30 minute, my computer stays up because of a UPS, but the switch it is connected to via ethernet is reset. After this, my machine loses network connectivity until I manually select the network using nm-applet.

In System -> Preferences -> Network Connections, the network has the "Connect automatically" box checked.

However, in /etc/NetworkManager/nm-system-settings.conf, there is a line that says:


no-auto-default=00:30:48:b0:11:07,

and that is the MAC address of the ethernet card.

Could that line be the problem?

I'm running Ubuntu jaunty.

Thanks for any suggestions!

viralmeme
April 19th, 2010, 03:20 PM
When there is a power failure at my university for about 30 minute, my computer stays up because of a UPS, but the switch it is connected to via ethernet is reset

You have to reacquire the connection, either manually or automatically, this might help.

http://blog.mithis.net/archives/ideas/51-nm-autovpn

jdc
April 19th, 2010, 03:24 PM
You have to reacquire the connection, either manually or automatically, this might help.

http://blog.mithis.net/archives/ideas/51-nm-autovpn

There's no vpn in my set-up. NetworkManager isn't automatically reconnecting to the wired network itself, and if I'm away from my office, that is a problem.

Any other suggestions?

viralmeme
April 19th, 2010, 06:50 PM
Any other suggestions?

You could try and rejig the scripts for ifconfig ...

"Reconnect to the Network When Disconnected"

http://twofoos.org/content/wpa_supplicant/