Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2008 11:05:11 +0530
From:      wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel mode PPPoE or User mode PPPoE
Message-ID:  <87ljzxjey8.fsf@chateau.d.lf>
In-Reply-To: <20080719223434.249f4888@gumby.homeunix.com.> (RW's message of "Sat, 19 Jul 2008 22:34:34 %2B0100")
References:  <20080719134440.GA9147@chateau.d.lf> <20080719223434.249f4888@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8

RW  writes:
> On Sat, 19 Jul 2008 19:14:40 +0530
> ____________ _______________ Ashish Shukla <wahjava.ml@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
-- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiCzpMACgkQHy+EEHYuXnSOmgCdFgirCIQvuWkghdDIDPE0MvXL
RmEAn0DL1B2u4+s/KNSbeg6dMuKmn0qZ
=hUu+
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ljzxjey8.fsf>