script question

Gert Doering (gert@greenie.muc.de)
Mon, 9 Nov 1998 23:46:00 +0100


Hi,

On Mon, Nov 09, 1998 at 04:46:06PM -0600, Sam Barasch wrote:
> Another interesting series of messages is in /var/log/log_mg.ttyS0
> 
> --
> 11/06 12:38:18 yS0  send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
> 11/06 12:38:22 yS0  waiting for ``OK''
> 11/06 13:16:58 yS0  timeout in chat script, waiting for `OK'
> 11/06 13:16:58 yS0  init chat failed, exiting...: Interrupted system call
> 11/06 13:16:58 ##### failed in mg_init_data, dev=ttyS0, pid=445

Not too good.  Try "toggle-dtr no", or setting the speed to 38400, for
starters.

> After turning up debugging information, I was led to /etc/mgetty+sendfax/mgetty.config  where I added the following line in hope that it would help:
> 
> init-chat "" \d\d\d+++\d\d\dAT OK ATSO=1 OK

ARGH.  LOOK at the log file that you just posted -- modem initialization
does not succeed, so it doesn't matter *what* you put there, it won't
change anything.  (AND NEVER EVER!!! DO ATS0=1!!!! UNLESS YOU HAVE TO).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de