User Tools

Site Tools


technical:flightradar24

This is an old revision of the document!


Main Installation

This is the install process for setting up a Flight Radar 24 ADS-B feed using a raspberry PI (V4) and a SDR-Blog VR Dongle. It also includes the install and mechanism to switch to an SDR++ server to allow remote clients to attach and listen to ATC audio remotely.

Initial PI setup

Using the PI imager software, you should image the PI and when prompted to select the image you need to select: Raspberry PI OS (Other) –> Raspberry PI-OS (Legacy 32-bit) Lite

It is important you choose the 32 bit version, and choosing the Lite version means we get a Headless install without all the bloat.

You should also select any other customizations, you should select and enable SSH at least / WI-Fi and other settings.

After flashing the PI allow it to boot and connect to the network, you can then ssh to it (ssh account@hostname) Login and update the PI to the latest OS.

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo reboot

The next step is to install the V4 Debian Drivers for the SDR-Blog VR USB Dongle

Purge the previous driver:

You must run this as a user, not as root, (only sudo on the commands specified below.)

sudo apt purge ^librtlsdr
sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* 
/usr/local/include/rtl_* /usr/local/bin/rtl_*

Install the RTL-SDR Blog drivers:

sudo apt-get install libusb-1.0-0-dev git cmake pkg-config
mkdir /opt/sdr
cd /opt/sdr
git clone https://github.com/rtlsdrblog/rtl-sdr-blog
cd rtl-sdr-blog
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo ldconfig

Blacklist the DVB-T TV drivers.

echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf

Reboot

sudo reboot

sudo systemctl restart fr24feed

fr24feed-status

adduser fr24 plugdev

http://io.scottworld.net:8754/

technical/flightradar24.1738109848.txt.gz · Last modified: 2025/01/29 01:17 by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki