Anonymous
×
Create a new article
Write your page title here:
We currently have 27 articles on PhenixOps. Type your article name above or click on one of the titles below and start writing!



PhenixOps
27Articles

RTL-SDR: Difference between revisions

 
(VirtualRadar)
Line 137: Line 137:
</code><br>
</code><br>


=== Graphical interface, Dump1090 ===
 
=== Graphical interface, Virtual Radar ===
Now we are getting to the fun part and see things<br>
Now we are getting to the fun part and see things<br>


Make sure to have mono installed<br>
<code>
sudo apt-get install mono-complete
</code><br>
Go to the dir you want to install the software<br>
<code>
mkdir /opt/virtualradar
</code><br>
<code>
wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.tar.gz
</code><br>
<code>
tar xzvf VirtualRadar.tar.gz
</code><br>
You also need to create the config file<br>
<code>
vi VirtualRadar.exe.config
</code><br>
Copy this block
<pre>
<?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>
</pre>
And play!<br>
<pre>
mono VirtualRadar.exe
</pre>
Things will run at localhost<br>
<code>
http://localhost:8080/VirtualRadar/desktop.html
</code><br>
Change the port<br>
In the configuration folder create a text file called InstallerConfiguration.xml and paste the following<br>
<pre>
<?xml version="1.0" encoding="utf-8" ?>
<InstallerSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <WebServerPort>8080</WebServerPort>
</InstallerSettings>
</pre><br>
Check for more info on this right here: http://www.virtualradarserver.co.uk/Mono.aspx <br>
=== Graphical interface, Dump1090 ===
You need a google developer key to see mapinfo :-(<br>
<code>
<code>
git clone https://github.com/antirez/dump1090
git clone https://github.com/antirez/dump1090
Line 158: Line 231:


Play with it and check on http://localhost:8080<br>
Play with it and check on http://localhost:8080<br>
You need a google developer key to see mapinfo :-(<br>
<code>
<code>
./dump1090 --enable-agc --net --agressive
./dump1090 --enable-agc --net --agressive

Revision as of 22:47, 9 May 2020

RTL-SDR

For now just some steps to install the software from source and some usefull tools

Checking your dongle

lsusb

Installation using apt-get

sudo apt-get install rtl-sdr

Installation from source

apt-get update

apt-get install git cmake libboost-all-dev libusb-1.0-0-dev python scitools portaudio19-dev sox -y

mkdir /home/sdr

cd /home/sdr

git clone git://git.osmocom.org/rtl-sdr.git

cd /rtl-sdr

mkdir build

cmake ../

make

make install

cp /home/sdr/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/

Blacklist the driver
lsusb

vi /etc/modprobe.d/sdr-blacklist.conf

blacklist dvb_usb_rtl28xxu 
blacklist rtl2832
blacklist rtl2830


Restart debian/ubuntu

Test the dongle
rtl_test -t

Test using RTL_FM (http://kmkeen.org/rtl-dmod-guide/)
rtl_fm -M wbfm -f 105.1M | play -r 32k -t raw -e s -b 16 -c1 -V1

105.1M is my local station, Haarlem FM, change it for yours!

You can also scan a range, for example airplane radio traffic
rtl_fm -M am -f 118M-138M:25k -s 12k -g 50 -l 200 | play -r 12k

Find airport info on SkyVector
https://skyvector.com/airport/EHAM/Amsterdam-Schiphol-Airport

Visualizing using software

You might have to select your device in Options

apt install gqrx-sdr

gqrx

Messages between tower and airplanes, ACARS

git clone https://github.com/TLeconte/acarsdec

cd acarsdec

mkdir build

cd build

cmake .. -Drtl=ON

make

sudo make install

Then check the traffic from the commandline, using acarsdec
acarsdec -r 0 131.525 131.725


Graphical interface, Virtual Radar

Now we are getting to the fun part and see things

Make sure to have mono installed
sudo apt-get install mono-complete

Go to the dir you want to install the software
mkdir /opt/virtualradar

wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.tar.gz

tar xzvf VirtualRadar.tar.gz

You also need to create the config file


vi VirtualRadar.exe.config

Copy this block

<?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>

And play!

mono VirtualRadar.exe

Things will run at localhost
http://localhost:8080/VirtualRadar/desktop.html

Change the port

In the configuration folder create a text file called InstallerConfiguration.xml and paste the following

<?xml version="1.0" encoding="utf-8" ?>
<InstallerSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <WebServerPort>8080</WebServerPort>
</InstallerSettings>


Check for more info on this right here: http://www.virtualradarserver.co.uk/Mono.aspx

Graphical interface, Dump1090

You need a google developer key to see mapinfo :-(
git clone https://github.com/antirez/dump1090

cd dump1090

make

Play with it and check info
./dump1090 --enable-agc --interactive --agressive

Play with it and check on http://localhost:8080
./dump1090 --enable-agc --net --agressive

RTL 433, Weather stations, Car keys

Needs 433Mhz antenna
git clone https://github.com/merbanan/rtl_433

cd rtl_433

mkdir build

cd build

cmake install

rtl_433 -G

Check pagers. Morse and what else with multimon-ng

git clone https://github.com/EliasOenal/multimon-ng

cd multimon-ng

mkdir build

cd build

cmake ..

sudo make install

Catch the data with rtl_tm and post process with multimon-ng
rtl_fm -f 149.61M -s 22050 -p -19 | multimon-ng -t raw -POCSAG12 -a POCSAG1200 -a POCSAG2400 -a SCOPE -f a;pha /dev/stdin



Project is based on RTL-SDR https://osmocom.org/projects/rtl-sdr/wiki/Rtl-sdr
Thanks to Adam Loboda for information in his video https://www.youtube.com/watch?v=HHDKa7DLTW8