[MLB-WIRELESS] Serial to ethernet?

Peter Mitchell mail at peterlauren.com
Sat Oct 18 14:23:05 EST 2003


If you have windows terminal server, you can map the printer and com
ports to another pc.



-----Original Message-----
From: owner-melbwireless at wireless.org.au
[mailto:owner-melbwireless at wireless.org.au] On Behalf Of Donovan Baarda
Sent: Saturday, 18 October 2003 1:11 PM
To: Mark Aitken
Cc: melbwireless at wireless.org.au
Subject: Re: [MLB-WIRELESS] Serial to ethernet?

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


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