mgetty: error controlling tty
Gert Doering (gert@greenie.muc.de)
Wed, 24 Sep 1997 23:12:59 +0200
Hi,
Marcus Gruendler wrote:
> When I start mgetty by calling <path>/mgetty ttyS1 everything works
> fine.
Well, you're not supposed to do that. You're supposed to run it from
/etc/inittab.
> But as soon as a FAX call comes in, mgetty is not able to receive the
> FAX.
Let's see...:
> 09/20 00:14:22 yS1 lock made
> 09/20 00:14:22 yS1 waiting for ``RING''
> 09/20 00:14:22 yS1 got: [0d]
> 09/20 00:14:22 yS1 CND: OK[0a]RING ** found **
>
> --> Why does this happen ??
What? The line before, or after the question? The lines before look fine.
> 09/20 00:14:22 yS1 cannot set controlling tty (ioctl): Operation not
> permitted
This is because you must not run mgetty from the command line.
> 09/20 00:14:22 yS1 send: ATA[0d]
> 09/20 00:14:22 yS1 waiting for ``CONNECT''
> 09/20 00:14:22 yS1 got: [0d]
> 09/20 00:14:22 yS1 CND: RING[0a]error: -1[0a]
> 09/20 00:14:22 yS1 CND: error: -1ATA[0d]
> 09/20 00:14:22 yS1 CND: ATA[0d][0a]CONNECT ** found **
Now this is *very* interesting. Never seen a modem return "error: -1".
I'd ask your modem vendor what this means.
> 09/20 00:14:34 yS1 send:
> 09/20 00:14:34 yS1 waiting for ``_''
> 09/20 00:14:34 yS1 got: 75/1200[0d]
> 09/20 00:14:34 yS1 CND: CONNECT 75/1200
> 09/20 00:14:34 yS1 CND: found: 75/1200[0a] ** found **
This is the main problem: your modem "identifies" the FAX call as a DATA
call, with 1200/75 bps. There are many modems out there that can't
reliably receive both fax and data, and yours seems to be one of them.
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-3545980 gert.doering@physik.tu-muenchen.de
.