Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85535 - adsl-connect from net-dialup/rp-pppoe-3.5-r7
Summary: adsl-connect from net-dialup/rp-pppoe-3.5-r7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 10:59 UTC by Alexander Stoll
Modified: 2005-03-17 05:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stoll 2005-03-16 10:59:39 UTC
If the option DEMAND in /etc/ppp/pppoe.conf ist used and assigned a numerical value, the adsl-connect script tries to use a parameter list for invoking pppd which contains a false parameter, so pppd is not able to startup.
Its on line 192 in /usr/sbin/adsl-connect:
parameters "connect true" in the list prevent pppd from starting and the adsl-connect script hangs if rp-pppoe plugin is also used.
For proper operation these parameters have to be removed.


Reproducible: Always
Steps to Reproduce:
populate DEMAND in /etc/ppp/pppoe.conf and use rp-pppoe.so kernel mode plugin
Actual Results:  
pppd terminates on startup for an unknown command line parameter

Expected Results:  
proper startup of pppd when called via init script "/etc/init.d/rp-pppoe start"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-03-17 01:07:28 UTC
does any of the following changes solve your problem?
  a) true -> /bin/true
  b) removal of "connect true" parameters
Comment 2 Alexander Stoll 2005-03-17 01:51:50 UTC
Yes, removal of "connect true" fixes this issue. If not removed, pppd logs the connect parameter as "unrecognized option" and dies...
This is only the case if the rp-pppoe.so kernel mode plugin is loaded as well. I don
Comment 3 Alexander Stoll 2005-03-17 01:51:50 UTC
Yes, removal of "connect true" fixes this issue. If not removed, pppd logs the connect parameter as "unrecognized option" and dies...
This is only the case if the rp-pppoe.so kernel mode plugin is loaded as well. I don´t see any necessity for this parameters in any mode, so they should be completly removed. If their is a reason for this parameters, a additional condition in the adsl-connect script on line 192 should be inserted to check if the kernel mode plugin is loaded and invoke a parameter list via the DEMAND variable without "connect true".
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-03-17 05:06:20 UTC
fixed in -r9