Monday, 4 April 2016

Virtual Radar Server and Modes_RX *Funcube*

sudo apt-get install rtl-sdr

tar -zxvf VirtualRadar.tar.gz

To start listening to aircraft using the funcube pro-plus and to start a  SBS-1 compatible server on port 30003 type the following:

modes_rx -d -s osmocom -P

Hopefully you will see the following screen

You may see a few errors here but as long as you get some data all is good. Experiment with a better antenna, etc.

Now if you have already installed MONO skip to step X below

Installing Mono 4

sudo sh -c "echo 'deb jessie-mono4 main' >> /etc/apt/sources.list"
apt-get update

sudo apt-get install mono-complete

Now create a file using your favourite editor in the same directory where you just downloaded virtual radar to

create a file called: VirtualRadar.exe.config
copy and save the below text.
<?xml version="1.0"?>
        <supportedRuntime version="v2.0.50727"/>
        <assemblyBinding  xmlns="urn:schemas-microsoft-com:asm.v1">
                <assemblyIdentity name="Mono.Data.Sqlite"
                                  culture="neutral" />
                <bindingRedirect oldVersion=""
                                 newVersion="" />

Open a second terminal window to start Virtual Radar type:
mono VirtaulRadar.exe

Here is my running Virtual radar, you will need to set yours up following the instruction below for the first time.

Under Feed Status, right click on Receiver and then select  configure feed

copy the settings here in the screenshot is the local loop back address on the pi
30003 is the port our SBS-1 server is running on.

click on OK or escape to go back to virtual radar

You can now max out your poor raspberry pi and try opening a web page to see the planes, or better still open a web browser on your pc / laptop to your raspberry pi address on port 8080

for example (note capital V and R)
You should not be able to see and monitor planes in the local area.