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

Login with username, password and session length
 


Author Topic: Bake a Pi  (Read 100508 times)

0 Members and 1 Guest are viewing this topic.

Gabriel6764

  • New Member
  • *
  • Posts: 3
Re: Bake a Pi
« Reply #75 on: September 14, 2021, 05:08:34 PM »
If I have a orange flight feeder from flight aware. This feeder have some port open like 30005. 30002 and other. Y have my own RPI but I dont have RTL. Can I make dump1090 pull the data from the fa feeder?  And feed to RB fr24 and other?

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34067
Re: Bake a Pi
« Reply #76 on: September 14, 2021, 07:33:46 PM »
See the previous post on this thread

Alan

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Bake a Pi
« Reply #77 on: September 15, 2021, 01:38:17 AM »
If I have a orange flight feeder from flight aware. This feeder have some port open like 30005. 30002 and other. Y have my own RPI but I dont have RTL. Can I make dump1090 pull the data from the fa feeder?  And feed to RB fr24 and other?

The dump1090 cannot pull data from source. It can only receive data if a source is on the same pi on which dump1090 is running. Therefore it can NOT pull data from Flightfeeder.


All feeders like RB24, FR24, Planefinder running on a Pi can connect directly to Flightfeeder over local network (LAN) and receive data from Flightfeeder. You dont need dump1090 for this purpose.

All these feeders have default setting to get data from dump1090 running on same Pi,and in their settings they have host= 127.0.0.1

To make them connect to Flightfeeder, simply change host=127.0.0.1 to host=192.168.0.21 (replace 192.168.0.21 by Local IP of your Flightfeeder).

RB24
sudo nano /etc/rbfeeder.ini

In above file use settings shown in red

[client]
network_mode=true

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

(Note:replace 192.18.0.21 by Local IP of Flightfeeder)

.

FR24

sudo nano /etc/fr24feed.ini

In above file use settings shown in red

receiver="avr-tcp"
host="192.168.0.21:30002"

(Note:replace 192.18.0.21 by Local IP of Flightfeeder)


.
« Last Edit: September 15, 2021, 05:49:05 AM by abcd567 »

Gabriel6764

  • New Member
  • *
  • Posts: 3
Re: Bake a Pi
« Reply #78 on: September 15, 2021, 08:23:37 AM »
Thanks I will try this. I only need to installs the feeders.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Bake a Pi
« Reply #79 on: September 15, 2021, 09:31:32 AM »
Thanks I will try this. I only need to installs the feeders.

Right.
Feeders are enough to pull data from Flightfeeder, if feeders are configured properly (as shown in my previous post).
No need to install dump1090.


SoNic67

  • New Member
  • *
  • Posts: 18
Re: Bake a Pi
« Reply #80 on: October 23, 2021, 11:53:17 AM »
I re-installed the rbfeeder on my Pi (that doesn't have dump1090 installed) and tried to connect to two of my network feeders. It doesn't work for some reason:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 07:25:21 EDT; 25min ago
  Process: 568 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 578 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 580 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 597 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 602 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 603 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─603 /usr/bin/rbfeeder

Oct 23 07:48:57 pi3 rbfeeder[603]: [2021-10-23 07:48:57]  Data sent: 26.1 KB
Oct 23 07:48:57 pi3 rbfeeder[603]: [2021-10-23 07:48:57]  Data received: 480 B
Oct 23 07:49:08 pi3 rbfeeder[603]: [2021-10-23 07:49:08]  Connection established.
Oct 23 07:49:19 pi3 rbfeeder[603]: [2021-10-23 07:49:19]  Could not start connection. Timeout.
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  ******** Statistics updated every 60 seconds ********
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Packets sent in the last 60 seconds: 44, Total packets sen
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Data sent: 27.3 KB
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Data received: 508 B
Oct 23 07:50:20 pi3 rbfeeder[603]: [2021-10-23 07:50:20]  Connection established.
Oct 23 07:50:30 pi3 rbfeeder[603]: [2021-10-23 07:50:30]  Could not start connection. Timeout.
« Last Edit: October 23, 2021, 12:04:41 PM by SoNic67 »

SoNic67

  • New Member
  • *
  • Posts: 18
Re: Bake a Pi
« Reply #81 on: October 23, 2021, 12:13:33 PM »
I have restarted Pi and now I get:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 2min 41s ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:11:04 pi3 rbfeeder[28523]: [2021-10-23 08:11:04]  Connection established.
Oct 23 08:11:04 pi3 rbfeeder[28523]: [2021-10-23 08:11:04]  Error authenticating Sharing-Key: Invalid sharing-key
Oct 23 08:11:14 pi3 rbfeeder[28523]: [2021-10-23 08:11:14]  Could not start connection. Timeout.
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  ******** Statistics updated every 60 seconds ********
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Data sent: 98 B
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Data received: 56 B
Oct 23 08:12:15 pi3 rbfeeder[28523]: [2021-10-23 08:12:15]  Connection established.
Oct 23 08:12:15 pi3 rbfeeder[28523]: [2021-10-23 08:12:15]  Error authenticating Sharing-Key: Invalid sharing-key
Oct 23 08:12:25 pi3 rbfeeder[28523]: [2021-10-23 08:12:25]  Could not start connection. Timeout.

The key was generated automatically at start and claimed using the webpage.
Quote
Success.   Raspberry Pi already associated with this account. See your station at https://www.radarbox.com/stations/EXTRPI000878
This is ridiculous...
« Last Edit: October 23, 2021, 12:16:48 PM by SoNic67 »

SoNic67

  • New Member
  • *
  • Posts: 18
Re: Bake a Pi
« Reply #82 on: October 23, 2021, 12:18:13 PM »
OK, I have claimed again that code and... the error is different now:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 7min ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  ******** Statistics updated every 60 seconds ********
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data sent: 245 B
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data received: 112 B
Oct 23 08:15:48 pi3 rbfeeder[28523]: [2021-10-23 08:15:48]  Connection established.
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  ******** Statistics updated every 60 seconds ********
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data sent: 294 B
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data received: 112 B
Oct 23 08:15:59 pi3 rbfeeder[28523]: [2021-10-23 08:15:59]  Could not start connection. Timeout.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Bake a Pi
« Reply #83 on: October 23, 2021, 11:25:35 PM »
OK, I have claimed again that code and... the error is different now:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 7min ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  ******** Statistics updated every 60 seconds ********
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data sent: 245 B
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data received: 112 B
Oct 23 08:15:48 pi3 rbfeeder[28523]: [2021-10-23 08:15:48]  Connection established.
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  ******** Statistics updated every 60 seconds ********
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data sent: 294 B
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data received: 112 B
Oct 23 08:15:59 pi3 rbfeeder[28523]: [2021-10-23 08:15:59]  Could not start connection. Timeout.


(1) Did you use correct IP address of the data source (dump1090-fa on another PI)?

Code: [Select]
sudo nano /etc/rbfeeder.ini

In above file use settings shown in red

[client]
network_mode=true

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

Note:replace 192.18.0.21 by Local IP of other RPi (i.e. data source)


(2) The RB24 server may break connection to save bandwidth if no data is being sent by the receiver.

This can happen if rbfeeder does NOT receive data from dump1090 (on same Pi or on another Pi).

To make sure your RB24 feeder is receiving Data from dump1090, give following commands. If rbfeeder is receiving data from dump1090 (local or on another Pi), it will output that data on ports 32457 (beast format) and 32459 (basestation format) as follows:

BEAST FORMAT
Code: [Select]
netcat 127.0.0.1 32457   

▒.▒▒"▒<3▒▒▒>▒<J▒XA▒▒▒{▒▒3▒D▒$▒▒O▒Xw4▒▒2,B2▒▒▒]▒1▒/▒▒2▒▒Y]▒T▒▒▒▒2▒▒▒]▒Y"▒3▒▒%▒▒N▒▒ Z▒▒▒▒▒▒▒-▒3▒|▒%▒▒a#▒#J▒▒#2▒▒r!▒▒▒▒2▒▒]▒1▒/▒▒3▒'
▒2▒-S▒>▒]▒T▒▒▒▒3▒C▒(▒@j▒▒▒~▒?▒▒h\3▒▒▒$▒▒O▒▒     WpL)K2▒ p]▒1▒/▒▒2▒▒]▒T▒▒▒▒3▒TR+▒<J▒▒▒;0▒▒&u3▒Z▒�▒Y▒
▒ R▒▒3▒▒▒▒9▒▒▒▒H▒▒▒<▒'▒▒2▒▒z(▒▒X▒K▒▒2▒▒ᐹ߯F3▒▒▒
&▒@j▒X▒▒ܱ▒▒ǒ2▒m▒]▒a#▒▒▒3▒▒▒▒H[D▒HX\▒?▒U▒2▒F▒▒e▒▒ll▒2▒;▒&]▒a#▒▒▒3▒(-▒9▒   X▒▒▒߽
▒▒▒3▒x▒!▒IRg▒
㓘P▒▒▒3▒▒▒▒▒a#▒|▒▒F3▒"%A▒IRgX/▒▒Y▒c3▒▒?▒IRg▒▒|k▒▒3▒▒▒*▒▒N▒Y*!Bw+▒▒2▒▒▒&]▒a#▒▒▒2▒i▒▒ ▒Hd2▒]▒O▒▒`▒2▒▒>]IRg▒▒3▒r:▒▒▒▒▒, ▒
^LK2▒▒L]▒^▒7▒▒2▒f▒]▒O▒▒`▒2▒mh:]IRg▒▒2▒▒▒▒+▒3▒▒▒▒O▒X▒t▒=▒▒' 2Ѽ']▒O▒▒`▒2▒V▒a▒▒▒Ƀ2▒[▒▒▒▒▒▒▒3֐▒U▒▒L▒X#▒#MQL▒u▒3׈▒(▒@j▒▒*}▒@3▒J▒▒▒▒~▒
▒H`▒V▒▒3▒▒▒S▒▒L▒▒▒▒▒3▒և▒▒1▒▒0▒d▒I▒2ߧZ▒a▒▒▒Ƀ3▒▒`1▒▒.▒X!▒H▒߃<▒2▒,#▒
▒eS2▒j]IRg▒▒2▒▒▒6▒▒▒2▒+▒ ▒Hd2▒▒%Ꮃ2▒0$Ꮃ2▒>▒U▒8-PT2淸T▒8-PT2犌▒   ▒]ӗ2▒▒▒ ▒]ӗ2▒   
▒]▒^rδ▒2▒ϋHWq▒2▒HIHWq▒3▒▒▒▒'X▒bg▒Y3&Ȧ2▒\]H[D},▒3▒▒▒▒O▒Xw4▒       ▒@▒▒▒2▒▒W]▒L▒5U2▒▒ >3▒f▒▒O▒▒HX▒▒2▒B`▒▒8▒m▒2▒▒▒a▒▒▒Ƀ3▒▒▒F▒▒▒▒ ▒$▒#▒<3▒▒J"@▒▒▒2▒▒
▒▒▒▒▒▒3▒+▒▒O▒   ▒@▒H3▒䆍▒~▒`$▒-z▒▒3▒w▒▒▒▒Y▒
x▒(<▒rB3▒▒5▒<J▒XA▒      ▒
▒▒.o3▒▒E▒▒E▒3▒vS!▒▒O▒▒▒▒WpL)K3▒2▒▒H[D▒▒X▒$▒▒▒*3▒@▒▒▒T▒▒+f▒!▒3▒▒P▒▒1▒X▒▒?20KE]<J▒▒̫3▒▒B▒<J▒▒▒;0▒▒▒f▒3~▒▒▒O▒%0x




BASESTATION (msg) FORMAT
Code: [Select]
netcat 127.0.0.1 32459

MSG,7,1,1,C04FBB,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,22900,,,,,,,,,,
MSG,4,1,1,A9A1B9,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,421,290,,,0,,,,,0
MSG,7,1,1,C04CF4,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,5850,,,,,,,,,,
MSG,7,1,1,C04CF4,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,5850,,,,,,,,,,
MSG,5,1,1,C05913,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,1625,,,,,,,0,,0,
MSG,5,1,1,C07EE8,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,3750,,,,,,,0,,0,
MSG,7,1,1,495267,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,8350,,,,,,,,,,
MSG,7,1,1,495267,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,8350,,,,,,,,,,
MSG,8,1,1,C05913,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,,,,,,,,,,0
MSG,8,1,1,406A9E,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,,,,,,,,,,0
« Last Edit: October 23, 2021, 11:40:35 PM by abcd567 »

SoNic67

  • New Member
  • *
  • Posts: 18
Re: Bake a Pi
« Reply #84 on: October 24, 2021, 01:27:51 PM »
Yeah, the config file is correct.
The netcat commands that you have given above outputs data on the screen.

I think my connection is refused by radarbox24 servers.
« Last Edit: October 24, 2021, 01:31:01 PM by SoNic67 »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34067
Re: Bake a Pi
« Reply #85 on: October 24, 2021, 01:48:35 PM »
No reason for them to refuse a connection, it not in their interest.  Have you contacted [email protected] for advice

Alan

SoNic67

  • New Member
  • *
  • Posts: 18
Re: Bake a Pi
« Reply #86 on: October 24, 2021, 02:21:10 PM »
No reason for them to refuse a connection, it not in their interest.  Have you contacted [email protected] for advice
I don't know what it is exactly. I'll find out.. hopefully soon.
Quote
We have received your request and a ticket has been created.
A support representative will be reviewing your request and will send you a response.

Thank you for your patience.

Sincerely,
AirNav Systems Support Team
« Last Edit: October 24, 2021, 02:43:56 PM by SoNic67 »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Bake a Pi
« Reply #87 on: February 20, 2022, 01:24:55 AM »

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Bake a Pi
« Reply #88 on: February 29, 2024, 02:08:56 AM »
.


Latest updates on Feb 29, 2024:

OPTION-1 (dump1090-mutability)
OPTION-2 (dump1090-fa)
OPTION-3 (piaware SD card image)



.