Configuring HP-UX For Peripherals

126 Chapter4
Configuring Terminals and Modems
Additionally Configuring HP-UX for a Modem
users' manual for procedure on how to change strapping.
At this point the modem is ready for call-in use.
Step 13. To set up the modem for call-out use, you must add entries to the
/etc/uucp/Devices file. (This file does not have an associated manpage;
follow the examples given in the file itself.)
Edit /etc/uucp/Devices to include an entry for the /dev/cul
n
p
p
file
created earlier. For example,
ACU cul2p5 - 2400 hayes
Direct cul2p5 - 2400 direct
Step 14. After saving the file, you can test the modem's call-out ability executing
the following cu command:
/usr/bin/cu -s2400 -lcul2p5 dir
You should get a message indicating that you are connected. If you enter
AT Return, the system will respond with OK. If it does not, the modem
might have its echo turned off. Enter ATDT
telephone_number
and listen
to the modem to hear if it dials. If the modem does not dial, refer to your
modem user's manual or have the modem hardware checked out.
The modem is now ready for call-out using cu -s2400
telephone_number
.
Requirements for Modems to Work on HP-UX
Your modem hardware documentation will be your primary resource for
setting switch positions and commands for proper functioning of your
modem. However, note the following information specific to HP-UX:
The modem should not ignore DTR, but instead auto answer when
HP computer raises DTR. Modem should hang up the line, disable
auto answer, and return to command state when computer drops
DTR. (This is AT&D2 on Hayes modem protocol). Do not have the
modem do power-on reset when DTR is dropped, as some modems
temporarily raise CD during reset. (On Hayes modems, do not use
AT&D3.)
Modem should assert carrier detect only when there is a carrier and
should drop CD when carrier is lost. (This is AT&C1 on Hayes modem).
Modem should pass through BREAK,because theBREAK key is used