1. NEW: With Fedora Core 2&3, eth0 and eth1 are reversed. Simply swap the lines in /etc/modprobe.conf to correct this.

    Here's my /etc/modprobe.conf (which also disables ipv6):
    alias eth0 e1000
    alias eth1 e100
    alias net-pf-10 off
    
  2. Must install mgetty and add line to /etc/inittab so that we get a login prompt over the redirected console:
    
    apt-get install mgetty
    
    /etc/inittab snippet:
    
    1:2345:respawn:/sbin/mingetty tty1
    2:2345:respawn:/sbin/mingetty tty2
    3:2345:respawn:/sbin/mingetty tty3
    4:2345:respawn:/sbin/mingetty tty4
    5:2345:respawn:/sbin/mingetty tty5
    6:2345:respawn:/sbin/mingetty tty6
    S0:12345:respawn:/sbin/mgetty -b -r -s 19200 -p "Serial Console Login: " ttyS0
    


    Replace 19200 with whatever speed your console is using. For the AOpen Fortress 1120, this is declared in the BIOS as 19200 and is a read-only setting.

  3. Here's my grub.conf which works with IPMI console redirection over Ethernet. Basically you still treat it as if it were redirecting over the regular serial port. IPMI takes care of the magic of redirecting it over ethernet totally transparent to you.

    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,0)
    #          kernel /vmlinuz-version ro root=/dev/md0
    #          initrd /initrd-version.img
    #boot=/dev/hde
    default=0
    timeout=5
    terminal --timeout=15 console serial
    serial --unit=0 --speed=19200
    
    ## if system goes into single user mode, console goes over SERIAL
    title Fedora Core Primary=Console (2.4.22-1.2140.nptl)
            root (hd0,0)
            kernel /vmlinuz-2.4.22-1.2140.nptl ro root=/dev/md0 console=tty0 console=ttyS0,19200
            initrd /initrd-2.4.22-1.2140.nptl.img
    
    ## if system goes into single user mode, console goes to MONITOR
    title Fedora Core Primary=Monitor (2.4.22-1.2140.nptl)
            root (hd0,0)
            kernel /vmlinuz-2.4.22-1.2140.nptl ro root=/dev/md0 console=ttyS0,19200 console=tty0
            initrd /initrd-2.4.22-1.2140.nptl.img
    
    ## no redirection at all (normal)
    title Fedora Core no-console redirect (2.4.22-1.2140.nptl)
            root (hd0,0)
            kernel /vmlinuz-2.4.22-1.2140.nptl ro root=/dev/md0
            initrd /initrd-2.4.22-1.2140.nptl.img
    
  4. modify /etc/sysconfig/init and change GRAPHICAL to "no"
  5. modify /etc/sysconfig/kudzu and change SAFE to "yes"
  6. Identify the serial port as a "secure tty" -- a tty that root is allowed to log in on.

    Add ttyS0 to the top of the file /etc/securettys.
  7. Boot of the Fedora install CD (good for serial installs or rescues)
    The prompt doesn't show up over the serial line, but you can still type things in, they just won't be echoed on your screen:

    linux text console=ttyS0,19200
    linux rescue text console=ttyS0,19200

 



References