DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Adding and configuring modems

Configuring a modem without using the Modem Manager


NOTE: term/00m is equivalent to tty00m. term/00t is equivalent to tty00t.

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. You may need to disable ttymon on the control ports. Use the sacadm(1M) command to disable the modem (term/00m) and non-modem (term/00t) 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 ``ttymonN'', where N 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 ttymonN

    ttymonN 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. ttymonN is then the instance to be disabled with the following command:

    pmadm -d -p ttymonN -s term/00m

  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/term/00m

  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. Create a symbolic link in /etc/uucp named after the modem (for example, Courier_V.34_Data_Fax_Modem) that links to /usr/lib/uucp/atdialer. To do this, enter:

    /etc/uucp/mdmcfg Courier_V.34_Data_Fax_Modem -p term/00m -E

    In /etc/uucp/default/term/00m two files are generated that are named after the modem, one with a .cfg ending and one without. For example Courier_V.34_Data_Fax_Modem and Courier_V.34_Data_Fax_Modem.cfg. The file without the .cfg is a traditional UnixWare dialer file that is generated from the .cfg file. See ``Installing modem configuration files'' for further details.

  6. 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  term/00m - 19200 Courier_V.34_Data_Fax_Modem
    Direct  term/00m,M - 19200 direct
    
    The speed ``Any'' means that the application that opens the serial line will need to set the speed by using the -s option to cu. If the application does not do this the line will default to 9600bps.
Now follow the procedures in ``Configuring UUCP for modems'' and ``Testing your modem connection'' to complete the installation of your modem.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004