Hi I want to make just a little script in order to make my adsl connection available at start up. I did this script http://wwwetu.utc.fr/~plafoucr/gentoo/adsl But I have a little pb : adsl-connect is a blocking command (maybe we can add a '&' to '120 PPPOE_EXTRA=""' in pppoe.conf ?) More over, there is no way to start scripts (such as ddclient) when connexion is up. It would be a good idea to create (via the ebuild ?) the too folders in /etc/ppp (ip-up.d and ip-down.d I think, it's like this on debian). Good luck and thank you for your job
Created attachment 4936 [details] init.d script for adsl connexion with pppoe I don't use adsl-connect anymore, but adsl-start which is not blocking.
did you look into using the net.ppp0 that already exists in /etc/conf.d/ ? the purpose for having an /etc/init.d/net.ppp0 script is for this
The /etc/conf.d/net.ppp0, and the one in /etc/init.d seem to use only pppd and not pppoe. I don't see how to modify them to use pppoe (sorry maybe it's only me :( )
I've given this a lot of thought now. With the advent of the ip-{up|down} scripts I introduced back into the ppp build, this becomes a matter of using a cannon to swat a fly. It is far more intuitive to echo your adsl start command to ip-up and your adsl stop command to ip-down The script adding to net.ppp0 to accomplish this for varied combinations of user-level support makes this unwieldy at best. If there are no objections, I'd like to get this closed.
closing this