[comp.sys.ncr] Bidirectional modem lines, how to do it?

ra@intsys.no (Robert Andersson) (01/11/91)

I've been setting up a Hayes-compatible modem on a 400 running 3.00.01.
The modem will be used in a bidirectional manner.  I have problems getting
it to work like I want to, and would like to hear from people that have
done this before.

Summary of current setup:
In /etc/inittab i use: uugetty -r -t 30 
Nothing special is done with the UUCP config.
Modem is configured to always keep DCD high.

Everything works except for one important thing:
Due to the fact that DCD is always high, the Tower never sees that a 
user that have dialed in breaks the connection, and thus does not send
a SIGHUP to his processes.  The next user dialing in then gets the previous
user's session, bypassing the login procedure completely.  A *major* 
security hole.

I then tried configuring the modem so that DCD follows the real modem carrier.
Results:
Above mentioned problem is solved.
UUCP does not work, even when enabling the special tricks needed in Devices
and Dialers, as it is documented in the Dialers file.
uugetty works unrealiably, sometimes carrier is lost as the login: prompt is
output, sometimes not.  Adding the -h option removes this problem, but then the
line is not hanged up when a user logs out.

So, it seems I cannot win :-(  Help!
-- 
Robert Andersson       Voice +47 2 371055       International Systems A/S
ra@intsys.no           Fax   +47 2 356448       P.O. Box 3356
...!{uunet,mcsun,nuug}!intsys.no!ra             0405 Oslo 4, NORWAY