Adding and configuring modems

Installing a non-supported modem

To install your modem for dial-in or dial-out:

  1. Make sure the serial port you have chosen for your modem is recognized at bootup and, if the modem is internal, make sure that the COM port does not conflict with any other device.

  2. Use the sacadm(1M) command to disable the modem (tty00t) and non-modem (tty00m) control ports.

    Enter sacadm -l -t ttymon to list all instances of ttymon(1M) port monitors running on your system. The Modem Manager creates a ttymon instance (usually called ``ttymonNN'', where NN is 1) which monitors the modem port. The name appears in the PMTAG field of the sacadm output.

    If there is more than one instance of a ttymon port monitor (for example ``ttymon2'', ``ttymon3''...) then the instance which monitors the modem port can be found by inspecting the PMSPECIFIC field of the pmadm(1M) output:

    pmadm -l -p ttymonNN

    ttymonNN is the ttymon instance (shown in the PMTAG field of the sacadm output) which is being checked.

    In the PMSPECIFIC field, look for the modem port. ttymonNN is then the instance to be disabled with the following command:

    sacadm -d -p ttymonNN

  3. If you are going to use the line for dial-out, ensure that the serial port is owned by uucp, for example:

    chown uucp:uucp /dev/tty00t
    chown uucp:uucp /dev/tty00m

  4. Use sacadm(1M) and pmadm(1M) to configure a ttymon port monitor in bidirectional mode for dialing in. See ``Administering the ttymon port monitor'' for further details.

  5. Add the correct entries to the /etc/uucp/Devices file. This file should have two entries for each serial port being used for a modem. One of the entries is used when you start a call using the modem (the Automatic Calling Unit (ACU) line), and the other line is used to connect directly with the modem to issue commands manually (the direct line). For a Hayes-compatible modem connected at 19,200bps on COM1, the entries in /etc/uucp/Devices should be:
    ACU  tty00m - 19200 /etc/uucp/default/Courier_V-34_Data_Fax_Modem \T
    Direct  tty00t - 19200 direct
    
    The /etc/uucp/Courier_V-34_Data_Fax_Modem entry is the dialer program for the modem. Two types of dialer programs are included to support a wide variety of modems; see ``Using dialers'' for more information.
Now follow the procedures in ``Configuring UUCP for modems'' and ``Testing your modem connection'' to complete the installation of your modem.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999