Operating System - HP-UX
1758710 Members
3112 Online
108874 Solutions
New Discussion юеВ

How to install an external modem on HPUX systems ?

 
Herve BRANGIER
Respected Contributor

How to install an external modem on HPUX systems ?


Hi,

I need to install an Olitec Self Memory modem
(V90 modem which work in a few minutes under
Linux ...) on HPUX 11.00 (L1000,A500 or B2000)
systems. I want to use this modem to connect
to my systems remotely (using dialin, with
uugetty).

I try to configure using sam on an L1000 :
I connect my modem to the "remote" port and
configure it with SAM. After I want to use
the cu command (I configure /etc/gettydefs)
but I can't : the error message is always
"line problem"... And uugetty can't open the
/dev/ttyd0p2 !

Could you help me ? Do you know how to
configure system for externals modems ?

Thanks,

Herve

4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: How to install an external modem on HPUX systems ?

This is almost always a pain. I'll try to give you a few suggestions. I am going to assume that you have the modem cabled correctly. Most often the problem is asserting CTS/RTS/DTR.
Initially, I do not attempt to connect with uugetty because that's too complex. My first step would be to edit /etc/inittab and set the newly configured port to off and then do an init -q to force a read of gettydefs.
I suggest that you first try to talk to the modem using kermit.
Something like:
kermit
set line /dev/ttyd0p1 (or whatever your port is)
set speed 19200
set modem hayes
connect
If you can issue AT commands and get responses
you are in great shape. I bet that you can't.
From another terminal session, i would now try to assert/ignore some of the status lines
via stty -crts rtsxoff ctsxon < /dev/ttyd0p1.
See if kermit will now talk to the modem.

On most machines I typically have to setup
a 'holdport' daemon which initializes the port
and then goes to sleep so that the status lines are properly set and maintained.

When you get kermit working that should give you the clues you need for uugetty.

Hope some of this helps ....
If it ain't broke, I can fix that.
Kevin Wright
Honored Contributor

Re: How to install an external modem on HPUX systems ?

once you get the port number you assigned the modem too, whether it is on a mux or not, you need to add the line in /etc/uucp/Devices
Direct cul2a# - 19200 direct
ACU cul2a# - 19200 hayes

the Direct line will allow you to cu to the device
with cu -lcul2a#
then issue the at commands
Alexander M. Ermes
Honored Contributor

Re: How to install an external modem on HPUX systems ?

Hi there.
If you search in the documents, you will find some stuff about the setup of MULTITECH and other modems.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"