Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 16:43:05 +0200
From:      "Titus von Boxberg" <ut@bhi-hamburg.de>
To:        "Jeff Tollison" <jptollison@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   AW: Logging via Serial Port
Message-ID:  <FGEHIMPCMPIPCBNNFENLIELJCDAA.ut@bhi-hamburg.de>
In-Reply-To: <d3bf7cfb05061607093a0c909e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a phone system that I need to log information from to a FreeBSD
> box via a serial cable. What would be the best way to "listen" to the
> serial port and write those messages to a log file?
Why not simply use 
cat /dev/cuaa<x> > logfile

You might use stty to set communication parameters after issueing 
the cat command.

regards
titus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FGEHIMPCMPIPCBNNFENLIELJCDAA.ut>