If you have freshly written Raspbian Stretch image on microSD card, and have NOT Installed anything else on it, then blindly follow the steps in the following post:
Version 3.7.1 Add-on Package Install
.
It will install latest version (3.7.1) of following:
- dump978-fa
- skyview978
- dump1090-fa
- piaware data feeder.
If you want dump1090-mutability ver 1.15~dev, and NOT the dump1090-fa:
Omit following step:
“3 - INSTALLED DUMP1090-FA ver 3.7.1”
and insted use following steps:
sudo apt update
sudo apt install -y git debhelper librtlsdr-dev lighttpd
sudo apt install -y rtl-sdr build-essential cron curl
sudo apt install -y fakeroot libusb-1.0-0-dev pkg-config
.
cd /home/pi/
git clone https://github.com/mutability/dump1090.git dump1090-mut
cd /home/pi/dump1090-mut
sudo dpkg-buildpackage -b
.
cd ../
sudo dpkg -i dump1090-mutability_1.15~dev_*.deb
sudo lighty-enable-mod dump1090
sudo systemctl force-reload lighttpd
.
Reconfigure dump1090-mutability (Add Latitude & Longitude)
sudo dpkg-reconfigure dump1090-mutability
.
STRETCH WORKAROUND (Ajax call Fail)
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
# REBOOT (ESSENTIAL)
sudo reboot
.
Adding Dongle’s Serial Number:
sudo nano /etc/default/dump1090-mutability
Scroll down till you see following text:
# Receiver options
#
# RTLSDR device index or serial number to use
# If set to "none", dump1090 will be started in --net-only mode
DEVICE=""
Replace
DEVICE=""
by
DEVICE="00001090"
sudo systemctl restart dump1090-mutability
.