> I'm working on developing serial console access for Oxygen.  What I
> want to do is have everything on /dev/tty0 replicate onto /dev/ttyS0.
> Syslinux does this without blinking; I think the kernel might too.
> However, other things (like /linuxrc, /etc/init.d/rc, and
> /etc/init.d/rcS) won't do this; either it goes to /dev/ttyS0 or it
> goes to /dev/tty0 - how would you tie these TOGETHER?
>
> Inittab is the source that runs rc, rcS, and getty; once getty is
> loaded I don't want things in two places....
>
> I also want to tie both the keyboard and serial input together.
>
> Basically, this would allow one to boot a version of LRP, and pick
> either the virtual console or the serial console without changing
> anything but which keyboard/screen you use - no configuration
> changes.  Isn't this possible?
>
> Once the system is loaded, I don't want these two tied together like
> that; ttyS0 and tty0 should be separate then - two different gettys.
> But BEFORE that....

linuxrc uses the /linuxrc.tty device.  Change the properties of this device
to get the linuxrc output to go where you want.  You can play with the
kernel parameters to get the kernel to spit out startup info on specific (or
multiple) terminals.

You can perhaps replicate the output of linuxrc using the tee command or
creative use of redirects in linuxrc, but I'm not sure how you'd join the
keyboard and serial inputs...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/leaf-devel

Reply via email to