I'm super cereal!

While the title of this entry is just a play on words, this is really about serial consoles:

  • Since Ubuntu 9.10 has moved to upstart, there's no /etc/inittab any more:
    $ grep -v ^\# /etc/init/ttyS0.conf
    start on stopped rc RUNLEVEL=[2345]
    stop on runlevel [!2345]
    exec /sbin/getty -L 115200 ttyS0 vt102
    $ sudo start ttyS0
  • For Solaris10, we'd do:
    $ pfexec eeprom console=ttya ttya-mode="115200,8,n,1,-"
    $ egrep '^console:' /etc/ttydefs
    console:115200 hupcl opost onlcr:115200::console
    $ pfexec svcadm restart console-login
  • Be sure to set your terminal to the right baudrate. For a v40z, login to the service processor and do:
    > platform set console --noprune --speed 115200
    > platform get console
    Rear Panel Console Redirection Speed  Pruning Log Trigger
    SP Console Enabled             115200 No      244 KB