Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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'm using nm-applet to dial up DSL pppoe connections. As there are a great number of users in my local network, I sometimes have to try many times to establish a successful connection.

I wonder is there some way to set nm-applet or network-manager repeat trying automatically until connecting successfully.

My system is Gentoo and desktop environment is Gnome.

share|improve this question
Which distro are you using? I suspect this can be fixed by adding some custom settings to the pppoe configs, but I'm not sure where to look. – Caleb May 18 '11 at 18:52
I am using a Gentoo box, and Gnome desktop environment. I have little knowledge about how ppp and pppoe stuff working. Can anyone give me some advice on where to start? – Liu Yongtai May 19 '11 at 0:49
you need to modify pppd parameters if that could work. – warl0ck Oct 6 '11 at 13:37

You will have to modify default pppd parameter (e.g place a persist parameter) , into NetworkManager 's source code , which is not guaranteed to work.

However , with powerful script you could try with some shit like the following , given you have a workable pppd connection , called provider

Keeping dialing until we have a default route configured:

while ! ip r | grep -q default
   pon provider
   sleep 10

If PPPoE connection is your only choice , why not configure /etc/conf.d/net for a persist connection ?

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.