ADS-B Receiver Project Setup Scripts

  1. Bring cursor to desired feeder by up/down arrow keys.

  2. Press Spacebar. A star will appear at left of selected feeder.

  3. Repeat above for other feeders if you want to install more than one feeder.

  4. Press Enter key.

1 Like

abcd567, thanks for the help. As you can see, a old helicopter mechanic can learn linux

1 Like

I have everything installed on my secondary Pi. all is good so far except my feeders.fr24%20feed


As you can see the DUMP1090 Mutability is working but the feeder has errors. What am I doing wrong?

post output of following (remove fr24key value before posting)

cat /etc/fr24feed.ini

1 Like

receiver=“beast-tcp”
pi@raspberrypi:~ $ fr24key=
pi@raspberrypi:~ $ host=“localhost:30002”
pi@raspberrypi:~ $ bs=“no”
pi@raspberrypi:~ $ raw=“no”
pi@raspberrypi:~ $ logmode=“1”
pi@raspberrypi:~ $ windowmode=“0”
pi@raspberrypi:~ $ logpath=“/var/log/fr24feed”
pi@raspberrypi:~ $ mpx=“no”
pi@raspberrypi:~ $ mlat=“yes”
pi@raspberrypi:~ $ mlat-without-gps="yesreceiver=“beast-tcp”

fr24key=
host=“localhost:30002”
bs=“no”
raw=“no”
logmode=“1”
windowmode=“0”
logpath=“/var/log/fr24feed”
mpx=“no”
mlat=“yes”
mlat-without-gps="yes

With receiver=beast-tcp, the correct port number is 30005. You have used 30002, which has caused failure.

You can change port number by any one of the following two methods:

  1. Edit file fr24feed.ini
    sudo nano /etc/fr24feed.ini
    Change port number to 30005

  2. Visit in your browser, the FR24 Settings Page at following address:
    ip-of-pi:8754/settings.html
    Change port number to 30005.
    Click “Save” button, then click “Restart” button. Both these buttons are at bottom-right of settings page.

Part of Settings page at ip-of-pi:8754/settings.html

2 Likes

Its working!
Thank you!

ABCD567,
Thanks to you and your knowledge I have two feeders up and running perfectly.
Yesterday I had reformatted my computer since I had it completely cluttered up. I had gone back and installed the essential programming to include VM Box and Raspberry Jessie. Now I am wanting to install and run a VDL Mode 2 program called DUMPVDL2. Its the newer mode for VDL2 acars.I have MULTIPSK to run this mode but I want to get more experience on Linux and raspberry. Here is his project. GitHub - szpajder/dumpvdl2: VDL Mode 2 message decoder and protocol analyzer
Now With my very limited knowledge in Linux (thanks to you) I did manage to get some things to happen but not work. I am having problems with getting the Install librtlsdr. How would I do this?

Thanks ABCD. I really appreciate it.

Use sudo at start of command.

No sudo

pi@raspberry:~ $ apt-get install librtlsdr-dev
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

.

With sudo

pi@raspberry:~ $ sudo apt-get install librtlsdr-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  librtlsdr0
The following NEW packages will be installed:
  librtlsdr-dev librtlsdr0
0 upgraded, 2 newly installed, 0 to remove and 172 not upgraded.
Need to get 57.0 kB of archives.
After this operation, 169 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian/ jessie/main librtlsdr0 i386 0.5.3-3 [27.4 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main librtlsdr-dev i386 0.5.3-3 [29.5 kB]
Fetched 57.0 kB in 0s (91.5 kB/s)
Selecting previously unselected package librtlsdr0:i386.
(Reading database ... 108724 files and directories currently installed.)
Preparing to unpack .../librtlsdr0_0.5.3-3_i386.deb ...
Unpacking librtlsdr0:i386 (0.5.3-3) ...
Selecting previously unselected package librtlsdr-dev.
Preparing to unpack .../librtlsdr-dev_0.5.3-3_i386.deb ...
Unpacking librtlsdr-dev (0.5.3-3) ...
Setting up librtlsdr0:i386 (0.5.3-3) ...
Setting up librtlsdr-dev (0.5.3-3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...

.

(1) INSTALL THE SOFTWARE DUMPVDL2

sudo apt-get update

sudo apt-get install librtlsdr-dev   

git clone https://github.com/szpajder/dumpvdl2.git   

cd dumpvdl2   

make

sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

sudo reboot   

.
.

(2) After Reboot, run the program DUMPVDL2

cd dumpvdl2

./dumpvdl2 --rtlsdr 0 --gain 40 --correction 42   --output-file vdl2.log

./dumpvdl2 --rtlsdr 0 --gain 40 --correction 42 136725000 136975000 136875000 --output-file vdl2.log

dumpVDL2 v1.3.1-3-gfc3e2d3
Sampling rate set to 1050000 sps
Found 1 device(s):
  0:  Realtek, RTL2832UFA, SN: 00000001

Using device 0: Generic RTL2832U
Found Rafael Micro R820T tuner
Exact sample rate is: 1050000.026077 Hz
Center frequency set to 136850000 Hz
Device #0: gain set to 40.20 dB
Device 0 started


1 Like

Latest version released few days ago: 2.6.3

In Branch 2.7.0, OpenSky-Network feeder has been added today:

$ sudo apt-get update   
$ sudo apt-get install git   
$ git clone https://github.com/jprochazka/adsb-receiver.git   
$ cd adsb-receiver   

$ git reset --hard 28ef0b2   
HEAD is now at 28ef0b2 Added OpenSky Network feeder support.

$ ./install.sh   

.

0%20-%20OpenSky-Network

2 Likes

Is there anyway to update to the latest adsb-receiver without it deleting over my markers, dB, confid and scripts file?

.

The FIRST post of this thread says:

.

1 Like

Thanks @abcd567 but still doesn’t tell me if its going to overwrite my dB and markers file. I ask as i have had to add heaps of local aircraft to the dB and i have also created lots of aircraft svg’s.

I cannot tell you that because I have never upgraded an existing installation of adsb-receiver.

When I need to upgrade, I format my micrSD card, then upgrade the entire system as follows:

Download and write latest OS image, then install latest versions of all software, including adsb receiver.

The safest solution is to create a backup image of your micrSD card on your Laptop or Desktop, then attempt upgrade. If your files/db get damaged/over-written during upgrade, you can restore your install using the backup.

Please see this web page and youtube video:

VIDEO 1

VIDEO 2

3 Likes

@jprochazka : I am trying to re-install on a fresh SD card your script and I am getting a few errors that lead to the script not being finished.
1. First one is during dump978 install - the netcat won’t install from script:
```
The ADS-B Receiver Project v2.6.3 Installer

  Setting up dump978...

  ------------------------------------------------------------------------------

  Installing packages needed to build and fulfill dependencies...

  Checking if the package git is installed... [OK]
  Checking if the package make is installed... [OK]
  Checking if the package rtl-sdr is installed... [OK]
  Checking if the package librtlsdr-dev is installed... [OK]
  Checking if the package libusb-1.0-0-dev is installed... [OK]
  Checking if the package gcc is installed... [OK]
  Checking if the package netcat is installed... [NOT INSTALLED]
  Installing the package netcat...

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libbladerf-dev : Depends: libbladerf2 (= 2018.08-rc2) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

  Checking if the package netcat is installed...  [INSTALLATION ATTEMPT FAILED]
```

I have installed manually the netcat with “sudo apt-get install netcat” and then re-run the script.
Now it passed trough that point, but I am getting two more errors that cannot be manually installed either:
2. Second failure is at the FlightAware PiAware client.

The ADS-B Receiver Project v2.6.3 Installer

  Setting up FlightAware PiAware client...

  ------------------------------------------------------------------------------

  Installing packages needed to fulfill dependencies for FlightAware PiAware client...

  Checking if the package build-essential is installed... [OK]
  Checking if the package debhelper is installed... [OK]
  Checking if the package tcl8.6-dev is installed... [NOT INSTALLED]
  Installing the package tcl8.6-dev...

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libbladerf-dev : Depends: libbladerf2 (= 2018.08-rc2) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

  Checking if the package tcl8.6-dev is installed...  [INSTALLATION ATTEMPT FAILED]

3. Third failure, after I have installed PiAware manually, if I don’t choose to install the Piaware with the script, it stops at the Portal installation:

The ADS-B Receiver Project v2.6.3 Installer

  Setting up the ADS-B Receiver Project Portal...
  ------------------------------------------------------------------------------

  Installing packages needed to fulfill dependencies...

  Checking if the package lighttpd is installed... [OK]
  Checking if the package php7.0-cgi is installed... [NOT INSTALLED]
  Installing the package php7.0-cgi...

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libbladerf-dev : Depends: libbladerf2 (= 2018.08-rc2) but it is not installable
 php7.0-cgi : Depends: php7.0-cli but it is not going to be installed
              Depends: php7.0-common (= 7.0.30-0+deb9u1) but it is not going to be installed
              Depends: php7.0-json but it is not going to be installed
              Depends: php7.0-opcache but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

  Checking if the package php7.0-cgi is installed...  [INSTALLATION ATTEMPT FAILED]

Any ideas?

I usually update my system first before I go for installs. I wonder if it needs the updates first?

Hardware: Pi model 2, 8 Gb microSD card Class 10

(1) Wrote 2018-06-27-raspbian-stretch-lite.img

(2) microSD card slipped into Pi Model2

sudo raspi-config

#Expanded file system
#Set Locale
#Set Time Zone
#Rebooted

.
(3) apt update

sudo apt update
..............
..............
Reading state information... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.

.
(4) apt upgrade

sudo apt upgrade

Reading package lists... Done
........
........
done.

.
(5) Run JP Script

sudo apt install git
git clone https://github.com/jprochazka/adsb-receiver.git
cd adsb-receiver
./install.sh

.
.

Installation halted

dpkg-checkbuilddeps: error: Unmet build dependencies: libbladerf-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

  Entering the dump1090-fa build directory...
  Installing the dump1090-fa package...

dpkg: error: cannot access archive 'dump1090-fa_3.5.3_*.deb': No such file or directory

  Checking that the dump1090-fa package was installed properly...

  INSTALLATION HALTED!
  UNABLE TO INSTALL A REQUIRED PACKAGE.
  SETUP HAS BEEN TERMINATED!

The package "dump1090-fa" could not be installed.

  ------------------------------------------------------------------------------
  Dump1090-fa setup halted.

I did all the automatic updates and upgrades (as suggested).
Like I have showed above, the script fails in three different places.

First, because I wanted to install also dump978, it required netcat too. The installer failed to install netcat, but I was able to install it manually (“apt-get install netcat”) and then the installer didn’t try to install it anymore.

Second, it also failed the installation of FlightAware PiAware client. I have installed that manually too (instructions from FA webpage), and then choose not to install it with the script (so the script skipped over that phase).

After that, it fails, in the third place, at installing the ADS-B Receiver Project Portal. Here is nothing that I can do, the Portal is not installed.

All the error captures are in the first post.

1 Like