From owner-freebsd-questions Tue Dec 19 2:26:32 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 02:26:28 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 0D0E437B402 for ; Tue, 19 Dec 2000 02:26:24 -0800 (PST) Received: from beckett (dialup-209.247.246.35.SanFrancisco1.Level3.net [209.247.246.35]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id CAA07642; Tue, 19 Dec 2000 02:26:20 -0800 (PST) Reply-To: From: "Shon Smith" To: "Cliff Sarginson" , "Questions" Subject: RE: Can't get ppp to dial: "Chat script failed" Date: Tue, 19 Dec 2000 02:27:25 -0800 Message-ID: <000401c069a6$47aa3ac0$0200a8c0@my.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 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 I don't believe the dash is the issue. Still got the same error message: "Chat script failed." > > # 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message