Specific UK site modem configuration.
- Custom serial port configuration
The site was using a U.S. Robotics 28800 modem. It was attached to anAdvant IMS at Software Version IMS 2.0/0 P1 with HP model 9000/715/D system unit.
Solution:
This customer site required special settings for the modem connections that are not normally required. Normal requirements for modem connections are documented in the ABB 'Advant ® Service Modem Kit Instruction Manual', ABB document number 3BUR001147D0001 REV A. Much of the information that follows was taken directly from this manual.
UNIX 10 Procedure to Configure the Serial Port
The serial port must be configured as a direct connect terminal. To verify the port is configured correctly, enter:
ls -l /dev/tty0p0 /dev/tty1p0
You should see the following:
(with hardware flow control enabled - suggested)
crw-rw-rw- 1 bin bin 1 0x000010
crw-rw-rw- 1 bin bin 1 0x010010
or
(without hardware flow control enabled)
crw-rw-rw- 1 bin bin 1 0x000000
crw-rw-rw- 1 bin bin 1 0x010000
If the devices files do not exist or are not configured properly, use the mknod command to create a modem device file as follows:
mknod /dev/tty0p0 c 1 0x000010 for port 0
or
mknod /dev/tty1p0 c 1 0x010010 for port 1
Configure the station to recognize the modem using the on-line tool called SAM (System Administration Manager).
The port you plugged the modem cable into is the port you will need to configure in the Station.
SAM Procedure for Configuring Your System to Work With Modem
Q. Start an HP-TERM window.
R. Log into the station as a superuser (root).
S. Enter sam
T. In the SAM main window, select or highlight the Peripheral Devices-> list item and
activate the Open control button.
(The Peripheral Devices window appears, displaying a list of types of peripheral devices.)
U. In the Peripheral Devices window, highlight the Terminals and Modems list item and
activate the Open control button.
(The Terminals and Modems window appears, displaying a list of the
currently-configured terminals and modems.)
V. To add a modem, pull down the Actions menu and choose Add Modem....
(The Add Modem screen appears.)
Enter the appropriate data in each field.
a. Select either, the first entry for serial port 0, or the second entry for serial port 1.
NOTE - Do not change the Port Number field. It should always be 0.
b. For Speed (Baud Rate), enter 9600.
c. Select Use Device for Calling Out.
d. Select Receive In-coming Calls (start getty process).
e. Select CCITT Modem (European standard modems).
f. If you need help with how to complete the screen, activate the Help control button.
To get help on a particular data field, put the location cursor on that field and press the F1 key.
W. After completing the Add Modem screen, you should be ready for SAM to add the modem to your system.
SAM does this by creating the appropriate device files, and by making a getty entry in the /etc/inittab file.
8. When you are ready for SAM to add the modem, activate the OK control button.
A message follows that the device drivers are being added.
9. Exit SAM.
The following displays are actual views seen when using the SAM procedure (Steps 4-6 above).
|----------------- System Administration Manager (roc243) (1) -----------------|
|File View Options Actions Help |
| Press CTRL-K for keyboard help. |
|SAM Areas |
|------------------------------------------------------------------------------
|
| Source Area |
||---------------------------------------------------------------------------| |
|| SAM Accounts for Users and Groups -> | |
|| SAM Auditing and Security -> | |
|| SAM Backup and Recovery -> | |
|| SAM Clusters -> | |
|| SAM Disks and File Systems -> | |
|| SAM Display -> | |
|| SAM Kernel Configuration -> | |
|| SAM Networking and Communications -> | |
|| SAM Performance Monitors -> | |
|| SAM Peripheral Devices -> | |
|| SAM Printers and Plotters -> | |
|| SAM Process Management -> | |
|| SAM Routine Tasks -> | |
|| SAM Run SAM on Remote Systems v| |
||---------------------------------------------------------------------------| |
| |
|------------------------------------------------------------------------------
|
|----------------- System Administration Manager (roc243) (1) -----------------|
|File View Options Actions Help |
| Press CTRL-K for keyboard help. |
|Peripheral Devices |
|------------------------------------------------------------------------------
|
| Source Area |
||---------------------------------------------------------------------------| |
|| ..(go up) | |
|| SAM Cards | |
|| SAM Device List | |
|| SAM Disks and File Systems -> | |
|| SAM Monitor Configuration | |
|| SAM Printers and Plotters -> | |
|| SAM Tape Drives | |
|| SAM Terminals and Modems | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| v| |
||---------------------------------------------------------------------------| |
| |
|------------------------------------------------------------------------------
|
|--------------------- Terminals and Modems (roc243) (1) ----------------------|
|File View Options Actions Help |
| Press CTRL-K for keyboard help. |
|Terminals and Modems |
|------------------------------------------------------------------------------
|
| Source Area |
||---------------------------------------------------------------------------| |
|| |---------------------------- Note (roc243) ---------------------------| | |
|| | | | |
|| | No currently configured terminals and/or modems were found on your | | |
|| | system. To configure a terminal or modem, choose 'Add Terminal' or | | |
|| | 'Add Modem' from the 'Actions' pulldown menu. For more information, | | |
|| | choose 'Overview' from the 'Help' pulldown menu. | | |
|| |----------------------------------------------------------------------| | |
|| | [[ OK ]] | | |
|| |----------------------------------------------------------------------| | |
|| | |
|| | |
|| | |
|| | |
|| v| |
||---------------------------------------------------------------------------| |
| |
|------------------------------------------------------------------------------
|
|--------------------- Terminals and Modems (roc243) (1) ----------------------|
|File View Options Actions Help |
| Press CTRL-K for keyboard help. |
|Terminals and Modems 0 of 0 selected |
|------------------------------------------------------------------------------
|
| Device File Name Type Hardware Path Port Number Speed (baud) |
||---------------------------------------------------------------------------| |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| v| |
||---------------------------------------------------------------------------| |
| |
|------------------------------------------------------------------------------
|
|--------------------- Terminals and Modems (roc243) (1) ----------------------|
|File View Options Actions_______________ Help |
| | Add Terminal... |keyboard help. |
|Terminals and Mode| Add Modem... | 0 of 0 selected |
|------------------|____________________|--------------------------------------
|
| Device File Name| (nothing selected) |h Port Number Speed (baud) |
||-----------------|____________________|------------------------------------| |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| | |
|| v| |
||---------------------------------------------------------------------------| |
| |
|------------------------------------------------------------------------------
|
|---------------------------- Add Modem (roc243) ------------------------------|
| |
| Choose a Mux/Serial Card: |
| Hardware Path Driver Description |
| |--------------------------------------------------------------------------| |
| | 8/16/4 asio0 Built-in RS-232 Interface | |
||| 8/20/2 asio1 Built-in RS-232 Interface | |
||| 2/0/4 asio0 Built-in RS-232 Interface | |
||| 5/0/2 asio0 Built-in RS-232 Interface v| |
|||--------------------------------------------------------------------------| |
||[ Diagnose Missing Card... ] | |
|| | |
|| [ Port Number... ] 0 | |
|| | |
|| [ Speed (Baud Rate)... ] 9600 | |
|| | |
||[X] Use Device for Calling Out | |
|| | |
||[X] Receive In-coming Calls (start getty process) | |
|| | |
||[X] CCITT Modem (European standard modems) | |
||---------------------------------------------------------------------------| |
||[ OK ] [ Cancel ] [ Help ] | |
||---------------------------------------------------------------------------| |
|------------------------------------------------------------------------------
|
Verify that Device Drivers are Loaded and Running
Q. To verify that SAM has created the device drivers, enter:
ls -l /dev/ttyd* /dev/cu*
You should see the following for Serial Port 0:
Hx000005 /dev/cua0p0
Hx000005 /dev/cul0p0
Hx000006 /dev/ttyd0p0
You should see the following for Serial Port 1:
Hx010005 /dev/cua1p0
Hx010005 /dev/cul1p0
Hx010006 /dev/ttyd1p0
R. To verify that getty is running on port 0 and it is in a pending state, enter:
ps -ef |grep getty
S. You should see something similar to the following:
root 272 1 0 08:23:42 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p0 9600
There should be a '?' in the tty field to show it is pending.
If getty is not in a pending state, the hardware should be checked.
T. If getty is not running (or does not look like the example above), you will have to edit the
'/etc/inittab' file and check for the getty process command in the file.
The '/etc/inittab' file should look like one of these:
zz:234:respawn:/etc/getty -h ttyd0x nnnn
or
zz:234:respawn:/usr/lib/uucp/uugety -h ttyd0x nnnn
Where zz is a 2 character entry ID and nnn is the baud rate. For example:
a0:234:respawn:/usr/lib/uucp/getty -h ttyd00 9600
If your system '/etc/inittab' file looks like this for example:
a0:3:respawn:/usr/lib/uucp/uugetty -r -t 60 ttyd00 9600
the -r -t has to be changed to -h ,
the :3: has to be changed to :234: ,
but you do not have to modify the a0: part.
U. To institute the changes on the system enter:
init q
NOTE - If the getty process is currently running, you will need to enter
kill -9
prior to doing an init q
V. To configure the Advant Station on site, connected to the modem, for call out (is going to be
used to dial out through the modem) you will need to edit the '/etc/uucp/Device' file.
The following three lines need to be added towards the end of the file:
ACU cul0p0 cua0p0 9600 hayes
Direct cul0p0 cua0p0 9600 direct
ACU ttyd0p0 cua0p0 9600 direct
These additions are for port 0 on the station only.
If you want to use port 1 instead (also) enter the following:
ACU cul1p0 cua1p0 9600 hayes
Direct cul1p0 cua1p0 9600 direct
ACU ttyd1p0 cua1p0 9600 direct
This customer site required special settings for the modem that are not normally required. Normal requirements for modem connections are documented in the ABB 'Advant ® Service Modem Kit Instruction Manual', ABB document number 3BUR001147D0001 REV A. Much of the information that follows was taken directly from this manual. A Rochester Knowledge Base document (accessed through internal ABB Lotus Notes) entitled 'US Robotics Modem Settings' dated 7/15/97 by Robert Grout has information (similar but not the same) specific to a U.S. Robotics Sportster 33600. Another Rochester Knowledge Base document entitled 'Modem Instructions for HP-UX 10.20' dated 11/17/98 by Dave Weller has information (again similar but not the same) specific to connecting a HP B132L+ system unit.
Configuring the U.S. Robotics 28800 Modem (for this specific site use in the UK)
The modem can be configured using the following procedure:
Q. There are switch settings on the back of the modem. Verify that these are set as follows:
S1 - UP/OFF - Normal DTR Operations
S2 - UP/OFF - Verbose Results
S3 - DOWN/ON - Enables Result Codes
S4 - UP/OFF - Displays Keyboard Commands
S5 - UP/OFF – Auto-answer Enabled
S6 - UP/OFF - Normal CD Operations
S7 - DOWN/ON - Loads &F0
S8 - DOWN/ON - Enables AT Command Recognition
R. Open up a HP-TERM window.
S. Enter: cu -s9600 -lcul0px dir
T. Enter: AT
If you do not get an OK, check the cable, and watch that the SD (TX), RD (RX) indicators flicker on the modem.
U. Enter: AT I4
This will display the modem settings in a table similar to the following:
B0 E1 F1 M1 Q0 V1 X1 Y0
BAUD=9600 PARITY=N WORDLEN=8
DIAL=TONE ON HOOK
&A3 &B0 &C1 &D2 &G0 &H0 &I0 &K1
&M4 &N6 &P0 &R1 &S0 &T5 &U0 &Y1
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=004
S07=060 S08=004 S09=006 S10=007 S11=070 S12=050 S13=000
S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019
S25=005 S27=001 S28=008 S29=020 S30=000 S31=000 S32=000
S33=000 S34=000 S35=000 S36=014 S38=000 S39=012 S41=000
S42=126 S43=200 S44=015 S45=000
... S54=064 S56=016 ...
...
LAST DIALED #:
These were the settings that worked for our specific modem type and location. The settings shown bolded above
appeared to be the ones necessary for the modem to communicate properly.
If necessary, all of the settings can be altered with one AT command, for example:
Enter: AT X1 &A3 &F &C1 &D2 S0=1 S36=14 &K1 &N6
The modem should answer with: OK. If it doesn’t then one of the settings is not to be configured on
this modem. Individually enter the AT command changes like
AT X1
AT TONE
AT ON HOOK
AT &A3
... and so on until the majority of bolded entries agree.
IMPORTANT NOTE -
The set-up described above appeared to work successfully with one exception:
If the modem connection was dropped during usage or hung up (disconnected
the session) normally it would not auto-answer immediately afterward unless it
was powered 'OFF' and then powered 'ON' by the local customer site personnel.
There should be a attribute in the modem to enable the auto-answer to function
but we were not able to determine the proper attribute setting.
T. The SD (TX) indicator on the modem should come on.
U. To exit the cu command environment, enter:
~.
NOTE - The ABB keyboard does not have a tilde key, therefore
you must use a standard 'QWERTY' keyboard to exit.
(Alternatively - Exit the HP-TERMINAL window to ensure that
the cu command environment is not being accessed.)
- I need specific modem information
- Article imported from the previous version of KnowledgeBank
Add new comment