[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unexpected "Expect timeout" in chat script (ppp -auto)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Unexpected "Expect timeout" in chat script (ppp -auto)
- From: Andrew C <andrewc6l_(_at_)_yahoo_(_dot_)_com>
- Date: Tue, 20 Dec 2005 20:37:05 -0800 (PST)
I'm running PPP 3.1 (/usr/sbin/ppp) on OpenBSD 3.7 / i386. Every now
and then, I run into a problem in which the chat script stops working
in -auto mode:
Dec 20 20:45:05 wally ppp[20296]: tun0: Physical: write
Dec 20 20:45:05 wally ppp[20296]: tun0: Physical: 41 54 44 54 36 32 33
37 30 37
31 30 32 36 0d ATDT6237071026.
Dec 20 20:45:08 wally ppp[20296]: tun0: Chat: Expect(650): CONNECT
115200
Dec 20 20:45:21 wally ppp[20296]: tun0: Chat: Expect timeout
Dec 20 20:45:21 wally ppp[20296]: tun0: Warning: Chat script failed
Dec 20 20:45:21 wally ppp[20296]: tun0: Phase: deflink: dial -> hangup
I'm using the following dial commnad:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 650 \"\" AT OK-AT-OK
ATM1L1E0Q0
OK \\dATDT\\T CONNECT\\s115200"
As I understand TIMEOUT, my machine should be sitting around for up to
650 seconds before it times out. So why is it timing out in 13 seconds?
If I go to terminal mode and let the modem connect manually, the rest
of the chat script works fine.
What key fact am I missing?
Many thanks!
Andrew Jr.
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Visit your host, monkey.org