How to make your SBS-1 data available to others
This guide has been put together to assist people to share their data from an SBS-1 Receiver, running with basestation.
This covers patching the BaseStation software to provide non-delayed data, and the configuration of the PC and/or router at your home.
What are we trying to acheive ?
Patching your BaseStation software
By default, the Basestation software has an inbuilt 5 minute data delay.
The basestation software can handle connections from servers etc on port 30003.
This website contains the software and instructions on how to remove the data delay.
Routers at home
When an incoming request port connection request comes in, it will be on port 30003 tcp. (telnet)
You need to configure you home network so that your router points connection requests for port 30003 to the computer that is running basestation.
For example, on my home network I run 192.168.1.101 port 30003. I configured my router through the web interface that comes with the router.
Rolling IP addresses
If your home IP address changes with your ISP, you need to either get a static IP assigned or subscribe to the free dynamic DNS services such as no-ip.org
On any computer that is running on your home network, either LINUX or Windows, you need to run the software that "tells" the free dns server what you ISP IP address is.
For example, I run vk4tec.no-ip.org and I run the no-ip.org "program" on the same windows box as the one basestation does.
This way, even when my ISP changes my IP address, people trying to connect from outside can always find me.
Because the no-ip.org program is constantly scanning and updating the no-ip.org DNS with my IP address.
http://www.no-ip.com/
Windows Firewalls
Don't forget about windows firewalls, you need to make sure that people can establish a connection to you basestation software, and windows might block port 30003.
Open port 30003 on the computer running basestation.
Google Earth and SBS-1 data
I have a LINUX server at home that can connect to people running basestation, on port 30003.
The data gets put into a MySQL table and is then made available through google earth for people to watch planes on screen.
I am running apache web server and some scripts to connect to SBS-1 data streams.
The link on how to add the google earth link can be found here
You need to let me know when you get setup , and then I can add a script to my LINUX box, to connect to your basestation software.
You can see the results in the airborne table
You can see the running processes on my LINUX server
root 29428 1 0 19:39 pts/5 00:00:55 /usr/bin/perl ./sbs1_just_planes.pl vk4tec.no-ip.org
root 29439 1 0 19:39 pts/5 00:01:09 /usr/bin/perl ./sbs1_just_planes.pl lszh.no-ip.org
root 29442 1 3 19:39 pts/5 00:04:21 /usr/bin/perl ./sbs1_just_planes.pl 217.34.152.151
The first one is my own feed from my house here.
STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS * STOP PRESS *
You can simply download netcat for windows, and from one command line feed data into my server
Download netcat for windows and unzip to a directory of your choice
http://joncraton.org/files/nc111nt.zip
Then open a command window and type
"nc 127.0.0.1 30003 | nc vk4tec.no-ip.org 1234"
This assumes you will be running netcat from the same windows machine as basestation is on.
All it does it back to back telnet or "joins" your basestation feed to my server without messing about with routers etc.
Andrew Rich