From owner-freebsd-questions Sat Aug 4 12:14: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.mx.pitdc1.stargate.net (smtp3.mx.pitdc1.stargate.net [206.210.69.143]) by hub.freebsd.org (Postfix) with SMTP id B0C5037B401 for ; Sat, 4 Aug 2001 12:13:59 -0700 (PDT) (envelope-from mav@wastegate.net) Received: (qmail 24782 invoked from network); 4 Aug 2001 19:13:52 -0000 Received: from unknown (HELO mother) (216.151.64.86) by smtp3.mx.pitdc1.stargate.net with SMTP; 4 Aug 2001 19:13:52 -0000 From: "Doug Reynolds" To: "freebsd-questions@freebsd.org" , "TJ Cuddy" Date: Sat, 04 Aug 2001 15:11:14 -0400 Reply-To: "Doug Reynolds" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.2222) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: PPP Chat script error Message-Id: <20010804191359.B0C5037B401@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 3 Aug 2001 11:59:09 -0700, TJ Cuddy wrote: >Heres how I'm running it : ># ppp >Working in interactive mode >Using interface: tun0 >ppp ON > dial mastec >ppp ON > Warning: Chat script failed >Aug 2 22:30:46 ppp[243]: Warning: Chat script failed it looks like your modem isn't getting the ATDT string to dial. try using my dial string. however, it is for a USR sportster, so if you have anything else you'll want to remove the +FCLASS+0; and change the S11=45 to S11=50 btw, if your modem is on com1, you'll want to usr /dev/cuaa0, com2 is /dev/cuaa1, com3 is /dev/cuaa2, etc. default: set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK AT&F1S11=45 OK \\dAT+FCLASS=0;M0DT\\T TIMEOUT 60 CONNECT" disable lqr deny lqr >Heres my ppp.conf file >default: > set log Phase Chat Connect lcp ipcp ccp command > set device /dev/cuaa0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATZ OK >\\dAT >mastec: > set phone "602 343 XXXX" > set login "TIMEOUT 10 \"\" \"\" gin:--gin: mastec7 word: 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 you also might want to change the login to just "set login" if your provider supports PAP or CHAP. most providers down here where i live dont even give you a login:. you'd have to set the authname and authkey. >Aug 2 22:53:50 ppp[286]: Chat: deflink: Dial attempt 1 of 1 >Aug 2 22:53:50 ppp[286]: Chat: Send: AT^M >Aug 2 22:53:50 ppp[286]: Chat: Expect(5): OK >Aug 2 22:53:55 ppp[286]: Chat: Expect timeout >Aug 2 22:53:55 ppp[286]: Chat: Send: AT^M >Aug 2 22:53:55 ppp[286]: Chat: Expect(5): OK >Aug 2 22:54:00 ppp[286]: Chat: Expect timeout >Aug 2 22:54:00 ppp[286]: Warning: Chat script failed >Aug 2 22:54:00 ppp[286]: Phase: deflink: dial -> hangup >Aug 2 22:54:00 ppp[286]: Phase: deflink: Disconnected! --- doug reynolds | the maverick | mav@wastegate.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message