All of lore.kernel.org
 help / color / mirror / Atom feed
* rp-pppoe requires PF_PACKET (Re: Help with PPPoE)
@ 2006-12-29 10:55 jfj
  2006-12-29 13:28 ` Michal Ostrowski
  0 siblings, 1 reply; 2+ messages in thread
From: jfj @ 2006-12-29 10:55 UTC (permalink / raw)
  To: linux-ppp

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.

Gilles Espinasse wrote:

>>Now when I type
>>
>>pppd eth0
>>
>>I get
>>
>>unrecognized option 'eth0'
>>
>>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.so
>>    
>>
>It work for me with this exact line
>plugin rp-pppoe.so eth0
>...
>Then you should be able to do
>pppd call mydsl
>
>Gilles
>
>  
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rp-pppoe requires PF_PACKET (Re: Help with PPPoE)
  2006-12-29 10:55 rp-pppoe requires PF_PACKET (Re: Help with PPPoE) jfj
@ 2006-12-29 13:28 ` Michal Ostrowski
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Ostrowski @ 2006-12-29 13:28 UTC (permalink / raw)
  To: linux-ppp

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.

-- 
Michal Ostrowski <mostrows@earthlink.net>


On Fri, 2006-12-29 at 02:55 -0800, jfj wrote:
> 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.
> 
> Gilles Espinasse wrote:
> 
> >>Now when I type
> >>
> >>pppd eth0
> >>
> >>I get
> >>
> >>unrecognized option 'eth0'
> >>
> >>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.so
> >>    
> >>
> >It work for me with this exact line
> >plugin rp-pppoe.so eth0
> >...
> >Then you should be able to do
> >pppd call mydsl
> >
> >Gilles
> >
> >  
> >
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-29 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-29 10:55 rp-pppoe requires PF_PACKET (Re: Help with PPPoE) jfj
2006-12-29 13:28 ` Michal Ostrowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.