• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

serial redirection not working on Centos 6

I cannot get the serial redirection to console to work in Centos 6.  It works fine with Centos 5.

grub .conf has the following related with serial

serial --unit=1 --speed=115200
terminal --timeout=8 console serial

ro root=LABEL=/ console=tty0 console=ttyS1,115200n8

This is a Dell server which we enabled the serial redirection in the bios.

The terminal shows up and we can see the server.  However, the keyboard will never work correctly.  We type root as a login which works okay, but the password never works via the terminal.  We can ssh into the box and use a login and password fine.

it seems that keyboard setting is not mapping correctly to the console.  We are using VT100 and the bios uses VT100.
0
ssarkarnetip
Asked:
ssarkarnetip
  • 3
1 Solution
 
multimacCommented:
You need to edit the file
/etc/securetty
and add the terminal device, e.g.
ttyS0
ttyS1

Open in new window


Then root login is possible.
0
 
ssarkarnetipAuthor Commented:
Added the console to grub.conf which fixed it.

console=tty0
0
 
ssarkarnetipAuthor Commented:
console=tty0 was added to grub.conf
0
 
ssarkarnetipAuthor Commented:
Added to the end of the kernel line.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now