Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use 10.04 on my laptop . Whenever my router switches on and off I have to manually click on a popup ok button to re-enable connection to router . How can this be done automatically ?


share|improve this question

For Ubuntu 11.04 it automatically reconnects to your wifi.

For 10.04 check Automatically reconnect wireless connection

or you may need to write a small script with

iwconfig wlan0 iwconfig wlan0 | grep -o "Access Point: Not-Associated"

ifconfig wlan0 down or ifconfig wlan0 up

share|improve this answer

Your Answer


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.