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 7120 times)

0 Members and 1 Guest are viewing this topic.

teesvalley spotter

  • New Member
  • *
  • Posts: 11
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #15 on: January 28, 2022, 12:22:15 PM »

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).


I have edited the relevant sections in sudo nano /etc/rbfeeder.ini but it just says MLAT active (No stations synced) I have rebooted the pi


abcd567

  • Hero Member
  • *****
  • Posts: 840
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #16 on: January 29, 2022, 09:29:04 AM »
I have edited the relevant sections in sudo nano /etc/rbfeeder.ini but it just says MLAT active (No stations synced) I have rebooted the pi

Please post output of following command:

Code: [Select]
sudo systemctl status rbfeeder   


teesvalley spotter

  • New Member
  • *
  • Posts: 11
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #17 on: January 29, 2022, 10:07:18 AM »
Quote from: abcd567 link=topic=105631.msg513631#msg513631

Please post output of following command:

[code
sudo systemctl status rbfeeder   

[/code]

Hi. That returns this

rbfeeder.service - RBFeeder Service
     Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-01-27 19:28:42 UTC; 1 day 14h ago
   Main PID: 12619 (rbfeeder)
      Tasks: 10 (limit: 2059)
        CPU: 16min 17.857s
     CGroup: /system.slice/rbfeeder.service
             ├─12619 /usr/bin/rbfeeder
             └─12629 /usr/bin/python3.9 /usr/bin/mlat-client --input-type dump1090 --input-connect 127.0.0.1:32457 --server mlat1.rb24.com:40900 --lat 54.[REMOVED] --lon -1.[REMOVED] --alt 61 --user EXTRPI[REMOVED] --results beast,connect,127.0.>

Jan 29 10:03:53 piaware rbfeeder[12619]: [2022-01-29 10:03:53]  ******** Statistics updated every 60 seconds ********
Jan 29 10:03:53 piaware rbfeeder[12619]: [2022-01-29 10:03:53]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 86826
Jan 29 10:03:53 piaware rbfeeder[12619]: [2022-01-29 10:03:53]  Data sent: 2.5 MB
Jan 29 10:03:53 piaware rbfeeder[12619]: [2022-01-29 10:03:53]  Data received: 93 B
Jan 29 10:04:26 piaware rbfeeder[12619]: failed to rename /dev/shm//rbfeeder_history_66.json.HQcP6o to /dev/shm//rbfeeder_history_66.json: Operation not permitted (122 more error messages suppressed)
Jan 29 10:04:54 piaware rbfeeder[12619]: [2022-01-29 10:04:54]  ******** Statistics updated every 60 seconds ********
Jan 29 10:04:54 piaware rbfeeder[12619]: [2022-01-29 10:04:54]  Packets sent in the last 60 seconds: 2, Total packets sent since startup: 86828
Jan 29 10:04:54 piaware rbfeeder[12619]: [2022-01-29 10:04:54]  Data sent: 2.5 MB
Jan 29 10:04:54 piaware rbfeeder[12619]: [2022-01-29 10:04:54]  Data received: 93 B
Jan 29 10:05:26 piaware rbfeeder[12619]: failed to rename /dev/shm//rbfeeder_history_68.json.Odwozq to /dev/shm//rbfeeder_history_68.json: Operation not permitted (122 more error messages suppressed)
~

abcd567

  • Hero Member
  • *****
  • Posts: 840
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #18 on: January 29, 2022, 01:03:26 PM »
@teesvalley spotter
You have two wrong entries in your file rbfeeder.ini
Please see green arrows in screenshot of my file rbfeeder.ini attached below.


To correct these errors, plase do this:
(1) Open file rbfeeder.ini for editing
Code: [Select]
sudo nano /etc/rbfeeder.ini   

(2) In file opened, under [client]
change
network_mode=false
to
network_mode=true

(3) In file opened, under [network]
change
external_host=192.168.xx.xx
to
external_host=127.0.0.1

(4) Save file (Ctrl+O) and Close (Ctrl+x)
(5) Restart rbfeeder
Code: [Select]

sudo systemctl restart rbfeeder   
(6) Check status
Code: [Select]
sudo systemctl status rbfeeder   



teesvalley spotter

  • New Member
  • *
  • Posts: 11
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #19 on: January 29, 2022, 06:24:57 PM »
Thanks for your help, the MLAT client is now working and syncing

Av8tor_from_Argentina

  • New Member
  • *
  • Posts: 26
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #20 on: February 09, 2022, 05:50:00 PM »
Amazing job gentleman.. Same problem that guys from above, Support from Radarbox24 useless... You guys here helped a lot... seems like RB script from webpage is for buster, not Bullseye.

Now  I´m online again (WORKED ONLY FOPR 5 MINUTES)

After 5 minutes, stopped working... Any clue about this ? I have working FR24, Planefinder, Flightaware perfectly.

@raspberrypi:~ $ sudo rbfeeder --status
[2022-02-09 15:10:39]  Starting RBFeeder Version 0.4.3 (build 20210909231001)
[2022-02-09 15:10:39]  Using configuration file: /etc/rbfeeder.ini
[2022-02-09 15:10:39]  Network-mode enabled.
[2022-02-09 15:10:39]           Remote host to fetch data: 127.0.0.1
[2022-02-09 15:10:39]           Remote port: 30005
[2022-02-09 15:10:39]           Remote protocol: RAW
Error opening the listening port 32458 (Raw TCP output): bind: Address already in use


 less /etc/rbfeeder.ini
disable_log=0

key=xxxxxxxxxxxxxx

sn=EXTRPI0xxxxx

lat=xxxx

lon=xxxx

alt=28

[network]
mode=raw
external_port=30005
external_host=127.0.0.1

[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client

[dump978]
#dump978_enabled=false

less /var/log/rbfeeder.log
[2022-02-09 15:08:22]  Using configuration file: /etc/rbfeeder.ini
[2022-02-09 15:08:22]  Network-mode enabled.
[2022-02-09 15:08:22]           Remote host to fetch data: 127.0.0.1
[2022-02-09 15:08:22]           Remote port: 30005
[2022-02-09 15:08:22]           Remote protocol: RAW
[2022-02-09 15:08:22]  Starting RBFeeder Version 0.4.3 (build 20210909231001)
[2022-02-09 15:08:22]  Using configuration file: /etc/rbfeeder.ini
[2022-02-09 15:08:22]  Network-mode enabled.
[2022-02-09 15:08:22]           Remote host to fetch data: 127.0.0.1
[2022-02-09 15:08:22]           Remote port: 30005
[2022-02-09 15:08:22]           Remote protocol: RAW
[2022-02-09 15:09:19]  Starting RBFeeder Version 0.4.3 (build 20210909231001)
[2022-02-09 15:09:19]  Using configuration file: /etc/rbfeeder.ini
[2022-02-09 15:09:19]  Network-mode enabled.
[2022-02-09 15:09:19]           Remote host to fetch data: 127.0.0.1
[2022-02-09 15:09:19]           Remote port: 30005
[2022-02-09 15:09:19]           Remote protocol: RAW
[2022-02-09 15:10:39]  Starting RBFeeder Version 0.4.3 (build 20210909231001)
[2022-02-09 15:10:39]  Using configuration file: /etc/rbfeeder.ini
[2022-02-09 15:10:39]  Network-mode enabled.
[2022-02-09 15:10:39]           Remote host to fetch data: 127.0.0.1
[2022-02-09 15:10:39]           Remote port: 30005
[2022-02-09 15:10:39]           Remote protocol: RAW


Above, you have logs and ini to see my config. How to know if MLAT client is working for RB24? Is working fine with FR24 and Flightaware...

Help Help.--.

« Last Edit: February 09, 2022, 06:20:55 PM by Av8tor_from_Argentina »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33466
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #21 on: February 09, 2022, 06:37:52 PM »
I know next to nothing regarding Linux but while waiting on abc123 I did note the following error

[network]
mode=raw
external_port=30005
external_host=127.0.0.1

Should be mode=beast

Alan

Av8tor_from_Argentina

  • New Member
  • *
  • Posts: 26
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #22 on: February 10, 2022, 12:17:04 AM »
I know next to nothing regarding Linux but while waiting on abc123 I did note the following error

[network]
mode=raw
external_port=30005
external_host=127.0.0.1

Should be mode=beast

Alan

Alan, thank you for the observation, but that was suggested by Support from RB24. Annoying...

Lets wait for the Wizard of ADS-B


Regards

abcd567

  • Hero Member
  • *****
  • Posts: 840
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #23 on: February 10, 2022, 02:12:09 AM »

@raspberrypi:~ $ sudo rbfeeder --status
[2022-02-09 15:10:39]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

Error opening the listening port 32458 (Raw TCP output): bind: Address already in use

You are using wrong command (sudo rbfeeder --status) to check status. This started 2nd copy of rbfeeder, while 1st copy started by system was already running and using the ports. This resulted in Error message and failure.

Use following command to check status
NOTE:
(1) First in file /etc/rbfeeder.ini, change the error mode=raw to mode=beast
(2) Next save file
(3) Next Reboot RPi
(4) Now issue following command:
Code: [Select]
sudo systemctl status rbfeeder   


 
[network]
mode=raw
external_port=30005
external_host=127.0.0.1

As already pointed out by Alan, mode=raw is wrong. It should be mode=beast.



.

.
« Last Edit: February 10, 2022, 03:24:41 AM by abcd567 »

anorak

  • Hero Member
  • *****
  • Posts: 977
  • support The Devon Air Ambulance Trust
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #24 on: February 16, 2022, 04:13:11 PM »
Hi abcd567, is your Bake a Pi thread the best way to load a Pi, or with the updates is there a better script please?
Thanks, Dave.
Dave. Exmoor, North Devon.

abcd567

  • Hero Member
  • *****
  • Posts: 840
  • CYYZ - Toronto
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #25 on: February 17, 2022, 12:05:08 AM »
Hi abcd567, is your Bake a Pi thread the best way to load a Pi, or with the updates is there a better script please?
Thanks, Dave.

Hi Dave
I have not looked at my "Bake A Pi" howto for a long time. It is 2017 howto, and many changes have taken place during these 5 years. Obviously many procedures given in it most likely have become outdated.

Ok, this weekend (or may be next weekend) I will review it and update it. It may take more than one weekend.

Regards,
abcd

anorak

  • Hero Member
  • *****
  • Posts: 977
  • support The Devon Air Ambulance Trust
Re: How to install RBFeeder with Raspbian Bullseye?
« Reply #26 on: February 17, 2022, 10:43:43 AM »
Don`t worry how long it takes, if any one can, you can.
Your efforts are always appreciated, Dave.
Dave. Exmoor, North Devon.