Kernel mode PPPoE or User mode PPPoE

Ashish Shukla आशीष शुक्ल wahjava.ml at gmail.com
Sun Jul 20 05:34:23 UTC 2008


RW  writes:
> On Sat, 19 Jul 2008 19:14:40 +0530
> ____________ _______________ Ashish Shukla <wahjava.ml at gmail.com> wrote:

>> Hi
>> 
>> I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE.
>> I'm following the handbook[1] to setup my PPPoE interface. Is there
>> any way I can figure out this ?

> If you are starting it from the standard rc.d script, you are using
> user ppp.

> I think kernel ppp is a legacy feature that was used before the
> kernel supported tun interfaces. I don't know of any reason for still
> using it. 

Won't you get any speed improvements with PPP connection in kernel-mode
PPP as compared to user-mode PPP ?

> IIRC with kernel ppp you run pppd (note the d) as root, and the
> interface shows-up as ppp0; with user ppp, you run ppp as any user,
> and the interface shows-up as tun0.

I use 'ppp -ddial my-adsl-provider' and it creates a 'tun0'
interface. So this means I'm doing user-mode PPP.
 
Thanks
Ashish
-- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080720/4bffa34c/attachment.pgp


More information about the freebsd-questions mailing list