Date: Sat, 04 Aug 2001 15:11:14 -0400 From: "Doug Reynolds" <mav@wastegate.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "TJ Cuddy" <tj161@yahoo.com> Subject: Re: PPP Chat script error Message-ID: <20010804191359.B0C5037B401@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: <secret> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010804191359.B0C5037B401>
