From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 14:41:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7F7016A41F for ; Thu, 16 Jun 2005 14:41:02 +0000 (GMT) (envelope-from ut@bhi-hamburg.de) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8474E43D55 for ; Thu, 16 Jun 2005 14:41:02 +0000 (GMT) (envelope-from ut@bhi-hamburg.de) Received: from schweinkram.pleach-hamburg.de (p548EE7C2.dip.t-dialin.net [84.142.231.194]) by mail.terralink.de (Postfix) with ESMTP id EAE24B889; Thu, 16 Jun 2005 16:41:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by schweinkram.pleach-hamburg.de (Postfix) with ESMTP id ED3FE6A8E31; Thu, 16 Jun 2005 16:40:26 +0200 (CEST) Received: from by localhost (amavisd-new, port ) id GBc0XO3K; Thu, 16 Jun 2005 16:40:24 +0200 (CEST) Received: by schweinkram.pleach-hamburg.de (Postfix, from userid 65534) id E53976A8E2F; Thu, 16 Jun 2005 16:40:24 +0200 (CEST) Received: from titusn (titusn.pleach-hamburg.de [192.168.1.19]) by schweinkram.pleach-hamburg.de (Postfix) with SMTP id 26DB26A8D56; Thu, 16 Jun 2005 16:40:23 +0200 (CEST) From: "Titus von Boxberg" To: "Jeff Tollison" , Date: Thu, 16 Jun 2005 16:43:05 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: Importance: Normal X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on schweinkram.pleach-hamburg.de X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Level: X-Virus-Scanned: by amavisd-new at pleach-hamburg.de Cc: Subject: AW: Logging via Serial Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 14:41:03 -0000 > 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 > logfile You might use stty to set communication parameters after issueing the cat command. regards titus