<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://phobos.martem.ee/index.php?action=history&amp;feed=atom&amp;title=Remote_tty_%28serial_over_tcp%29_using_socat</id>
	<title>Remote tty (serial over tcp) using socat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://phobos.martem.ee/index.php?action=history&amp;feed=atom&amp;title=Remote_tty_%28serial_over_tcp%29_using_socat"/>
	<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Remote_tty_(serial_over_tcp)_using_socat&amp;action=history"/>
	<updated>2026-04-04T00:06:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://phobos.martem.ee/w/index.php?title=Remote_tty_(serial_over_tcp)_using_socat&amp;diff=1587&amp;oldid=prev</id>
		<title>MarkTomm: Uus lehekülg: &#039;EXAMPLE FOR REMOTE TTY (TTY OVER TCP) USING SOCAT  You have a host with some serial device like a modem or a bluetooth interface (modem server) You want to make use of this devic...&#039;</title>
		<link rel="alternate" type="text/html" href="https://phobos.martem.ee/w/index.php?title=Remote_tty_(serial_over_tcp)_using_socat&amp;diff=1587&amp;oldid=prev"/>
		<updated>2014-10-21T16:28:19Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;EXAMPLE FOR REMOTE TTY (TTY OVER TCP) USING SOCAT  You have a host with some serial device like a modem or a bluetooth interface (modem server) You want to make use of this devic...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;EXAMPLE FOR REMOTE TTY (TTY OVER TCP) USING SOCAT&lt;br /&gt;
&lt;br /&gt;
You have a host with some serial device like a modem or a bluetooth interface&lt;br /&gt;
(modem server)&lt;br /&gt;
You want to make use of this device on a different host. (client)&lt;br /&gt;
&lt;br /&gt;
1) on the modem server start a process that accepts network connections and&lt;br /&gt;
links them with the serial device /dev/tty0:&lt;br /&gt;
&lt;br /&gt;
$ socat tcp-l:54321,reuseaddr,fork file:/dev/tty0,nonblock,waitlock=/var/run/tty0.lock&lt;br /&gt;
&lt;br /&gt;
2) on the client start a process that creates a pseudo tty and links it with a&lt;br /&gt;
tcp connection to the modem server:&lt;br /&gt;
&lt;br /&gt;
$ socat pty,link=$HOME/dev/vmodem0,waitslave tcp:modem-server:54321&lt;br /&gt;
&lt;br /&gt;
More info: [http://www.dest-unreach.org/socat/doc/socat-ttyovertcp.txt link]&lt;br /&gt;
&lt;br /&gt;
[[Kasutaja:MarkTomm|MarkTomm]] 21. oktoober 2014, kell 19:28 (EEST)&lt;/div&gt;</summary>
		<author><name>MarkTomm</name></author>
	</entry>
</feed>