From owner-freebsd-stable@FreeBSD.ORG Fri Jan 15 07:07:25 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 A0335106566C; Fri, 15 Jan 2010 07:07:25 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 052208FC0A; Fri, 15 Jan 2010 07:07:24 +0000 (UTC) Received: by fxm27 with SMTP id 27so201310fxm.3 for ; Thu, 14 Jan 2010 23:07:21 -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:cc:content-type; bh=+Fp39WDosht7p7II/IEMM3JNPey0jleZaSI4t3RWQSs=; b=rkmwWrTcbWUN5Jyqkpb+RqFKQSIClyTSdRTZyKjTMc2vj5J8BNKSvAm3PnRrxSNRAD HLK9iaPDhQoI6ATqRw4S/b5v7HYtsPIf1XKeDKYFP9x8Z5r/YjIOebe36fkRmz0r+ZaK f4DQI6nd/aoDFaTDs6zxAhbSd1DnEjMWx94FI= 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 :cc:content-type; b=P7Gb7BEK9vIjV6tR4fwmEdKIaMC3xNuyqNGAim0p31HQ1v9yJ+78LyLpL3gEAfiUY1 06MWS1je9otWMXKlPDdyuWeBeEHIHTr9FhAK1TnYZJ5HWvUtHdqzP0S8e4IxH4K8VetH hd4n558sfDgEr14L/jZiMs9c8PXDeTKIs//Ms= MIME-Version: 1.0 Received: by 10.223.29.193 with SMTP id r1mr2399940fac.29.1263539241331; Thu, 14 Jan 2010 23:07:21 -0800 (PST) In-Reply-To: <20100115064510.GA81400@icarus.home.lan> References: <717f7a3e1001120714m37aada69gfaa35f0f9b17f435@mail.gmail.com> <44678539@bb.ipt.ru> <717f7a3e1001142234y1de7ae15x6853e3ddcab4add9@mail.gmail.com> <20100115064510.GA81400@icarus.home.lan> Date: Fri, 15 Jan 2010 09:07:21 +0200 Message-ID: <717f7a3e1001142307h1615a0c4ue476c9ef8e5a13ee@mail.gmail.com> From: Marin Atanasov To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org 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, 15 Jan 2010 07:07:25 -0000 Yeap, that makes sense :) Thank you, I'm gonna try it as soon as I get that device :) Thanks again, Marin On Fri, Jan 15, 2010 at 8:45 AM, Jeremy Chadwick wrote: > On Fri, Jan 15, 2010 at 08:34:17AM +0200, Marin Atanasov wrote: > > Thank you a lot for your feedback! > > > > Now to the real question again, because I'm a little confused now - can I > > still get a usb-to-serial port converter having let's say 8 serial ports > and > > then connect each machine to the usb-to-serial hub and manage them > remotely > > from a single location (the host having the usb-to-serial hub)? That way > I > > just specify a serial port number and I get to a specific machine? > > > > The model provided by Boris looks nice, and that was my initial idea, but > > I'm not sure if I could get it working under FreeBSD. Is conserver or > > conserver-com able to handle this? I know that cu uses COM1 only, but > will > > conserver able to handle serial consoles on different ports, since the > > usb-to-serial port would appear as multiple serial ports. > > I'm referencing the product Charles showed, but the topology would look > like this: > > +------------------------+ > | USB to serial hub | > | U1---- FreeBSD box running conserver > | | > | | > +-P1---P2---P3---P4---..-+ > | | | | > | | | | > | | | `-- box #4 > | | `------- box #3 > | `------------ box #2 > `----------------- box #1 > > "U1" is the uplink port, which has to connect to something -- in this > case the FreeBSD box where conserver would run. The uplink port would > connect to a single USB port on the FreeBSD box. > > The cabling between a port (Px) and a box would be serial (probably > DB9). > > What you end up with on the FreeBSD box is a series of /dev entries > which are associated with all of the ports on the USB to serial hub, > using ucom(4). For example: > > /dev/ttyU0 = P1 = box #1 > /dev/ttyU1 = P2 = box #2 > ... > > You'd then tell conserver using its configuration file that "box name > foo is attached to /dev/ttyU0, box name bar is attached to /dev/ttyU1" > and so on. > > Then to get access to the serial console of either foo or bar, you'd SSH > to the FreeBSD machine and type "console foo" or "console bar". Voila. > > Make sense? > > -- > | 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 | > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org