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

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?

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

1 Like