netfrag.org . Main . SerialToIP

Serielle Schnittstelle via Netzwerk

Problemstellung

Ein serielles Device unter Linux (/dev/ttySx) soll virtuell unter Windows bereitgestellt werden. Die Übertragung erfolgt am besten per Netzwerk (IP), um beliebig weite Strecken überbrücken zu können.

Mögliche Lösungen

Bisher wurde keine freie out-of-the-box Lösung gefunden. Es wird berichtet, dass DialOut/IP für Windows mit Sredird unter Linux zusammenarbeiten soll. Beide verstehen das RFC 2217, das "Telnet Com Port Control Option" Protokoll, wobei das evtl. nur für Telnet-Verbindungen relevant ist: Wir wollen ja "raw" auf das Gerät zugreifen.

Tactical Software bietet mit dem Serial/IP® COM Port Redirector for Windows und dem TTYredirector for Linux evtl. einen Softwarestack an, der genau passen könnte.

Angefangen hat alles mit den Threads COM über's Netzwerk und Serial to Ethernet.

DialOut/EZ COM Port Redirector [commercial]

The DialOut/EZ® COM Port Redirector creates virtual COM ports for applications to use networked modem servers, with no change to application software.

Sredird [free]

Sredird is a serial port redirector that is compliant with the RFC 2217 "Telnet Com Port Control Option" protocol. This protocol lets you share a serial port through the network.

com0com [free]

The Null-modem emulator (com0com) is a kernel-mode virtual serial port driver for Windows. You can create an unlimited number of virtual COM port pairs and use any pair to connect one COM port based application to another. It is available freely under the GPL license.

The COM port to TCP redirector (com2tcp) is a Windows application and is a part of the com0com project. In conjunction with the Null-modem emulator (com0com) the com2tcp enables to use a COM port based applications to communicate with the TCP/IP based applications. It also allows communication with a remote serial port via the TCP/IP.

Interessante Forenbeiträge dazu (allerdings immer nur bzgl. Windows-to-Windows):

HW Virtual Serial Port [commercial]

HW Virtual Serial Port is a software tool, which adds to the operating system a virtual COM port, (COM 5 for example) and redirects the data from this port through the TCP/IP network to another hardware interface, defined by IP address and port number.

Sena Serial/IP COM Port Redirector [commercial]

Sena bietet ebenfalls einen Serial/IP COM Port Redirector zum Download an. Allerdings nur 30 Tage Trial. download

FabulaTech Serial Port Redirector [commercial]

Serial Port Redirector creates virtual serial ports and redirects all serial data to specified TCP-port of remote IP-address. Any serial communications software can use these virtual COM ports, like usual hardware COM ports to send and receive serial data over a local network or the Internet.

Serial Port Redirector can be used to pass serial data across a local network or over the Internet using the Telnet protocol (with the COM Port Control protocol specified by RFC 2217) and the raw TCP connection protocol as well. The COM Port Control protocol (RFC 2217) is used also for accessing any serial device attached to a serial device server.

Eltima Serial to Ethernet Connector [commercial]

Serial to Ethernet Connector [...] Changelog Download

Off-Topic

Interessante Hardware-Lösungen

Kommerzielle hardware-basierte Serial-Device Terminal-Server gibt es wie Sand am Meer, also wird auf diese nicht weiter eingegangen.

aber:

Port redirectors for Linux only

Remote TTY Daemon for Unix/Linux

----- Revision r1.3 - 30 Aug 2007 - 13:55 - Main.joko