Diagnosing RS-232 connections

The cu connection test

You can use the cu connection test to diagnose RS-232 connections.

Before using the cu connection test:

  1. You must have the UUCP subsystem installed. Use the SGI utility inst and load the eoe2.sw.uucp subsystem.
  2. Make back-up copies of the following three files: /usr/lib/uucp/Systems /usr/lib/uucp/Devices /usr/lib/uucp/Dialers
  3. Put the following contents in each file:
  4. Table 0-1

    File

    Contents

    /usr/lib/uucp/Systems [leave empty]
    /usr/lib/uucp/Devices Direct port - Any direct
    /usr/lib/uucp/Dialers direct

    port should be replaced with ttyd1 if serial port 1 is being used, or ttyd2 if serial port 2 is being used. Assign read/write permissions to the serial port with the UNIX command:

chmod 666 /dev/ttyd1 (for port 1) chmod 666 /dev/ttyd2 (for port 2)

Establishing a test connection:

  1. Log in as root.
  2. To use port 2, enter: cu -l /dev/ttyd2 -s 9600 If using port 1, use ttyd1.
  3. You should receive the message: Connected. If this message does not display, review the steps for using the cu connection test.
  4. Enter the test sequence. Sample test sequences are given in the next section.



  5. aliasdocs@aw.sgi.com

    Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.