Home/Support/Support Forum/How to enable a port (realport) for login in Centos 6.6.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to enable a port (realport) for login in Centos 6.6.

0 votes
I tried these in /etc/rc.local

/sbin/agetty -L 38400 ttya00 &
then
nohup /sbin/agetty -L 38400 tty_dgrp_a_0 &

I can login, but only once. Logging out closes the port and agetty doesn't respawn.

If I don't login, the agetty dies, and does not respawn.

I wanted to simply edit /etc/inittab, but I see this in that file:
# inittab is only used by upstart for the default runlevel.
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.

Centos uses Upstart, which I'm not familiar with. Is their a how-to for using Digi with upstart?
asked Aug 19, 2015 in Realport by dc.martin New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

+1 vote
 
Best answer
The following knowledge base article outlines this:

http://knowledge.digi.com/articles/Knowledge_Base_Article/HOW-TO-Enable-Login-getty-on-a-Serial-Port-in-Red-Hat-WS-EL-6
answered Aug 20, 2015 by userid0 Veteran of the Digi Community (2,158 points)
selected Aug 28, 2015 by dc.martin
...