Trying to use the same line to dial in and out

Karl Lehenbauer karl at sugar.uu.net
Sun Jul 24 08:13:14 AEST 1988


We're trying to get Bell Tech Unix to use the same line for dial in and dial
out.  The problem is that to dial out, tty0 must be opened without modem
controls.  Otherwise, the open hangs until CD is present.  getty, on the
other hand, wants to open the device with modem controls, so it won't
initiate a login until someone connects with the modem.  Incidentally,
there is no entry in /dev for tty00 or tty01 with modem controls.  Section
7 of the sysadmin manuals has a section called ASY that says you need to
OR a 16 into the minor device number, so we mknod'ed /dev/ttym0 with this
bit set.  Does anyone believe ordinary DOS weenies are going to be able or
willing to figure this stuff out?  Anyway, the problem now is that uugetty
and uucico use different filenames for tty0, hence they don't manage to
lock each other out.  Specifically, when uucico places a call, as soon as
it gets carrier detect, uugetty will try to get the remote sytstem to log
in.  That's bad.

Shouldn't the Unix validation stuff include making sure that one can plug
modems into serial ports, especially the built-in ones, and be configured
for both dial in and dial out, as uugetty is documented to allow?  What
is the fix?
-- 
-- backups:  always in season; never out of style.
-- karl at sugar.uu.net aka uunet!sugar!karl



More information about the Comp.unix.microport mailing list