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.

  • 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. – daisy 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 ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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