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

Login with username, password and session length
 


Author Topic: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]  (Read 21862 times)

0 Members and 1 Guest are viewing this topic.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #15 on: May 25, 2019, 10:03:00 PM »
abcd567, reinstalling does not help at all, i tried several times different ways.
OK I have now downloaded DietPi_RPi-ARMv6-Stretch.img.
Will write it to spare microSD card, slip into RPi 2, and install dump1090-fa (do you have dump1090-fa or mutability???), then install fr24feed, piaware, and rbfeeder and see if the issue is specific to DietPi

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #16 on: May 25, 2019, 11:30:42 PM »
SOMETHING WRONG WITH DIETPI

Quote

 ─────────────────────────────────────────────────────
 DietPi v6.24.1 : 00:20 - Sun 26/05/19
 ─────────────────────────────────────────────────────
 - Device model : RPi 2 Model B (armv7l)
 - CPU temp : 51'C : 123'F (Running warm, but safe)
 - LAN IP : 192.168.0.21 (eth0)
 - MOTD : Check out our new RPi Buster image: https://dietpi.com/downloads/testing/
   NB: For testing only, or if you like to stay on bleeding edge ;).
 ─────────────────────────────────────────────────────

 DietPi Team     : MichaIng (lead), Daniel Knight (founder)
 Image           : DietPi Core Team (pre-image: Raspbian Lite)
 Web             : https://DietPi.com | https://twitter.com/dietpi_
 Patreon Legends : PINE64 community
 Donate          : https://DietPi.com/#donate
 DietPi Hosting  : Powered by https://MyVirtualServer.com

 dietpi-launcher : All the DietPi programs in one place.
 dietpi-config   : Feature rich configuration tool for your device.
 dietpi-software : Select optimized software for installation.
 htop            : Resource monitor.
 cpu             : Shows CPU information and stats.

root@DietPi:~# rbfeeder
[2019-05-26 00:20:41]  Compiled with arch=raspberry
getaddrinfo: Servname not supported for ai_socktype
[2019-05-26 00:20:41]  Could not resolve host name specified in 'external_host'.




OTHER FEEDERS OK
Quote

root@DietPi:~# fr24feed-status
[ ok ] FR24 Feeder/Decoder Process: running.
[ ok ] FR24 Stats Timestamp: 2019-05-25 23:20:12.
[ ok ] FR24 Link: connected [UDP].
[ ok ] FR24 Radar: T-CYYZ9.
[ ok ] FR24 Tracked AC: 33.
[ ok ] Receiver: connected (40162 MSGS/0 SYNC).
[ ok ] FR24 MLAT: ok [UDP].
[ ok ] FR24 MLAT AC seen: 30.


Quote
root@DietPi:~# systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
   Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-05-26 00:16:40 BST; 14min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 523 (piaware)
   CGroup: /system.slice/piaware.service
           ├─ 523 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           ├─ 731 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           └─1326 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30
005 --input-type dump1090 --results beast,connect,localhost:30104 --results beast,listen,30105 --results ext_basestation,listen,30106 --udp-transport 70.42.6.254:5503:2988728769

May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): fa-mlat-client 0.2.10 starting up
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Using UDP transport to 70.42.6.254 port 5503
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Listening for Beast-format results connection on port 30105
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Listening for Extended Basestation-format results connection on port 30106
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Input connected to localhost:30005
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Input format changed to BEAST, 12MHz clock
May 26 00:17:39 DietPi piaware[523]: mlat-client(1326): Beast-format results connection with ::1:30104: connection established
May 26 00:17:41 DietPi piaware[523]: piaware has successfully sent several msgs to FlightAware!
May 26 00:22:16 DietPi piaware[523]: 1030 msgs recv'd from dump1090-mutabi (915 in last 5m); 827 msgs sent to FlightAware
May 26 00:27:16 DietPi piaware[523]: 1901 msgs recv'd from dump1090-mutabi (871 in last 5m); 1698 msgs sent to FlightAware


« Last Edit: May 25, 2019, 11:42:49 PM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #17 on: May 26, 2019, 02:39:41 AM »
THE BUG
Code: [Select]
root@DietPi:~# rbfeeder
[2019-05-26 00:20:41]  Compiled with arch=raspberry
getaddrinfo: Servname not supported for ai_socktype
[2019-05-26 00:20:41]  Could not resolve host name specified in 'external_host'.


FOUND REASON: Missing package netbase


SOLUTION: Installed package netbase
Code: [Select]
sudo apt update
sudo apt install netbase
sudo systemctl restart rbfeeder

Checked status
Code: [Select]
root@DietPi:~# sudo systemctl status rbfeeder
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-05-26 03:31:03 BST; 5min ago
 Main PID: 503 (rbfeeder)
   CGroup: /system.slice/rbfeeder.service
           └─503 /usr/bin/rbfeeder

May 26 03:33:45 DietPi rbfeeder[503]: [2019-05-26 03:33:45]  ******** Statistics updated every 30 se
conds ********
May 26 03:33:45 DietPi rbfeeder[503]: [2019-05-26 03:33:45]  Packets sent in the last 30 seconds: 33
0, Total packets sent since startup: 1341
May 26 03:34:16 DietPi rbfeeder[503]: [2019-05-26 03:34:16]  ******** Statistics updated every 30 se
conds ********
May 26 03:34:16 DietPi rbfeeder[503]: [2019-05-26 03:34:16]  Packets sent in the last 30 seconds: 36
4, Total packets sent since startup: 1705


OPTIONAL ENHANCEMENTS

(1) Enable MLAT
https://www.airnavsystems.com/forum/index.php?topic=101771.msg389571#msg389571

(2) Install Graphs
https://github.com/wiedehopf/graphs1090/blob/master/README.md

.
« Last Edit: May 26, 2019, 05:03:14 AM by abcd567 »

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #18 on: May 26, 2019, 02:56:28 PM »
abcd567, you even installed DietPi, to help me solve my problem, thank you so much! It works now!
Could you please tell me, how did you find the solution?

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #19 on: May 26, 2019, 04:31:53 PM »
Could you please tell me, how did you find the solution?

By lot of Google search, and trying lot of different solutions found in the search.
All solutions failed, but finally netbase one worked. :)

« Last Edit: May 26, 2019, 04:35:23 PM by abcd567 »

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #20 on: May 26, 2019, 04:33:25 PM »
Thanks again man, you are the best!

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #21 on: May 26, 2019, 04:35:35 PM »
By the way did you enable MLAT and did you install Graphs?

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #22 on: May 26, 2019, 04:37:14 PM »
Nop, but i am going to enable it. I just did not know that RB24 supports this feature.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #23 on: May 26, 2019, 04:43:46 PM »
I just did not know that RB24 supports this feature.

It is still in beta stage so not yet announced officially.
Remember that Flightaware provides mlat feedback, but RB24 does not (yet) provide mlat feedback.

Do install Graphs. These are easy to install, and are very handy and useful tool.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34067
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #24 on: May 26, 2019, 04:57:08 PM »
I don't have a clue about all that coding but very well done.  Depending on where you are and the type of feeders around you, MLAT is available  See for example https://www.radarbox24.com/stations/PGANRB500005 7 stations synced.

Alan
« Last Edit: May 26, 2019, 04:59:36 PM by Runway 31 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]
« Reply #25 on: May 26, 2019, 11:54:15 PM »
The screenshot shows the Graphs on my RPi

Installed by method given here:
https://github.com/wiedehopf/graphs1090/blob/master/README.md
« Last Edit: May 26, 2019, 11:56:12 PM by abcd567 »