Configuring HP-UX For Peripherals

Chapter 4 123
Configuring Terminals and Modems
Additionally Configuring HP-UX for a Modem
Additionally Configuring HP-UX for a Modem
Step 1. If you are configuring a modem to the single modem port on a Series 800
multi-function card, you need to ensure that the modem port is not
locked.
Step 1. Execute a control-B on the console to get into command mode. This will
give you a CM> prompt.
Step 2. Execute a ur command to unlock the remote access port.
Step 3. Execute a dr command to disable the remote access port.
Step 4. Execute a co command to return to the console mode.
Step 5. Execute the ioscan -C tty
-fn command to identify again the card instance, hardware path, and
port number for the modem port.
Step 6. Create device special files for the modem based on the card instance (or
hardware path) and port number. You can use SAM to create the device
special files (recommended) or use mksf. Modem device files have the
following format:
NOTE By default, mkfs creates a device special file for access mode 0
Table 4-7 Device Special Files for Modems
Access Mode
a
a. See mksf (1M) -a option of asio0 and mux
x
drivers.
Port Access Device File Format
0 Direct connect
/dev/cua
instance#
p
port#
b
b. Instance number derives from ioscan -f output; use the card
instance shown for the tty class of interface card to which the modem
is being attached.
1
Dial-out port
c
c. Required for all modems.
/dev/cul
instance#
p
port#
2
Dial-in modem
c
/dev/ttyd
instance#
p
port#