🌑

Linhost.info

Raspberry Pi - Dump1090-Mutability and PiAware

I’ve been running a PiAware installation for the last couple of months but after a reinstall I notice some problems specifically with dump1090 provided by the PiAware installation instructions. After searching on various forums I decided to give dump1090-mutability a fork of dump1090 a try and can report great success which is why I decided to list the steps needed to configure dump1090-mutability in a Raspbian install. Current set-up: Raspbian Jessie Lite on a Raspberry Pi 2 + RTL2832U.

Prepare Raspbian

1
sudo apt-get update
1
sudo apt-get upgrade

Dump1090 Mutability Install

Download the necessary .deb from GitHub.

1
wget https://github.com/mutability/mutability-repo/releases/download/v0.1.0/mutability-repo\_0.1.0\_armhf.deb

Install the downloaded .deb. Notice the version number.

1
sudo dpkg -i mutability-repo\_0.1.0\_armhf.deb

Once again update the installation.

1
sudo apt-get update

The GPG key provided with mutability-repo_0.1.0_armhf.deb expired which will result in an error every time you run apt-get we can fix the source for the error.

W: GPG error: http://repo.mutability.co.uk wheezy InRelease: The following signatures were invalid: KEYEXPIRED 1451307476 KEYEXPIRED 1451307476 KEYEXPIRED 1451307476

Now re-install mutability-repo this will pull the latest version with a valid signature.

1
sudo apt-get install mutability-repo

Install dump1090-mutability the version from the repository at the time of this writing was dump1090-mutability v1.14.

1
sudo apt-get install dump1090-mutability

Install the web server.

1
sudo apt-get install lighttpd

Enable module.

1
sudo lighty-enable-mod dump1090

Reload web server for changes to take effect.

1
sudo service lighttpd force-reload

Or you can reboot the entire installation which is why I recommend.

1
sudo reboot

On a web browser and enter the IP address for your Raspberry Pi followed by /dump1090.

1
http://your\_ip\_address/dump1090/

dump1090

PiAware Install

For the latest version of PiAware check the FlightAware page. At the time of this writing the current version was piaware_2.1-5.

1
wget http://flightaware.com/adsb/piaware/files/piaware\_2.1-5\_armhf.deb

Install the downloaded package.

1
sudo dpkg -i piaware\_2.1-5\_armhf.deb

You will receive multiple errors regarding missing dependencies let apt-get install the missing dependencies.

1
sudo apt-get install -fy

Auto-update the PiAware Software.

1
sudo piaware-config -autoUpdate 1 -manualUpdate 1

Connect To FlightAware

Connect the PiAware install to flightAware by providing user credentials.

1
sudo piaware-config -user your\_username -password

Restart PiAware.

1
sudo /etc/init.d/piaware restart

View the status of the install.

1
2
3
4
5
6
7
8
9
sudo piaware-status

dump1090 is not running.
faup1090 is running.
piaware is running.
dump1090-mutabi is listening for connections on port 30005.
faup1090 is connected to port 30005.
piaware is connected to FlightAware.
dump1090-mutabi is producing data on port 30005.

The new install should start feeding data back to FlightAware.

— Apr 10, 2016