Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9534 - adsl-connect in rp-pppoe
Summary: adsl-connect in rp-pppoe
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Hannes Mehnert (RETIRED)
URL: http://wwwetu.utc.fr/~plafoucr/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 03:01 UTC by Philippe Lafoucrière
Modified: 2003-04-30 00:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
init.d script for adsl connexion with pppoe (adsl,322 bytes, text/plain)
2002-10-23 10:16 UTC, Philippe Lafoucrière
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Lafoucrière 2002-10-23 03:01:40 UTC
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
Comment 1 Philippe Lafoucrière 2002-10-23 10:16:30 UTC
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.
Comment 2 SpanKY gentoo-dev 2002-10-23 19:05:57 UTC
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 
Comment 3 Philippe Lafoucrière 2002-10-24 00:22:27 UTC
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
:( )
Comment 4 Chuck Brewer 2003-04-27 03:28:54 UTC
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.
Comment 5 Chuck Brewer 2003-04-30 00:53:56 UTC
closing this