mgetty interfering with diald
Herbert Betz (100330.153@compuserve.com)
Wed, 15 Jul 1998 18:19:42 +0200
One of the first sentences in the mgetty-Manual states:
mgetty handles incoming calls without interfering with outgoing calls.
This is not true on my maschine:
when the following is started with inittab:
mo:23:respawn:/usr/sbin/mgetty /dev/modem
... I cannot get DIALD to work. In /var/log/messages I read the following:
-----------------------------------------------------------------------
Jul 10 15:32:25 Herb1 kernel: CSLIP: code copyright 1989 Regents of the
University of California
Jul 10 15:32:25 Herb1 kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR
(dynamic channels, max=256) (6 bit encapsulation enabled).
Jul 10 15:32:25 Herb1 kernel: AX25: KISS encapsulation enabled.
Jul 10 15:32:25 Herb1 kernel: SLIP linefill/keepalive option.
Jul 10 15:32:34 Herb1 diald[562]: Running connect (pid = 572).
Jul 10 15:32:34 Herb1 chat[572]: send (ATZ^M)
Jul 10 15:32:34 Herb1 chat[572]: expect (OK)
Jul 10 15:33:19 Herb1 chat[572]: ATZ^M^\^@|^^^^^\^@
Jul 10 15:33:19 Herb1 diald[562]: Connect script failed.
Jul 10 15:33:19 Herb1 chat[572]: alarm
Jul 10 15:33:19 Herb1 chat[572]: Failed
Jul 10 15:33:20 Herb1 diald[562]: Delaying 30 seconds before clear to
dial.
Jul 10 15:33:29 Herb1 mgetty[573]: can't get user id for 'uucp': No such
file or directory
-------------------------------------------------------------------------
All programs lock to /var/lock and point to /dev/modem -> ttyS1 ...
Thanks for any help,
Herbert (100330.143@compuserve.com)
P.S.:
Substituting the inittab entry above with one of the following
leads to further errors:
1) mo:23:respawn:/usr/sbin/mgetty -x6 -s 38400 modem
-> sendfax <anyphone> <any.g3> won't dial any more and seems blocked
2) mo:23:respawn:/usr/sbin/mgetty -D -x2 -R 45 /dev/modem
or mo:45:respawn:/usr/sbin/mgetty -D -x2 -R 45 /dev/modem
-> will not answer the phone on the second or more rings.