DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Adding serial terminals

Testing a terminal connection

Use the following procedure (illustrated in ``Testing a terminal connection'') to test the setup of a terminal connection:

  1. Log in as root on the console or a working terminal other than the one you are testing.

  2. Disable the port you want to test using the command: disable ttyname where ttyname is the non-modem control device name of the port (for example, /dev/tty1a, not /dev/tty1A).

  3. Try to redirect output to the terminal by entering: date > /dev/ttyname

    If you still do not see the date printed on the terminal:


  4. When the date is displayed on your terminal, enable the port by entering the command: enable ttyname.

    If you do not see the login: prompt, enter the following command to verify that getty is running on the port and that the software is configured properly:

    ps -t ttyname

    Your screen should display a message similar to the one in the following example, with either ``login'' or ``getty'' listed in the command (CMD) column:

       PID	TTY	TIME	CMD
       

    2557 1a 0:06 getty

  5. If you have typed the enable and disable commands many times, it is possible that a new getty cannot be spawned on that port. If so, shut the system down, reboot, log in as root in multiuser mode, and try again. For more information, see ``Setting the terminal type at login''.

Testing a terminal connection


Next topic: Changing default terminal line characteristics
Previous topic: Installing serial terminals

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005