Monday 4 April 2016

Virtual Radar Server and Modes_RX *Funcube*

sudo apt-get install rtl-sdr

wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.tar.gz
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 http://plugwash.raspbian.org/mono4 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"?>
<configuration>
    <configSections>
    </configSections>
    <startup>
        <supportedRuntime version="v2.0.50727"/>
    </startup>
    <runtime>
        <assemblyBinding  xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Mono.Data.Sqlite"
                                  publicKeyToken="0738eb9f132ed756"
                                  culture="neutral" />
                <bindingRedirect oldVersion="2.0.0.0"
                                 newVersion="4.0.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>



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
127.0.0.1 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 http://192.168.0.22:8080/VirtualRadar (note capital V and R)
You should not be able to see and monitor planes in the local area.