From owner-freebsd-questions Mon Dec 18 23: 7: 4 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 23:07:01 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.prod.itd.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id E15DF37B400 for ; Mon, 18 Dec 2000 23:07:00 -0800 (PST) Received: from beckett (dialup-166.90.41.239.SanFrancisco1.Level3.net [166.90.41.239]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id XAA27582 for ; Mon, 18 Dec 2000 23:06:59 -0800 (PST) Reply-To: From: "Shon Smith" To: "Questions" Subject: Can't get ppp to dial: "Chat script failed" Date: Mon, 18 Dec 2000 23:04:43 -0800 Message-ID: <000301c06989$f67d0b80$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 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal 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 # 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