The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   Serial Port Redirector (http://hintsforums.macworld.com/showthread.php?t=90008)

Las_Vegas 05-25-2008 03:21 PM

Any device connected to a USB to serial port adapter could be directly communicated with using Z-Term. A very old program, but still effective.

dmaas 05-25-2008 05:59 PM

Quote:

Originally Posted by markashley (Post 471933)
@dmaas
MultiCom looks promising. Had a quick look but couldn't figure out how to configure it. It seems to want me to select a real serial port, but I need an emulated one. Any ideas how I could go about doing this?

Software <-> virtual COM port <-> COM port redirector software <-> ethernet port <-> device

So the virtual COM port and the COM port redirector software are the components I need to implement on the Mac.

Use a USB Serial Converter connected to KeySpan USB Server or something like a serial-to-Ethernet device as manufactured by www.WuT.de

If you have Parallels installed, you should already have a virtual COM Port. Else, you'd have to create one via Terminal by following this hint
http://www.macosxhints.com/article.p...30724135653825

MultiCom will then allow to Bridge the serial connection between your device and your virtual COM port
Or use interceptty with a synthax like
interceptty -q '@serial-server.example.com:4001' \
/dev/serial-server

dmaas 05-25-2008 06:39 PM

http://www.macosxhints.com/article.p...70111135928615

markashley 05-29-2008 08:02 AM

@dmaas
Could you explain in a bit more detail how that hint you linked to can be used to create a virtual serial port? That could solve all of our problems when combined with Multicom.

markashley 05-30-2008 01:46 PM

Here is the solution :)

Install socat from Darwinports. Launch socat with the following syntax:

socat GOPEN:/dev/ptyp0,ignoreeof TCP:10.0.1.93:10002

(Correct IP and port for whatever you are connecting to). Then configure application to send commands to /dev/ttyp0.


All times are GMT -5. The time now is 12:44 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.