Radarspotting

Mode-S Software => Basestation => Topic started by: egnx on May 23, 2022, 07:13:45 AM

Title: BaseStation with Wine on pi
Post by: egnx on May 23, 2022, 07:13:45 AM
Hi,
I've got BaseStation running on my pi with Wine and all is good. At the moment BaseStation is running via a network port connecting to my SBS-3 running in stand-alone mode (producing output on port 10001).

What I would like to do is connect the SBS-3 to the pi via usb and run BaseStation from it like that.

I found this article on the web, which is dated 2008:-

https://blog.aprs.fi/2008/01/running-sbs-1-basestation-on-linux.html (https://blog.aprs.fi/2008/01/running-sbs-1-basestation-on-linux.html)

This solution does exactly what I want, using netcat and "cu" it connects to the USB port the SBS-3 is using and pipes the output to TCP port 127.0.0.1:19251  this is how it is done in the example:-

nc -l -s 127.0.0.1 -p 19251 -c "cu --nostop -s 921600 -l /dev/ttyUSB0"

Unfortunately the newer version of "nc" no longer works with these parameters and I have been unable to come up with an alternative solution.

Does anyone have a working version that has the SBS connected via USB to the pi ? or anyone able to assist in an update/replcement for the above ?

MTIA
egnx