Logging via Serial Port
Hi, 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? I have looked in the archives and googled, but still no luck. Any help would be appreciated. Thanks -- Jeff Tollison jptollison at gmail dot com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Logging via Serial Port
Jeff, Sounds like you need to read about getty and friends :) -- Jonathan -- Jonathan M. Slivko - [EMAIL PROTECTED] Linux: The Choice for the GNU Generation - http://www.linux.org/ - Don't fear the penguin. .^. /V\ /( )\ ^^-^^ He's here to help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tollison Sent: Thursday, June 16, 2005 10:10 AM To: freebsd-questions@freebsd.org Subject: Logging via Serial Port Hi, 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? I have looked in the archives and googled, but still no luck. Any help would be appreciated. Thanks -- Jeff Tollison jptollison at gmail dot com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW: Logging via Serial Port
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/cuaax logfile You might use stty to set communication parameters after issueing the cat command. regards titus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logging via Serial Port
Hi, I use a script here with expect and tip. - Marcelo Souza On Thu, 16 Jun 2005, Jeff Tollison wrote: |Hi, | |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? | |I have looked in the archives and googled, but still no luck. | |Any help would be appreciated. | |Thanks | |-- |Jeff Tollison |jptollison at gmail dot com |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]