Sharing Key Is Not Set

Started by hartsell, July 28, 2020, 12:06:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hartsell

I am having an issue trying to get my sharing key from a new install on a raspberry pi. Software seemed to install fine but when I run the cmd to get the key, I do not get any key. When I run:
sudo rbfeeder --showkey --no-start
I get:
Your sharing key is not set or is not valid. If is not set, a new sharing key will be create on first connection.
Configuration file: /etc/rbfeeder.ini

What does it mean "First Connection" ? Below is my rbfeeder.ini. I am using the RadarBox dongle. Any tips, would be great.

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

[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

Runway 31


Jonis Maurin Ceara

Quote from: hartsell on July 28, 2020, 12:06:42 AM
I am having an issue trying to get my sharing key from a new install on a raspberry pi. Software seemed to install fine but when I run the cmd to get the key, I do not get any key. When I run:
sudo rbfeeder --showkey --no-start
I get:
Your sharing key is not set or is not valid. If is not set, a new sharing key will be create on first connection.
Configuration file: /etc/rbfeeder.ini

What does it mean "First Connection" ? Below is my rbfeeder.ini. I am using the RadarBox dongle. Any tips, would be great.

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

[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

You MUST run rbfeeder (without option to show sharing key) at least once before trying to display.
RBFeeder server will generate a key for your client and store in your rbfeeder.ini, then you can use --showkey option.

If your service is stopped (check using systemctl status rbfeeder.service), just run
sudo rbfeeder
Then wait for connection and sharing key creation (you will se information in your screen).

hartsell

Jonis,

Thanks for the reply. I tried "sudo rbfeeder" but I still am unable to generate a key.
I may just reinstall the OS and software. I also tried "sudo systemctl restart rbfeeder" from support with no luck. It must be the "Segmentation fault" causing the problem?
Here is what I get:

pi@RadarBox:~ $ sudo rbfeeder
[2020-07-28 17:45:16]  Starting RBFeeder Version 0.3.5 (build 20200722181401)
[2020-07-28 17:45:16]  Using configuration file: /etc/rbfeeder.ini
[2020-07-28 17:45:16]  Network-mode disabled. Using local dongle.
Segmentation fault
pi@RadarBox:~ $ sudo rbfeeder --showkey

Your sharing key is not set or is not valid. If is not set, a new sharing key will be create on first connection.
Configuration file: /etc/rbfeeder.ini

hartsell

All,
I got it working by just re-installing the software.

Runway 31

A new version of the RB feeder was posted to fix the seg fault, see https://forum.radarbox24.com/index.php?topic=103601.0

Alan