From owner-freebsd-questions Tue Dec 19 1:42:27 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 01:42:24 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id BD6D237B402 for ; Tue, 19 Dec 2000 01:42:23 -0800 (PST) Received: from [195.11.243.26] (helo=Debug) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 148JHp-000DGc-00; Tue, 19 Dec 2000 09:42:21 +0000 To: , "Questions" From: Cliff Sarginson Subject: Re: Can't get ppp to dial: "Chat script failed" Date: Tue, 19 Dec 2000 09:42:21 GMT X-Mailer: www.webmail.nl.demon.net X-Sender: postmaster@btvs.demon.nl X-Originating-IP: 192.250.24.58 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 = COM1, cuaa1 = 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 A shot in the dark, can you put A "-" in the phone number ? I don't think so... Cliff > # 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 > ___________________________________________________________________________ > Here is ppp.linkup: > > provider: > delete ALL > add 0 0 HISADDR > ___________________________________________________________________________ > Here is contents of /var/log/ppp.log: > > Dec 18 22:52:45 nietzsche ppp[258]: Phase: Using interface: tun0 > Dec 18 22:52:45 nietzsche ppp[258]: Phase: deflink: Created in closed state > Dec 18 22:52:45 nietzsche ppp[258]: Phase: PPP Started (interactive mode). > Dec 18 22:52:49 nietzsche ppp[258]: Phase: bundle: Establish > Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: closed -> opening > Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: Connected! > Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: opening -> dial > Dec 18 22:52:59 nietzsche ppp[258]: Warning: Chat script failed > Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: dial -> hangup > Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: Disconnected! > Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: Connect time: 10 secs: 0 > octets in, 0 octets out > Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: : 0 packets in, 0 > packets out > Dec 18 22:52:59 nietzsche ppp[258]: Phase: total 0 bytes/sec, peak 0 > bytes/sec on Mon Dec 18 22:52:59 2000 > Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: hangup -> closed > Dec 18 22:52:59 nietzsche ppp[258]: Phase: bundle: Dead > Dec 18 22:53:03 nietzsche ppp[258]: Phase: PPP Terminated (normal). > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message