A script to restart the network-manager
Asked by
Ian Ace
I'm currently running Karmic on my laptop and I want to do something to this wireless connectivity (connection drops) problem that's bugging me everytime I leave my laptop turned on for the whole night.
I want a script which I can place on my cron so if it detects (like pinging google.com every 20 minutes) that there is no Internet connectivity it will tend to restart the network-manager and have it reconnected again without me interfering.
*The only solution I could do is to restart the laptop so I can be connected again, Logging out does not solve the problem either*
TIA.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ian Ace for more information if necessary.
To post a message you must log in.