Operating System - HP-UX
1821830 Members
3592 Online
109638 Solutions
New Discussion юеВ

Re: modem configuration on serial port

 
suranji
Advisor

modem configuration on serial port

I try to configure a async modem on aserial port of my HP 700 series workstation. I can dial that modem from outside but it does not give me the prompt to login. After dialing no message or prompt coming.
/etc/inittab
a0:234:respawn:/usr/sbin/getty -r -t 60 -h tty0p0 9600

But I can dial out coorectly. I enabled modem dial in S registers too.

anybody have idea to overcome the problem. pls help me.

-suranji
suranji
7 REPLIES 7
MANOJ SRIVASTAVA
Honored Contributor

Re: modem configuration on serial port

Hi Suranji

Try connecting a dump terminal on the port , incase you get a login on the terminal then you are fine and the problem would be in the modem only , incae you dont get a login on the terminal then the problem is in the port.
Also try killing the getty on that port so that it restarts again ?

Also do you get " CD on " on the modem ?

Manoj Srivastava
Vincenzo Restuccia
Honored Contributor

Re: modem configuration on serial port

Try the attachment.
suranji
Advisor

Re: modem configuration on serial port

Since i can dial out I think there is no problem with the modem. In the case of dial in also I can use

cu -s9600 -l/dev/cul0p0 -d1

command to see the characters which are typed by the remote user on my hpux screen. Here i used prolink async modem.

Any suggestions , pls help

-suranji
suranji
Michael Tully
Honored Contributor

Re: modem configuration on serial port

Hi,

Check out this link in relation to
the setting up modems.

http://www.docs.hp.com/hpux/onlinedocs/B2355-90698/00/00/27-con.html

HTH
Michael
Anyone for a Mutiny ?
suranji
Advisor

Re: modem configuration on serial port

Hi Manoj Srivastava

I test the serial ports with a nullmodem cable and a PC hyperterminal, but unable to get the login prompt on that also. /etc/inittab entry as follows

a0:234:respawn:/usr/sbin/getty -r -t 60 -h tty0p0 9600

ps -ef shows the process is running. CD also available on the modem. I changes S registries of the modem for dial in. (ats00=4 )

we can dial out from the same serial port without any problem and can get the prompt of another machine.

help me how to take the login prompt through the serial port.

-suranji
suranji
Vincenzo Restuccia
Honored Contributor

Re: modem configuration on serial port

See attach
MANOJ SRIVASTAVA
Honored Contributor

Re: modem configuration on serial port

Hi Suranji

It looks like you can have either of the following 2 problems:

1. The Cable being use id a cross cable , between the terminal and the port .

2-----2 (TX)
3-----3 (RX)
7-----7 (GND)

Check the terminal with these connection only in case it is not working then maybe the port itself is bad .The port can misbehave if only TX signal is working and the line drive associated with the RX signal is BAD , so you can try chaging the port.

2. Also in case you are not getting a logging but wnat to check the connectivity do

ls > /dev/ttyXXX and even if the login doesnt work you should get a listing of the directory on the terminal.

So first ensure this happens and u get a login and then attach the modem

All the best.

Manoj Srivastava