From owner-freebsd-questions Wed Sep 18 17:37:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8838C37B401; Wed, 18 Sep 2002 17:37:33 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 990FE43E4A; Wed, 18 Sep 2002 17:37:32 -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 g8J0bUj1020189; Wed, 18 Sep 2002 17:37:30 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g8J0bTpW020188; Wed, 18 Sep 2002 17:37:29 -0700 Date: Wed, 18 Sep 2002 17:37:29 -0700 From: Brooks Davis To: Huang wen hui Cc: FBSDQ , current@FreeBSD.ORG Subject: Re: Could not use pppd under -CURRENT Message-ID: <20020918173729.A19755@Odin.AC.HMC.Edu> References: <3D891A9F.4050203@mail.gddsn.org.cn> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D891A9F.4050203@mail.gddsn.org.cn>; from huang@ns.gddsn.org.cn on Thu, Sep 19, 2002 at 08:30:23AM +0800 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 19, 2002 at 08:30:23AM +0800, Huang wen hui wrote: > hi, > I could not use pppd under -CURRENT, may be pppd driver could not link > into kernel? > I am sure I include ppp driver in system config file. >=20 > # uname -a > FreeBSD hwh.gddsn.org.cn 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Sep 17 > 20:56:16 > CST 2002 hwh@hwh.gddsn.org.cn:/usr/obj/usr/src/sys/HWH i386 >=20 > # pppd > pppd: This system lacks kernel support for PPP. To include PPP support > in the kernel, please follow the steps detailed in the README.bsd > file in the ppp-2.2 distribution. >=20 >=20 > cut from my config file.: > # Pseudo devices - the number indicates how many units to allocate. > device random # Entropy device > device loop # Network loopback > device ether # Ethernet support > device sl # Kernel SLIP > device ppp # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif # IPv6 and IPv4 tunneling > device faith # IPv6-to-IPv4 relaying (translation) It should work if you do "ifconfig ppp create" before running pppd. ppp(4) devices are now cloning devices and thus don't exist by default. pppd probably needs to be fixed to handle this properly. -- 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 --mYCpIKhGyMATD0i+ 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 iD8DBQE9iRxIXY6L6fI4GtQRAl/LAJ9Lgg7B13O6P64GRr6GFQbHN/SzPgCeIz0h p2fHeXNoB5j7T/kOGpG7t2c= =5bnZ -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message