From owner-freebsd-questions Tue Sep 16 17:05:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA28532 for questions-outgoing; Tue, 16 Sep 1997 17:05:05 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA28523 for ; Tue, 16 Sep 1997 17:05:00 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id JAA00949; Wed, 17 Sep 1997 09:34:48 +0930 (CST) Message-ID: <19970917093447.36766@lemis.com> Date: Wed, 17 Sep 1997 09:34:47 +0930 From: Greg Lehey To: Gary Stanny Cc: questions@FreeBSD.ORG Subject: Re: PPP & PAP - it hangs up after 7 seconds References: <3.0.1.32.19970916171224.006badfc@izzy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <3.0.1.32.19970916171224.006badfc@izzy.net>; from Gary Stanny on Tue, Sep 16, 1997 at 05:12:24PM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Sep 16, 1997 at 05:12:24PM -0400, Gary Stanny wrote: > Hi all - > > I am trying to convert a working scripted user ppp.conf to > work on PAP. After digging through the archives I have made it > this far. It connects for 7 seconds then disconnects. If I read > the log file correctly it appears like they are arguing about > protocol c023 vers c223. What should it be? I'd say give in and accept protocol c223, since your ISP is asking for it. That's CHAP, not PAP. You could accept both by changing your script: > ---------------------- ppp.conf > > default: > set device /dev/cuaa0 > set speed 57600 > set debug phase chat > disable lqr > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK > \\dATDT\\T TIMEOUT 40 CONNECT" > > izzyx2: > set device /dev/cuaa2 > set debug phase chat lcp lqm > set phone 2139019 > disable chap > deny chap accept chap > enable pap disable pap > accept pap > set openmode active > set authname user_name > set authkey password > set timeout 120 > set ifaddr 198.108.50.131/32 198.108.102.9 255.255.255.0 > add 0 0 198.108.102.9 You probably don't want to enable PAP or CHAP; that would imply that you authenticate the ISP, and unless you've given him a user name and password, that won't work. Even if you have, it's unlikely that he'll present it. Greg