Computer
parts
sales
PC
Related
Topics
Server
Related
Topics
How to Setup Modem Support on HP/UX

1. Insure you have the right cable (40233a or 92219q for 800; 24542m for 700) If you have another cable it must be pinned out as the the required one above

2. setup a modem in sam on the correct port, 9600 is a viable speed note the files created starting with cu such as cu0p1 (device file)

3. edit the /usr/lib/uucp/Devices (/etc/uucp/Devices in 10.x) file and add
Direct (device file) - 9600 direct
For example:
Direct cu0p1 - 9600 direct

4. talk to the modem and set it with the cu command
cu -l (device file) dir
Your should get "connected". Then type at. You should get "ok".
At this point type in:
at&f&c1&d2s0=1
You should get "ok"
Then type at&w0. (This is the write command for NVRAM)(check your modem Manual)
Then type ~.
You should get your hostname in brackets and then hit return to disconnect. If it doesn't disconnect try it a few times.
Your modem should now be setup to call out and auto answer call in.

********************************************************************
CABLE PINOUT
********************************************************************

                         24542M
            9000/345 & 9000/375 Serial Modem cable
                 9000/700 Serial Modem cable
        (for use on the internal 9 pin serial port)


Note:   This cable is a standard IBM AT style 9 <-> 25
        modem cable.

        This cable will not work on 98644 style interfaces
        used on earlier 9000/300 machines. They need the 
        92221M cable, or the supplied adapter.

        The lines marked with * are usually the ones
        needed for modem use.
           CPU                           Modem
        ( DB-9 F DTE )                 (DB-25 M DCE)
        -------------------------------------------
        CD      1       <---------      8  CD  *
        RD      2       <---------      3  RD  *
        TD      3       --------->      2  TD  *
        DTR     4       --------->      20 DTR *
        GND     5       <-------->      7  GND *
        DSR     6       ----------      6  DSR
        RTS     7       ----------      4  RTS 
        CTS     8       ----------      5  CTS 
        RI      9       <---------      22 RI


                         40233A
               9000/800 Series Modem cable
                 CPU                     Modem
        -------------------------------------------
        Gnd     1       ----------      1  Gnd 
        RD      2       <---------      3  TD 
        TD      3       --------->      2  RD
        RTS     4       <---------      8  DCD
        DSR     6       --------->      20 DTR
        GND     7       <-------->      7  GND
        DCD     8       --------->      4  RTS
                9       <---------      22 RI
        DTR     20      <---------      6  DSR
        RI      22      <---------      5  CTS

**************************************************************************
Using high speed
***************************************************************************

1. To use high speed it is advisable to use device files with hardware flow control. These can be made via the mksf command:
A. mksf -H (hardware path) -d asio0 -a 2 -f (dialin device name)
B. mksf -H (hardware path) -d asio0 -a 1 -f (dialout device name)

2. The "AT String " from above must be used to initialize the modem.

3. The key point is fixing port speed to the getty speed which should be above the modem's maximum connect speed. To do this you must connect to the modem at the higher speed and then fix the port speed. With a US Robotics modem this is &B1. Other modems may vary depending on the manufacturer.

4. Once the port speed is fixed to the getty speed it should connect at the highest speed of which the modem is capable of transferring data.


PDF file for muxes and cableing
 

[Back to the home page]