From owner-freebsd-stable@FreeBSD.ORG Wed Oct 11 05:10:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D59CA16A415 for ; Wed, 11 Oct 2006 05:10:03 +0000 (UTC) (envelope-from E5739C@motorola.com) Received: from mail128.messagelabs.com (mail128.messagelabs.com [216.82.250.131]) by mx1.FreeBSD.org (Postfix) with SMTP id ED71243D45 for ; Wed, 11 Oct 2006 05:10:02 +0000 (GMT) (envelope-from E5739C@motorola.com) X-VirusChecked: Checked X-Env-Sender: E5739C@motorola.com X-Msg-Ref: server-4.tower-128.messagelabs.com!1160543401!2565876!1 X-StarScan-Version: 5.5.10.7; banners=-,-,- X-Originating-IP: [129.188.136.8] Received: (qmail 30370 invoked from network); 11 Oct 2006 05:10:01 -0000 Received: from motgate8.mot.com (HELO motgate8.mot.com) (129.188.136.8) by server-4.tower-128.messagelabs.com with SMTP; 11 Oct 2006 05:10:01 -0000 Received: from il06exr01.mot.com (il06exr01.mot.com [129.188.137.131]) by motgate8.mot.com (8.12.11/Motorola) with ESMTP id k9B5A12v002584 for ; Tue, 10 Oct 2006 22:10:01 -0700 (MST) Received: from zmy16exm63.ds.mot.com (zmy16exm63.ap.mot.com [10.179.4.34]) by il06exr01.mot.com (8.13.5/8.13.0) with ESMTP id k9B59x3u018672 for ; Wed, 11 Oct 2006 00:10:00 -0500 (CDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Date: Wed, 11 Oct 2006 13:09:57 +0800 Message-ID: <565F40B9893580489B94B8D324460AF4DA16F1@zmy16exm63.ds.mot.com> In-Reply-To: <84dead720610102101l340b5138yf099509b1ce3d384@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to connects to Linux machine via null-modem cable and cu command? thread-index: Acbs6f35MWSG1UlSSdOsMt3oPH+fsQACEpKQ From: "Sun Zongjun-E5739C" To: "Joseph Koshy" Cc: freebsd-stable@freebsd.org Subject: RE: How to connects to Linux machine via null-modem cable and cu command? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 05:10:03 -0000 Hi, Koshy Thanks for your timely reply. It is my fault configuration on the linux machine. I use linux instead of vt100 (vt102). S1:23:respawn: /sbin/agetty -L ttyS0 115200, 9600 linux Windows can work with this configuration, but cu and FreeBSD can't. I replaced it with vt100 S1:23:respawn:/sbin/agetty -L ttyS0 115200, 9600 vt100 That is OK. Thanks a lot Best Regards Sun Zongjun -----Original Message----- From: Joseph Koshy [mailto:joseph.koshy@gmail.com] Sent: 2006年10月11日 12:02 To: Sun Zongjun-E5739C Subject: Re: How to connects to Linux machine via null-modem cable and cu command? On 10/11/06, Sun Zongjun-E5739C wrote: > HI, all > > I am a newbie to FreeBSD. I want to connect one my pc running FreeBSD > 6.1 to another PC running Fedora core 5 via a null modem cable. > > I can login the PC running the Fedora Core 5 from PC running Windows > via one NULL modem cable. > > When I connect the two serial ports of two pc, one running FreeBSD6.1 > and the other is FC5 which acts a server. > > I run the command on device running FreeBSD 6.1 > > Test# cu -l /dev/cuad0 > Connected > > There is no response on the FreeBSD except the "Connected" string. > Such string can occur even there is no cable available. What happens when you hit 'Enter' a few times? > What happens to cu command on FreeBSD? One thing you could check is the expected baud-rate/parity/stop-bit settings at the server. -- FreeBSD Volunteer, http://people.freebsd.org/‾jkoshy