Re: Kernel mode PPPoE or User mode PPPoE

2008-07-19 Thread Ashish Shukla आशीष शुक्ल
RW  writes:
> On Sat, 19 Jul 2008 19:14:40 +0530
>  ___ Ashish Shukla <[EMAIL PROTECTED]> 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
-- 
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpGvPds48tpW.pgp
Description: PGP signature


Re: Kernel mode PPPoE or User mode PPPoE

2008-07-19 Thread RW
On Sat, 19 Jul 2008 19:14:40 +0530
 ___ Ashish Shukla <[EMAIL PROTECTED]> 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. 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.  


 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"