Printer-friendly versionI have a headless LINUX server (CentOS 5.5) attached with a serial cable to a Windows client and I want to use PuTTY to connect to the console on the LINUX host. Here are the file modifications I made.
[root@linux etc]# diff inittab.201105081915 inittab
18c18
< id:5:initdefault:
---
> id:3:initdefault:
42a43,44
> # Run console on COM1 in all runlevels
> co:12345:respawn:/sbin/mingetty ttyS0 57600 xterm
53a56
>
[root@linux etc]# diff securetty.201105081915 securetty
23a24,25
> ttyS0
> ttyS0
[root@linux etc]# diff grub.conf.201105081915 grub.conf
11a12,13
> serial --unit=0 --speed=57600
> terminal --timeout=15 serial console
13a16,19
> title CentOS (2.6.18-238.9.1.el5)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M console=tty1 console=ttyS0,57600
> initrd /initrd-2.6.18-238.9.1.el5.img
16c22
< kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M
---
> kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M console=tty1 console=ttyS0,57600