Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

serial redirection not working on Centos 6

Posted on 2013-06-24
4
Medium Priority
?
315 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 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

715 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