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

Login with username, password and session length
 


Author Topic: UAT978 connected no data transmitted  (Read 14909 times)

0 Members and 1 Guest are viewing this topic.

Rotex43

  • New Member
  • *
  • Posts: 7
UAT978 connected no data transmitted
« on: March 13, 2022, 05:51:50 PM »
UAT978 installed on pi os bullseye, rbfeeder status shows connected with Dump978-rb disabled. When Dump978-rb is enabled, status shows unable to access 978. 978 dongle is only device connected, no 1090 device connected. The 978UAT has been configured with serial 00000401 to match Dump978-rb. RadarBox shows connected but no data received.
I find no Dump1090 installed on computer, even though when trying various settings the status show Dump1090 enabled.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34086
Re: UAT978 connected no data transmitted
« Reply #1 on: March 13, 2022, 07:26:22 PM »
Have a read at this thread Rotex https://forum.radarbox24.com/index.php?topic=105891.0

Could you post your ini file with your details redacted

Alan
« Last Edit: March 13, 2022, 08:09:05 PM by Runway 31 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: UAT978 connected no data transmitted
« Reply #2 on: March 13, 2022, 10:37:48 PM »
UAT978 installed on pi os bullseye, rbfeeder status shows connected with Dump978-rb disabled. When Dump978-rb is enabled, status shows unable to access 978. 978 dongle is only device connected, no 1090 device connected. The 978UAT has been configured with serial 00000401 to match Dump978-rb. RadarBox shows connected but no data received.


Please post output of following command:

Code: [Select]
cat /etc/rbfeeder.ini   



I find no Dump1090 installed on computer, even though when trying various settings the status show Dump1090 enabled.

This is the dump1090 capsuled inside rbfeeder, and is not visible as an stand-alone application.

If you want to stop the capsuled dump1090, do following:
In file /etc/rbfeeder.ini make setting like below:
[client]
network_mode=true

Also remove # at start of following setting
[dump978]
#dump978_enabled=true 

So it becomes:
[dump978]
dump978_enabled=true

After making changes, Save file /etc/rbfeeder.ini
Do not forget to restart rbfeeder
sudo systemctl restart rbfeeder



« Last Edit: March 13, 2022, 10:42:06 PM by abcd567 »

Rotex43

  • New Member
  • *
  • Posts: 7
Re: UAT978 connected no data transmitted
« Reply #3 on: March 14, 2022, 02:29:32 AM »
Runway31 / abcd456

As requested, see attached

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34086
Re: UAT978 connected no data transmitted
« Reply #4 on: March 14, 2022, 10:14:59 AM »
I note that you had it working initially with only 20 miles range, did you change anything?

I also not that you have sent back 1,650 UAT packets

Alan
« Last Edit: March 14, 2022, 10:30:17 AM by Runway 31 »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34086
Re: UAT978 connected no data transmitted
« Reply #5 on: March 14, 2022, 10:31:54 AM »
abcd

Just to clarify for me, I thought that making network_mode=true would start it and network_mode=false would stop it, is that not the case

Alan
« Last Edit: March 14, 2022, 10:38:03 AM by Runway 31 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: UAT978 connected no data transmitted
« Reply #6 on: March 14, 2022, 02:09:26 PM »
abcd

Just to clarify for me, I thought that making network_mode=true would start it and network_mode=false would stop it, is that not the case

Alan

Making network_mode=true will STOP the rbfeeder's capsuled dump1090. The rbfeeder will then connect to feed from another source such as dump1090-fa or dump1090-mutability.

Making network_mode=false will START the rbfeeder's capsuled dump1090, and rbfeeder will use feed from it. The rbfeeder will NOT connect to feed from another source such as dump1090-fa or dump1090-mutability.

The dump978-rb does not get controlled by network_mode=true/false. It works if dump978_enabled=true, and stops working if dump978_enabled=false


.
« Last Edit: March 14, 2022, 02:24:36 PM by abcd567 »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34086
Re: UAT978 connected no data transmitted
« Reply #7 on: March 14, 2022, 02:52:43 PM »
Many thanks abcd.  I understood the 978 part

Alan

Rotex43

  • New Member
  • *
  • Posts: 7
Re: UAT978 connected no data transmitted
« Reply #8 on: March 14, 2022, 07:01:21 PM »
I note that you had it working initially with only 20 miles range, did you change anything?

I also not that you have sent back 1,650 UAT packets

Alan

The 978 worked for about 2hrs after installing rbfeeder using default config, the data feed stopped and resumed for a short time then quit. This occurred without any changes. As I recall the rbfeeder.ini that was created the 978 was not enabled.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34086
Re: UAT978 connected no data transmitted
« Reply #9 on: March 14, 2022, 07:14:25 PM »
Maybe abcd can come up with something for you as I am not up on Pi's

Alan

Rotex43

  • New Member
  • *
  • Posts: 7
Re: UAT978 connected no data transmitted
« Reply #10 on: March 14, 2022, 07:19:53 PM »
Looking at the dump978-rb config file line 2 "This is sourced by /usr/share/dump978-rb/start-dump978-rb as a shellscript fragment",
The /usr/share/ folder does not show dump978=rb folder. Am I missing something?

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: UAT978 connected no data transmitted
« Reply #11 on: March 15, 2022, 03:08:52 AM »
what are outputs of following commands?
Code: [Select]
apt-cache policy dump978-rb

sudo systemctl status dump978-rb 

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: UAT978 connected no data transmitted
« Reply #12 on: March 15, 2022, 04:20:03 AM »
Code: [Select]
pi@raspberrypi:~ $ sudo nano /etc/default/dump978-rb

# dump978-rb configuration
# This is sourced by /usr/share/dump978-rb/start-dump978-rb as a
# shellscript fragment.

# dump978-rb won't automatically start unless ENABLED=yes
ENABLED=yes

RECEIVER_OPTIONS="--sdr driver=rtlsdr,serial=00000401 --sdr-auto-gain --format CS8"
DECODER_OPTIONS=""
NET_OPTIONS="--raw-port 30978 --json-port 28380"


Code: [Select]
pi@raspberrypi:~ $ sudo nano /usr/share/dump978-rb/start-dump978-rb

#!/bin/sh

# Helper script that reads /etc/default/dump978-rb
# and either starts dump1090-fa with the configured
# arguments, or exits with status 64 to tell systemd
# not to auto-restart the service.

if [ -f /etc/default/dump978-rb ]
then
    . /etc/default/dump978-rb
fi

if [ "x$ENABLED" != "xyes" ]
then
    echo "dump978-rb not enabled in /etc/default/dump978-rb" >&2
    exit 64
fi

exec /usr/bin/dump978-rb \
     $RECEIVER_OPTIONS $DECODER_OPTIONS $NET_OPTIONS \
     "$@"
# exec failed, do not restart
exit 64



Code: [Select]
pi@raspberrypi:~ $ sudo systemctl status rbfeeder

● rbfeeder.service - RBFeeder Service
     Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-03-15 03:42:17 GMT; 39min ago
lines 1-3...skipping...
● rbfeeder.service - RBFeeder Service
     Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-03-15 03:42:17 GMT; 39min ago
    Process: 429 ExecStartPre=/bin/mkdir /var/run/rbfeeder (code=exited, status=0/SUCCESS)
    Process: 481 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
    Process: 488 ExecStartPre=/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 503 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 509 ExecStartPre=/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
    Process: 516 ExecStartPre=/bin/setfacl -m u:www-data:rwx /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
   Main PID: 520 (rbfeeder)
      Tasks: 13 (limit: 4915)
        CPU: 9min 32.860s
     CGroup: /system.slice/rbfeeder.service
             ├─520 /usr/bin/rbfeeder
             ├─28656 /usr/bin/python3.9 /usr/bin/mlat-client --input-type dump1090 --input-connect 127.0.0.1:32457 --server mlat1.rb24.com:40900 --lat 43.5xxxx --lon -79.6xxxx --alt 155 --user EXTRPI000036 --results beast,connect,127.0.0.1:32004
             └─630 /usr/bin/dump1090-rb --write-json /dev/shm/ --net --quiet --mlat --forward-mlat --net-bo-port 30105 --lat 43.5xxxx --lon -79.6xxxx --modeac --fix --adaptive-burst --adaptive-range --gnss

Mar 15 04:19:08 raspberrypi rbfeeder[520]: [2022-03-15 04:19:08]  Data sent: 379.3 KB
Mar 15 04:19:08 raspberrypi rbfeeder[520]: [2022-03-15 04:19:08]  Data received: 31 B
Mar 15 04:20:09 raspberrypi rbfeeder[520]: [2022-03-15 04:20:09]  ******** Statistics updated every 60 seconds ********
Mar 15 04:20:09 raspberrypi rbfeeder[520]: [2022-03-15 04:20:09]  Packets sent in the last 60 seconds: 253, Total packets sent since startup: 11680
Mar 15 04:20:09 raspberrypi rbfeeder[520]: [2022-03-15 04:20:09]  Data sent: 387.5 KB
Mar 15 04:20:09 raspberrypi rbfeeder[520]: [2022-03-15 04:20:09]  Data received: 31 B
Mar 15 04:21:10 raspberrypi rbfeeder[520]: [2022-03-15 04:21:10]  ******** Statistics updated every 60 seconds ********
Mar 15 04:21:10 raspberrypi rbfeeder[520]: [2022-03-15 04:21:10]  Packets sent in the last 60 seconds: 251, Total packets sent since startup: 11931
Mar 15 04:21:10 raspberrypi rbfeeder[520]: [2022-03-15 04:21:10]  Data sent: 396.1 KB
Mar 15 04:21:10 raspberrypi rbfeeder[520]: [2022-03-15 04:21:10]  Data received: 31 B



Code: [Select]
pi@raspberrypi:~ $ sudo systemctl status dump978-rb

● dump978-rb.service - dump978 ADS-B UAT receiver
     Loaded: loaded (/lib/systemd/system/dump978-rb.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-03-15 03:42:17 GMT; 33min ago
lines 1-3...skipping...
● dump978-rb.service - dump978 ADS-B UAT receiver
     Loaded: loaded (/lib/systemd/system/dump978-rb.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-03-15 03:42:17 GMT; 33min ago
       Docs: https://www.radarbox.com
   Main PID: 534 (dump978-rb)
      Tasks: 4 (limit: 4915)
        CPU: 4min 16.470s
     CGroup: /system.slice/dump978-rb.service
             └─534 /usr/bin/dump978-rb --sdr driver=rtlsdr,serial=00000401 --sdr-auto-gain --format CS8 --raw-port 30978 --json-port 28380

Mar 15 03:42:18 raspberrypi dump978-rb[534]: Found Rafael Micro R820T tuner
Mar 15 03:42:19 raspberrypi dump978-rb[534]: Reattached kernel driver
Mar 15 03:42:19 raspberrypi dump978-rb[534]: Detached kernel driver
Mar 15 03:42:19 raspberrypi dump978-rb[534]: Found Rafael Micro R820T tuner
Mar 15 03:42:19 raspberrypi dump978-rb[534]: Exact sample rate is: 2083333.135571 Hz
Mar 15 03:42:19 raspberrypi dump978-rb[534]: [R82XX] PLL not locked!
Mar 15 03:42:19 raspberrypi dump978-rb[534]: SoapySDR: using automatic gain
Mar 15 03:42:19 raspberrypi dump978-rb[534]: SoapySDR: using stream setting buffsize=262144
Mar 15 03:42:19 raspberrypi dump978-rb[534]: Allocating 15 zero-copy buffers
Mar 15 03:42:20 raspberrypi dump978-rb[534]: 0.0.0.0:28380: accepted a connection from 127.0.0.1:59588



.
« Last Edit: March 15, 2022, 06:11:17 AM by abcd567 »

Rotex43

  • New Member
  • *
  • Posts: 7
Re: UAT978 connected no data transmitted
« Reply #13 on: March 15, 2022, 01:39:30 PM »
what are outputs of following commands?
Code: [Select]
apt-cache policy dump978-rb

sudo systemctl status dump978-rb 
pi@raspberrypi:~ $ apt-cache policy dump978-rb
dump978-rb:armhf:
  Installed: (none)
  Candidate: 1.0.2+deb11
  Version table:
     1.0.2+deb11 500
        500 https://apt.rb24.com bullseye/main armhf Packages
        100 /var/lib/dpkg/status
pi@raspberrypi:~ $ sudo systemctl status dump978-rb
● dump978-rb.service
     Loaded: masked (Reason: Unit dump978-rb.service is masked.)
     Active: inactive (dead)
pi@raspberrypi:~ $
 
It appears that nothing is working.




Rotex43

  • New Member
  • *
  • Posts: 7
Re: UAT978 connected no data transmitted
« Reply #14 on: March 15, 2022, 01:59:55 PM »
abcd
 reviewing your last:
The dump978-rb matches mine
The edit command for "/usr/share/dump978-rb/start-dump978-rb" returns directory does not exist.

So question should I creat a folder and file to match your post of the start-dump978-rb file?