2012/7/31 Gordan Bobic <[email protected]>:

>> To run on the (emulated) VersatilePB I've added a getty
>> on the serial console:
>>
>> /etc/inittab

> ...
>The machine
> is fully up and running at the point where you think it hangs. It's just not
> running a getty on the serial console port you are looking at.

Finally, I've created a dedicated /etc/init/ttyAMA.conf file to run getty
on my serial port.

The /etc/init/serial.conf seems does not work since my udev and kernel
does not issue special message "serial is console now" :
"fedora.serial-console-available"

The /etc/init/start-ttys.conf is dedicated to run framebuffer consoles
on each vty defined in the  ACTIVE_CONSOLES=  and calls
/etc/init/tty.conf  many times.

To allow root login on the tty you have to add it to the /etc/securetty
manually or with `secutetty` utility.

My /etc/init/ttyAMA.conf
===
#
start on stopped rc RUNLEVEL=[2345]
stop on starting runlevel [016]

respawn

pre-start exec /sbin/securetty ttyAMA0
exec /sbin/agetty -L /dev/ttyAMA0 9600 vt102
=====


--
-=AV=-
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to