AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: rfbertelli on June 15, 2017, 03:35:06 PM

Title: Problems with Raspberry Pi
Post by: rfbertelli 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.
Title: Re: Problems with Raspberry Pi
Post by: anorak 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
Title: Re: Problems with Raspberry Pi
Post by: rfbertelli 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
Title: Re: Problems with Raspberry Pi
Post by: anorak 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.
Title: Re: Problems with Raspberry Pi
Post by: abcd567 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)



Title: Re: Problems with Raspberry Pi
Post by: rfbertelli on June 19, 2017, 11:36:23 PM
Jessie
Title: Re: Problems with Raspberry Pi
Post by: abcd567 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
Title: Re: Problems with Raspberry Pi
Post by: rfbertelli 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.
Title: Re: Problems with Raspberry Pi
Post by: abcd567 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)

.
Title: Re: Problems with Raspberry Pi
Post by: neroon79 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
Title: Re: Problems with Raspberry Pi
Post by: rfbertelli 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.
Title: Re: Problems with Raspberry Pi
Post by: abcd567 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.
Title: Re: Problems with Raspberry Pi
Post by: rfbertelli 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.
Title: Re: Problems with Raspberry Pi
Post by: abcd567 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 (https://www.airnavsystems.com/forum/index.php?topic=10201.0)

.
Title: Re: Problems with Raspberry Pi
Post by: pjp 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
Title: Re: Problems with Raspberry Pi
Post by: anorak on July 19, 2017, 04:52:06 PM
Hi Pavel, at the moment the answer is no. I have been asking for this for a while now as it would take the strain of my laptop. You can always get a dongle and feed through a Raspberry ( see top of page ADS-B receivers/ micro ), lets hope support is listening.  :-))
Dave.
Title: Re: Problems with Raspberry Pi
Post by: Runway 31 on July 19, 2017, 05:14:07 PM
Why not ask [email protected] for advice Pavel

Alan
Title: Re: Problems with Raspberry Pi
Post by: anorak on July 20, 2017, 06:26:00 AM
Hi Pavel, have a look at "Bake a Pi ".
Dave.
Title: Re: Problems with Raspberry Pi
Post by: pjp on July 20, 2017, 04:42:10 PM
Thanks to all for answer.
Email sent, but I afraid, answer are predictable... :-(
RTL Dongle (or something similar) ... sorry, I mechanical designer (automotive or aerospace), if not exist (I didn't find) an final solution in usable price (especially in CZ), it's not solution for me ... :-(

Pavel
Title: Re: Problems with Raspberry Pi
Post by: abcd567 on July 20, 2017, 04:53:42 PM
Thanks to all for answer.
Email sent, but I afraid, answer are predictable... :-(
RTL Dongle (or something similar) ... sorry, I mechanical designer (automotive or aerospace), if not exist (I didn't find) an final solution in usable price (especially in CZ), it's not solution for me ... :-(

Pavel
Have a look here, a possible solution, but UNTESTED: Bake a Pi, reply #11 (http://www.airnavsystems.com/forum/index.php?topic=10201.msg194441#msg194441)
Title: Re: Problems with Raspberry Pi
Post by: pjp on July 20, 2017, 05:14:24 PM
Thanks, look useful. Actually I wait for any aircraft ... ;-)

Pavel
Title: Re: Problems with Raspberry Pi
Post by: pjp on July 20, 2017, 05:41:55 PM
Sorry, not work.
I found here this topics - https://www.airnavsystems.com/forum/index.php?topic=9961.15 but don't help me.
I'll wait for answer from support ...

Pavel
Title: Re: Problems with Raspberry Pi
Post by: pjp on July 21, 2017, 05:51:46 PM
Yesterday night I received answer from support -> connectivity RadarBox via Raspberry Pi/rbfeeder planned in next 6 month. We can count down ...

Pavel
Title: Re: Problems with Raspberry Pi
Post by: abcd567 on July 21, 2017, 09:18:32 PM
Yesterday night I received answer from support -> connectivity RadarBox via Raspberry Pi/rbfeeder planned in next 6 month. We can count down ...

Pavel
The Linux data feeder "rbfeeder" is available (was released by AirNav couple of months ago). 

The Linux decoder and GUI (map) is available in the form of dump1090.

The only thing missing is Linux driver for Radarbox.  This is not a big deal if AirNav team is seriously interested.