[comp.sys.hp] TS-8 magic

murray@bwilab3.UUCP (Murray W. Hertz, Jr.) (09/13/90)

I have a TS-8 device which taps onto my TCP/IP lan and provides 8 serial
ports.  I have not hooked it up yet, but I need some ideas on how to do a
particular job with it.

I will be using most of the ports to hook up user terminals that can then
log in to the machine(s) on the network.  No problem -- I believe that they
will be assigned a TTY/PTY pair by their host and show up as either a
RLOGIN or a TELNET connection (differences?)

One of those ports, however, will be used to hook a piece of lab equipment
that has corresponding daemon monitoring processes running on one of the
UNIX machines on the lan.  That daemon needs to know the pathname of the
port it must open to read to/write from that lab equipment.  The trouble is,
I don't know how to predict what that pathname will be.

Is there a way I can pre-assign what TTY/PTY pair will be used, or hard-fix
a pair, or request a certain path, or anything like that?  The lab equipment
will not be trying to log in to any system on the network, but rather respond
to requests that come into his serial port.

A million thanks in advance,

Murray Hertz

graham@hparc0.HP.COM (Graham Eddy) (09/27/90)

the TS8 talks TELNET so will zap into the standard TELNET port, be picked
up by /etc/telnetd (as configured in /etc/inetd.conf for that port), and
be assigned a pty by that server.  so far as i am aware, you cannot coerce
/etc/telnetd into allocating you a predesignated pty.

you could, however, give some consideration to having the connection
initiated from the computer end and have the stuff hanging off the TS8
port treat it as a dumb serial connection...

-graham "represents noone's opinions but his own"