From owner-freebsd-questions Tue Sep 16 17:11:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA28936 for questions-outgoing; Tue, 16 Sep 1997 17:11:31 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA28930 for ; Tue, 16 Sep 1997 17:11:27 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA22909; Wed, 17 Sep 1997 00:57:06 +0100 (BST) Message-Id: <199709162357.AAA22909@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Gary Stanny cc: questions@FreeBSD.ORG Subject: Re: PPP & PAP - it hangs up after 7 seconds In-reply-to: Your message of "Tue, 16 Sep 1997 17:12:24 EDT." <3.0.1.32.19970916171224.006badfc@izzy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Sep 1997 00:57:05 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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? Can I turn on more > logging? And most importantly - WHAT IS WRONG? Or what should > I do next? > > Oh ya - FreeBSD 2.1.5 - ppp 1.6 with Charles Mott's NAT. > [.....] > disable chap > deny chap > enable pap > accept pap > set openmode active > set authname user_name > set authkey password [.....] The "enable pap" is asking the peer to send a PAP login & password. > 09-16 17:36:05 [515] Using interface: tun0 > 09-16 17:36:05 [516] Listening at 3000. > 09-16 17:36:05 [516] PPP Started. [.....] Yes, this is a *very* old ppp :-( Get the latest version from http://www.freebsd.org/~brian. The man page is a bit more readable. The current handbook also explains how to do this properly. > cheers > > gary > > Gary Stanny Tierra del Fuego Ltd. 313 449 8306 > stanny@TDFltd.com Financial Software 313 449 8306 (fax/fax on demand) > 7725 Shady Beach Dr Whitmore Lake, MI, 48189 USA -- Brian , , Don't _EVER_ lose your sense of humour....