How to use agetty from the command line

gettytty

Is it possible to use agetty from the command line? I tried the command

sudo agetty -s 34800 tty8 linux

but it returns after a few seconds and tty8 is not open. Is it the expected behaviour?

Also, trying to start it in the background with

sudo agetty -s 34800 tty8 linux &> /dev/null &

returns immediately. Why?

Best Answer

I tried your line, I get the following in /var/log/secure (fedora19):

getty[12336]: bad speed: 34800

try this:

agetty -s 38400 -t 600 tty8 linux