ADS-B Receiver Project Setup Scripts

Installing dump1090-fa on Debian 9.5 amd64 (on Intel PC).

The asdsb-receiver project script (JProchazka) failed due to packages for bladeRF (same as it happened on RPi).

Installed by hand, and it works fine. Thanks to Oliver @obj for guidance.

1- INSTALL PRE-REQUISITES

sudo apt update  
sudo apt install git  
sudo apt install libncurses5-dev  
sudo apt install librtlsdr-dev  

sudo apt install make
sudo apt install pkg-config
sudo apt install build-essential

2 - BUILD

sudo mkdir ~/build-dump-fa  
cd ~/build-dump-fa  
sudo git clone https://github.com/flightaware/dump1090.git  
cd ~/build-dump-fa/dump1090  

sudo make BLADERF=no  

3 - TEST

cd ~/build-dump-fa/dump1090
sudo ./dump1090

Thu Aug 23 10:58:16 2018 EDT  dump1090-fa  starting up.
rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832UFA, SN 00000001)
Detached kernel driver
Found Rafael Micro R820T tuner
rtlsdr: tuner gain set to 49.6 dB

4 - CONFIGURATION & INSTALLATION TO AUTO-START AT BOOT

sudo cp -r ~/build-dump-fa/dump1090/dump1090  /usr/bin/dump1090-fa  

sudo cp ~/build-dump-fa/dump1090/debian/dump1090-fa.default /etc/default/dump1090-fa 

sudo cp ~/build-dump-fa/dump1090/debian/dump1090-fa.service  /lib/systemd/system/dump1090-fa.service  

sudo systemctl enable dump1090-fa.service 

sudo adduser --system dump1090 

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"  

sudo reboot

5 - SETUP WEB SERVER AND SKYVIEW MAP

sudo apt install lighttpd 
sudo mkdir /usr/share/dump1090-fa  
sudo cp -r ~/build-dump-fa/dump1090/public_html /usr/share/dump1090-fa/html  

sudo cp ~/build-dump-fa/dump1090/debian/lighttpd/89-dump1090-fa.conf  /etc/lighttpd/conf-available/89-dump1090-fa.conf  
sudo lighty-enable-mod dump1090-fa  
sudo service lighttpd force-reload  

ENABLED RANGE CIRCLES AND CENTER MARKER
sudo nano /usr/share/dump1090-fa/html/config.js

Edited following entries
SiteShow = true; // true to show a center marker
SiteLat = xx.xxxx; // position of the marker
SiteLon = yy.yyyy;

.
.

2 Likes