From owner-freebsd-current Fri Oct 25 14:50:47 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 CDAD537B401 for ; Fri, 25 Oct 2002 14:50:45 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D20043E42 for ; Fri, 25 Oct 2002 14:50:45 -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 g9PLofs7016664; Fri, 25 Oct 2002 14:50:41 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g9PLofOu016653; Fri, 25 Oct 2002 14:50:41 -0700 Date: Fri, 25 Oct 2002 14:50:41 -0700 From: Brooks Davis To: Bakul Shah Cc: Brooks Davis , Dave Evans , freebsd-current@FreeBSD.ORG Subject: Re: pppd not working on latest current 2002-10-20 Message-ID: <20021025145041.A25423@Odin.AC.HMC.Edu> References: <20021025123522.B23521@Odin.AC.HMC.Edu> <200210252116.RAA01720@marlborough.cnchost.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200210252116.RAA01720@marlborough.cnchost.com>; from bakul@bitblocks.com on Fri, Oct 25, 2002 at 02:16:32PM -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 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2002 at 02:16:32PM -0700, Bakul Shah wrote: > > > Until pppd is taught to create the interface if one doesn't > > > exist, this information needs to be in /usr/src/UPDATING. > >=20 > > pppd doesn't need to be taught to create the interface. Rather it need= ed > > to learn to check for ppp support in a non-stupid way. The following > > patch should do it as well as making pppd do the right thing when > > support isn't compiled in, but a module is available. It should make > > things work with a GENERIC kernel. >=20 > `device ppp' was already defined in my kernel config file so > there was no need to kldload if_ppp. But I had to run > `ifconfig create ppp' to make things work. RTF modfind. The modfind check verifies that ppp is in your kernel one=20 way or another. It IS unnecessicary to create the ppp0 interface=20 because adding a ppp line discipline does that for you. The check for=20 ppp0 was always wrong because you might not get that interface. > I don't much like auto kldloading modules from suid programs. I'm waiting on more opinions on this. It's easy enough to remove if that's the concensous. FWIW, ifconfig does exacly this before trying to do anything with any interface. -- 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 --UlVJffcvxoiEqYs2 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 iD8DBQE9ubywXY6L6fI4GtQRAorkAJ9riNnYqN3yILm4QCYge0dMkootugCdFSTl P0HT1EDm0geYnyVFX/tWSAY= =DXY2 -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message