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
Created attachment 76027 [details, diff] /lib/rcscripts/net.modules.d/pppd
Alin, comments?
0.38 is really a pppoatm.so option. users should set "pppoa 0.38" in plugins_ppp0 and "/dev/null" in link_ppp0.
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.