From owner-freebsd-questions@FreeBSD.ORG Sat Jul 19 21:34:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 443A31065671 for ; Sat, 19 Jul 2008 21:34:39 +0000 (UTC) (envelope-from fbsd06+X7=98ace331@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 172668FC13 for ; Sat, 19 Jul 2008 21:34:38 +0000 (UTC) (envelope-from fbsd06+X7=98ace331@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id B3F7623E498 for ; Sat, 19 Jul 2008 17:34:37 -0400 (EDT) Date: Sat, 19 Jul 2008 22:34:34 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080719223434.249f4888@gumby.homeunix.com.> In-Reply-To: <20080719134440.GA9147@chateau.d.lf> References: <20080719134440.GA9147@chateau.d.lf> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Kernel mode PPPoE or User mode PPPoE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2008 21:34:39 -0000 On Sat, 19 Jul 2008 19:14:40 +0530 ____________ _______________ Ashish Shukla 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.