Operating System - HP-UX
1833829 Members
2032 Online
110063 Solutions
New Discussion

remote port name on Itanium

 
SOLVED
Go to solution
JUP
Regular Advisor

remote port name on Itanium

Hi

I'm trying to attach a modem to the remote port of the Itanium rx2600. I have done a ioscan -fnCtty and get the following:

Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tty 4 0/3/1/0 pci_mux0 CLAIMED INTERFACE PCI Serial (113f90f0)
/dev/diag/mux4 /dev/tty4a1 /dev/tty4a5
/dev/diag/mux4_1 /dev/tty4a2 /dev/tty4a6
/dev/diag/mux4_2 /dev/tty4a3 /dev/tty4a7
/dev/mux4 /dev/tty4a4 /dev/tty4a8
tty 0 0/6/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm (103c129
0)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/6/1/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/MPdiag1 /dev/mux1 /dev/tty1p2
/dev/diag/mux1 /dev/tty1p0 /dev/tty1p4
tty 2 250/1 asio0 CLAIMED INTERFACE Built-in RS232C
/dev/diag/mux2 /dev/mux2 /dev/tty2p0
tty 3 250/2 asio0 CLAIMED INTERFACE Built-in RS232C
/dev/diag/mux3 /dev/mux3 /dev/tty3p0



My guess is the /dev/tty1p2 and /dev/tty1p4 devices point to the remote and UPS ports at the back of the server.

So I edited /etc/inittab and inserted the following lines in it:

tty1:234:respawn:/usr/sbin/getty -h tty1p2 H
tty2:234:respawn:/usr/sbin/getty -h tty1p4 H


and typed in "init q" to re-read the file.

Did a stty -a < /dev/tty1p2 (and also for tty1p4) and got the following:


speed 9600 baud; line = 0;
rows = 0; columns = 0
min = 1; time = 0;
intr = DEL; quit = ^\; erase = #; kill = @
eof = ^A; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp ; dsusp
werase ; lnext
-parenb -parodd cs8 -cstopb hupcl cread clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon ixany -ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo -echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab



So why when I connect a modem to it and dial in I do not get any prompt etc. Also I tried moving hte console from the Console port to the Remote port and did not get any response either.

Does anyone have any idea what I need to do to get the console or modem connected and working normally on the Remote port?

Thanks in advance
JUP
2 REPLIES 2
Cheryl Griffin
Honored Contributor
Solution

Re: remote port name on Itanium

On an rx2600 the following ports are used for:
/dev/tty0p0 --> UPS only
/dev/tty1p0 --> Console
/dev/tty1p2 --> Remote (Modem port)
/dev/tty1p4 --> Local session (not for Modem or remote Console)
/dev/tty2p0 --> General purpose serial (Console port)
/dev/tty3p0 --> General purpose serial
"Downtime is a Crime."
JUP
Regular Advisor

Re: remote port name on Itanium

Thanks Cheryl

however I do have the following question:

When I connect a console or modem to the Remote port (tty1p2) and a getty is running on that port (via /etc/inittab) why can't I see anything ? Its setup up exactly as the console port.

Also why does the console port (/dev/tty1p0) have different major and minor number to the /dev/console port ?

# ls -al /dev/console /dev/tty1p0
crw--w--w- 1 root tty 0 0x000000 Mar 23 08:47 console
crw-rw-rw- 1 bin bin 1 0x010000 Mar 23 09:02 tty1p0


Thanks in advance
JUP