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

No edit summary
Line 1: Line 1:
== RTL-SDR ==
== RTL-SDR ==


For now just some steps to install the software from source and some usefull tools<br>
This page will provide you with descriptions to build your own RTL-SDR station using a USB DVB receiver on Linux.
Mostly intended for a Debian environment but packages are installed from source where possible.


=== Installation using apt-get ===
=== Installation using apt-get ===

Revision as of 18:59, 11 May 2020

RTL-SDR

This page will provide you with descriptions to build your own RTL-SDR station using a USB DVB receiver on Linux. Mostly intended for a Debian environment but packages are installed from source where possible.

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

Checking your dongle

List the dongle

lsusb

Test the dongle

Test using rtl_test

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

Spectrum analyzing

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

Check the traffic from the commandline, using acarsdec

acarsdec -r 0 131.525 131.725

Dump1090

You need a google developer key to see mapinfo :-(

Install

git clone https://github.com/antirez/dump1090

cd dump1090

make

Check info from Airplanes

./dump1090 --enable-agc --interactive --agressive

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


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

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>

Start VirtualRadar

Start dump1090 first after inserting the dongle
/opt/dump1090 --enable-agc --interactive --agressive
mono VirtualRadar.exe

Visit localhost

http://localhost:8080/VirtualRadar/desktop.html

Change the port for the webserver

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

RTL 433, Weather stations, Car keys

Needs 433Mhz antenna

Install

git clone https://github.com/merbanan/rtl_433

cd rtl_433

mkdir build

cd build

cmake install

Play with it

rtl_433 -G

Check pagers. Morse and what else with multimon-ng

Install

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

Listen to DAB+ stations

www.welle.io

Install Qt 5.10 including the Qt Charts module by using the the "Qt Online Installer for Linux" https://www.qt.io/download-open-source/

sudo apt install libfaad-dev libmpg123-dev libmpg123-dev libfftw3-dev librtlsdr-dev libusb-1.0-0-dev mesa-common-dev libglu1-mesa-dev libpulse-dev libsoapysdr-dev libairspy-dev libmp3lame-dev

git clone https://github.com/AlbrechtL/welle.io.git

Start Qt Creator and open the project file `welle.io.pro` inside the folder "welle.io".

Build welle.io

Run welle.io and enjoy it


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