Technical article 109301

Using cu(C) with high speed modems on SCO OpenServer 5.0.4.

OpenServer 5.0.4

Written · Last revised

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/inittab
Se2A:234:respawn:/etc/getty -t60 tty2A q
(b) /etc/gettydefs
q # B115200  HUPCL # B115200  CS8 SANE HUPCL TAB3
IXANY #\r\nlogin: # q
(c) /usr/lib/uucp/Systems
hsmodem Any hsmydialer 115200
(d) /usr/lib/uucp/Devices
hsmydialer tty2A - 115200
(e) /usr/lib/uucp/Dialers
hsmydialer "" "" 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
<-- OK
AT&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)

From the Xinuos technical article database, record 109301. Reproduced with permission. The original is at www.sco.com/ta/109301, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.