Problem: How to I configure a modem on a SCO OpenServer system? Solution: Disable the tty the modem is going to be on. In this example we will assume the modem is on Com1. disable /dev/tty1a Edit /usr/lib/uucp/Devices Add the line: Direct tty1a - 9600 direct Make necessary changes to the tty and speed as necessary. Configure the modem: If your modem cannot be configured as listed below, it cannot be used with the SCO OpenServer operating system. Configuration parameters are: (a) The modem is set to auto-answer. The method you use to configure your modem depends on the type of modem being used. Use the appropriate method from the ones listed below to configure the modem. Configuring Hayes Smartmodem or compatible modem: SWITCH # 1 2 3 4 5 6 7 8 If your modem has 10 switches, set them as follows: SWITCH # 1 2 3 4 5 6 7 8 9 10 Configuring a Hayes compatible modem using AT commands, At a root prompt, type the following commands: # cu -s 2400 -l tty1a dir Note: ate0 is echo off - commnands will no longer echo OK after this. # (brings you back to command prompt) (Some faxes won't display the "tilde".) Configuring the "inittab" file If you are using a 9600 baud modem on the second standard serial port, the line should be similar to the following: Also edit the /etc/conf/init.d/sio Testing # enable tty1A The "TR", "AA", and "MR" lights should be on, and the "CD" light should be off
disable /dev/tty1A
chown uucp /dev/tty1a
chgrp uucp /dev/tty1a
chmod 644 /dev/tty1a
chown uucp /dev/tty1A
chgrp uucp /dev/tty1A
(b) The modem is set to go on hook when DTR goes from high to low.
(c) The modem is set so that CD tracks the remote carrier. CD is high when the modem is off hook, and low when the modem is on hook.
(d) The modem has echo turned off; it does not echo characters sent to it.
(e) The modem is in quiet mode; it sends response codes, not response strings.
If your modem has 8 switches, set them as follows:
POSITION UP UP DN UP UP UP UP DN
POSITION UP UP DN UP UP UP UP DN UP UP
at&f
att
atl0
at&d2
at&c1
ats0=1
ats2=128
ate0
atq1
at&w
~. (tilde key and the period key)
Se1A:2:off:/etc/getty -t60 tty1A m
You should see the modem lights flash as the operating system resets the modem.
©1996 - 2008 Computer Business Consultants, Inc. All rights reserved.