Solved

serial redirection not working on Centos 6

Posted on 2013-06-24
4
294 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Securing a windows 7 laptop when out of the office.  It's part of an SBS 2011 domain 11 147
nagios remote hosts 9 46
php ssh2_scp_send 1 49
Apps blocked by Java 9 64
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). …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now