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

Login with username, password and session length
 


Author Topic: RBfeeder not feeding  (Read 9623 times)

0 Members and 3 Guests are viewing this topic.

traian.niolau

  • New Member
  • *
  • Posts: 2
RBfeeder not feeding
« on: February 18, 2024, 10:23:20 AM »
Hi. I am a complete noob when it comes to Linux so some patience would be appreciated.

I have rpi 4 with Raspberry Pi OS with dump 1090-fa that currently feeds fr24, flightaware, planefinder and adsb-x.

I followed abcd567's post and installed the bullseye build of rbfeeder on bookworm but for some reason that I don't know/understant, it doesn't feed anything to RadarBox.
Code: [Select]
pi@raspberry:~ $ sudo systemctl status rbfeeder   
● rbfeeder.service - RBFeeder Service
     Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-02-17 20:22:41 EET; 15h ago
    Process: 108159 ExecStartPre=/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
    Process: 108160 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
    Process: 108161 ExecStartPre=/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 108163 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 108166 ExecStartPre=/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
    Process: 108167 ExecStartPre=/bin/setfacl -m u:www-data:rwx /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
   Main PID: 108168 (rbfeeder)
      Tasks: 10 (limit: 1578)
        CPU: 1min 28.989s
     CGroup: /system.slice/rbfeeder.service
             ├─108168 /usr/bin/rbfeeder
             └─108177 /usr/bin/python3 /usr/bin/mlat-client --input-type dump1090 --input-connect 127.0.0.1:32457 --server mlat1.rb24.com:40900 --lat *EDITED* --lon *EDITED* --alt 336 --user EXTRPI599341>

Feb 18 12:17:42 raspberry rbfeeder[108177]: Sun Feb 18 12:17:42 2024 Input connected to 127.0.0.1:32457
Feb 18 12:17:42 raspberry rbfeeder[108177]: Sun Feb 18 12:17:42 2024 Input format changed to BEAST, 12MHz clock
Feb 18 12:18:25 raspberry rbfeeder[108168]: [2024-02-18 12:18:25]  ******** Statistics updated every 60 seconds ********
Feb 18 12:18:25 raspberry rbfeeder[108168]: [2024-02-18 12:18:25]  Packets sent in the last 60 seconds: 2, Total packets sent since startup: 1133
Feb 18 12:18:25 raspberry rbfeeder[108168]: [2024-02-18 12:18:25]  Data sent: 9.9 KB
Feb 18 12:18:25 raspberry rbfeeder[108168]: [2024-02-18 12:18:25]  Data received: 62 B
Feb 18 12:19:26 raspberry rbfeeder[108168]: [2024-02-18 12:19:26]  ******** Statistics updated every 60 seconds ********
Feb 18 12:19:26 raspberry rbfeeder[108168]: [2024-02-18 12:19:26]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 1134
Feb 18 12:19:26 raspberry rbfeeder[108168]: [2024-02-18 12:19:26]  Data sent: 9.9 KB
Feb 18 12:19:26 raspberry rbfeeder[108168]: [2024-02-18 12:19:26]  Data received: 62 B
lines 1-26/26 (END)

Code: [Select]
[client]
network_mode=true
log_file=/var/log/rbfeeder.log

key=*EDITED*

sn=EXTRPI599341

lat=*EDITED*

lon=*EDITED*

alt=336

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

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

[dump978]
#dump978_enabled=true

Code: [Select]
pi@raspberry:~ $ sudo nano /etc/default/dump1090-fa

  GNU nano 7.2                                                                               /etc/default/dump1090-fa                                                                                         
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=

# Turn on options to reduce load on slower CPUs, at the expense of slightly worse decoder performance.
# Setting "auto" will enable these options only if the CPU appears to be a slow CPU (currently this
# means armv6 only, e.g. Pi Zero)
SLOW_CPU=auto
# Local wisdom file used to select DSP implementations; uses built-in ranking if the file is missing
WISDOM=/etc/dump1090-fa/wisdom.local

# Correct CRC errors where possible
ERROR_CORRECTION=yes

# Receiver location, used for some types of position decoding. Provide the location as
# signed decimal degrees. If not given here, dump1090 will also try to read a receiver
# location from /var/cache/piaware/location.env (written automatically by PiAware, if installed)
RECEIVER_LAT=
RECEIVER_LON=
# Maximum range, in NM. Positions more distant than this are ignored. No limit if not set.
MAX_RANGE=360

# Network ports to listen on for connections
NET_RAW_INPUT_PORTS=
NET_RAW_OUTPUT_PORTS=30002
NET_SBS_OUTPUT_PORTS=30003
NET_BEAST_INPUT_PORTS=30004,30104
NET_BEAST_OUTPUT_PORTS=30005

# Accuracy of location written to JSON output
JSON_LOCATION_ACCURACY=1

# Additional options can be added here:
EXTRA_OPTIONS=""

# If OVERRIDE_OPTIONS is set, only those options are used; all other options
# in this config file are ignored.
OVERRIDE_OPTIONS=""

# This is a marker to make it easier for scripts to identify a v6-style config file
CONFIG_STYLE=6

Code: [Select]
receiver="beast-tcp"
fr24key="*EDITED*"
host="127.0.0.1:30005"
bs="no"
raw="yes"
procargs="procargs="--gain -10 --net"
mpx="no"
mlat="yes"
mlat-without-gps="yes"

« Last Edit: February 18, 2024, 12:27:32 PM by traian.niolau »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: RBfeeder not feeding
« Reply #1 on: February 18, 2024, 02:12:03 PM »
Your settings of rbfeeder are OK.
Seems dump1090-fa is not producing any data.

Please post output of following commands which will show if dump1090-fa is producing data for use by rbfeeder, fr24feed and piaware:

Code: [Select]

sudo systemctl status dump1090-fa     

sudo journalctl -u piaware -n 25     

sudo fr24feed-status   


« Last Edit: February 18, 2024, 02:17:12 PM by abcd567 »

traian.niolau

  • New Member
  • *
  • Posts: 2
Re: RBfeeder not feeding
« Reply #2 on: February 18, 2024, 02:32:17 PM »
Thanks for the help! I have no ideea what happened, but it suddenly started working after a reboot. Thanks a lot though.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: RBfeeder not feeding
« Reply #3 on: February 18, 2024, 03:51:31 PM »
Thanks for the help! I have no ideea what happened, but it suddenly started working after a reboot. Thanks a lot though.

Glad to know your problem is solved.

Reboot solves lot of issues, as it stops then re-starts all the processes & Apps.

It appears dump1090-fa has stopped working or malfunctioning, and its restart by reboot has fixed the problem. :)