[MLB-WIRELESS] Serial to ethernet?

Donovan Baarda abo at minkirri.apana.org.au
Sat Oct 18 13:41:23 EST 2003


On Sat, 2003-10-18 at 10:41, Mark Aitken wrote:
> Hi People,
> 
> I have the need to run a serial (DTE) device from a remote PC.
> 
> Is there any programs around that would allow me to re-direct the serial 
> port on the remote
> PC along my LAN and WLAN to another PC that is actually running the 
> application required?
> 
> I would need to "trick" both pc's into thinking that there was an actual 
> physical serial link.

Using Unix OS's on both PC's this is easy, and I have done it to drive
serial devices in exactly the way you describe.

Under Unix serial devices are not treated differently to virtual pty's.
On the end connected to the device I ran a process from inetd that
connected incoming socket connections to the physical serial port. On
the other pc I spawned a process that connected a pty to the remote PC
on that socket, and told the application to use that pty instead of a
local serial port.

Search freshmeat as there are some examples of this... but if I recall
correctly I ended up rolling my own scripts.

-- 
Donovan Baarda <abo at minkirri.apana.org.au>
http://minkirri.apana.org.au/~abo/


To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message



More information about the Melbwireless mailing list