Excuse me for being dense, but it almost looks like chat is doing what
you ask. Try taking out the following lines:
'OK-+++\c-OK' ATH0 \
TIMEOUT 60 \
OK ATZ \
and see what happens. Also, the line reading:
OK 'ATDT055' \
Also looks like it will dial 055 and expect to see a CONNECT message in
the next line. You might want to change that to the valid phone number
for your connection.
On Wed, 27 May 1998, Paul Lilley wrote:
> However, when i try to use chat to talk to it using the following
>
> /usr/sbin/chat -v \
> TIMEOUT 3 \
> ABORT '\nBUSY\r' \
> ABORT '\nNO ANSWER\r' \
> ABORT '\nRINGING\r\n\r\nRINGING\r' \
> '' ATZ \
> 'OK-+++\c-OK' ATH0 \
> TIMEOUT 60 \
> OK ATZ \
> OK 'AT&F' \
> OK 'AT&C1' \
> OK 'AT&D2E1' \
> OK 'ATS11=70' \
> OK 'ATS7=30' \
> OK 'ATDT055' \
> CONNECT ''
>
> I get no response from the modem and the following in /var/log/messages
>
>
> May 27 16:57:21 localhost chat[1008]: timeout set to 3 seconds
> May 27 16:57:21 localhost chat[1008]: abort on (\nBUSY\r)
> May 27 16:57:21 localhost chat[1008]: abort on (\nNO ANSWER\r)
> May 27 16:57:21 localhost chat[1008]: abort on
> (\nRINGING\r\n\r\nRINGING\r)
> May 27 16:57:21 localhost chat[1008]: send (ATZ^M)
> May 27 16:57:21 localhost chat[1008]: expect (OK)
> May 27 16:57:24 localhost chat[1008]: alarm
> May 27 16:57:24 localhost chat[1008]: send (+++)
> May 27 16:57:24 localhost chat[1008]: expect (OK)
> May 27 16:57:27 localhost chat[1008]: alarm
> May 27 16:57:27 localhost chat[1008]: Failed
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.