Help please!

Started by Wiggi001, March 09, 2021, 01:03:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wiggi001

I have FR24 and TAR1090 working fine after rebuilding my RasperryPi4. I have reinstalled
RB24 and attempted to reclaim my old key but my station will not go back online.
Please see the attached screen shot.

Runway 31

I would suggest that you should obtain a new key for a new installation

Alan

abcd567

#2
Please do following:
(1) Reboot RPi
(2) After reboot, give following command and post the output (copy-paste from PuTTY to the post):

journalctl -b -u rbfeeder 

Wiggi001

[client]
network_mode=True
log_file=/var/log/rbfeeder.log

key=hidden by me

[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=false

Wiggi001

please see text doc attached

abcd567

#5
The rightmost part (which is the most important part) of output of command journalctl -b -u rbfeeder is trunkated because of small width of putty window. Please increase the width as much as you can, tthen give above command.

This time give followind command to limit number of lines too last 20. Dont forget to increase width of putty as much as you can BEFORE issuing the command.

journalctl -e -u rbfeeder.


.


Wiggi001

pleas see attached file.

abcd567

I think I now found the bug.

With the "putty at full width" log you have posted now, I see following:

Mar 11 17:22:30 raspberrypi rbfeeder[743]: [2021-03-11 17:22:30]  Network-mode disabled. Using local dongle.

Also in your file /etc/rbfeeder.ini I see following:

[client]
network_mode=True

The cause of failure is that you have written "true" with capital letter T instead of small letter "t".

To fix it do following:

sudo nano /etc/rbfeeder.ini


In "True", change "T" by "t" like below,

[client]
network_mode=true

Save file (Ctrl+O) and close it (Ctrl+X)

Restart rbfeeder, and then check status

sudo systemctl restart rbfeeder 

sudo systemctl status rbfeeder


.

Wiggi001

#8
[client]
network_mode=true
log_file=/var/log/rbfeeder.log

key======================

[network]
mode=raw
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


////---------------

see attachment

Wiggi001

Should have said still not working!

Thanks for the assistance.

abcd567

Seems you checked status too early. When you checked status, It has just connection to RB24 server and not yet started sending data
Check again now


sudo systemctl status rbfeeder 





abcd567

#11
You log shows all is ok, and your rbfeeder has connected to ANRB software on Windows. Please see last two entries of your log below.

The rbfeeder will also connect to RB24 Server if you would have waited few minutes before checking the status.

Which version of dump1090 you have installed? With network_mode= true you wiil have to install dump1090 to provide data to rbfeeder.

Your status command output

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02]  Starting RBFeeder Version 0.3.5 (build 20200727132301)

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02]  Using configuration file: /etc/rbfeeder.ini

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02] Network-mode enabled.

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02] Remote host to fetch data: 127.0.0.1

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02] Remote port: 30005

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02] Remote protocol: RAW

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02]  System: raspberry

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02]  Start date/time: 2021-03-11 23:33:02

Mar 11 23:33:02 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:02]  Socket for ANRB created. Waiting for connections on port 32088

Mar 11 23:33:03 raspberrypi rbfeeder[9765]: [2021-03-11 23:33:03]  Connection established.

~

~


Wiggi001



Thanks for all the help.

I deleted and reinstalled Dump1090 and Rb24 and hey presto!