AirNav Systems Forum
AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: digidax on August 13, 2020, 06:06:55 AM
-
Hi, have installed latest FR24 image (pi24-2.2.0.img) on Raspberry and then the Radarbox feeder. Feeding to FR24 is working, to radarbox not. Here are the important outputs:
pi@raspberrypi:~ $ cat /etc/fr24feed.ini
bs=no
raw=no
mlat="yes"
mlat-without-gps="yes"
logmode="2"
receiver="dvbt"
procargs="--gain -10"
fr24key=hidden
receiver=dvbt
pi@raspberrypi:~ $ cat /etc/rbfeeder.ini
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=hidden
sn=EXTRPI007458
[network]
mode=beast
external_port=30005
external_host=127.0.0.1
[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client
[dump978]
#dump978_enabled=true
pi@raspberrypi:~ $ sudo rbfeeder --status
[2020-08-13 07:06:42] Starting RBFeeder Version 0.3.5 (build 20200727132301)
[2020-08-13 07:06:42] Using configuration file: /etc/rbfeeder.ini
[2020-08-13 07:06:42] Network-mode enabled.
[2020-08-13 07:06:42] Remote host to fetch data: 127.0.0.1
[2020-08-13 07:06:42] Remote port: 30005
[2020-08-13 07:06:42] Remote protocol: BEAST
Error opening the listening port 32458 (Raw TCP output): bind: Address already in use
[2020-08-13 07:06:42] Error opening the listening port 32458 (Raw TCP output): bind: Address already in use
Error opening the listening port 32457 (Beast TCP output): bind: Address already in use
[2020-08-13 07:06:42] Error opening the listening port 32457 (Beast TCP output): bind: Address already in use
Error opening the listening port 32459 (Basestation TCP output): bind: Address already in use
[2020-08-13 07:06:42] Error opening the listening port 32459 (Basestation TCP output): bind: Address already in use
Error opening the listening port 32008 (Raw TCP input): bind: Address already in use
[2020-08-13 07:06:42] Error opening the listening port 32008 (Raw TCP input): bind: Address already in use
Error opening the listening port 32004 (Beast TCP input): bind: Address already in use
[2020-08-13 07:06:42] Error opening the listening port 32004 (Beast TCP input): bind: Address already in use
[2020-08-13 07:06:42] System: raspberry
[2020-08-13 07:06:42] Start date/time: 2020-08-13 07:06:42
[2020-08-13 07:06:42] Bind failed on ANRB channel. Port: 32088
[2020-08-13 07:06:43] Connection established.
[2020-08-13 07:06:45] Can't connect to external source (127.0.0.1:30005). Waiting 5 second...
[2020-08-13 07:06:50] Can't connect to external source (127.0.0.1:30005). Waiting 5 second...
[2020-08-13 07:06:53] Could not start connection. Timeout.
Any ideas why port 30005 is not available?
Thanks and all the best, Frank
-
solved, I had to add "--net" in /etc/fr24feed.ini:
procargs="--gain -10" --net
-
Well worked out!!
Alan
-
Hello, I have the same problem. Even if I run RBfeeder alone I don't get any data. I have installed FR24. I have now made the following settings. FR24 data OK. No data arrives at RBFeeder.
can someone help
pi@raspberrypi:~ $ sudo cat /etc/fr24feed.ini
receiver="dvbt"
fr24key="hidden"
bs="no"
raw="no"
logmode="2"
logpath="/var/log/fr24feed"
mlat="no"
mlat-without-gps="no"
procargs="--gain -10" --net
pi@raspberrypi:~ $ sudo cat /etc/rbfeeder.ini
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=hidden
sn=hidden
lat=48.687441999999997
lon=12.199349
alt=435
[network]
mode=beast
external_port=30005
external_host=127.0.0.1
[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.9 /usr/bin/mlat-client
[dump978]
#dump978_enabled=true
-
@rettungshasi
Mistake is in file /etc/fr24feed.ini
In following line, the location of 2nd " is wrong. It excludes --net from procargs, hence makes it ineffective. As a result no data is available at port 30005 for use by rbfeeder.
procargs="--gain -10" --net
The location of 2nd " should be at the end of line, like below:
procargs="--gain -10 --net"
Please correct the mistake in file /etc/fr24feed.ini, and save the file.
After saving file, restart fr24feed by following command
sudo systemctl restart fr24feed
Now data at port 30005 will be available for rbfeeder to use. Check its status by following command:
sudo systemctl status rbfeeder
.
-
I have the same probem - rbfeeder not connecting to Dump1090. I've added procargs="--gain -10 --net" to/etc/fr24feed.ini, but it doesn't work. In fact it kills fr24feed without enabling rbfeeder. Any ideas? Thanks.
-
Post your ini file with your key details redacted
Alan
-
Here are my config files:
$ cat /etc/fr24feed.ini
receiver="dvbt"
fr24key=“key“
path="/usr/lib/fr24/dump1090"
#bs="yes"
bs="no"
#raw="yes"
raw="no"
#logmode="1"
logmode="2"
receiver="dvbt"
#procargs="--gain -10"
#procargs="--net"
logpath="/var/log/fr24feed"
mlat="yes"
mlat-without-gps="yes"
$ cat /etc/rbfeeder.ini
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=(key)
sn=EXTRPI555963
[network]
#mode=raw
mode=beast
#external_port=30003
external_port=30005
external_host=127.0.0.1
beast_input_port=30005
[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.9 /usr/bin/mlat-client
[dump978]
#dump978_enabled=false
#dump1090_enabled=true
dump1090_port=30005
-
@ajheatwole
STEP-1: Put right Flightradar setup
(1.1) Delete all contents of your file /etc/fr24feed.ini, and cooy-paste following:
(Replace xxxxx by your actual FR24 key)
receiver="avr-tcp"
host="127.0.0.1:30002"
fr24key=“xxxxxxxxx“
bs="no"
raw="no"
logmode="1"
logpath="/var/log/fr24feed"
mlat="yes"
mlat-without-gps="yes"
(1.2) Issue following command to edit config of dump1090-mutability:
sudo nano /etc/default/dump1090-mutability
In the file opened, do following 2 changes:
(a) locate following line which will be in the top portion of the file:
START_DUMP1090="no"
Change no to yes, so the line becimes:
START_DUMP1090="yes"
(b) Scroll down till you see following line near the bottom of file:
NET_BIND_ADDRESS="127.0.0.1"
Delete 127.0.0.1 to make it empty, like below
NET_BIND_ADDRESS=""
Save and close file.
STEP-2: Put right Radarbox setup
Delete all contents of your file /etc/rbfeeder.ini, and cooy-paste following:
(Replace xxxxxxxx by your actual RB24 key)
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=xxxxxxxxxxxxxxxxxxxxxxx
sn=EXTRPI555963
[network]
mode=beast
external_port=30005
external_host=127.0.0.1
[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.9 /usr/bin/mlat-client
[dump978]
#dump978_enabled=true
Save and close file
REBOOT PI
That is all
-
That did the trick. Thanks! Can I buy you a drink? I'm in the Washington DC area of the US.
-
Well done, looking good
Alan
-
That did the trick. Thanks! Can I buy you a drink? I'm in the Washington DC area of the US.
Glad to know that the solution I gave worked and your problem is solved.
I live in Toronto, Ontario, Canada.