Fwd: [Soekris] running a program on the Serial port
chuck+soekris at 2004.snew.com
Fri Jul 23 00:08:37 UTC 2004
Quoting Matt Brown (matt at mattb.net.nz):
> On Fri, 2004-07-23 at 10:28, Chuck Yerkes wrote:
> > Perhaps linux offers something similar.
> We have several soekris devices that we use the serial port for
> something other than a console on and I have to agree with Chuck that it
> is not the best solution as it makes debugging harder, but sometimes you
> have to do it. Our solution is as follows.
> 1. Disable serial output in grub / lilo
> 2. Disable serial console support in the kernel
> 3. Remove getty etc from console in /etc/inittab
> 4. Start the application to access the serial port
/me wonders about removing /dev/console (presuming it's
dynamically created as a /dev/fs) and replacing it with
a socket and having a daemon listen to that socket to
spew whatever comes in to syslog or something...
(and not having syslog speak to console, ever ;)
Or 'rm /dev/console && ln -s /dev/null /dev/console'
And speak to the tty
More information about the Soekris-tech