Intermittant modem failure? (fwd)
Gert Doering (gert@greenie.muc.de)
Fri, 10 Oct 1997 22:44:06 +0200
Hi mgetty-list,
has anybody an idea about this? My guess would be "cheap modems", but I
can't say [no modem type mentioned]. Maybe someone else has already
experienced and solved this?
gert
----- Forwarded message from Jon Lewis -----
*From inorganic5.fdt.net!jlewis Fri Oct 10 21:41:42 1997
Date: Fri, 10 Oct 1997 15:41:25 -0400
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: gert@greenie.muc.de
Subject: Intermittant modem failure?
Message-ID: <Pine.LNX.3.95.971010141130.600G-100000@inorganic5.fdt.net>
X-To-Stop-Spam-See: http://inorganic5.fdt.net/~jlewis/spam.html
I've got a couple of linux term servers running mgetty 0.98 and see things
like the following on a number of ports each day.
10/10 03:33:45 yRB checking if modem is still alive
10/10 03:33:46 yRB fax_send: 'AT' -> OK
10/10 03:33:46 yRB waiting...
10/10 03:48:46 yRB checking if modem is still alive
10/10 03:48:47 yRB fax_send: 'AT'
10/10 03:49:07 yRB Warning: got alarm signal!
10/10 03:49:07 yRB fax_read_byte: read returned -1: Interrupted system call
10/10 03:49:07 yRB fax_get_line: cannot read byte, return: Interrupted
system call -> ERROR
10/10 03:49:07 yRB fax_send: 'AT' -> OK
10/10 03:49:08 yRB waiting...
I saw in the docs that this can be caused by linux sending characters too
fast to the modem, so I increased from 50 to 150 each of these:
#define DO_CHAT_SEND_DELAY 150
/* and this is the delay before sending each command while in fax mode
*/
#define FAX_COMMAND_DELAY 150
Should I try bigger numbers, or could the problem be something else?
In the above case, it's a P100 running 2.0.31-pre10 with a couple of
Comtrol RocketPort cards with all ports at 115200bps.
------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____
----- End of forwarded message from Jon Lewis -----
--
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
.