On Thu, Jun 22, 2000 at 03:54:41PM +1000, Dave Kempe wrote:
> What is the easiest way to redirect a remote COM port to one on a Linux box?
> Like I have a linux box with modem, and need client applications on windows
> boxes to use that modem as tho it was on COM4 or 5. I'm sure there is a way
> to do it, I just can't remember. Bascially it would involve installing a
> windows port redirector on the windows machine, and configuring it to talk
> to the ttyS3 on the linux box. I seem to remember something about this
> previously, but can't find anything on the web about it.

get "netcat" and just do (i don't remember the netcat syntax):

  nc -listen 3000 < /dev/ttyS1 > /dev/ttyS1

data on the network port (3000) will be sent to/from the serial port
(com2 in this example).

if you have to do something more complicated (like allow for adjusting
flow control, setting baud rates, etc) you'll have to get something a
little fancier..

i have no idea whats required on the windows end.


(you aren't just trying to share a modem connection are you? because
there are many, much better ways of doing that)

-- 
 - Gus
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to