From owner-freebsd-stable@FreeBSD.ORG Fri Jan 22 09:11:31 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60B88106568F for ; Fri, 22 Jan 2010 09:11:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id E4EC18FC0C for ; Fri, 22 Jan 2010 09:11:29 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta14.westchester.pa.mail.comcast.net with comcast id YZB91d0011c6gX85EZBWGS; Fri, 22 Jan 2010 09:11:30 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta23.westchester.pa.mail.comcast.net with comcast id YZBt1d0013S48mS3jZBtfF; Fri, 22 Jan 2010 09:11:53 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id E23CA1E3033; Fri, 22 Jan 2010 01:11:27 -0800 (PST) Date: Fri, 22 Jan 2010 01:11:27 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100122091127.GA64593@icarus.home.lan> References: <717f7a3e1001120714m37aada69gfaa35f0f9b17f435@mail.gmail.com> <44678539@bb.ipt.ru> <717f7a3e1001142234y1de7ae15x6853e3ddcab4add9@mail.gmail.com> <717f7a3e1001192246o4dce4a82q57c05ff3f41b5feb@mail.gmail.com> <20100120074611.GA405@icarus.home.lan> <717f7a3e1001210137p7884adcbxc66a4f7fff928821@mail.gmail.com> <20100121162649.GP96430@acme.spoerlein.net> <717f7a3e1001212236x78c12d1ue22283338e3e179c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <717f7a3e1001212236x78c12d1ue22283338e3e179c@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Multiple serial consoles via null modem cable 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: Fri, 22 Jan 2010 09:11:31 -0000 On Fri, Jan 22, 2010 at 08:36:51AM +0200, Marin Atanasov wrote: > On Thu, Jan 21, 2010 at 6:26 PM, Ulrich Spörlein wrote: > > > On Thu, 21.01.2010 at 11:37:06 +0200, Marin Atanasov wrote: > > > Here's what I did: > > > > > > box1 COM1/ttyd0 -> box2 COM1/ttyd0 -> using null modem cable > > > box1 COM2/ttyd1 -> box3 COM1/ttyd0 -> using null modem cable > > > > > > On box1 I have this in /etc/ttys: > > > > > > ttyd0 "/usr/libexec/getty std.9600" vt100 on secure > > > ttyd1 "/usr/libexec/getty std.9600" vt100 on secure > > > > > > Now if I want to connect to box1 from box2 or box3 through the serial > > > connection it should work, right? > > > But I only can connect to box1 from box2, because box2's COM port is > > > connected to box1's COM1 port. > > > > Are there actually two gettys running on the serial ports? Did you do > > kill -1 1 after the changes to /etc/ttys? > > > > On box1, what do the following commands produce > > > > egrep "uart|sio" /var/run/dmesg.boot > > pgrep -fl getty > > > > Regards, > > Uli > > > Hi, > > This is the output from the requested commands: > > box1# egrep 'uart|sio' /var/run/dmesg.boot > usb0: USB revision 1.0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > > box1# pgrep -fl getty > 3066 /usr/libexec/getty std.9600 ttyd1 > 3065 /usr/libexec/getty std.9600 ttyd0 > 534 /usr/libexec/getty Pc ttyv7 > 533 /usr/libexec/getty Pc ttyv6 > 532 /usr/libexec/getty Pc ttyv5 > 531 /usr/libexec/getty Pc ttyv4 > 530 /usr/libexec/getty Pc ttyv3 > 529 /usr/libexec/getty Pc ttyv2 > 528 /usr/libexec/getty Pc ttyv1 > 527 /usr/libexec/getty Pc ttyv0 Can you run the same commands on box2 please? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |