From owner-freebsd-hackers Tue Jun 22 17:37:38 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from friley-185-206.res.iastate.edu (friley-185-206.res.iastate.edu [129.186.185.206]) by hub.freebsd.org (Postfix) with ESMTP id 5867F14D12 for ; Tue, 22 Jun 1999 17:37:28 -0700 (PDT) (envelope-from ccsanady@scl.ameslab.gov) Received: from friley-185-205.res.iastate.edu (friley-185-205.res.iastate.edu [129.186.185.205]) by friley-185-206.res.iastate.edu (Postfix) with ESMTP id B74ADF0; Tue, 22 Jun 1999 19:37:25 -0500 (CDT) Received: from scl.ameslab.gov (localhost [127.0.0.1]) by friley-185-205.res.iastate.edu (Postfix) with ESMTP id 1B27F142; Tue, 22 Jun 1999 19:37:25 -0500 (CDT) Message-ID: <37702C44.993BFADB@scl.ameslab.gov> Date: Tue, 22 Jun 1999 19:37:24 -0500 From: Chris Csanady X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Bill G." Cc: freebsd-hackers@freebsd.org Subject: Re: Serial Console Wierdness References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Bill G." wrote: > > I got a serial console working on COM2, to which I have connected > another FreeBSD box. I connect with 'cu' fine, but I'm running into > a couple of problems which I haven't been able to find and answer > for. > > o When I connect, when the machine is first turned on, I get > disconnected twice during the boot up sequence (cu reports > Got hangup signal) -- looks like when the sio1 device is > probed, and also when getty runs. This happens when the serial chip gets reset, and the DCD line goes low for a moment. For most local serial connections, you really want to tie the DCD pin back to the DTR/DSR. If you use rj45 modular adapters, this is fairly easy. I find the following wiring to be rather convenient, as you have a single type of adapter, which can used for just about anything. If you use a crossed ethernet cable, you will get a null cable, otherwise it will be straight through. Signal DB25 DB9 RJ45 Color ,-- DCD 8 1 NC | TXD 2 3 1 Blue | RXD 3 2 3 Black +-- DTR 20 4 NC | SG 7 5 7 Brown `-- DSR 6 6 NC RTS 4 7 2 Orange CTS 5 8 6 Yellow Hope this is of some use.. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message