Skip to content

Automatic installation for dump1090 fa

wiedehopf edited this page Jun 10, 2021 · 16 revisions
  • automatically reconfigures fr24feed (if installed)
  • fixes read-only problem with pi24 image
  • installs dump1090-fa
  • makes it possible to change gain without editing a file
  • configure location easily
  • removes other decoders (dump1090-mutability / readsb) (only one decoder can use the SDR)

Manual alternative to this script: https://github.com/wiedehopf/adsb-wiki/wiki/Installing-dump1090-fa

Installation

Paste or enter the following commands:

sudo bash -c "$(curl -L -o - https://github.com/wiedehopf/adsb-scripts/raw/master/install-dump1090-fa.sh)"
sudo reboot

The reboot isn't always necessary, but it might be necessary due to the udev rules.


Change gain with provided helper:

Command:

sudo dump1090-fa-gain 42.1

Available gain settings:

0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4
28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 -10

(-10 is a special setting which in practice equals a gain of around 55)


Configure dump1090-fa location

Use this command specifying latitude, then longitude:

sudo dump1090-fa-set-location 50.12344 10.23429

Note: If you have your location configured on flightaware, that location takes precedence!

Or do it manually as described here: https://github.com/wiedehopf/adsb-wiki/wiki/Installing-dump1090-fa#4-configuring-dump1090-fa-location

In case of issues check log:

sudo journalctl --no-pager -u dump1090-fa

Uninstall

sudo apt remove dump1090-fa

Note that this script might have changed the fr24feed and rbfeeder configuration. Those configurations won't be restored by the uninstall, you'll have to reconfigure them yourself if you want to use the builtin decoder of either of them. I'd recommend against that, if dump1090-fa for some reason doesn't work for you or causes issues and that's the reason for the uninstall, try readsb: https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-readsb