Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using an ubuntu 10.04 server (running on a Lenovo Thinkpad notebook) as my webserver. It is performing well in terms of handling the traffic etc. However my internet connection is ADSL2+ (using Thomson TG782T modem-router) and if the modem is reset, then my server loses network connection. The networkmanager icon shows a red exclamation mark showing that is has no connection. But as soon as I click on it and tell it to connect to eth0, the connection is back on.

It must be something that networkmanager is failing to do and because of this, the reliability of my webserver is suffering. Any advice on how this can be fixed?

share|improve this question

migrated from serverfault.com Nov 24 '11 at 10:48

This question came from our site for professional system and network administrators.

add comment

1 Answer 1

up vote 1 down vote accepted

As far as I know there's no way to have it auto reconnect when the connection is coming back up. But there are some "custom" solutions out there, like this python script for example.

share|improve this answer
    
This looks promising. Thank you :) –  squashbuff Nov 24 '11 at 22:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.