Radarspotting

Mode-S Receivers => FlightAware's Pro Stick => Topic started by: Andos on January 14, 2021, 01:02:37 AM

Title: QUERY Re: feeding more than one site
Post by: Andos on January 14, 2021, 01:02:37 AM
Hi,
     I have a little question which has arisen from reading Ken R's topic.  It is concerning the help link below that was posted in one of his replies.  Prior to reading Ken's topic, I have somehow manage to set up on a FlightAware Pro dongle and I am now feeding to FlightAware; FR24; ADSBX; and 360 Radar.  I achieved this a very long time ago and do not remember how I did it.  Looking at the link below, I was considering feeding to RadarBox also.  To do this, without causing problems to my already installed feeds, would it be safe for me to download and install the Radarbox setup?   Or, would I have to apply some sort of editing in the FlightAware config file(s)?


   https://radarspotting.com/forum/index.php/topic,9623.msg40978.html#msg40978


            Sorry if might sound a little daft but, once something's working I usually tend not to mess with it.


                      Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Anmer on January 14, 2021, 08:13:39 AM
Quote from: Andos on January 14, 2021, 01:02:37 AM
Looking at the link below, I was considering feeding to RadarBox also.  To do this, without causing problems to my already installed feeds, would it be safe for me to download and install the Radarbox setup?   Or, would I have to apply some sort of editing in the FlightAware config file(s)?

I haven't attempted this but my guess is just installing the RadarBox feeder will create a conflict and contention for the received data.  Editing the FlightAware config file is not an option.

This old post may help:

https://forum.flightradar24.com/forum/radar-forums/flightradar24-feeding-data-to-flightradar24/11115-raspberry-pi-installation-made-too-easy-with-extra-feature#post11115
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 14, 2021, 11:47:12 AM
Hi Andos

I am feeding all of those sites including Radarbox from one of my RPis without a problem. I installed each separately using the guidelines on each website, starting off with dump1090-fa and FA Piaware. I believe that at one time there were some conflicts with the mlat-client on Radarbox but read this recently on the ADSBx Forum which suggests that might have been addressed ' We at adsbexchange have put our mlat-client into a virtualenv so there is no package conflict with other services using an imcompatible version of the mlat-client and still calling the debian package mlat-client. So that part shouldn't be an issue.(https://www.adsbexchange.com/forum/threads/newbie-general-advice.633153/)

This is a useful guide for installing various feeders: https://forum.radarbox24.com/index.php?topic=10201.0

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Anmer on January 14, 2021, 11:58:27 AM
Hi Nigel

Did you install each feeder app separately and made no other changes to anything?
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 14, 2021, 12:28:48 PM
Yes. I installed dump1090-fa first and made sure that was up and running, then installed all the other feeders (FA Piaware; PlaneFinder; FR24; Radarbox; 360Radar; ADSBx) + PlanePlotter separately following the feeder installation instructions for each

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Anmer on January 14, 2021, 12:30:20 PM
Thanks Nigel.

From what I've read over the years I didn't think it was that simple but hey ho.
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 14, 2021, 12:44:20 PM
I've no previous experience of RPis, Linux etc. so all I did was input the sequence of commands for installation of each feeder and it works. Surprisingly it was all quick and easy to do.

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 14, 2021, 03:40:05 PM
That's excellent news Nigel.  Many thanks for your input.  I'm sure a lot of other members will appreciate your response also.


        Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 14, 2021, 07:32:03 PM
Hi Nigel,
             I tried installing the Radarbox to my RPi 3 but after typing in " sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"    "command,  I keep getting the following msg: "Don't know how to install for a distribution named *****"

(*= my id).    What am I doing wrong?


            Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: IanH on January 14, 2021, 08:48:15 PM
I'm no expert but this is an attempt to do several things at once - both download and run. I tend to do things one at a time.

For now make sure that the -O is a capital O and not a zero, and try again
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 14, 2021, 09:16:04 PM
Hi Ian,
           yes it is definitely a capital O in the command.   I have tried it several times but always ending up with the same result.  When I try to run a command after this for RBox, it says it cannot find it.  I am assuming that it is not installing for some reason.

           I wonder if it has anything to do with dump 1090.   I am wondering because I am trying to install it on a Flight Aware Pro Stick Plus which is already running FA; FR24; 360 Radar; and ADSBX.

                  Andos.


                   
Title: Re: QUERY Re: feeding more than one site
Post by: IanH on January 14, 2021, 10:50:41 PM
ok try the bit inside the ()

wget -O - http://apt.rb24.com/inst_rbfeeder.sh

That should download "inst_rbfeeder.sh".

Then try sudo bash inst_rbfeeder.sh

That is breaking the complex command into two.
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 14, 2021, 11:30:17 PM
Hi Andos

dump-1090 shouldn't affect the installation of the RB feeder. I'm not sure if this will make any difference, but I just copy/paste the commands from the installation guides rather than typing them in myself. This avoids any slight typos slipping in and causing error messages..just an idea.

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Anmer on January 15, 2021, 08:35:28 AM
Quote from: Andos on January 14, 2021, 09:16:04 PM
I wonder if it has anything to do with dump 1090.   I am wondering because I am trying to install it on a Flight Aware Pro Stick Plus which is already running FA; FR24; 360 Radar; and ADSBX.

Nothing is being installed on the Pro Stick. It's being installed on the RPi.  The Pro Stick is a radio receiver, no software.
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 15, 2021, 01:24:55 PM
Hi Ian,
          I followed your instructions to the letter and after typing in "bash: inst_rbfeeder.sh" ( without quotes), I received the following response: No such file of directory.  This suggests to me that file has not been downloaded, or am I wrong?

                      Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 15, 2021, 02:22:25 PM
Hi Nigel, Anmer, Ian,
                                 Is the problem I am experiencing possibly because I have dump1090-mutability installed on my FlightAware Stick Pro Plus?


                             Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Anmer on January 15, 2021, 02:37:50 PM
Quote from: Andos on January 15, 2021, 02:22:25 PM
Is the problem I am experiencing possibly because I have dump1090-mutability installed on my FlightAware Stick Pro Plus?

Just to clarify again, you do not have anything installed on your Pro Stick.  Dump1090 is installed on the RPi.

The RPi needs an operating system and message decoding software.  Plus code to share the data with a flight tracking service such as FlightAware.

The FlightAware PiAware application is a combined operating system, decoder and data feeder.  But it only feeds data to FlightAware.

If the data is to be shared with other flight tracking services, the RPi install needs editing to add the additional feeds and avoid conflicts.

Nigel posted:

QuoteYes. I installed dump1090-fa first and made sure that was up and running, then installed all the other feeders (FA Piaware; PlaneFinder; FR24; Radarbox; 360Radar; ADSBx) + PlanePlotter separately following the feeder installation instructions for each

He also added a link to a post by abcd567 (which is also posted on this forum - https://radarspotting.com/forum/index.php?topic=9623.msg40971#msg40971)

https://forum.radarbox24.com/index.php?topic=10201.0

You mention running dump1090-mutability.  Not dump1090-fa.

Maybe revisit Nigel's post and abcd567's instructions? 
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 15, 2021, 02:55:17 PM
Hi Andos

You need to follow Option 1 of the post by abcd567. That is for dump1090-mutability

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 15, 2021, 03:54:39 PM
Ok Nigel,
              I shall have a look and I shall let you know how I get on. 


          Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 17, 2021, 06:54:48 PM
Hi Nigel/ All,
                    I have had a look at abcd567's instructions.  Am I right in assuming that I would have to format RPi's SD card and start again to perform his instructions?  I think I am getting a little confused.  He mentions a "Stretch" version.   I am currently using Debian.

                     I plan to undertake this project tomorrow so I am trying to prepare and understand everthing beforehand.


            Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: IanH on January 17, 2021, 08:36:58 PM
"stretch" is a previous version of Debian. Current version is "buster".

All named after characters in Toy Story.

https://en.wikipedia.org/wiki/Debian_version_history
Title: Re: QUERY Re: feeding more than one site
Post by: Andos on January 18, 2021, 01:28:24 PM
Hi Nigel/ All,
                   I have now discovered that my installed version onto my SD card is dump1090-fa and my Debian version is "jessie".  I have re-tried the "sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"  "command as in Option 2 from abcd567's instructions, but after the process completes its checking of the existing files and directories, I still keep receiving the following response  (-the asterisks are used to mask my ID details):

Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.oqPVBTRoMG --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/flightaware-archive-keyring.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ********
gpg: requesting key ******** from hkp server p80.pool.sks-keyservers.net
gpg: key ********: "AirNav Systems <jceara@airnavsystems.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Don't know how to install for a distribution named

    It is not installing the software.  Does anyone know why this keeps occurring?  Obviously, I cannot proceed any further until this has been achieved.


I have also just noticed that just after the connection process, it says Line 17 cannot be found ( see below):

Connecting to apt.rb24.com (apt.rb24.com)|104.26.4.230|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2406 (2.3K) [text/x-sh]
Saving to: 'STDOUT'

-                   100%[=====================>]   2.35K  --.-KB/s   in 0s

2021-01-18 12:58:29 (41.1 MB/s) - written to stdout [2406/2406]

bash: line 17: lsb_release: command not found

    I have added the processes in the hope that someone might recognise what might be causing this problem.


                     Andos.
Title: Re: QUERY Re: feeding more than one site
Post by: Nigel on January 19, 2021, 10:01:35 AM
Hi Andos

Sorry I've no idea what is happening with your installation. It might be worth posting the details of your issue on the AirNav Forum ( https://forum.radarbox.com/index.php?board=4.0) and/or sending an email to AirNav Support (support@airnavsystems.com)

Nigel
Title: Re: QUERY Re: feeding more than one site
Post by: Oblivian on February 01, 2021, 05:45:01 AM
The keys are not IDs. But hash from the remote end to verify it. Nothing identifiable to you

It's part of the script
# Import our key to apt-key
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 1D043681

And if it is, something else has been setup wrong. Would not expect it to ever say your name or anything particular to you

I expect half the packages no longer have Jessie equivalents. Per the earlier link, that is now 3 versions old. And many file stores do not know how to handle when the name Jessie is presented.

You might need to upgrade the OS
https://www.raspberrypi.org/documentation/raspbian/updating.md

As in the script, you can see it can't find jessie. Only Stretch and Buster

Create a new debian repository source file
case "$VERS" in
    stretch)
        echo 'deb https://apt.rb24.com/ stretch main' > /etc/apt/sources.list.d/rb24.list
        ;;

     buster)
        echo 'deb https://apt.rb24.com/ buster main' > /etc/apt/sources.list.d/rb24.list
        ;;

     *)
        echo "Don't know how to install for a distribution named $DIST

And that's the message you see as it doesn't match expected