From owner-freebsd-questions Tue Dec 19 4:56:18 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 04:56:15 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by hub.freebsd.org (Postfix) with ESMTP id C418F37B402 for ; Tue, 19 Dec 2000 04:56:14 -0800 (PST) Received: from lexx.my.domain ([195.110.170.176]) by glitch.crosswinds.net (8.9.3/8.9.3) with SMTP id HAA85860 for ; Tue, 19 Dec 2000 07:56:10 -0500 (EST) (envelope-from john253@crosswinds.net) From: John Murphy To: questions@FreeBSD.ORG Subject: Re: Can't get ppp to dial: "Chat script failed" Date: Tue, 19 Dec 2000 12:58:25 +0000 Organization: not a lot.org Reply-To: john@T-F-I.freeserve.co.uk Message-ID: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shon Smith wrote: >I have been following the pedantic ppp primer very close, with no luck. = I've >tried various variations as suggested in handbook and in email of others= who >had similar problems. I'm running Freebsd 4.2 release, and want to set = up >bsd box as dialup gateway to isp. Win 98 box is networked behind bsd = box >with 10/100 switch. When I attempt to dial user ppp in interactive mode, >Chat script fails after about 5 seconds. See below: > >root /etc/ppp-->ppp >Working in interactive mode >Using interface: tun0 >ppp ON nietzsche> dial provider >ppp ON nietzsche> Warning: Chat script failed >ppp ON nietzsche> > and then it just hangs. > >If it's helpful, I've included (1)ppp.conf, (2)ppp.linkup, >(3)/var/log/ppp.log >any help fixing this chat script problem is much appreciated. >~shon >________________________________________________________________________= __ >Here is ppp.conf: > >default: > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) > # > set device /dev/cuaa0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \OK-AT-OK = ATE1Q0 >OK \\dATDT\\T TIMEOUT 40 CONNECT \"\"" ># >provider: > set phone 240-4492 > # set login "TIMEOUT 10 \"\" \"\" gin:--gin: foo word: bar col: ppp" > set timeout 300 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > add default HISADDR > enable dns >________________________________________________________________________= ___ I think you need a couple more lines in the provider section: set openmode active set authname xxxx # replace xxxx with your log-in name eg. = you.your.isp set authkey yyyy # replace yyyy with your log-in password accept chap # or accept pap if chap doesn't work... Good luck John. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message