Setting Up Dump978-mutability On Raspbian, Ubuntu, or Debian
Published October 4th, 2015 at 1:21 PM. by Joe Prochazka
THIS IS A WORK IN PROGRESS
Last updated October 14th, 2015
Updates will be posted as progress is made.
I am currently waiting on a spliter for my antenna in order to get better coverage in order to pick up 978MHz signals. The stock antenna is not receiving anything so I am unable to confirm this is in fact working even though it theory it should be. I will post results once I am able to confirm everything is working.
Tonight I began work on setting up dump978 to receive UAT transmission. This is a work in progress the following are the steps I have taken so far in order to get the application up and running and receiving data. At this point the following commands appear to have setup a working dump978 receiver however it is late at night and the weather is not to friendly so I am thinking there is little or no GA traffic in the in the air close enough to be picked up at this time. If/when I do receive UAT data successfully I will continue on with the TODO list located below the commands used to set up dump978.
Updates To This Article
- [10-07-2915] - Added command line to feed external dump1090 installation.
- [10-07-2915] - Added missing dependancy packages needed to build dump978.
- [10-04-2915] - Began work on this documentation.
Running dump978
The following commands were run on an installation of Debian 8.2.0 Jessie running in a Hyper-V environment. Debian was setup with only the ssh server and system utilities options. A NooElec NESDR Mini+ Al is currently looking for signals sadly using the stock antenna it came with placed indoors next to the laptop I am working on this project with.
sudo apt-get install make rtl-sdr librtlsdr-dev libusb-1.0-0-dev lighttpd git gcc
mkdir ~/build
cd ~/build
git clone https://github.com/mutability/dump978.git
cd ~/build/dump978/
make all
cd ~/build
git clone https://github.com/mutability/dump1090 dump1090-copy
sudo mkdir -p /var/www/html/dump978/data/
sudo cp -a dump1090-copy/public_html/* /var/www/html/dump978/
sudo chmod 777 /var/www/html/dump978/data/
cd ~/build/dump978/
sudo rtl_sdr -f 978000000 -s 2083334 -g 48 - | ./dump978 | ./uat2json /var/www/html/dump978/data
Feeding Data To Existing Dump1090 installation
The following command was used to feed data to an existing dump1090 installation running on a separate Raspberry Pi. This command should feed data to an existing dump1090 installation as well as still feed the local web site data so that UAT positions are still shown there as well. However I am still waiting to receive any UAT data.
sudo rtl_sdr -f 978000000 -s 2083334 -g 48 - | ./dump978 | ./uat2json /var/www/html/dump978/data | ./uat2esnt | nc -q1 <IP ADDRESS OF DUMP1090> 30001
Now waiting for UAT data to be received to see if things are working.
TODO
- Setup either a DIY or commercial UAT antenna.
- Set dump978 to start automatically on system boot.
- Create more detailed documentation on the setup process.