Hi Joe, Here is a snippet from the Xastir FAQ on that subject:
4.20 How to I redirect serial ports from one computer to another? For Linux, try a program called "remserial". It works as a client/server pair to do exactly what you want. Google should find it for you. One user was able to use a spare serial port on his windows box using "remserial" on the Linux computer and a program called "serproxy" on the windows machine. Another one I have to try for windows is comfoolery. See links below. Another option is to use a Perl script on each end to do the conversion. Yet another is to use "netcat". "man nc" or "man netcat" should tell you about it. It redirects tcpip data seamlessly under Linux. On SuSE the docs for it are in /usr/share/doc/packages/netcat. Try a command line like this: cat /dev/ttyS0 | nc -l -p 3000 or cat /dev/ttyS0 | netcat -l -p 3000 That should make a listening socket at port 3000 which listens to the /dev/ttyS0 serial port. "telnet localhost 3000" should show you any data coming in on that serial port. Connect Xastir across the network to that listening socket to get the data. If you want to put your GPS on a remote serial port, use the gpsd daemon to do it. if you wish to put your weather station on a remote serial port, investigate using OWW (for Dallas weather stations), wx200d daemon for some Radio Shack/Huger/Oregon Scientific weather stations, or Meteo daemon for Davis weather stations. You may also connect to a remote AGWPE instance for using remote TNC's/soundcards. Note that AGWPE runs only on Windows. Yet another which looks to be netcat recoded/extended: socatComfoolery: http://www.brianpoe.com/comfoolery/Serproxy: http://freshmeat.net/projects/serproxy/ Serproxy: http://www.lspace.nildram.co.uk/freeware.html Remserial: http://lpccomp.bc.ca/remserial/ Socat: http://www.dest-unreach.org/socat/
Hope this helps. I have used a combination of Serproxy on a windows XP box and remserial on a linux box to "add" mode serial ports to the linux machine. 73, Mike Fenske VE7MKF Joe Bennett wrote:
At one time I saw someone (on one of the many remailers I subscribe to) describe an application that allows you to create virtual ttySx on a Linux machine and tie it to another ttySx... I think it began with an "s" but I can't seem to find it in my mass of archives... Anyone have an idea on what I'm referring to? My target application would be to share serial GPS data and such from one (or many) of my Ubuntu boxes.... I'd like to figure out how to do this on M$ so I can write my app to create a "Franson" like virtual serial port, but Linux is the first step... Thanks! -Joe KA3NAM http://www.damtravel.com
_______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
