Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How to set auto redial in Ubuntu 11.10 like Windows XP where in Windows XP it asks you the number how many times want to re-dial if connection gets dropped where you set the number of re-dial like 10,20 or 100

Is there any option in Ubuntu I can set the number of redial if connection drops? Please help my connection gets dropped every couple of hours or I have to get back to dumb Windows.... help me....

share|improve this question

You can set the persist option in /etc/ppp/options, and it should keep trying forever.

share|improve this answer
and how do i do that ca you plz tell me in details exactly cause i m new to linux.. – Bhavesh Jogadia Jan 12 '12 at 15:02
i got the option file now what do i change here to make it work – Bhavesh Jogadia Jan 12 '12 at 15:17
Add a new line saying "persist" – tumbleweed Jan 12 '12 at 21:15
where do i add it ant specific line first or last and only add single word persist ???? – Bhavesh Jogadia Jan 13 '12 at 6:16
The order is unimportant – tumbleweed Jan 13 '12 at 8:39

persist in /etc/ppp/peers/dls-provider is important.

I also noticed that maxfail 0 is very important too. Specially if there is a problem with the line. Without it pppd will give up after the 10th attempt.

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.