From owner-freebsd-questions@FreeBSD.ORG Sun Jul 20 05:34:23 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 D0F1D106566C for ; Sun, 20 Jul 2008 05:34:23 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 43B958FC14 for ; Sun, 20 Jul 2008 05:34:22 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so573539tid.3 for ; Sat, 19 Jul 2008 22:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type :sender; bh=853EesRCpvHXxuW9eMfCGiLK8474unuVnq9R8bVaU2c=; b=Qs/TXXe6SJCYZmdvfnLhJPdjMJUgMIJBusgw1AYp7JwJlvS+dO5YmSsyWPj1lYF1hC MZXMJslcXBmpudPCI6/vVdOiJoP6YDavfEnHK5c9h4p7/vpIWbLvMeZ2NypGvsq5FynE 0ZkGU/f7EEOX8KQuiMTjbQOAhnZrY/l0PkrdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:x-face:x-uptime:x-url :x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type:sender; b=sYyIZ2gW/F+OlG9jwiS0WDVq8hki3jRASBRisVWh3B5+7yCdgKElCQ5wSBJu5kAr0+ cROuL+Nqj79Pd3Us7pjkUSX5flz6C+QG7Xcmcti2U+nUdEla0FW7Uc1IsUZ5dMHGFRBT 3ALML4INj9xIDp1Rsmp98XyAmxgLWYY5ci/GA= Received: by 10.110.15.19 with SMTP id 19mr2107001tio.42.1216532061718; Sat, 19 Jul 2008 22:34:21 -0700 (PDT) Received: from chateau.d.lf ( [122.162.55.49]) by mx.google.com with ESMTPS id b4sm7348363tic.14.2008.07.19.22.34.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Jul 2008 22:34:20 -0700 (PDT) From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: RW Organization: The Church of Emacs References: <20080719134440.GA9147@chateau.d.lf> <20080719223434.249f4888@gumby.homeunix.com.> X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\, Jv*LO5qBr#W2.\=d (RW's message of "Sat, 19 Jul 2008 22:34:34 +0100") Message-ID: <87ljzxjey8.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfX1/8/PwTExMDAwO0 tLSampr////f398oKCi/v78MDAwICAihq32EAAACU0lEQVQ4jW3UvWvbQBQA8LOJsJIsOajtZAtH Aqq8FLQUvNjhCex2UYpE7XYytPJalxJnFMImqrOkIJfcZtwGgrqEhELQ/XN9p+jLbc+Drfvx7r17 9jNxszXCV2mR9P3ACoKAOM5bugn1hRBRFAnxeErLMN4RIpbwYKwmZfgkMGDNol8PhlFrFDDalQcx BMMwXpwV8KElYqYzpmOA0a4UsC/EmrEU4ptGDq9kghTabP09g9EuFiSpJQOYXslgrEd6Aj8Q7pl+ kcFH3NRlUTIFfvyZwV4sEzwV20a4y2A/BWEYLxdYwk0Gn+Mohfa2X4bXsn8StC0uYdVI4T02cK0F is15ArcZYKeER5Q+f4JofZZHiPshJPt8BwtPrp4kF+KOp+sdpjvOjqpf3n+1bD6dTjk3ySKuZVU1 ezcdpm3h/pL4h9eP3Rw6R5bqa9t86a/1W3OVd7dpzgBMx8YAxVFgvgmqDTwEdQignOVgI1ggoQMA x40CFHzmCHgXcEoAig39MOSATTGt5znQL4qDIRIgNK2LAqYWAl47lBGDSgHNjoOt6vdDkNAtQc9E wN0EJgXQN7aMSABIGU7mMiI5CtQJzX9w9PwQYOApVqBwCMqwp9lmkKzh0qM5uPTAn/Vw0ogazK9m JRjR6pHqEVyqd1XbgPPfKkgAddClxRi49NmKcNMh+JV4T7mzqW1e2jwk3pAPjugGuCfHPLRIP/Qr tLEB9daW7HrvcLIx55i/9zjkfMlO//pnwLHyPcupzrL9AtxrFgTaN/dfGFcjreb+B9wmnzaKpz8p dKsBFjzeRQAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Cc: freebsd-questions@freebsd.org 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: Sun, 20 Jul 2008 05:34:23 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 RW writes: > 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. 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----- --=-=-=--