rp-pppoe requires PF_PACKET (Re: Help with PPPoE)
Thanks for the confirmation (it is helpful!).
I found the problem and that is that rp-pppoe requires PF_PACKET sockets, which are disabled on my kenrel.
I'd really like to avoid this. It seems rp-pppoe uses packet sockets to get the inteface number. Anybody knows if this can be avoided with a bit of hacking?
Otherwise, we should mention that Kernel PPPoE depends on PF_PACKET :(
And improve the error mesages of rp-pppoe.
jf.
Quoted 28 lines · Gilles Espinasse
Quoted 8 lines
Now when I type
pppd eth0
I get
unrecognized option 'eth0'
Quoted 10 lines
But wasn't the plugin supposed to enable this device?
If I use this script in
/etc/ppp/peers/mydsl#
# PPP over Ethernet options (using roaring pinguin external program) #
plugin rp-pppoe.soIt work for me with this exact line
plugin rp-pppoe.so eth0
...
Then you should be able to do
pppd call mydslGilles
PF_PACKET sockets are also required to be able to send/receive raw ethernet frames in order to negotiate the PPPoE session, and thus rp-pppoe depends on them. It's not just a matter of getting the interface number; PF_PACET sockets are integral to the functionality of this plugin.
Signature · 1 line
Michal Ostrowski <[email protected]>
Quoted 50 lines · jfj
Thanks for the confirmation (it is helpful!).
I found the problem and that is that rp-pppoe requires
PF_PACKETsockets, which are disabled on my kenrel.I'd really like to avoid this. It seems rp-pppoe uses packet sockets to get the inteface number. Anybody knows if this can be avoided with a bit of hacking?
Otherwise, we should mention that Kernel PPPoE depends on
PF_PACKET:(
And improve the error mesages of rp-pppoe.jf.
Quoted 18 lines · Gilles Espinasse
Quoted 8 lines
Now when I type
pppd eth0
I get
unrecognized option 'eth0'
Quoted 10 lines
But wasn't the plugin supposed to enable this device?
If I use this script in
/etc/ppp/peers/mydsl#
# PPP over Ethernet options (using roaring pinguin external program) #
plugin rp-pppoe.soQuoted 10 lines
It work for me with this exact line
plugin rp-pppoe.so eth0
...
Then you should be able to do
pppd call mydslGilles
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html