* Bruce Bauer wrote:
> Problem:
> OpenBSD 4.2 on i386
> Serial port /dev/cua00 connected to the console port on a firewall.
> I need to catch all text output from the serial port to a file.
> The process doing this must survive a loss of network.
> The box is running headless.

I could suggest you run cu in a screen session.  I have used

cu ... | tee logfile

in the past, but there are possibly more elegant solutions

> I have tried simple things like cat and buffer, but these processes exit
> after one or two lines of output.
> I need a process that will run until interrupted, and that doesn't need a
> controlling session.
> 
> Google searches on this yield a lot of noise about redirecting console
> output to a serial port.
> 
> _________________________
> OpenBSD is the _only_ operating system that takes security as
> seriously as it should be taken. Consider the why of OpenBSD's
> accomplishments. Remove the why and you remove what they accomplished.
> Use OpenBSD and think like Windows and get Windows security.

Reply via email to