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

Login with username, password and session length
 


Author Topic: Sharing Key Is Not Set  (Read 212 times)

0 Members and 1 Guest are viewing this topic.

hartsell

  • New Member
  • *
  • Posts: 3
Sharing Key Is Not Set
« 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

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 29218
Re: Sharing Key Is Not Set
« Reply #1 on: July 28, 2020, 01:04:47 PM »
Suggest you contact [email protected] for advice

Alan

Jonis Maurin Ceara

  • AirNav Systems
  • New Member
  • *****
  • Posts: 8
Re: Sharing Key Is Not Set
« Reply #2 on: July 28, 2020, 09:15:10 PM »
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
Code: [Select]
sudo rbfeederThen wait for connection and sharing key creation (you will se information in your screen).

hartsell

  • New Member
  • *
  • Posts: 3
Re: Sharing Key Is Not Set
« Reply #3 on: July 29, 2020, 12:58:04 AM »
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:

[email protected]:~ $ 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
[email protected]:~ $ 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

  • New Member
  • *
  • Posts: 3
Re: Sharing Key Is Not Set
« Reply #4 on: July 29, 2020, 01:17:57 AM »
All,
I got it working by just re-installing the software.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 29218
Re: Sharing Key Is Not Set
« Reply #5 on: July 29, 2020, 08:07:21 AM »
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