[OpenWrt-Devel] Could rp-pppoe be broken?

David Fernandez 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)? 
> Also,
>
> 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[3271]: Session 1 created for client 
> 7c:d3:0a:15:22:49 (192.168.170.100) on eth1 using Service-Name 
> 'myservice'
> LEDE pppd[3271]: Error relocating /etc/ppp/plugins/rp-pppoe.so: 
> new_style_driver: symbol not found
> LEDE pppd[3271]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so
> LEDE pppoe-server[3266]: 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.

More,

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?

Regards
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list