AW: Logging via Serial Port

Titus von Boxberg ut at bhi-hamburg.de
Thu Jun 16 14:41:03 GMT 2005


> 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



More information about the freebsd-questions mailing list