Raspberry Pi (B+, Zero, RPi2, RPi3 & RPi4) - Installation instructions for Raspbian, Dump1090 & Data Feeder

Rueganer91

New Member
of the cache ...
in the pf client say in the terminal :
we were unable to locate a configuration file and have entered configuration mode by default . Please visit http:// 192.168.17.8.00:30053

edit : after 3 hours search and configure its works ... As I have done, I do not know :(
 

ColinXSD

New Member
I have a problem with my Data not feeding to planefinder, my system can have one of two different IP addresses, so if my Pi gets the one that isn't assigned to Planefinder my Data doesn't get out.

I feed data to other places which don't have this problem, can it be fixed to automatically find the right address like the others?
 

Lee Armstrong

Administrator
Staff member
I have a problem with my Data not feeding to planefinder, my system can have one of two different IP addresses, so if my Pi gets the one that isn't assigned to Planefinder my Data doesn't get out.

I feed data to other places which don't have this problem, can it be fixed to automatically find the right address like the others?

What shows up in the log of the client? We don't lock to an IP.
 

Lee Armstrong

Administrator
Staff member
Where do I find 'the log of the client'?

In the web interface under "Log View".

IMG_2589.PNG
 

ColinXSD

New Member
This mornings Log:

2017-08-05 07:37:13.262047 [-] Successfully sent 86 aircraft updates across 10 packets (11.00KB)
2017-08-05 07:35:24.984443 [-] Successfully sent 28 aircraft updates across 10 packets (6.00KB)
2017-08-05 07:34:42.351701 [-] TCP connection established: 192.168.0.33:300052017-08-05
07:34:42.351092 [-] Client restarted successfully2017-08-05 07:34:42.120407 [-] Restarting due to configuration change
2017-08-05 07:31:59.335384 [-] Client restarted successfully2017-08-05
07:31:59.335337 [-] Failed TCP connection to all provided addresses for: 192.168.0.36:300052017-08-05
07:31:56.441124 [-] Received a restart request, restarting...2017-08-05
07:31:51.175290 [-] Failed TCP connection to all provided addresses for: 192.168.0.36:300052017-08-05
07:31:43.15273 [-] Failed TCP connection to all provided addresses for: 192.168.0.36:300052017-08-05
07:31:34.855385 [-] Failed TCP connection to all provided addresses for: 192.168.0.36:30005

as you can see it depends what IP address is selected as to whether it connects or not.
I have to manually change the IP in the setup to match what the Pi is currently using.
 

Lee Armstrong

Administrator
Staff member
Looks like you've configured it to a fixed IP and that IP can change with DHCP. If this is installed on that very same Pi change the IP to 127.0.0.1 and it will work even if the IP changes.

Either that or give it a static reservation in your DHCP scope. If you do this you won't have to hunt around for the IP when you want to access the web interfaces of the client.
 

ColinXSD

New Member
Thanks Lee, changing to 127.0.0.1 worked.
I don't remember setting up a static IP originally, it just seemed to pick the address I was using at the time.

Colin.
 

ga_dude626

New Member
Hi ab cd,

Thanks for the great instructions! I got through them on Aug 5, 2018 and it works like a charm!

Thanks again!
 

mobisat

New Member
DUMP1090-MUTABILITY

Instead of dump1090, you can install dump1090-mutability which has more functionality.

DO NOT to install both versions of dump. Install either dump1090 OR dump1090-mutability.


1. Download installation package, and install it:
Code:
wget https://github.com/mutability/dump1090/releases/download/v1.14/dump1090-mutability_1.14_armhf.deb
sudo dpkg -i dump1090-mutability_1.14_armhf.deb
The above Version is current as on Feb 06, 2018

I get as far as that and I have a dependency error, Package librtlsdr0 is not installed.
I had to run to run sudo apt-get install librtlsdr0 to get it to work, so can this be added to the tutorial?
 

Attachments

  • Install error.jpg
    Install error.jpg
    127.2 KB · Views: 54
Last edited:

ab cd

Senior Member
I get as far as that and I have a dependency error, Package librtlsdr0 is not installed.
I had to run to run sudo apt-get install librtlsdr0 to get it to work, so can this be added to the tutorial?

Thanks for the information. I have not used this method with latest version of Raspbian. It worked ok with older versions. With which version of Raspbian you faced this problem? I will have to try it myself first to see what happens and why.
 

mobisat

New Member
I used the one below. I also found and used the 1.1.5~dev version of dump1090-mutability, all working great.

Raspbian Stretch Lite

Minimal image based on Debian Stretch

Version: November 2018

Release date: 2018-11-13

Kernel version: 4.14
 

ab cd

Senior Member
I used the one below. I also found and used the 1.1.5~dev version of dump1090-mutability, all working great.

The dump1090 (Malcom Robb) still uses Google map, which has recently started displaying water marks and a darkened map, unless one obtains a Google key, which requires a Credit Card.

The dump1090-mutability version 1.15~dev uses Openstreet map, which does not require any key. One can add to it Bing Map layer, which requires a Bing Map API key, but it is free and easy to obtain. No credit card required.


How to Install dump1090-mutability_1.15~dev on RPi

.
.
 
Last edited:

AnirbanSen

Member
Anybody using Mode AC on their dump1090-fa config?
My HighChart for the Mode AC is gone after the interface upgrade on the new pfclient.
 

Nigelr

New Member
Hi

I use Mode AC from dump1090-fa to feed the data to PlanePlotter. You need to edit the dump1090-fa config file:

sudo nano /etc/default/dump1090-fa

and include --modeac in the RECEIVER OPTIONS line

Save the edit and restart dump1090-fa (sudo systemctl restart dump1090-fa)
 

ATL_GA_626

New Member
Last Update: March 01, 2021

What you need is 3 components as follows:
STEP-1: An operating system like "Raspberry Pi OS".
STEP-2: A decoder software "dump1090"
STEP-3: Planefinder's data feeding software pfclient.

STEP 1- INSTALL OPERATING SYSTEM

1.1
- Download Raspberry Pi OS Lite image (zip) on your Desktop/Laptop
Download page:
https://www.raspberrypi.org/software/operating-systems/

Direct download link (latest version as on March 01, 2021). Check above link for latest version
https://downloads.raspberrypi.org/r...1-12/2021-01-11-raspios-buster-armhf-lite.zip

1.2 - Download and Install Win32DiskImager (Windows) OR Etcher (Win & Mac).
Only one of these two software is enough. No need to download and install both.
Download Pages:
Win32DiskImager: https://sourceforge.net/projects/win32diskimager/
Etcher: https://etcher.io/

1.3 - Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port).

1.4 - Unzip downloaded Raspbian file to get .img file.

1.5 - Write the unzipped Raspbian image to microSD Card using Win32DiskImager or Etcher.

1.6 - Enable SSH

Open File Explorer (Windows) or Finder (Mac), and open the microSD card.
NOTE:
If you have used Etcher, it will automatically eject the microSD card after writing the image.
Physically remove the microSD card or USB adapter and plug it back into the computer before you carry-out steps below.

The microSD card will appear with name "boot" as shown in screenshot below.
View attachment 2954

Open the drive named "boot". This will open the /boot folder of Raspbian. In this folder create a new text file, as shown in screenshot below
View attachment 2956

Change the name of file from New Text Document to SSH

1.7 - Enable WiFi
If you want your Pi to connect to local network/internet using a WIRED connection to router, skip this step.

To use WiFi to connect Pi to local network/internet, the WiFi configuration should be done after image is written, and while the microSD Card is still in the Laptop/Desktop. For details please see following post:

How To Enable WiFi

Use only one connection at a time, either wired or WiFi.
It is not recommended to use both simultaneously


1.8 - First Boot of RPI[/INDENT]
Eject & remove microSD card from card reader, insert into RPi, power up the RPi.


1.9 - Access and control of RPi from Desktop/Laptop using SSH
You can access Pi and issue commands by connecting a Monitor and Keyboard to your RPi.
However use of SSH enables you to issue commands from your Desktop/Laptop and eliminates the need to connect a Monitor and Keyboard to your RPi.


For Remote access and SSH, please see following post:

How To Access and Control RPi from Desktop/Laptop using SSH


STEP 2 - INSTALL DECODER DUMP1090P-MUTABILITY

2.1
- Installation:
For Raspbian Stretch
Code:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/dump1090/master/install_dump1090_mut_1.15.sh)"


For Raspbian Buster
Code:
sudo apt update
sudo apt install dump1090-mutability

sudo usermod -a -G plugdev dump1090
sudo systemctl restart dump1090-mutability


2.2 - Configuration:
Code:
sudo dpkg-reconfigure dump1090-mutability

During configuration accept all default values by pressing Enter key, except when asked for:
(a) Latitude & Longitude, enter you location's latitude & longitude in decimal degrees like xx.xxxx

(b)"Interface address to bind to (blank for all interfaces) " , remove 127.0.0.1 and leave entry blank. This is a workaround to overcome a bug.

(c) "Extra arguments to pass to dump1090", leave it blank.


The Web interface (gmap) will be displayed at http: //<ip address of RPi>/dump1090/

2.3
- Start, Stop, Status
Code:
# To stop
sudo systemctl stop dump1090-mutability

# To restart
sudo systemctl restart dump1090-mutability

# to check status
sudo systemctl status dump1090-mutability

2.4 - Changing Settings
You can anytime modify the settings by two methods:

Code:
sudo dpkg-reconfigure dump1090-mutability

(b) Advance: By editing config file:
Code:
sudo nano  /etc/default/dump1090-mutability

#scroll down and edit config value.
#after editing, save (ctrl+o) and close file (ctrl+x)
#for changes to take effect, reboot after you finish making changes

sudo reboot



STEP 3- Installation of Planefinder's Data feeder :

To install Plane Finder Client, enter these commands in console:

Code:
wget  http://client.planefinder.net/pfclient_5.0.161_armhf.deb
sudo dpkg -i pfclient_5.0.161_armhf.deb
The above version is current as on March 01, 2021
For latest version check this page: https://planefinder.net/sharing/client

CONFIGURE
After installation is complete as above, type http: //<ip address of RPi on your network>:30053/setup.html in your browser, and follow instructions on the page opened. The <ip address of RPi on your network> will be something like 192.168.2.12 and can be found from your router setup.

Choose option to request sharecode, if you don't already have one. Planefinder will send it to you by email. After you receive sharecode, you can enter it on above page and complete your configuration.

During configuration,enter:
Sharecode
Receiver Lat: Your Latitude in decimal format
Receiver Lon: Your Longitude in decimal format
Click "Assign Share Code"
View attachment 2934

This will open a new page. On this page enter:
Receiver Data Format: Beast
How are you connecting to your receiver: Network
IP Address: 127.0.0.1
Port Number: 30005
Click "Complete configuration"
View attachment 2935


PF Client web interfaces:
After SETUP is complete and pfclient is up & running, you can see following in your computer's browser.
http:// <ip-address-of-RPi>:30053/map.html (shows planes on Google Map)
http:// <ip-address-of-RPi>:30053/stats.html (shows stats of your receiver)
http:// <ip-address-of-RPi>:30053/logs.html (shows logs of your receiver)

(<ip-address-of-RPi> will be something like 192.168.2.15 . Obtain exact value from your router settings)
View attachment 2936
View attachment 2937
View attachment 2938

AND THAT IS ALL....... ENJOY!


Went through the updated process and worked first time...thanks!!
 

cseck1

New Member
Installation issue from ethernet and Wifi active.

My setup uses two RPi's, one for ADS-B and one for UAT linked using an ethernet cable (and port forwarding via socat) to link the two devices (using static network configurations on both). Both devices then connect over Wifi to the outside world. When I installed via the script, the installer kept latching to the ethernet IP, and not the Wifi IP, preventing access over my LAN (or to PlaneFinder) despite having the metric setting for each interface set to prefer Wifi over ethernet. The solution for me was to remove the active ethernet port before reinstalling, then reconfiguring the network interfaces. Is incorporating the interface metrics something that could be added into the installation script?
 
Top