Solved

serial redirection not working on Centos 6

Posted on 2013-06-24
4
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
multimac earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

622 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