Re: Capture serial port output to a file

2008-10-29 Thread J.C. Roberts
On Tuesday 28 October 2008, Marc Balmer wrote: * 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.

Re: Capture serial port output to a file -Solved

2008-10-29 Thread Bruce Bauer
PROTECTED] To: misc misc@openbsd.org Subject: Re: Capture serial port output to a file Date: Tue, 28 Oct 2008 22:03:58 -0400 Marc Balmer wrote: * 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

Re: Capture serial port output to a file

2008-10-29 Thread Sean Kamath
On Oct 29, 2008, at 2:13 AM, J.C. Roberts wrote: On Tuesday 28 October 2008, Marc Balmer wrote: * 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

Capture serial port output to a file

2008-10-28 Thread Bruce Bauer
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 have tried simple things like cat and buffer, but

Re: Capture serial port output to a file

2008-10-28 Thread Jussi Peltola
echo '@reboot screen -d -m -L /dev/cua00 9600' | crontab - but mind your existing crontab.

Re: Capture serial port output to a file

2008-10-28 Thread Jussi Peltola
On Tue, Oct 28, 2008 at 02:45:07PM +0100, Marc Balmer wrote: 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 Screen can do logging and open windows to serial ports directly by itself (as I

Re: Capture serial port output to a file

2008-10-28 Thread Stuart Henderson
On 2008-10-28, Bruce Bauer [EMAIL PROTECTED] 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

Re: Capture serial port output to a file

2008-10-28 Thread Bruce Bauer
screen looks like it will work. I must have missed the other mail. I'm building the port now and will report later. Thanks --- [EMAIL PROTECTED] wrote: From: Jussi Peltola [EMAIL PROTECTED] To: misc@openbsd.org Subject: Re: Capture serial port output to a file Date: Tue, 28 Oct 2008 17:22:54

Re: Capture serial port output to a file

2008-10-28 Thread Nick Holland
Marc Balmer wrote: * 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