From owner-freebsd-net@FreeBSD.ORG Wed May 19 10:02:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D54EA16A4CE; Wed, 19 May 2004 10:02:33 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F2CD43D2F; Wed, 19 May 2004 10:02:33 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i4JH2ODv054166 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 19 May 2004 19:02:28 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i4JH18Ui048167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 May 2004 19:01:09 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i4JH182h061775; Wed, 19 May 2004 19:01:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i4JH16C3061774; Wed, 19 May 2004 19:01:06 +0200 (CEST) (envelope-from ticso) Date: Wed, 19 May 2004 19:01:06 +0200 From: Bernd Walter To: wsk Message-ID: <20040519170105.GZ70900@cicely12.cicely.de> References: <40AA0A30.3020102@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40AA0A30.3020102@gddsn.org.cn> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cicely12.cicely.de cc: current@freebsd.org cc: net@freebsd.org Subject: Re: cuaa0&ttyd0's bug? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 17:02:34 -0000 On Tue, May 18, 2004 at 09:05:52PM +0800, wsk wrote: > hi,folks: > It seems that the ttyd0 isn't the dialin line to login , and > the cuaa0 like is both the dialin/out device!under 4.9 above > and 5.X .but the ttyd0 work well under 4.8. > here is my test: > I wanna direct connected two bsd box via a null-modem cable,on > a box ,I congfiured the ttys as follow: > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > ttyd0 "/usr/libexec/getty std.9600" dialup on secure > ttyd1 "/usr/libexec/getty std.9600" dialup off secure > and kill -HUP 1 > on the other box , I use cu connenct the box: > cu -l /dev/cuaa0 > connected > and then , nothing more i could recv! > but if I confirgure the ttys as below: > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > cuaa0 "/usr/libexec/getty std.9600" dialup on secure > ttyd1 "/usr/libexec/getty std.9600" dialup off secure > and do it like before i do , it worked! > why???? It's a bug??? The behavour is intentional. Your cable doesn't supply DCD signal. Either use a cable with DCD suport or stay with cuaa. It's OK to use cuaa if you don't need dialout support. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de