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

Login with username, password and session length
 


Author Topic: Radarbox Raspberry Pi not sending data  (Read 5468 times)

0 Members and 1 Guest are viewing this topic.

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #15 on: August 20, 2022, 08:28:22 PM »
Here's the output to all of that:
pi@raspberrypiRB24:~ $ sudo systemctl stop rbfeeder dump978-rb dump978-fa dump10                                                                                        90-mutability
Failed to stop dump978-fa.service: Unit dump978-fa.service not loaded.
pi@raspberrypiRB24:~ $ rtl_test -t
No supported devices found.


Problems with the Flightstick, you think?

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #16 on: August 20, 2022, 08:58:42 PM »
Changed the Flightstick.

Please see the output in the attached text file. Unable to post it in the dialogue box here since the system marks it forbidden/spam


abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #17 on: August 20, 2022, 09:11:41 PM »
Changed the Flightstick.

Please see the output in the attached text file. Unable to post it in the dialogue box here since the system marks it forbidden/spam

Code: [Select]
pi@raspberrypiRB24:~ $ rtl_test -t
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.

This new stick is OK. Keeping it plugged in, do following:


(1) Issue following commands to eliminate the bug in dump1090-mutability
Code: [Select]
sudo usermod -a -G plugdev dump1090

sudo reboot


(2) edit file "rbfeeder.ini"
Code: [Select]
sudo nano /etc/rbfeeder.ini   

In this file, under [client], change "network_mode=false" to "network_mode=true" and save file.

(3) Restart rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder

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

(5) Check dump1090-mutability map at following address in your browser

IP-of-Pi/dump1090/gmap.html 


.

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #18 on: August 20, 2022, 09:52:16 PM »
Completed all tests.

Please see the attached text file and requesting further assistance

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #19 on: August 20, 2022, 10:09:40 PM »
Thank you, abcd567. That is very helpful!

Here are the outputs of apt-cache policy dump978-rb and apt-cache policy dump978-fa:

pi@raspberrypiRB24:~ $ apt-cache policy dump978-rb
dump978-rb:
  Installed: 1.0.2+deb11
  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@raspberrypiRB24:~ $ apt-cache policy dump978-fa
N: Unable to locate package dump978-fa

I'm presuming that dump978-rb is installed and needs to be removed? Would you please guide me on how that needs to be done?

Indeed it is installed.
Look at following output lines of command "apt-cache policy dump978-rb":

dump978-rb:
  Installed: 1.0.2+deb11

To completely remove dump978-rb and all its configuration, use command below:
Code: [Select]
sudo apt purge dump978-rb 

sudo reboot 

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #20 on: August 20, 2022, 10:14:33 PM »
Completed all tests.

Please see the attached text file and requesting further assistance


Code: [Select]
Aug 21 03:12:27 raspberrypiRB24 rbfeeder[820]: [2022-08-21 03:12:27]  Can't connect to 978 source (127.0.0.1:28380). Waiting 5 second...
Aug 21 03:12:32 raspberrypiRB24 rbfeeder[820]: [2022-08-21 03:12:32]  Can't connect to 978 source (127.0.0.1:28380). Waiting 5 second...


After you uninstall  dump978-rb (by purge command), and reboot your Pi, above warning in status output of rbfeeder will disappear.

If this warning is stubborn and does not disappear, edit file /etc/rbfeeder.ini.

In line under [dump978], do following:
(1) Delete # at start of line
(2) change true to false

[dump978]
#dump978_enabled=true

It will become like this:

[dump978]
dump978_enabled=false

Save file

Restart rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder   




.


« Last Edit: August 20, 2022, 10:29:03 PM by abcd567 »

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #21 on: August 20, 2022, 10:22:35 PM »
Thank you!

Completed as instructed.

Please see the attached text file

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #22 on: August 20, 2022, 10:32:27 PM »
Thank you!

Completed as instructed.

Please see the attached text file

Quote
Thank you!

Completed as instructed.

The output of apt-cache policy dump978-rb is now:
dump978-rb:
  Installed: (none)
  Candidate: 1.0.2+deb11
  Version table:
     1.0.2+deb11 500
        500 https://apt.rb24.com bullseye/main armhf Packages

And, status no longer shows "Can't connect to 978 source"


Great!
Congratulations.


.

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #23 on: August 20, 2022, 10:34:56 PM »
Thank you so much for all your help and your efforts. Deeply appreciate

Namaste from India

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #24 on: August 20, 2022, 10:43:28 PM »
Thank you so much for all your help and your efforts. Deeply appreciate

Namaste from India

I am glad that I was able to solve your problem.

Map does not shows any flights. May be it is late night hour you dont have any flights in your area at this time. Check again after few hours when flights are there.
« Last Edit: August 20, 2022, 10:47:21 PM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #25 on: August 20, 2022, 10:57:41 PM »
Quote
And, the output of IP-of-Pi/dump1090/gmap.html:

A map of Europe opens up (I'm located in southern India)
Error message: "Problem fetching data from dump1090.
AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
The displayed map data will be out of date."


Drag the dump1090-mutability map to your location in India. Do you see any planes on Map and in Table on right side? If not, and you still see yellow warning rectangle "AJAX call failed", reboot Pi and check dump1090-mutability Map again. Do you see plane? If not, and AJAX warning is still there, then post output of following commands

Code: [Select]
cat /etc/default/dump1090-mutability | grep START_DUMP1090 

Code: [Select]
sudo systemctl status dump1090-mutability   

Code: [Select]
sudo journalctl -u dump1090-mutability -n 20


.
« Last Edit: August 21, 2022, 02:19:10 AM by abcd567 »

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #26 on: August 22, 2022, 02:48:16 AM »
Hello!

I was hoping that we'd see the end of this problem. However, I'm back to where I've started off. I waited for a day to see if things would set themselves right after all the tinkering we did, but, it hasn't :(

The station continues to be online. However, no data is being sent!

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Radarbox Raspberry Pi not sending data
« Reply #27 on: August 22, 2022, 03:22:07 AM »
Hello!

I was hoping that we'd see the end of this problem. However, I'm back to where I've started off. I waited for a day to see if things would set themselves right after all the tinkering we did, but, it hasn't :(

The station continues to be online. However, no data is being sent!

Attached is the map (ip-of-pi/dump1099/gmap.html) you should see, if dump1099-mutability is working ok. There will be aircraft on map, and list of aircrft in table at right of map

On map (ip-of-pi/dump1090/gmap.html), do you still see yellow warning rectangle "AJAX call failed"?

If yes, then reboot Pi and check dump1090-mutability Map again. Do you see planes? If not, and AJAX warning is still there, then post output of following commands

Code: [Select]
cat /etc/default/dump1090-mutability | grep START_DUMP1090

Code: [Select]
sudo systemctl status dump1090-mutability   

Code: [Select]
sudo journalctl -u dump1090-mutability -n 20   
« Last Edit: August 22, 2022, 03:33:53 AM by abcd567 »

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #28 on: August 22, 2022, 03:28:36 AM »
Yes, I see the yellow warning rectangle "AJAX call failed"

I did reboot the Pi. But, nothing has changed. I do not see any planes.

Please see the text message with the outputs

Do you suggest I format the SD card and do a fresh install?

rakeshvanamali

  • New Member
  • *
  • Posts: 20
Re: Radarbox Raspberry Pi not sending data
« Reply #29 on: August 22, 2022, 03:38:28 AM »
I think I may have found the problem

I did sudo systemctl stop rbfeeder dump978-rb dump978-fa dump10  and it still shows "no supported devices found"

Could this be it?

But, this is strange, I've tried two different sticks so far, both of which work just fine with other feeders