### 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. 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`

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

   `init q`