[RP-PPPoE] Fix for kernel-mode PPPoE compilation (was Re: some PPPoe advice would be appreciated.)
Stephan Viljoen
steph at bbi.email
Fri Aug 17 09:42:41 EDT 2018
Hi Adrian,
After scratching around for quite a bit I think I've finally managed
to get the kernal mode option to activate but in the process most
likely destroyed something else.
The -k option now shows when using the -h switch.
[root at ppp plugins]# pppoe-server -h
Usage: pppoe-server [options]
Options:
-k -- Use kernel-mode PPPoE.
However , I'm getting the following errors now. Any pointers ?
Failed to connect PPPoE socket: 19 No such device
Here's the full log file output for a failed connection.
Aug 17 09:41:02 ppp pppoe-server[24349]: Session 7 created for client
dc:ef:09:42:d0:ce (10.67.15.7) on enp5s0.707:adsl using Service-Name
'bbiADSL'
Aug 17 09:41:02 ppp pppd[24349]: Plugin /etc/ppp/plugins/rp-pppoe.so loaded.
Aug 17 09:41:02 ppp pppd[24349]: RP-PPPoE plugin version 3.8p compiled
against pppd 2.4.7
Aug 17 09:41:02 ppp pppd[24349]: Plugin /etc/ppp/plugins/radius.so loaded.
Aug 17 09:41:02 ppp pppd[24349]: RADIUS plugin initialized.
Aug 17 09:41:02 ppp pppd[24349]: Plugin /etc/ppp/plugins/radattr.so loaded.
Aug 17 09:41:02 ppp pppd[24349]: RADATTR plugin initialized.
Aug 17 09:41:02 ppp pppd[24349]: Plugin /etc/ppp/plugins/rp-pppoe.so loaded.
Aug 17 09:41:02 ppp pppd[24349]: RP-PPPoE plugin version 3.8p compiled
against pppd 2.4.7
Aug 17 09:41:02 ppp pppd[24349]: pppd 2.4.7 started by steph, uid 0
Aug 17 09:41:02 ppp pppd[24349]: Connected to dc:ef:09:42:d0:ce via
interface enp5s0.707:adsl
Aug 17 09:41:02 ppp pppd[24349]: Failed to connect PPPoE socket: 19 No
such device
Aug 17 09:41:02 ppp pppd[24349]: Exit.
Thanks in advance,
-steph
On Wed, Aug 15, 2018 at 8:41 PM, Stephan Viljoen <steph at bbi.email> wrote:
> Sorry , accidently pressed sent before finishing my sentance :)
>
> I mean , I'm guessing the '-k' switch should show up when running
> pppoe-server -h ? That should be a pretty strong indication that
> kernel mode were successfully baked in ?
>
> Thanks again,
>
> -steph
>
>
> On Wed, Aug 15, 2018 at 8:39 PM, Stephan Viljoen <steph at bbi.email> wrote:
>> Thanks Adrian, I think I have enough information now to figure it out.
>> Is there any way to tell whether kernel mode got baked into the build
>> ?:
>>
>> I'm guessing the "-k" whitch should show up under the help menu ?
>>
>>
>> On Wed, Aug 15, 2018 at 6:32 PM, Adrian Ban <adrian at abtelecom.ro> wrote:
>>>
>>>
>>> The patch file format has always 3 lines before the liens change and 3 lines
>>> before.
>>> Read more about the patch and patch file to understand its format.
>>>
>>> From what I've notice the patch was applied, but of course that one is
>>> actually is create on Debian PPPoE sources which also has additional
>>> patches.
>>> 09-... Is the ninth patch in the series in Debian sources.
>>>
>>> To be sure you can check the patched file (in your case ./configure ) if was
>>> changed ok.
>>>
>>> Kind regards,
>>> Adrian
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> RP-PPPoE mailing list
>>> RP-PPPoE at lists.roaringpenguin.com
>>> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
More information about the RP-PPPoE
mailing list