Use serial port console DRAC6 Express and Ubuntu 14

Serial port console, tested with DRAC6 Express and Ubuntu 14.04

I aint payin for DRAC Enterprise!

insta-10

create service for console

vim /etc/init/ttyS1.conf

start on stopped rc RUNLEVEL=[12345]
stop on runlevel [!12345]
respawn
exec /sbin/getty -L 115200 ttyS1 vt102

sudo start ttyS1

edit grub setting

vim /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS1 console=ttyS1,115200n8"
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

sudo update-grub

make sure ttyS1 is present in /etc/securetty (it’s there by default)

we need to assign com2 to DRAC now, either via BIOS or via omconfig (you did install OpenManage, did you?)

omreport chassis biossetup
omconfig chassis biossetup attribute=serialcom setting=com2
omconfig chassis biossetup attribute=crab setting=enabled

or reboot and enter BIOS (F2) Serial Communication section

serial communication....On with serial redirection via com2
serial port address....Serial device1 = com1, serial device2 = com2
external serial connector....Serial device 2
failsafe baud rate....115200
remote terminal type....vt100/vt220
redirection after boot....Enabled
Save the changes and exit.

 

After reboot ssh to your DRAC and type on prompt

/admin1-> console com2

 
You’re welcome
 

Source:

http://mossiso.com/2011/10/17/centos-6-idrac6-and-poweredge-r510.html
http://www.openfusion.net/linux/dell_omsa

 

 


 

By devnull

Man of many talents. Server janitor, Chief Googler, Vice President of Pencil Sharpening, Director of Turning Things Off and On Again. Technology Plumber using Linux for stuff like Satellite STB, home CCTV system, kitchen sound bar, workstations, even car onboard computer. And servers, oh yeah - lots of them. I've been a Linux Mercenary for quite a while now, often using information posted by kind strangers on the Internet to solve problems during this journey. This blog is a humble attempt to give something back to the community.

2 thoughts on “Use serial port console DRAC6 Express and Ubuntu 14”
  1. Thanks for this, only note is that I found
    GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS1 console=ttyS1,115200n8"
    should be
    GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS1,115200n8"
    to allow the os boot to display for ubuntu14.04

    THanks again

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.