Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

serial redirection not working on Centos 6

Posted on 2013-06-24
4
Medium Priority
?
320 Views
Last Modified: 2016-11-24
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
Comment
Question by:ssarkarnetip
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
multimac earned 1500 total points
ID: 39274372
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
 

Author Closing Comment

by:ssarkarnetip
ID: 39278880
Added the console to grub.conf which fixed it.

console=tty0
0
 

Author Comment

by:ssarkarnetip
ID: 39278881
console=tty0 was added to grub.conf
0
 

Author Comment

by:ssarkarnetip
ID: 39278890
Added to the end of the kernel line.
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question