init sequence mgetty

Gert Doering (gert@greenie.muc.de)
Wed, 14 Oct 1998 10:14:56 +0200


Hi,

On Wed, Oct 14, 1998 at 12:39:46AM +0200, darkstar wrote:
> how can I change the init sequence that is send to the modem.

Read the manual: mgetty.config, init-chat "" ATS0=1 OK

(this is the second time that you have asked very obvious questions that
show that you didn't bother to read the docs.  This will also be the last
time that I answer on one of them.  http://alpha.greenie.net/mgetty/).

A thing that is non-obvious, but also covered in the manual: if you have
to run with ATS0=1, you MUST set "rings 10" or so -- something very much
higher than the ATS0=... number.  Why? Because every incoming call will
fail if mgetty sends an ATA in the same moment that the modem decides to
auto-answer (it will answer, and hang up immediately again).

> I MUST send ATS0=1 so that my modem is in autorespond mode.

I don't believe this - why is this a "MUST"?  Usually it's a very bad
idea.

If you have a BZT-approved modem that does not accept ATA (not even after
RING), you could use an "answer-chat" with ATS0=1 instead of ATA -- that
way, ATS0=1 is only set if you really want to pick up the phone.

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