From owner-freebsd-current Fri Oct 25 17:59:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B4D37B401 for ; Fri, 25 Oct 2002 17:59:39 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A1BE43E65 for ; Fri, 25 Oct 2002 17:59:39 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g9Q0xMs7007374; Fri, 25 Oct 2002 17:59:22 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g9Q0xM2E007373; Fri, 25 Oct 2002 17:59:22 -0700 Date: Fri, 25 Oct 2002 17:59:22 -0700 From: Brooks Davis To: Bakul Shah Cc: Brooks Davis , freebsd-current@FreeBSD.ORG Subject: Re: pppd not working on latest current 2002-10-20 Message-ID: <20021025175921.A2761@Odin.AC.HMC.Edu> References: <20021025152221.A8479@Odin.AC.HMC.Edu> <200210260034.UAA03676@tonnant.cnchost.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200210260034.UAA03676@tonnant.cnchost.com>; from bakul@bitblocks.com on Fri, Oct 25, 2002 at 05:34:15PM -0700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2002 at 05:34:15PM -0700, Bakul Shah wrote: > > Here's a new patch that gives the user more of a hint at how to add PPP > > support and only loads the module if they are actully root. How's this > > look? >=20 > I still don't like it. How to explain.... >=20 > I don't think it is pppd's responsibility to muck with > modules. It is like mount kldloading a disk driver module. > Neither program has any business guessing which module name > goes with which device/feature. >=20 > What if I want to run ppp over ethernet over atm? I know you > can't do this today but in general the trend should be to > make protocol modules more flexible not less. Hardwiring > module names is analogous to making a function non-reentrant. This isn't going to have an effect on the ability to use kernel ppp for other things. The tty orientation of pppd and the outdated, unmodular design on ppp(4) have taken care of that. This patch gives people the functionality they want (pppd just working) without any major entanglements (the whole function is <20 lines). If someone wants to make pppd work on arbitrary devices we can deal with that when it happens and I frankly doubt it's ever going to since we've got netgraph to do that with. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9uejpXY6L6fI4GtQRAgt/AKDJvRLnikDaQ0qJwuPrXX9Dap/dzwCgpY0+ cJEztU+KqhkS2gh+Vs//eZg= =oGvc -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message