Serial Console
Add the following to
/usr/src/linux/Makefile
:
Near the "SMP = 1"
CONFIG_SERIAL_ECHO = 1
Near the "ifdef SMP"
ifdef CONFIG_SERIAL_ECHO
CFLAGS += -DCONFIG_SERIAL_ECHO
endif
Compile
a new kernel.
Add this line in
/etc/lilo.conf
:
serial = 0,9600n8
Install
the new kernel.
Run /etc/lilo.
Add this getty line in
/etc/inittab
0:12345:respawn:/sbin/mingetty ttyS0
Add this line to
/etc/securetty
.
ttyS0
Reboot.