Operating System - HP-UX
1846752 Members
5974 Online
110256 Solutions
New Discussion

how to connect a HP-UX 11 box to a Win PC via the parallel port

 
Naeem_2
Occasional Contributor

how to connect a HP-UX 11 box to a Win PC via the parallel port

Well, the question says it all. Has anyone ever tried this before and been successful?
I have carried out extensive searches and got nowhere. If it is not clear what I'm trying to do, this may help:

I have a run of the mill laptop and a HP box - I would like to connect the two using a parallel cable. Yes, I have tried an Ethernet crossover and that works, I just want to get this working too.

Any help would be greatly appreciated.
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: how to connect a HP-UX 11 box to a Win PC via the parallel port

The Centronics driver will support bi-directional communication (man 7 cent for details) but there is no network-layer software to use this port. If you want to write your own communications software to do this then feel free but otherwise ....

On the other hand, serial-to-serial is a supported network topology and would require nothing special.

If it ain't broke, I can fix that.
Naeem_2
Occasional Contributor

Re: how to connect a HP-UX 11 box to a Win PC via the parallel port

thank you..that was helpful...
i think i will write a little socket program and work at it from that angle.
doug mielke
Respected Contributor

Re: how to connect a HP-UX 11 box to a Win PC via the parallel port

Like many questions, this one begs the 'what do you want to do' response.

You might get a character connection by editng /etc/inittab. and setting the device as the parrallel port so that you can run a getty. This would give you basic terminal access, ( I know this works on other platforms.)
but you can do that easy enough through windows with something like hypterm.

The commands to send are dictated by the last entry on the initab entry, and refer to a label in /etc/gettydefs. This is where parallel port specific commands could go, but I don't see any there in my version, 11.0.

Michael Steele_2
Honored Contributor

Re: how to connect a HP-UX 11 box to a Win PC via the parallel port

Oh, I almost forgot, you can get a 25 pin to 9 pin step down adaptor if need be. Any COMPUSA.
Support Fatherhood - Stop Family Law
Rory R Hammond
Trusted Contributor

Re: how to connect a HP-UX 11 box to a Win PC via the parallel port

Looks like c program talking to the ports. I wonder if the HP server you are using has a bi-directional port.

It might be easer to have serial to parallel convertor connection
Serial on the HP side parallel port on the pc side:
http://www.airborn.com.au/serial/sertopar.html

There are a 100 ways to do things and 97 of them are right