From owner-freebsd-current@FreeBSD.ORG Tue Sep 16 23:05:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB7FF16A4B3 for ; Tue, 16 Sep 2003 23:05:56 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33FD943FE1 for ; Tue, 16 Sep 2003 23:05:56 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfm4d.dialup.mindspring.com ([165.247.216.141] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19zVRp-0000Ks-00; Tue, 16 Sep 2003 23:05:54 -0700 Message-ID: <3F67F990.37A3A05@mindspring.com> Date: Tue, 16 Sep 2003 23:05:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Don Bowman References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a465bd2425b8f1c7114a383d9de24c4410350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: "'freebsd-current@freebsd.org'" Subject: Re: using tip on machine that has COMCONSOLE set to serial X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 06:05:57 -0000 Don Bowman wrote: > This may be a dumb question, but I have > a situation where machine A and B both have > enabled serial console. I'm ssh'ing into A to > try and debug a problem on B. I'm trying to > use tip, but am getting interference from the > fact that A also has a serial console. > > If i disable the getty, its a bit better. > > Is there a way to make this work reliably, or > am I SOL? Use or modify a getty to require multiple CR's to activate. Or use one that only activates on a break. Best would be to use a getty that respected lock files, needed 2 CR's to start after off-to-on DTR/DCD transition (you will be using a NULL-modem cable), and your tip/cu/whatever program did appropriate locking, and knew how to back off. Then you could put the getty's back-to-back and they would not chat each other to death, and you could call out of the one machine into the other, and your local getty would not eat half the characters. See also "uugetty" and "mgetty" in ports. -- Terry