Hmm Well What happens if you open up minicom and try to type in that
command?
Your Script is excepting it to reply with an OK if is does not reply with OK
then that would be your problem
if this works okay let us know and we'll figure something else out

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 04, 1999 2:40 PM
> To:   [EMAIL PROTECTED]
> Subject:      init string again
> 
> I see that others are having the same problem as I, which is to send
> some commands to my external Robotics 56k modem so that it can talk with
> my ISP's modem server without the usual hang. 
> 
> However, the following chap script, which includes two AT commands
> that I'm told will help a modem under Linux, simply hangs:
> 
> /usr/sbin/chat -v                                     \
>       TIMEOUT         3                               \
>       ABORT           '\nBUSY\r'                      \
>       ABORT           '\nNO ANSWER\r'                 \
>       ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>       ABORT           '\nNO DIALTONE\r'               \
>       ''              \rAT                            \
>       'OK-+++\c-OK'   ATH0                            \
>       TIMEOUT         30                              \
>       OK              AT&F1&K0                                \
>       OK              ATDT$TELEPHONE                  \
>       TIMEOUT         40                              \
>       CONNECT         ''                              \
>       ogin:--ogin:    $ACCOUNT                        \
>       assword:        $PASSWORD

Reply via email to