Linux Serial Terminal (Hard-wired Host To Host)

Say we have a host

alpha

and a host

bravo

that is connected to alpha with serial cable.

The following entries are required within

/etc/inittab

of the host alpha (to make the configuration permanent):

T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

Next, re-read the /etc/inittab of host alpha by running:

init q

From host bravo, connect with:

cu -l ttyS0 -e -o -115200