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

sudo apt-get update
sudo apt-get upgrade

Dump1090 Mutability Install

Download the necessary .deb from GitHub.

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.

sudo dpkg -i mutability-repo_0.1.0_armhf.deb

Once again update the installation.

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.

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.

sudo apt-get install dump1090-mutability

Install the web server.

sudo apt-get install lighttpd  

Enable module.

sudo lighty-enable-mod dump1090

Reload web server for changes to take effect.

sudo service lighttpd force-reload

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

sudo reboot

On a web browser and enter the IP address for your Raspberry Pi followed by /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.

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

Install the downloaded package.

sudo dpkg -i piaware_2.1-5_armhf.deb

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

sudo apt-get install -fy

Auto-update the PiAware Software.

sudo piaware-config -autoUpdate 1 -manualUpdate 1

Connect To FlightAware

Connect the PiAware install to flightAware by providing user credentials.

sudo piaware-config -user your_username -password

Restart PiAware.

sudo /etc/init.d/piaware restart

View the status of the install.

lventura@raspberrypi:~ $ 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.