Problem
How can I use cu(C) on SCO OpenServer 5.0.4 with high speed modems (greater than 384000 BPS)?
Solution
SCO OpenServer 5.0.4 requires Release Supplement 504C (rs504c) in order to support uucico and cu at speeds greater than 38400 baud. This supplement includes the Networking Release Supplement SLS OSS449F. In addition, the OpenServer serial driver, sio, must be altered to support the higher speeds. The example below details how to configure cu on two OpenServer systems connected using US Robotics V.Everything modems running at 115200 baud.
In this example two OpenServer 5.0.4 systems were configured as follows:
1. OpenServer 5.0.4 was loaded with Release Supplement 504C.
2. The OpenServer serial driver "sio" was altered as instructed in TA104673, "How can I use 57.6K and 115.2K BPS with the SCO serial driver?". Two sets of changes from this article were done on the system. The file "/etc/conf/pack.d/sio/space.c" was set as follows:
unsigned char sio_fifoctl[CHANNELS] = {
0,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx4 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
FCR_Rx14 | 15,
};The system's kernel parameters were also increased to the following example values:
NCLIST: The current value is: 352 (normally: 170)TTHOG: The current value is: 11584 (normally: 256)3. The system ports and "/usr/spool/uucp/" files were configured as follows:
(a) /etc/inittabSe2A:234:respawn:/etc/getty -t60 tty2A q(b) /etc/gettydefsq # B115200 HUPCL # B115200 CS8 SANE HUPCL TAB3
IXANY #\r\nlogin: # q(c) /usr/lib/uucp/Systemshsmodem Any hsmydialer 115200(d) /usr/lib/uucp/Deviceshsmydialer tty2A - 115200(e) /usr/lib/uucp/Dialershsmydialer "" "" ATZ OK-ATZ-OK ATD\s\T CONNECT(x)A US Robotics Courier V.Everything (Dual Standard V.34 Data/Fax with V.FC, V.32 terbo & V.32 bis) modem was connected to the system's serial port "/dev/tty2A". This modem can operate in V42bis mode which allows speeds of 115200 baud once V.42 compression is used between the modems. The modem has to be configured to operate in this mode. This was done by connecting to each in turn through the system COM port using the "cu" command and inputting the required "AT" sequences.
The following AT commands were set on the modems:
# cu hsmodem<-- . CONNECTED..
--> ATZ
<-- OKAT&K3 ( enable V.42bis compression )
AT&N14 ( fixed rate connection )
AT&A3 ( enable additional result codes )
AT&W ( save settings )~. ( to exit )(X)The connection can then be tested by connecting to one modem using cu(C) and dialing the other modem with the ATDT<number> sequence. The connection speed is seen once the connection is made. If it has not been set, it defaults to 9600/ARQ.
See also
TA104673, "How can I use 57.6K and 115.2K BPS with the SCO serial driver?".
cu(C)