From owner-freebsd-questions@FreeBSD.ORG Mon Sep 3 10:21:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA4001065670 for ; Mon, 3 Sep 2012 10:21:21 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF128FC12 for ; Mon, 3 Sep 2012 10:21:20 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 28512718 for freebsd-questions@freebsd.org; Mon, 03 Sep 2012 17:20:48 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id q83AKmHj097199 for ; Mon, 3 Sep 2012 17:20:48 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id q83AKlol097198 for freebsd-questions@freebsd.org; Mon, 3 Sep 2012 17:20:47 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 3 Sep 2012 17:20:46 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20120903102046.GA97010@admin.sibptus.tomsk.ru> References: <20120903030217.GA79339@admin.sibptus.tomsk.ru> <20120903120354.293061a0.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120903120354.293061a0.freebsd@edvax.de> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Sharing COM ports to Windows hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 10:21:22 -0000 Polytropon wrote: > > > > There is a FreeBSD box with several RS232 ports. Can those ports be > > accessed by Windows hosts over the network? Actually, does anyone > > have a success story for such a scenario? > > > > There is some software like comms/serialoverip, comms/tits etc but are > > there any (freeware) Windows virtual COM port drivers compatible > > therewith? > > > > Maybe some Windows drivers for hardware console servers (like Moxa) > > would work with tits etc? > > It is _easily_ possible, even though my own experiences do > not include doing this with "Windows", but with other BSD > boxes and even DOS. > > First you have to enable a serial terminal connection just > the same way you handle the virtual terminals in text mode: > Edit /etc/ttys and enable the line > > ttyu0 "/usr/libexec/getty std.19200" dialup on secure Sorry, Polytropon, you understood the challenge the wrong way around. Have you ever heard of "reverse telnet" and "reverse ssh" (these are terms from the Cisco world though). I am trying to use an existing FreeBSD box as an el cheapo portserver. I don't need to use the Windows box as a serial terminal. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru