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
No edit summary
Line 239: Line 239:
== RTL 433, Weather stations, Car keys  ==
== RTL 433, Weather stations, Car keys  ==
Needs 433Mhz antenna<br>
Needs 433Mhz antenna<br>
=== Install ===
<code>
<code>
git clone https://github.com/merbanan/rtl_433
git clone https://github.com/merbanan/rtl_433
Line 259: Line 260:
</code><br>
</code><br>


=== Play with it ===
<code>
<code>
rtl_433 -G
rtl_433 -G

Revision as of 00:23, 10 May 2020

RTL-SDR

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

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


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>

And play!

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

Dump1090

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

Install

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

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



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