Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117512 - baselayout-1.12.0_pre12 parameter order has plugins after options
Summary: baselayout-1.12.0_pre12 parameter order has plugins after options
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 16:19 UTC by Paul Bredbury
Modified: 2006-03-19 10:17 UTC (History)
2 users (show)

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


Attachments
/lib/rcscripts/net.modules.d/pppd (diff.txt,427 bytes, patch)
2006-01-02 16:21 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-01-02 16:19:26 UTC
In bug 110665 I find that 0.38 has to appear as the final parameter to pppd, otherwise pppd says "tcgetattr: Inappropriate ioctl for device" and does not connect.

To achieve this, enclosed is a patch to stop the plugins from appearing last. This happily works, with a pppd options list of:

/dev/null plugin pppoatm.so  unit 330 persist maxfail 0 remotename ppp330 user 'me@hg7.btclick.com' linkname ppp330 updetach lock debug defaultroute 0.38
Comment 1 Paul Bredbury 2006-01-02 16:21:06 UTC
Created attachment 76027 [details, diff]
/lib/rcscripts/net.modules.d/pppd
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-01-02 23:22:39 UTC
Alin, comments?
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-01-02 23:40:52 UTC
0.38 is really a pppoatm.so option.
users should set "pppoa 0.38" in plugins_ppp0 and "/dev/null" in link_ppp0.
Comment 4 Paul Bredbury 2006-01-03 00:23:27 UTC
OK, the problem is fixed as mrness describes.

I had to remove "lock" from my options, to avoid the error, "/usr/sbin/pppd: unrecognized option 'lock'". This presumably is because lock is present in /etc/ppp/options.

Thanks.