Operating System - HP-UX
1836617 Members
2872 Online
110102 Solutions
New Discussion

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

 
Francisco Mancardi_1
Frequent Advisor

Modem Installation and Configuration - Help Needed - HPUX 10.20

I have an USROBOTICS 56K modem and I need to install and configure it to send message to a pager. (I have downloaded QPAGE)

I have never install a Modem (until now!).
I have used SAM, but I dont?t know if the
install and config is completely done with
SAM.
I haven?t find where to configure number of
bits used, parity, etc.

I think I need a micro-tutorial on this
subject.

Any brave soul out there can help me ?

Best Regards

Francisco Mancardi
(fman@uyr.com.ar)
7 REPLIES 7
linuxfan
Honored Contributor

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

Hi Francisco,

Not sure if you already saw this. (chapter 4 deals with configuring terminals/modems)

http://docs.hp.com/hpux/pdf/B2355-90698.pdf

-Regards
I am RU
They think they know but don't. At least I know I don't know - Socrates
MANOJ SRIVASTAVA
Honored Contributor

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

Hi Francisco Mancardi


Try this if you have a MUX Card installed , incase no then at least it should be connected to the a serial port.

1. First ensure that the MUX card is installed properly ie software wise , ie it should be sensed by the kernel while booting and you should be able to associate with each port a unique tty device.

2. Please create an entry in /etc/inittab similar to that for the console and enable getty for the that terminal on which you want to install the modem , genrally the first or the last port . Once you can enable getty then you can test the port by connecting it to a terminal and you will get a login if getty is running on that tty. Once you can login using that port you are all set to install modem on that port.

3. Disable getty on that port by changin respawn ( 2nd field ) to off and kill the getty , then go to /etc/uucp and edit Devices fiel to contain atleast the following two lines

Direct ttyXX - 9600 direct \D
ACU ttyXX - 9600 ps_mt1432_tone

and you are all set to go.

If the modem is now connected to ttyXX and there is a line coming to it you can TEST dial out you own extension or a local no using

cu -s9600 -l/dev/ttyXX < telNo>

all the best.

Also i am ataching a document for more help .

Manoj Srivastava






























































Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

hi,
try this:
SAM-->Peripherial Devices-->Terminals and Modems-->(actions:Add Modem)...
from the menu,select the interface(mux or serial?),and if mux,select a port(port 7 is used by the multiplexer itself)...choose 9600 or 19200 (or a higher if EISA mux) as the baud rate...(in fact this is not the real speed...this is the entry in /etc/gettydefs file)...
select the options u want(dialout/in)and press OK...
now you have device files SAM created for you,like:
/dev/culXpY and /dev/cuaXpY (X/Y depends on the card/port)...
note down these device files...
**********************************
add these lines at the end of the /etc/uucp/Devices file:

Direct culXpY cuaXpY 19200 direct
ACU culXpY cuaXpY 19200 hayes

(19200/or the rate u have chosen)....
***************************************
connect the modem to the rs232 connector and login...
***************************************
enter the command:
cu -l /dev/culXpY -m dir
if it writes "connected" this means that your modem config. is right...(in fact you don't have to connect the modem to do this...)
***************************************
issue the command "at" and you should be able to get an OK message which means that the modem is OK for communication...
***************************************
troubleshooting:
if you still cannot connect,you have to control the modems internal settings(with hyperterminal or something like that,with the help of the modems manual)...

be sure that the cable you are using for modem is right pinned if you are using custom cables...(especially if rs232-rs232C ending cables)...
and be sure that the cable is working right:)
(that took my one week):))))
bye...
it's all a game
Leila Vono
New Member

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

Hello,

First thing if you?re begginer is to ensure you have GOOD cable and your modem is connected to the RIGHT serial port, otherwise all tips up here are unuseful.

Other thing is to have the correct dip switch modem setting. For dial-out, use:

1 2 3 4 5 6 7 8
down up down up up up up down

What HP server your are attaching your modem to, in which port and what your cable pinout?

If your cable use TX, RX, GND only(cable 1), you MUST configure the server port as terminal, not modem. Otherwise(cable2) you can use any mode. What specifies this behaviour is the minor number of tty device file(0x0??000= terminal, 0x0??002=modem). Example of cables:
Cable 1 Cable 2
HP MODEM HP MODEM
2---------3 2-----------3
3---------2 3-----------2
7---------7 4-----------8
+-4 6---------+-20
| |
+-8 +-4
7-----------7
+-6 9-----------22
| 20----------6
+-20 22----------5

To check if your cable is working, emulate the port where modem is connected to via kermit:
# kermit -l /dev/tty?p? -b 9600
kermit> connect
at < if you do not set what you type, your cable is not good or is not connected to the port you?re emulating.
OK < you should see OK

If you?re connecting to modems slower than 56k, disable V90:
at&m4s27.5=1

If you are done with this steps, the rest depends on your application.

Hey, I had never considered points, but it is too much work for absolutely lack of acknowledgement and feedback.
Celso Medina Kern
Trusted Contributor

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

<<<<<<< The correct poster >>>>>>> ITRC stuff
Hello,

First thing if you?re begginer is to ensure you have GOOD cable and your modem is connected to the RIGHT serial port, otherwise all tips up here are unuseful.

Other thing is to have the correct dip switch modem setting. For dial-out, use:

1 2 3 4 5 6 7 8
down up down up up up up down

What HP server your are attaching your modem to, in which port and what your cable pinout?

If your cable use TX, RX, GND only(cable 1), you MUST configure the server port as terminal, not modem. Otherwise(cable2) you can use any mode. What specifies this behaviour is the minor number of tty device file(0x0??000= terminal, 0x0??002=modem). Example of cables:
Cable 1 Cable 2
HP MODEM HP MODEM
2---------3 2-----------3
3---------2 3-----------2
7---------7 4-----------8
+-4 6---------+-20
| |
+-8 +-4
7-----------7
+-6 9-----------22
| 20----------6
+-20 22----------5

To check if your cable is working, emulate the port where modem is connected to via kermit:
# kermit -l /dev/tty?p? -b 9600
kermit> connect
at < if you do not set what you type, your cable is not good or is not connected to the port you?re emulating.
OK < you should see OK

If you?re connecting to modems slower than 56k, disable V90:
at&m4s27.5=1

If you are done with this steps, the rest depends on your application.

Hey, I had never considered points, but it is too much work for absolutely lack of acknowledgement and feedback.
God bless pessimists, they did the backup!
Joseph Chakkery
Valued Contributor

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

 
Knowledge is wealth
Sridhar Bhaskarla
Honored Contributor

Re: Modem Installation and Configuration - Help Needed - HPUX 10.20

The process has been well explained by others.
I have a ROBOTICS modem connected to my HPUX workstation. I could configure the modem but had trouble connecting to it. I tried all bauds as my modem supports 56k. I figured out that it was working reliably at 19200 baud only. So you need to have your gettydefs entry for 19200 baud. I didn't have to worry about other bits much. Once you get some readable output on your dial-up terminal, you can think about parity etc.,

-Sridhar
You may be disappointed if you fail, but you are doomed if you don't try