[comp.bugs.2bsd] rx, dz, kermit

dennisf@marque.mu.edu (Dennis Flaherty) (09/05/88)

On my 2.10 system, I have (among many others) an RX02 and a
DZ11 mux.  The rest of my system works fine.  Unfortunately,
the rx driver never attaches when I boot.  Although the
dz driver attaches, and the lines are in /etc/ttys, I can't
get the lines to work.  
If I try an echo >/dev/tty00, I have to hit ^C and I get
a "can't create" error.  A listing of "ps asux" shows that
unlike my DL11 lines (which work), my DZ11 lines all have
a ? for the tty of their gettys.  It's as if the nodule
numbers are wrong, but they aren't.
Can anybody help with the rx or dz drivers?

BTW, I tried installing the kermit from KERMSRV@CUVMA (with the
Makefile insert at the tail end of CKUKER.BWR), but on the very
last step, where cc links all the object files together to
make wermit, I get a "text overflow" error.  Any hints, or
just a uuencoding of the binary, would be appreciated.
					Thanks,
-- 
                                            Dennis Flaherty
dennisf%marque@csd1.milw.wisc.edu           Marquette University
3790FLAH@MUCSD.BITNET               USNail: 826 N. 20th St.
dennisf@marque.mu.edu                       Milwaukee, WI 53233

ccdan@ucdavis.ucdavis.edu (Dan Dorough) (09/14/88)

In article <270@marque.mu.edu> dennisf@marque.UUCP (Dennis Flaherty) writes:
> On my 2.10 system, I have (among many others) an RX02 and a
> DZ11 mux.  [...]  Although the
> dz driver attaches, and the lines are in /etc/ttys, I can't
> get the lines to work.  
> If I try an echo >/dev/tty00, I have to hit ^C and I get
> a "can't create" error.  A listing of "ps asux" shows that
> unlike my DL11 lines (which work), my DZ11 lines all have
> a ? for the tty of their gettys.

these symptoms sound like modem control in action.  the DZ11
honors modem control signals.  when an open() occurs on a dz
port, the open() hangs until the dz gets carrier.  that's why
your "echo" hangs, and it's also why getty shows "?" for tty;
it hasn't gotten the device opened, so the controlling tty
(that ps displays) isn't established yet.

if you are using your DZ11s as hard lines, you need to bring
in more than just pins 2, 3, and 7.  you also need DTR going
out and CD coming in (i don't have the pin numbers handy).
some folks just jumper those inside the DB25 connector, others
actually carry them from the terminal so that when the terminal
is turned off the session gets a SIGHUP.  if you are using
your DZ11s as dialup lines, of course those cables should
carry modem control signals between the dz and the modem.

--dan dorough, ucdavis systems programmer

edm@nwnexus.WA.COM (Ed Morin) (09/15/88)

Or, you could just create another set of DZ devices in /dev with the
minor device number of each port incremented by 128.  That will give
you access to devices not requiring modem control.  That's what I do
for in-house tty lines so I don't have to mess around with the modem
control pins...

Ed Morin
Northwest Nexus Inc.
"Unix Public Access for the Masses!"
edm@nwnexus.wa.com