From owner-freebsd-stable@FreeBSD.ORG Fri Jan 22 06:36:53 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 209721065676; Fri, 22 Jan 2010 06:36:53 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8AE8FC13; Fri, 22 Jan 2010 06:36:51 +0000 (UTC) Received: by ewy3 with SMTP id 3so948990ewy.33 for ; Thu, 21 Jan 2010 22:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Xn4lfjswCA1iWbd69Hqih7OWN6LC6yL3xllY3SacPHo=; b=i/EC8vfaIbLXjUtp5K8JsTsmAN1X3FMbfpV/JFje9OpN8thN0bonJYJHH6G5kWhb/z an8xY2SoRXmSBvJ/IEm1lQZviNhH56wc5ZPB3cBxnoJ259ezCKzBiieblNtdmTxESCBL OUQCv4qcVVcm31EPQaKMvT1+TzSBQwbAyBNz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=T4wveQJb30WuT99uVG1uG8f0mNStO6RFOhu+zSqJcb9r4Qdfhwm2uPFTxGvCOanNRX LiEoMS6a8DdWb9gc6JqUUK2CThX5CK6n5B7i7AJd8f+u458Tg8fi/iGU5EE/ioVbo+3o iwNiCOAD9KGJuBZZQZX6mrRyDbpOhErl+fdyo= MIME-Version: 1.0 Received: by 10.216.91.6 with SMTP id g6mr921101wef.212.1264142211124; Thu, 21 Jan 2010 22:36:51 -0800 (PST) In-Reply-To: <20100121162649.GP96430@acme.spoerlein.net> 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> Date: Fri, 22 Jan 2010 08:36:51 +0200 Message-ID: <717f7a3e1001212236x78c12d1ue22283338e3e179c@mail.gmail.com> From: Marin Atanasov To: Marin Atanasov , freebsd-hardware@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 06:36:53 -0000 On Thu, Jan 21, 2010 at 6:26 PM, Ulrich Sp=F6rlein wrot= e: > 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 Regards, Marin --=20 Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org