[OpenWrt-Devel] Could rp-pppoe be broken?
david.fernandez.work at googlemail.com
Mon Oct 16 06:04:51 EDT 2017
On 16/10/17 10:37, David Fernandez wrote:
> On 12/10/17 11:18, David Fernandez wrote:
>> I'm using LEDE at this commit: 47540afa5d84dbf019c4227eed758dbc4a4aa01b
>> When I try to use rp-pppoe for the pppoe-server, the pppd terminates
>> with "Modem Hangup" as soon as it is spawned by pppoe-server to
>> attend a PPPoE session.
>> I've noticed that /etc/ppp/connect-errors gets this:
>> sh: /usr/sbin/pppoe: not found
>> And indeed, there is no pppoe binary in the system, which I believe
>> is required and part of rp-pppoe.
>> Does anybody know if this has been fixed in some commit newer than mine?
>> Could anybody confirm if I should be picking stuff from OpenWRT now
>> (if LEDE has been merged)?
> If I copy the pppoe binary in the build folder to my running system,
> then it works.
> If I try the kernel-mode pppoe server (running pppoe-server -k ...), I
> get this (in syslog):
> LEDE pppoe-server: Session 1 created for client
> 7c:d3:0a:15:22:49 (192.168.170.100) on eth1 using Service-Name
> LEDE pppd: Error relocating /etc/ppp/plugins/rp-pppoe.so:
> new_style_driver: symbol not found
> LEDE pppd: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so
> LEDE pppoe-server: Session 1 closed for client 7c:d3:0a:15:22:49
> (192.168.170.100) on eth1
> Seems an error from the dinamic loader invoked by pppd...
> Curiously, it does not seem to use the plugin in /usr/lib/pppd/2.4.7
> as some documentation says.
> people from roaring penguin believes it is a LEDE bug...
> Any ideas.
If I do:
# mv /etc/ppp/plugins/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so.orig
# ln -ns /usr/lib/pppd/2.4.7/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
and try the kernel-mode pppoe server again, it works.
So I guess this all is a matter of installing the right things in the
right places, that the LEDE packages are not doing right now (for my
LEDE version anyway).
Anybody knows if these things are fixed in latest LEDE versions, or if
they still need fixing?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel