From owner-freebsd-questions Tue Dec 19 13:47:43 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 13:47:41 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 422FB37B404 for ; Tue, 19 Dec 2000 13:47:40 -0800 (PST) Received: (from jonc@localhost) by itouch.co.nz (8.11.1/8.11.1) id eBJLlZm52895; Wed, 20 Dec 2000 10:47:35 +1300 (NZDT) (envelope-from jonc) Date: Wed, 20 Dec 2000 10:47:35 +1300 From: Jonathan Chen To: Shon Smith Cc: Questions Subject: Re: Can't get ppp to dial: "Chat script failed" Message-ID: <20001220104735.A52346@itouchnz.itouch> References: <000301c06989$f67d0b80$0200a8c0@my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000301c06989$f67d0b80$0200a8c0@my.domain>; from shonthomas@earthlink.net on Mon, Dec 18, 2000 at 11:04:43PM -0800 Sender: jonc@itouch.co.nz Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 18, 2000 at 11:04:43PM -0800, Shon Smith wrote: [...] > __________________________________________________________________________ > 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 > ___________________________________________________________________________ Three things: 1. For debugging any chat scripts or anything, your should have the following line in the default section: set log Phase Chat LCP IPCP CCP tun command This will give your a bit more to work with in the log files. 2. Could be that your modem doesn't understand `-' in the phone number field. Take it out, ie: set phone 240-4492 3. You forgot to set the login and password in your "provider" section. You need to have the following lines in there: set authname YOURUSERNAME set authkey YOURPASSWORD Hope this helps. -- Jonathan Chen ---------------------------------------------------------------------- "Opportunity does not knock, it presents itself when you beat down the door" - W.E. Channing To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message