Operating System - HP-UX
1822320 Members
5638 Online
109642 Solutions
New Discussion юеВ

Trying to get US Robotics modem working..

 
Sally  Devine
Frequent Advisor

Trying to get US Robotics modem working..

Hello,

I have an HP 9000 (A400). It has a console cable with a connector for Remote and UPS. I have the modem hooked up to the Remote connector. I have set up the modem in SAM (/dev/ttyd0p2) and when I try and dialin with Hyperterm, I get a connect but no login prompt. I am not sure what the dip switches should be set to (I have 1,2,4,6,7 as ON) and I am just not sure why I don't get a login prompt. Any ideas?

Thank you all,
Sally
11 REPLIES 11
Printaporn_1
Esteemed Contributor

Re: Trying to get US Robotics modem working..

does getty was started on port ?
login prompt provide by getty.
normally default from factory would work.
if not send
at&f&h1&b1&w

enjoy any little thing in my life
Sally  Devine
Frequent Advisor

Re: Trying to get US Robotics modem working..

Yes a getty process is running on /dev/ttyd0p2 at 9600 baud.
Steven Sim Kok Leong
Honored Contributor

Re: Trying to get US Robotics modem working..

Hi,

Verify the run levels for the respawn in your /etc/inittab:

ttp1:234:respawn:/usr/sbin/getty -h ttyd0p2 9600

Check your current run-level by executing

# who -r

Is the current run-level meant for respawn of getty to serve ttyd0p2?

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Michael Tully
Honored Contributor

Re: Trying to get US Robotics modem working..

Hi,

Here is a document from the TKB on US Robotics modems.

Also I've listed a link at the bottom in regards to modems.

No login prompt when remote dialing in with US Robotics modem

Current Path Home
Score : 0
Document Type : EN
Date : 1997 May 01
Description : No login prompt when remote dialing in with US Robotics modem
Document Id : W3587127
Search String : ICONKBAN00000143

You may provide feedback on this document

View the printer friendly version of this document



--------------------------------------------------------------------------------

Problem Description

I am trying to dial into our HP-UX 10.0 system from my PC. The US Robotics
modem on port 0p5/6 of our K210 answers my call and establishes a
connection, but I don't receive a login prompt. What steps can I take to
correct this problem?

Configuration Info

Operating System - HP-UX
Version -10.0
Hardware System -K210

Solution

Use the cu command. Refer to the cu man page and your HP-UX Reference
for information.

As an example, to dial a system whose number is 9 201 555 1212 using
1200 baud, enter the following command:

cu -s1200 9=2015551212

For further information refer to the UUCP tutorial in the Remote Access
User's Guide (HP Part No. B2355-90037).

KEYWORD LIST

/usr/lib/uucp

HTH
-Michael

http://www.docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90698&service=hpux&path=../B2355-90698/00/00/27&title=Configuring%20HP-UX%20For%20Peripherals

Anyone for a Mutiny ?
Sally  Devine
Frequent Advisor

Re: Trying to get US Robotics modem working..

I have it hooked up to the GSP 3-port connector. It is actually hooked into "Remote Console". I set everything up through SAM and it all seems right. I cannot test dial-out because I have disabled that, we only want to be able to dial-in. When I dial in from Hyperterm, we definitely get a connection and every time I press Return you can see it on the modem in the RD light. Because it is hooked into the GSP should I get a login prompt? Is there something else I should press to get a console screen?

Thank you again, and I hope this is a little more clear.
Volker Borowski
Honored Contributor

Re: Trying to get US Robotics modem working..

Hi Sally,

several things:

- Is the modem configured, only to take connects at 9600 Baud ? Today you usally have much faster modems, and they tend to reconfigure their serial interface to the speed they negotiate with the indialing partner. Now if the connect acutally comes at 28800, you will see nothing.

- Dial in specifying 9600 Baud as well. If you use Hyperterm, press the BREAK KEY several times before you type anything else. Each press tells getty to retry one of the given speeds in /etc/gettydefs. It might result in a successful connect at 300 Baud :-)

- check the getty process from a telnet session after dial in (should be there) ! Type "abc" ENTER and "abc" ENTER, and recheck with ps -ef:
-> If there is no getty anymore, but you now have a "login abc" or a "login ~#" you have at least comunication (means the getty gets data, although not visible) you might try to use 7-bits and even parity in this case.

Hope this helps a bit
Volker
Tracey
Trusted Contributor

Re: Trying to get US Robotics modem working..

I haven't used my modem in quite some time, but this is what I have written down for it:

1,2,4,5,6,7 on
AT&F&H2&I2&B0S0=1&K0&S1S13=1&W

I also have written down:

7 Even 1 XON/XOFF
Sally  Devine
Frequent Advisor

Re: Trying to get US Robotics modem working..

Volker,

Thank you for the information. I will test all of what you said. I just wanted to drop a line to let you know that the modem is 56K but I read that the GSP only runs at 9600 baud, that is why I configured it that way. I will change it to 56.

Sally
Sally  Devine
Frequent Advisor

Re: Trying to get US Robotics modem working..

Also, should I don't seem to have anything in the /usr/lib/uucp/Devices file. Should I have entries in there? What would they be?
John Waller
Esteemed Contributor

Re: Trying to get US Robotics modem working..

I'm not familiar with the A400, but are you sure your remote port is actually ttyd0p2. I thought the remote access port was for remote support only and was normally activated via the CM> (+B)from the console when needed.
Sally  Devine
Frequent Advisor

Re: Trying to get US Robotics modem working..

John,

I did go into the GSP and enabled the remote port as "session". My understanding is that you can hook up a modem and dial into the system and have a console.

Sally