Configuring a Device for a Terminal

Use this procedure to configure a Digi serial device for a terminal. See your operating system documentation for more information on configuring a serial device for a terminal.

Procedure

  1. Connect a serial cable between the port and terminal. 
  2. Set the port to dev=rp on the PortServer by entering this command at a PortServer root prompt:

    set port dev=rp ra=12

    This example sets PortServer port 12 to be a RealPort device.

    Note: If your PortServer firmware does not support the dev=rp option, use dev=prn instead.

  3. If you are using 8-pin RJ-45 cabling from the PortServer to the terminal, set the port to altpin=on by entering this command at a PortServer root prompt:

    set port altpin=on ra=12

    This example sets altpin=on for port 12 of a PortServer.

  4. Edit the /etc/inittab file and add a getty entry for the device. The getty name that configures your device can vary from system to system. The following examples are only meant to serve as a guide. Substitute your device for ttyaa011 in these examples:

Example 1: RedHat getty_ps

An example of a common RedHat terminal install script where getty is getty_ps would be:

dl:2345:respawn:/sbin/getty_ps ttyaa11 DT9600 vt100

Example 2: Debian agetty

An example of a common Debian terminal install script where getty is agetty would be:

D1:23:respawn:sbin/agetty -L ttyaa11 19200 vt100

Example 3: mgetty

An example of an mgetty modem script which is available both in RedHat and Debian is:

T3:23:respawn: /sbin/mgetty -x0 -s 115200 ttyaa11

  1. Enable the port for login by rebooting the system or by entering this command at your Linux command prompt:

init q