|
|
When configuring non-supported modems:
To install your modem for dial-in or dial-out:
Se1A:2:off:/etc/getty -t60 tty1A m/etc/inittab determines whether the port has a login prompt and defines the serial line characteristics. There should already be an entry for the line you are using; all you need to do is check the last field. This field is a number or letter (label) from the /etc/gettydefs file. See ``Serial port speeds, line-mode labels, and UART limitations'' in ``Configuring a serial port'' for a list of the more commonly used labels.
Do not alter any fields other than the gettydefs label. For example, if you want to connect to the modem at 19,200bps on the first standard serial port, the line should be similar to this:
Se1A:2:off:/etc/getty -t60 tty1A nIf you make any changes, use the following command to check the entries:
where tty is the serial port being used. This should generate only two lines: one for the modem control port (such as tty1A) and one for the non-modem control port (such as tty1a).
For more information on the /etc/inittab file and the various control codes, see the getty(M) and inittab(F) manual pages.
Add the correct entries to the /usr/lib/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 an AT-compatible modem connected at 19,200bps on COM1, the entries in /usr/lib/uucp/Devices should be:
ACU tty1A - 19200 /usr/lib/uucp/dialHA24 \T Direct tty1a - 19200 directThe /usr/lib/uucp/dialHA24 entry is the dialer program for the modem. Two types of dialer programs are included to support a wide variety of modems; see -1 for more information.