
Connecting Peripheral Devices
35
5
To choose ports to connect the modem to, edit the
/usr/etc/stc/stc_defaults
file. For each port, determine the device
name for the port and change the default line to
ttyz
n
:dtr_assert:
where
n is the number of the port, as in the following example:
You can change the modem default settings in this file by configuring serial
and parallel ports.
Note – For information about choosing ports and device names, see Appendix
B. This appendix also explains how to configure ports for the modem.
After editing your
stc_defaults
file, type
/usr/etc/stc/stc_defs
and
press
Return
. This command applies the new settings you specify in the
stc_defaults
file to the serial and parallel ports controlled by the device
driver. To enable login to the ports you configured, type
kill -1 1
and
press
Return
.
Add a line describing your modem to the
/etc/remote
file. The following
example shows an entry for a 2400 baud modem on port 0 of the first Serial
Parallel Controller card in your system:
Now set up a
tip
connection to determine whether your modem is connected.
Type
tip ttyz
n (where n is the number of the port you wish to test) and
press
Return
. If your modem is connected, your system displays the
connected
message:
ttyz
n
:dtr_assert:
For n type the number of the port, in the range 00-17.
tutorial# /usr/etc/stc/stc_defs
tutorial# kill -1 1
ttyz00:\
:dv=/dev/ttyz00:br#2400:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com