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

Login with username, password and session length
 


Author Topic: How to install RBFeeder with Raspbian Bullseye?  (Read 20172 times)

0 Members and 1 Guest are viewing this topic.

bgaf

  • New Member
  • *
  • Posts: 13
How to install RBFeeder with Raspbian Bullseye?
« on: November 12, 2021, 10:18:04 PM »
Any idea how to install rbfeeder on the latest Raspbian OS Bullseye image?


abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #1 on: November 14, 2021, 06:35:45 AM »
[EDIT 26-01-2022] This workaround is now NOT required as RB24 has added rbfeeder package to their installation script on 24-01-2022.

To install rbfeeder on the latest Raspbian OS Bullseye image, follow this procedure:

(1) Issue following command to download file inst_rbfeeder.sh
Code: [Select]
wget http://apt.rb24.com/inst_rbfeeder.sh

(2) Open downloaded file for editing by following command
Code: [Select]
sudo nano inst_rbfeeder.sh 

(3) Scroll down the file to the line which starts with:
VERS=

(4) Comment out this line by placing # at its start like below
#VERS=

(5) Below this line type following:
VERS=buster

Please see screenshot below:



(6) Save file (Ctrl +o) and Close (Ctrl+x)

(7) Issue following command to start installation
Code: [Select]
sudo bash inst_rbfeeder.sh 

.

« Last Edit: January 26, 2022, 05:36:53 PM by abcd567 »

bgaf

  • New Member
  • *
  • Posts: 13
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #2 on: November 14, 2021, 01:18:41 PM »
Thank you for the instructions. What about the MLAT client?

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #3 on: November 14, 2021, 07:06:25 PM »
Thank you for the instructions. What about the MLAT client?

First try to install mlat-client by following ccommand:
Code: [Select]
sudo apt-get install mlat-client

Most likely by above command it will get installed and work ok. In case it fails to install or fails to work, build mlat-client from source code.

« Last Edit: November 14, 2021, 07:20:53 PM by abcd567 »

bgaf

  • New Member
  • *
  • Posts: 13
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #4 on: November 14, 2021, 09:39:13 PM »
Thank you once again!

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #5 on: November 15, 2021, 07:42:20 PM »
I tried to install mlat-client on Bullseye, got following:

(1) AFTER installing rbfeeder, gave following command but it failed to install mlat-client
Code: [Select]
sudo apt-get install mlat-client 

(2) Tried to build mlat-client from source-code, using method in following post, but it also failed
https://forum.radarbox24.com/index.php?topic=101771.msg407051#msg407051

(3) Modified the procedure to suite Bullseye by adding command "sudo apt-get install -y dh-python"  just before the command "sudo dpkg-buildpackage -b -uc". This succeeded .

The finished procedure for building mlat-client from source-code on BULLSEYE is as follows: 

PROCEDURE FOR BUILDING & INSTALLING MLAT-CLIENT ON BULLSEYE
Code: [Select]
## Installed required packages (dependencies and build tools)
sudo apt update -y
sudo apt-get install -y git curl build-essential debhelper python-dev python3-dev

## Downloaded source code
cd /home/pi/ 
git clone https://github.com/mutability/mlat-client.git 

## Built mlat-client's installation package
cd /home/pi/mlat-client 
sudo apt-get install -y dh-python 
sudo dpkg-buildpackage -b -uc 

## Above command took some time to build package. After the package was built, installed it by following command
cd /home/pi/ 
sudo dpkg -i mlat-client_*.deb 
« Last Edit: November 15, 2021, 07:46:54 PM by abcd567 »

bgaf

  • New Member
  • *
  • Posts: 13
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #6 on: November 16, 2021, 11:17:39 AM »
Maybe it's better to wait some more time for the companies to build their packages for Bullseye...

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #7 on: November 17, 2021, 12:32:53 AM »
Maybe it's better to wait some more time for the companies to build their packages for Bullseye...

Yes, you are right. At this stage there is no advantage of switching from Buster to Bullseye as Buster is still fully supported.

However just for the sake of experimenting, couple of days ago I installed Raspberry Pi OS Bullseye, and on it successfully installed all feeders.

(1) dump1090-fa and piaware: The Buster packages from Flightaware fail to install on Bullseye. I built these on Bullseye using automated install scripts I have posted on Github.

https://github.com/abcd567a/piaware-ubuntu20-amd64/blob/master/README.md


(2a) Radarbox24 feeder: The Bullseye package is not yet available. Installed available Buster package by method I have posted above. In this method, I have modified the installation script to trick it to think the OS is Buster, and it installs the available Buster package

(2b) mlat-client: The available Buster package fails to install on Bullseye. I built it on Bullseye from source code using method posted above.

(3) Flightradar24 feeder: Installed Buster package on Bullseye  by following command
Code: [Select]
sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"


(4) Planefinder feeder: Installed Buster package on Bullseye by following commands
Code: [Select]
wget http://client.planefinder.net/pfclient_5.0.161_armhf.deb
sudo dpkg -i pfclient_5.0.161_armhf.deb


(5) Adsbexchange: Installed on Bullseye by following commands
Code: [Select]
wget -O /tmp/axfeed.sh https://adsbexchange.com/feed.sh
sudo bash /tmp/axfeed.sh


(6) Graphs: Installed on Bullseye by following command
Code: [Select]
sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"


 

« Last Edit: November 17, 2021, 03:34:38 AM by abcd567 »

cbdagency

  • New Member
  • *
  • Posts: 5
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #8 on: January 06, 2022, 05:24:18 PM »
Did you mean it like you posted it or did you mean (5) Below this line type following:
VERS=bullseye

?
 
To install rbfeeder on the latest Raspbian OS Bullseye image, follow this procedure:

(1) Issue following command to download file inst_rbfeeder.sh
Code: [Select]
wget http://apt.rb24.com/inst_rbfeeder.sh

(2) Open downloaded file for editing by following command
Code: [Select]
sudo nano inst_rbfeeder.sh 

(3) Scroll down the file to the line which starts with:
VERS=

(4) Comment out this line by placing # at its start like below
#VERS=

(5) Below this line type following:
VERS=buster

Please see screenshot below:



(6) Save file (Ctrl +o) and Close (Ctrl+x)

(7) Issue following command to start installation
Code: [Select]
sudo bash inst_rbfeeder.sh 

.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #9 on: January 06, 2022, 10:21:27 PM »
Did you mean it like you posted it or did you mean (5) Below this line type following:
VERS=bullseye

?

I meant exactly what I wrote in my post i.e. following:

VERS=buster

The reason is that RB24 has not (yet) released their feeder for Bullseye.  When install script detects OS version is bullseye,  it cannot find rbfeeder for it and fails and exits with complaint "don't know how to install for ".

By adding line VERS=buster,  the install script is cheated to think OS is buster,  and installs the available package for buster.  Luckily the package for buster works on bullseye also,  so this cheat works.  :)

.
« Last Edit: January 06, 2022, 10:37:02 PM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #10 on: January 25, 2022, 10:16:46 PM »
RB24 have now added bullseye repository and rbfeeder's bullseye package is available now. Now there is no need for any workaround. Just run the normal installation command,  and it will install it.

Code: [Select]

sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)" 




.
« Last Edit: January 25, 2022, 10:18:22 PM by abcd567 »

teesvalley spotter

  • New Member
  • *
  • Posts: 11
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #11 on: January 26, 2022, 02:52:58 PM »
RB24 have now added bullseye repository and rbfeeder's bullseye package is available now. Now there is no need for any workaround. Just run the normal installation command,  and it will install it.

Code: [Select]

sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)" 




.

Do we know how to get the mlat client working on Bullseye? I have tried just about all commands and am unable to get to a screen where I enter my lon, lat etc to set it up

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #12 on: January 26, 2022, 04:50:51 PM »
Do we know how to get the mlat client working on Bullseye? I have tried just about all commands and am unable to get to a screen where I enter my lon, lat etc to set it up

@teesvalley spotter: Please scroll down to end of this post and see NOTE 2 to get answer to your question.


@all-other-users:
Although RB24 have yesterday added rbfeeder for Bullseye to their repository and install-script, but unfortunately missed adding mlat-client package to their Bullseye repository.

Hopefully they will add it soon, and then you can simply install it by following command
Code: [Select]
sudo apt install mlat-client

Currently the above command gives following output:
Code: [Select]
E: Unable to locate package mlat-client

You have 3 options:

OPTION-1: Wait till RB24 adds mlat-client to their Bullseye repository

OPTION-2: Build mlat-client on your RPi from source-code - This requires installation of many building-tool packages on your RPi.

OPTION-3: Install it from my Github site. This is fast & does not require installing any building-tool packages on your RPi. Please go to page linked below and use following option:
(1) Package for Raspi OS BULLSEYE (32-bit)

https://github.com/abcd567a/mlat-client-package/blob/master/README.md



NOTE:
(1) After installing mlat-client, do not forget to restart rbfeeder by following command:
Code: [Select]
sudo systemctl restart rbfeeder 


(2) You have to set your receiver's Latitude, longitude and altitude (above sea level, in meters) in file /etc/rbfeeder.ini (please see screenshot below). Mlat wont work without setting these parameters.

Code: [Select]
sudo nano /etc/rbfeeder.ini 
« Last Edit: January 26, 2022, 05:44:14 PM by abcd567 »

teesvalley spotter

  • New Member
  • *
  • Posts: 11
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #13 on: January 27, 2022, 07:32:39 PM »
Do we know how to get the mlat client working on Bullseye? I have tried just about all commands and am unable to get to a screen where I enter my lon, lat etc to set it up

@teesvalley spotter: Please scroll down to end of this post and see NOTE 2 to get answer to your question.


@all-other-users:
Although RB24 have yesterday added rbfeeder for Bullseye to their repository and install-script, but unfortunately missed adding mlat-client package to their Bullseye repository.

Hopefully they will add it soon, and then you can simply install it by following command
Code: [Select]
sudo apt install mlat-client

Currently the above command gives following output:
Code: [Select]
E: Unable to locate package mlat-client

You have 3 options:

OPTION-1: Wait till RB24 adds mlat-client to their Bullseye repository

OPTION-2: Build mlat-client on your RPi from source-code - This requires installation of many building-tool packages on your RPi.

OPTION-3: Install it from my Github site. This is fast & does not require installing any building-tool packages on your RPi. Please go to page linked below and use following option:
(1) Package for Raspi OS BULLSEYE (32-bit)

https://github.com/abcd567a/mlat-client-package/blob/master/README.md



NOTE:
(1) After installing mlat-client, do not forget to restart rbfeeder by following command:
Code: [Select]
sudo systemctl restart rbfeeder 


(2) You have to set your receiver's Latitude, longitude and altitude (above sea level, in meters) in file /etc/rbfeeder.ini (please see screenshot below). Mlat wont work without setting these parameters.

Code: [Select]
sudo nano /etc/rbfeeder.ini 

Hi. I have followed your code but don't seem to get far. I get to this, at which point it stops


abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #14 on: January 27, 2022, 08:44:48 PM »

Hi. I have followed your code but don't seem to get far. I get to this, at which point it stops

(1) Your screenshot shows that mlat-client has been installed successfuly, and installation process has stopped at right point.

Now follow NOTE (2) of my "How-to" post, (i.e. edit file /etc/rbfeeder.ini and add your latitude, longitude and altitude, then save file, then restart rbfeeder (or reboor Pi).

(2) Please do NOT quote my entire and very long "How-to" post when you ask sonething. This makes it hard for others to brows the thread.

.
« Last Edit: January 27, 2022, 09:28:39 PM by abcd567 »