You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Obsolete:Serial console

From Wikitech-static
Jump to navigation Jump to search
This page is obselete. Please see SCS for its replacement.

There is a serial cable running between zwinger and ariel.

Setup

zwinger

  • Nothing necessary in /etc/inittab; it won't work if getty is running on this machine's serial port as well.
  • minicom must be installed

ariel

In /etc/inittab:

s1:12345:respawn:/sbin/agetty 19200 ttyS0 vt100

In /boot/grub/grub.conf:

title Red Hat Linux (2.6.7-SMP-rc3+BK@1.1392)
  root (hd0,0)
  kernel /vmlinuz-2.6.7-SMP-rc3+BK@1.1392 ro root=/dev/sda2 console=ttyS0,19200 panic=5

In /etc/securetty:

console
...

How to use

Run minicom as root (due to perms on /dev/ttyS0) and change port speed to 19200. Best to run it in a screen so that it can be shared.