1834379 Members
2114 Online
110066 Solutions
New Discussion

Re: serial configuration

 
sys-sbd
Advisor

serial configuration

What type of configuration I must set in order to connect via HP Serial port a SUN serial port machine .
Thank you
8 REPLIES 8
Mark Greene_1
Honored Contributor

Re: serial configuration

Here's the specs on HP's serial ports:

http://docs.hp.com/hpux/onlinedocs/5966-8703/5966-8703.html

You'll need the same info on the Sun side, and then you'll have to map the signals from one to the other.

mark
the future will be a lot like now, only later
Darren Prior
Honored Contributor

Re: serial configuration

Hi,

This will depend to an extent on what you intend to use the connection for, and what is being run on the Sun end.

For example, if you want to use the HP as a dumb terminal onto the Sun system you would use something like Kermit to connect to the local serial port; and there'd be a getty or equivalent on the Sun. The connection between the 2 machines could be a null modem cable, or each machine could have a modem connected.

regards,

Darren.
Calm down. It's only ones and zeros...
sys-sbd
Advisor

Re: serial configuration

Thank you for this response,
Well in fact I want to have a telnet session-like on HPUX connecting to a SUN serial port console.
I'll try with a null-modem and kermit, if you have any ideas with the configuration ?
Darren Prior
Honored Contributor

Re: serial configuration

Depending on the exact model HP server you have the cable will be as simple as:

2 3
3 2
7 7

On the SUN box you will need to set it up to expect a terminal connection on the appropriate port.

On the HP box you'd run Kermit and type in the following commands at the C-Kermit prompt:

set line /dev/ttywhateverport
set speed 9600
connect

From this point you will be using the HP as a dumb terminal and anything typed into that Kermit session will be sent down the serial port, anything echoed by the SUN box will be displayed on the screen.

If you are after a normal telnet session then you wouldn't use a serial connection, instead you'd have them both on your network.

regards,

Darren
Calm down. It's only ones and zeros...
sys-sbd
Advisor

Re: serial configuration

How can I find on which device it is associated /dev/ttxx ?
Darren Prior
Honored Contributor

Re: serial configuration

Read the number off the port (if it's a MDP - Modem Distribution Panel - it'll be printed on it), then look at the hardware path on the Mux card. Now look at an ioscan -funCtty to match them up.

regards,

Darren.
Calm down. It's only ones and zeros...
sys-sbd
Advisor

Re: serial configuration

Thanks Darren,
I connect the null-modem on a A500-5X port named UPS/portconsole, is it correct to use it as a console port? and the output of ioscan -funCtty is :
[/root] C-Kermit>!ioscan -funCtty
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tty 0 0/0/4/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/diag/mux0 /dev/mux0 /dev/tty0p0 /dev/tty0p1 /dev/tty0p2
tty 1 0/0/5/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag2 /dev/diag/mux1 /dev/mux1 /dev/tty1p1
Darren Prior
Honored Contributor

Re: serial configuration

Hi,

I think you could use that port. I know it isn't supported for modem use due to the lack of handshaking on the port, but the cable I described has no handshaking.

regards,

Darren.
Calm down. It's only ones and zeros...