From owner-freebsd-current Fri Oct 25 14:17:59 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 97B6337B401 for ; Fri, 25 Oct 2002 14:17:58 -0700 (PDT) Received: from marlborough.cnchost.com (marlborough.concentric.net [207.155.248.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07AB143E42 for ; Fri, 25 Oct 2002 14:17:58 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by marlborough.cnchost.com id RAA01720; Fri, 25 Oct 2002 17:16:32 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200210252116.RAA01720@marlborough.cnchost.com> To: Brooks Davis Cc: Dave Evans , freebsd-current@FreeBSD.ORG Subject: Re: pppd not working on latest current 2002-10-20 In-reply-to: Your message of "Fri, 25 Oct 2002 12:35:22 PDT." <20021025123522.B23521@Odin.AC.HMC.Edu> Date: Fri, 25 Oct 2002 14:16:32 -0700 From: Bakul Shah 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 > > Until pppd is taught to create the interface if one doesn't > > exist, this information needs to be in /usr/src/UPDATING. > > pppd doesn't need to be taught to create the interface. Rather it needed > 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. `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. I don't much like auto kldloading modules from suid programs. A simple hack is to just add ifconfig create ppp in rc.local. Also kldload if_ppp if needed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message