From owner-freebsd-net@FreeBSD.ORG Tue May 18 06:28:47 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 7797716A4CE; Tue, 18 May 2004 06:28:47 -0700 (PDT) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DC3743D95; Tue, 18 May 2004 06:28:46 -0700 (PDT) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (unknown [211.96.21.195]) by gddsn.org.cn (Postfix) with ESMTP id 1612338CBE2; Tue, 18 May 2004 21:05:54 +0800 (CST) Message-ID: <40AA0A30.3020102@gddsn.org.cn> Date: Tue, 18 May 2004 21:05:52 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.6) Gecko/20040409 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: current@freebsd.org, net@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: cuaa0&ttyd0's bug? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 13:28:47 -0000 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??? thanks in advance ---------------------- --wsk