anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: AirNav RadarBox on Ubuntu 22.04 gpg issues  (Read 9203 times)

0 Members and 2 Guests are viewing this topic.

paulysa1969

  • New Member
  • *
  • Posts: 4
AirNav RadarBox on Ubuntu 22.04 gpg issues
« on: June 16, 2022, 04:45:34 AM »
Hi there. I have had to install on Ubuntu 22.04 on my desktop as it is almost impossible to get a raspberry Pi.

When I run this (http://apt.rb24.com/inst_rbfeeder.sh) there seems to be a problem here:

#apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 1D043681
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D043681

It produces this error:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.LQhTjYzezV/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D043681
gpg: key D4F914061D043681: "AirNav Systems <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Don't know how to install for a distribution named

Is there sme way to solve this?


Entire script below:

#!/bin/sh
#

RED='\033[0;31m'
NC='\033[0m' # No Color
YELLOW='\033[1;33m'
WHITE='\033[1;37m'
LGREEN='\033[1;32m'
BOLD='\033[1m'
RESET_BOLD='\033[2m'


if [ "$(id -u)" != "0" ]; then
   echo -e "You must run this script with root privileges" 1>&2
   exit 1
fi

VERS=`lsb_release -c | awk -F ':' '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`


# Install packages needed by script
apt-get update -y
apt-get install dirmngr -y

# Import our key to apt-key
#apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 1D043681
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D043681

# Move old source
/bin/rm -f /etc/apt/sources.list.d/rb24.list


# 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
        ;;

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

     *)
        echo "Don't know how to install for a distribution named $DIST" >&2
        exit 1
esac



# Update apt and install software
apt-get update -y
apt-get install rbfeeder -y


while true; do
        read -p "Do you wish to install dump978-rb program? (y/n) " yn
    case $yn in
        [Yy]* )
      apt-get install dump978-rb soapysdr-module-rtlsdr -y;
             break;;
        [Nn]* )
      break;;
        * ) echo "Please answer yes or no.";;
    esac
done



echo -e "\033c"

echo -e ""
echo -e "${RED}!!!! ${BOLD}IMPORTANT${RESET_BOLD} !!!!${NC}"
echo -e ""
echo -e "${WHITE}By default, RBFeeder is configured to connect to your local dump1090 instance (localhost,"
echo -e "port 30005). If you want to use a USB RTL-SDR dongle instead, please run this command:"
echo -e ""
echo -e "${LGREEN}sudo rbfeeder --set-network-mode off --no-start${WHITE}"
echo -e ""
echo -e "Then, restart the daemon:"
echo -e ""
echo -e "${LGREEN}sudo systemctl restart rbfeeder${WHITE}"
echo -e ""
echo -e "After a few seconds, RBFeeder will connect to the AirNav servers and you can view your"
echo -e "sharing-key with this command:"
echo -e ""
echo -e "${LGREEN}sudo rbfeeder --showkey${WHITE}"
echo -e ""
echo -e "If you already have a sharing-key from previous a installation, you can set the same"
echo -e "key using this command:"
echo -e ""
echo -e "${LGREEN}sudo rbfeeder --setkey ‹your sharing key›${WHITE}"
echo -e ""
echo -e ""
echo -e "Installation finished."
echo -e ""
echo -e "${NC}"




abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: AirNav RadarBox on Ubuntu 22.04 gpg issues
« Reply #1 on: June 16, 2022, 08:55:43 AM »

It produces this error:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).



This is only a WARNING, not an error. The apt-key method (although deprecated) still  works for backward compatibility. Your installation did NOT fail due to the gpg key.


Hi there. I have had to install on Ubuntu 22.04 on my desktop as it is almost impossible to get a raspberry Pi.
.... ... ...
Don't know how to install for a distribution named


The remark in red shows the real problem.
The RB24's feeder is available only for Raspberry Pi OS "Stretch", "Buster" and "Bullseye"  for 32 bit and 64-bit ARM CPU.

The installer checks the name & version of your OS Ubuntu 22 on Desktop which is neither "Stretch" nor "Buster", nor "Bullseye", it is "Jammy Jellyfish". The installer does NOT recognize "Jammy Jellyfish", and therefore outputs error message shown in red above.

The installer can be cheated into making it think your OS is Bullseye by deleting following line in installer script

VERS=`lsb_release -c | awk -F ':' '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`

and adding following line in it's place

VERS=bullseye

Even if you cheat installer to believe it is Bullseye, the architecture of CPU in your Desktop will most likely be x86_64 OR amd64. This architecture will not match the available RB24 packages which are compatible to ARM CPU architectures..

You can check architecture of your Desktop's CPU by issuing following command in Ubuntu 22 terminal

uname -m 

If the output of above command is "i386", "i586", "i686", "x86_64" or "amd64", then you cannot install RB24 feeder on it. Your only option is to use a Single Board Computer like Raspberry Pi, or Orangepi, etc which have ARM CPU compatible to RB24 feeder.



« Last Edit: June 17, 2022, 05:27:09 AM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: AirNav RadarBox on Ubuntu 22.04 gpg issues
« Reply #2 on: June 17, 2022, 06:31:49 AM »
@paulysa1969
If Raspberry Pi is not available, try other Single Board Computers.

I am using OrangePi PC which I purchased several years ago.
I have installed OS "Armbian Bullseye" on it, and then installed following feeders:
  • dump1090-fa
  • Radarbox24 feeder (rbfeeder)
  • Flightaware feeder (piaware)
  • Flightradar feeder (fr24feed)
  • Planefinder feeder (pfclient)
  • Performance Graphs
I purchased SET-5. The Set-5 consists of the Pi board, Case, and Power Supply.

I purchased SET-5 from Aliexpress in 2019 for US $29 (price+shipping). I just now checked The price has increased over time and is now US $47 (price+shipping).

https://www.aliexpress.com/item/1005001657866381.html

NOTE:
(1) The OrangePi does NOT use microUSB or type C connector for power supply. It uses a barrel connector. Barrel connectors come in different diameters. Buying the SET-5 has advantage that you get Power Supply Unit with right sized barrel connector.

(2) The OrangePiPC does NOT have WiFi. I use either a wired connection or a USB WiFi dongle.

.
« Last Edit: June 17, 2022, 09:01:06 AM by abcd567 »

paulysa1969

  • New Member
  • *
  • Posts: 4
Re: AirNav RadarBox on Ubuntu 22.04 gpg issues
« Reply #3 on: June 18, 2022, 01:17:37 AM »
Hi there absd567.

I see this now. My architecture is x86_64 so RadarBox will not work.

Initially, my plan was to run RadarBox's ADSB 1090 Green dongle and its UAT 978 Red dongle (live in the US where we have UAT) and perhaps also RadarBox's  yellow Airband VHF dongle.

I was going to use 1 RPi but was advised against this due to computational needs. So I was going to use 1 RPi to do ADSB and UAT which can be done and 1 RPi for VHF. But RPi's not easy to get.

So I wanted to try to run all 3 on a more powerful PC with i7 to test. Thus I tried to use my laptop with i7 11th gen and Ubuntu 22.04. But this does not look good from what you suggest.

OrangePi looks nice and cheap and available!!!! Armbian also looks good. So I will get 2 x OrangePi

The project below looks interesting too (assuming dump1090 or dump1090-fa installed):
http://gordon.celesta.me/2020/06/27/adsb-multiple-feeds.html

Install FlightAware first to have the mutability fork of dump1090 installed. Feeders two through six can be installed in any order — remembering to configure them to use the already installed dump1090 instead of installing their own.

I would avoid ADSBHub as it operates differently. Rather than installing any dedicated software, their servers connect to the SBS output of dump1090 on port 30003 (TCP). This requires you to port forward 30003 to your Pi.

I have FlightAware, FlightRadar24, RadarBox and ADSBExchange accounts so these may what I try to setup.

Any comments welcome. Thanks.




The install order is

FlightAware: https://flightaware.com/adsb/piaware/install
Flightradar24: https://www.flightradar24.com/share-your-data
Plane Finder: https://forum.planefinder.net/threads/raspberry-pi-b-zero-rpi2-rpi3-rpi4-installation-instructions-for-raspbian-dump1090-data-feeder.241/
AirNav RadarBox: https://www.radarbox.com/sharing-data
OpenSky Network: https://opensky-network.org/community/projects/30-dump1090-feeder
ADS-B Exchange: https://www.adsbexchange.com/how-to-feed/
ADSBHub: https://www.adsbhub.org/howtofeed.php

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: AirNav RadarBox on Ubuntu 22.04 gpg issues
« Reply #4 on: June 18, 2022, 12:54:53 PM »
@paulysa1969
Your plan seems good.

While listing feeders on my OrangePiPC,  I missed to list following which are also installed on it:
  • Adsbexchange feeder
  • Opensky network feeder
  • ADSBHub feeder
  • ModeSMixer2
If you dont want to open a port, you can feed ADSBHub in "Client Mode". This is done by installing their Client on Pi, OR by installing VRS & configuring it as a "Push feed". I have done this by installing ModeSMixer2 on the Pi and configuring it as "Push feed" (--outConnect). The config parameter in ModeSMixer are follows:
Code: [Select]

sudo nano /usr/share/mm2/mm2.conf


Code: [Select]

--inConnect 127.0.0.1:30003
--outConnect msg:data.adsbhub.org:5001
--web 8787
--location 43.5xxx:-79.6xxx


I have installed ModeSMixer2 using the automated install script I have posted on my Github site:

https://github.com/abcd567a/mm2/blob/master/README.md



.
« Last Edit: June 19, 2022, 03:38:49 AM by abcd567 »