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

Login with username, password and session length
 


Author Topic: Problems with Raspberry Pi  (Read 25115 times)

0 Members and 4 Guests are viewing this topic.

rfbertelli

  • New Member
  • *
  • Posts: 6
Problems with Raspberry Pi
« on: June 15, 2017, 03:35:06 PM »
Can anyone help me? I installed 2  days ago the RadarBox24 on my Raspberry Pi. It works for a couple of hours. Now, when i check the status, the only message I recevied is:

service rbfeeder status
● rbfeeder.service - RBFeeder Service
Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled)
Active: failed (Result: start-limit) since Qui 2017-06-15 00:18:16 -04; 2s ago
Process: 26576 ExecStop=/bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)
Process: 26571 ExecStart=/usr/bin/rbfeeder (code=exited, status=1/FAILURE)
Main PID: 26571 (code=exited, status=1/FAILURE)

I already searched here, followed every instructions that i've found and still the same.

anorak

  • Hero Member
  • *****
  • Posts: 978
  • support The Devon Air Ambulance Trust
Re: Problems with Raspberry Pi
« Reply #1 on: June 15, 2017, 03:49:41 PM »
Hi, first question is have you got any other software running, if so did you install dump 1090 first?
Lets hope ABCD567 is watching as he will have the solution.  ;-))
There is alot of info on this type of set up but you might need to go back through the threads to find it.
Good luck and keep in touch, Dave.

   Search / look for this thread.   Unable to install RB24 on my RPi
« Last Edit: June 15, 2017, 03:55:17 PM by anorak »
Dave. Exmoor, North Devon.

rfbertelli

  • New Member
  • *
  • Posts: 6
Re: Problems with Raspberry Pi
« Reply #2 on: June 15, 2017, 05:51:29 PM »
Hi Dave, thanks for he answer.
Yes, i'm running FR24.
I'll try again to read the previous threads.

Thanks again.
Rodrigo

anorak

  • Hero Member
  • *****
  • Posts: 978
  • support The Devon Air Ambulance Trust
Re: Problems with Raspberry Pi
« Reply #3 on: June 15, 2017, 06:07:57 PM »
Hi Rodrigo, sounds very familiar to my problems. Try reading that link, towards the end, and follow the procedure carefully. Mine runs 24/7 left to it`s self and doesn`t get warm.
Dave.
Dave. Exmoor, North Devon.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Problems with Raspberry Pi
« Reply #4 on: June 19, 2017, 07:04:26 AM »
@rfbertelli
You have burned your microSD card with which Operating System image?

Raspbian Jessie (from raspberrypi.org)
OR
Pi24 (from flightradar24.com)
OR
Piaware 3.5 (from flightaware.com)




rfbertelli

  • New Member
  • *
  • Posts: 6
Re: Problems with Raspberry Pi
« Reply #5 on: June 19, 2017, 11:36:23 PM »
Jessie

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Problems with Raspberry Pi
« Reply #6 on: June 19, 2017, 11:58:44 PM »
Jessie
Did you install dump1090, or using integral dump1090 of FR24 feeder.

If you have installed dump1090, which one?

dump1090 Malcom Robson
OR
dump1090-mutability
OR
dump1090-fa
« Last Edit: June 20, 2017, 12:00:26 AM by abcd567 »

rfbertelli

  • New Member
  • *
  • Posts: 6
Re: Problems with Raspberry Pi
« Reply #7 on: June 20, 2017, 12:28:43 AM »
No.
Now i found the thread that you explain I need to install dump1090 before installing FR24 and RB24. i'll try dump1090-mutability, then install FR24 and RB again.
I hope I can fiz it now.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Problems with Raspberry Pi
« Reply #8 on: June 20, 2017, 12:54:15 AM »
No.
Now i found the thread that you explain I need to install dump1090 before installing FR24 and RB24. i'll try dump1090-mutability, then install FR24 and RB again.
I hope I can fiz it now.

Yes, installing an independent dump1090-mutability (or dump1090-fa) is the best option as all data feeders interface with it smoothly.

As far as Radarbox24 feeder is concerned, it can work ok with integral dump1090 of FR24 feeder, provided FR24 feeder is configured for it (please read details below). Flightaware feeder still has problem running with integral dump1090 of FR24 feeder due to MLAT feed back, and requires installation of dump1090-mutability (or dump1090-fa).


How to run rbfeeder using FR24 feeder's dump1090
The radarbox feeder gets input from dump1090 in format beast port 30005. You have to configure FR24 feeder's dump1090 to give beast output at port 30005.

To achieve this, the setting of FR24 feeder should be:
Process Arguments: --net --net-http-port 8080 --net-bo-port 30005

To make this setting, open your browser, and type in address bar
<IP of Pi>:8754/settings.html
Then enter the value of item "Process Argument" as shown in red above, click save button at bottom right of page and then click restart page.

Check the file rbfeeder.ini to make sure rbfeeder is also set for receiving data from fr24feeder's dump1090 on port 30005, format beast

cat /etc/rbfeeder.ini
#it should have following setting.

[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key= xxxxxxxxxxxxxxxxxxxxxxxxxx
sn=      EXTRPIxxxxxxx

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


Now reboot the Pi.
Then check status of rbfeeder:
sudo systemctl status rbfeeder -l

It should show working ok

NOTE:
The "Process Arguments", shown above in red, has following 3 components:

--net  (to enable connection between dump1090 and other applications like browser, other site's data feeders, VRS on desktop/laptop, etc)

--net-http-port 8080 (to enable map display in browser, at address <IP of Pi>:8080)

--net-bo-port 30005 (to enable output data in beast format on port 30005 for use by other site's data feeders, VRS etc)

.
« Last Edit: June 20, 2017, 03:05:40 PM by abcd567 »

neroon79

  • Hero Member
  • *****
  • Posts: 4657
Re: Problems with Raspberry Pi
« Reply #9 on: June 20, 2017, 03:50:01 PM »
Additional Info:

you may consider to change the port 8080 to port 8090 (or so) as some browser configurable (feeder) programs using the 8080 port for their configuration website. I'm using at least 3 programs that were using port 8080 by default. I changed their port directly after installation before installing the next program to avoid problems.

Ingo
« Last Edit: June 20, 2017, 03:51:49 PM by neroon79 »
Greetings from northern Germany, Ingo
11.75nm ESE of EDDV

SW: ANRB v5.00.072/6.01.001 on WIN10 64Bit Pro&Home
HW:
Ant.: DPD Productions ADS-B Vertical Outdoor Base Antenna
AMP: Kuhne electr. KU LNA 1090 A TM
Cable: 25m of ECOFLEX 15+
NB: Asus P53E 24/7 op.
PC: 28"4K + 24" Monitor
AirSpy mini @RPi3

rfbertelli

  • New Member
  • *
  • Posts: 6
Re: Problems with Raspberry Pi
« Reply #10 on: June 22, 2017, 01:05:00 AM »
Well, after hours and hours, I did everything. Both services, FR24 and RB24 worked fine, for 3 hours. FR24 is still working properly, but RB24 stop working after 3 hours. The service shows it's active and running, but RB site is not receiving anything.
I think i'll have to start all over again.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Problems with Raspberry Pi
« Reply #11 on: June 22, 2017, 03:02:07 AM »
Well, after hours and hours, I did everything. Both services, FR24 and RB24 worked fine, for 3 hours. FR24 is still working properly, but RB24 stop working after 3 hours. The service shows it's active and running, but RB site is not receiving anything.
I think i'll have to start all over again.
  • Reboot your Pi and wait for 5 minutes before steps 2 & 3
  • Check your RB site to see if it shows planes & status "online".
  • Run status command (sudo systemctl status rbfeeder).
    Does status command show number of Packets sent to radarbox24?

    My rbfeeder is working OK, and gives following output when status command is given:

    pi@raspberrypi:~ $ sudo systemctl status rbfeeder
    rbfeeder.service - RBFeeder Service
       Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled)
       Active: active (running) since Mon 2017-06-19 06:04:27 EDT; 2 days ago
     Main PID: 578 (rbfeeder)
       CGroup: /system.slice/rbfeeder.service
               └─578 /usr/bin/rbfeeder

    Jun 22 01:36:24 raspberrypi rbfeeder[578]: [2017-06-22 01:36:24]
    Jun 22 01:36:55 raspberrypi rbfeeder[578]: [2017-06-22 01:36:55]  ******** Statistics updated every 30 seconds ********
    Jun 22 01:36:55 raspberrypi rbfeeder[578]: [2017-06-22 01:36:55]  Packets sent in the last 30 seconds: 268, Total packets sent since startup: 1723
    Jun 22 01:36:55 raspberrypi rbfeeder[578]: [2017-06-22 01:36:55]
    Jun 22 01:37:26 raspberrypi rbfeeder[578]: [2017-06-22 01:37:26]  ******** Statistics updated every 30 seconds ********
    Jun 22 01:37:26 raspberrypi rbfeeder[578]: [2017-06-22 01:37:26]  Packets sent in the last 30 seconds: 279, Total packets sent since startup: 2002
    Jun 22 01:37:26 raspberrypi rbfeeder[578]: [2017-06-22 01:37:26]
    Jun 22 01:37:57 raspberrypi rbfeeder[578]: [2017-06-22 01:37:57]  ******** Statistics updated every 30 seconds ********
    Jun 22 01:37:57 raspberrypi rbfeeder[578]: [2017-06-22 01:37:57]  Packets sent in the last 30 seconds: 255, Total packets sent since startup: 2257
    Jun 22 01:37:57 raspberrypi rbfeeder[578]: [2017-06-22 01:37:57]
« Last Edit: June 22, 2017, 03:40:16 PM by abcd567 »

rfbertelli

  • New Member
  • *
  • Posts: 6
Re: Problems with Raspberry Pi
« Reply #12 on: June 23, 2017, 12:33:05 AM »
I did it.
Now it shows 0 packets.
I send attached the print of my radar. As you can see on left low corner, it's online just a few hours, then it became offline the rest of the day. And FR24 keeps working fine all day long.
I think I will buy another raspberry to put RB24 on it.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Problems with Raspberry Pi
« Reply #13 on: June 23, 2017, 12:47:21 AM »
I did it.
Now it shows 0 packets.
I send attached the print of my radar. As you can see on left low corner, it's online just a few hours, then it became offline the rest of the day. And FR24 keeps working fine all day long.
I think I will buy another raspberry to put RB24 on it.
No need to have a seperate RPi for each feeder.
You can easily run multiple feeders on one Raspberry Pi.

I have 3 RPis, and on EACH Pi, I run following 5 feeders without any problem:
(1) Flightaware
(2) Planefinder
(3)Flight Radar24
(4) Radarbox24
(5) Adsbexchange

Try uninstalling existing rbfeeder, then reinstalling it.
Code: [Select]
#remove and purge current installation of rbfeeder
sudo dpkg --remove rbfeeder
sudo dpkg --purge rbfeeder

#now update Operating System, and reinstall rbfeeder
sudo apt-get update
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

#set feeder key
sudo rbfeeder --no-start --setkey ‹your sharing key›
#check feeder key and station number have been set correctly
cat /etc/rbfeeder.ini

#restart rbfeeder,
sudo systemctl restart rbfeeder
#check status
sudo systemctl status rbfeeder -l

Now check RB webpage for your station.


If reinstall of rbfeeder does not solve problem, do this:
(1) Format microSD card
(2) Download Raspbian Jessie Lite image from raspberrypi.org, and write it to microSD card..
(3) Install dump1090-mutability.
(4) Install Feeders:
--- Radarbox 24 feeder
--- FlightRadar24 feeder
--- Planefinder feeder
--- Flightaware feeder


Please see thread  Bake a Pi

.
« Last Edit: June 23, 2017, 11:16:38 PM by abcd567 »

pjp

  • New Member
  • *
  • Posts: 11
Re: Problems with Raspberry Pi
« Reply #14 on: July 19, 2017, 02:34:50 PM »
Dear,
 sorry for stupid question:
 Are an possibility to connect RadarBox through Raspberry Pi and share ?
 If yes, exist, or can somebody create, an manual for dummies (for me) ?

 Thanks,

    Pavel