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

Login with username, password and session length
 


Author Topic: Virtual Radar cannot connect  (Read 3463 times)

0 Members and 1 Guest are viewing this topic.

BrunoBL

  • New Member
  • *
  • Posts: 3
Virtual Radar cannot connect
« on: July 25, 2024, 04:08:04 PM »
Hi All,
I did search the forum, please bear with me.
My Radarbox setup (RTL dongle connected to the RPI USB port) stopped working, I reinstalled the RPI image. It is now connected, it's showing "online" in the Radarbox stations webpage, MLAT included, but has been showing "no data" for over a week.

EDIT - If it helps, my station is EXTRPI252091.

So I tried to connect the Virtual Radar software to it and check what the receiver is seeing locally.

In Virtual Radar, the receiver is set (by the config wizard)  as:
Connection type - Network, "normal"
Address - 192.168.2.7 (RPI's address on my network)
Port - 31001 (also tried 30003 manually)
Send keep-alive packets - checked

When clicking the Test Connection button, I get the message:

"Cannot connect
A connection cannot be made with these settings. No connection could be made because the target machine actively refused it 192.168.2.7:31001"


Help would be appreciated to get VirtualRadar talking to the receiver, and ultimately start sending data again to Radarbox site.

TIA,
Bruno

« Last Edit: July 25, 2024, 05:42:45 PM by BrunoBL »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33929
Re: Virtual Radar cannot connect
« Reply #1 on: July 25, 2024, 06:43:38 PM »
The RB feeder uses port 30005 however post your ini file to see if I can see anything in it

Alan

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Virtual Radar cannot connect
« Reply #2 on: July 25, 2024, 11:02:58 PM »
The RB feeder uses port 30005 however post your ini file to see if I can see anything in it

Alan

CASE-1:
In file /etc/rbfeeder.ini, the setting is network_mode=true
An external decoder is required to be installed such as either dump1090-fa, or dump1090-mutability, or readsb.

The outputs of external decoder listed above are as follows:

    Beast format data is available at port 30005
    Basestation formate data is available at port 30003

The rbfeeder connects to port 30005 of external decoders.
Configure VRS to use data from RPi as follows:
Either port 30005 (AVR or Beast raw Feed)
Or port 30003 (BaseStation)


CASE-2:
In file /etc/rbfeeder.ini, the setting is network_mod=false
The built-in decoder dump1090-rb is used.

The outputs of built-in decoder dump1090-rb are as follows:

    Beast format data is available at port 32457
    Basestation formate data is available at port 32459

The rbfeeder connects to port 32457 of built-in decoder dump1090-rb.
Configure VRS to use data from RPi as follows:
Either port 32457 (AVR or Beast raw Feed)
Or port 32459 (BaseStation)
NOTE: The output of dump1090-rb at port 32459 (Basestation format) lacks position information (Lat & Lon) for most of aircraft. As a result if port 32459 (Basestation) is used in VRS settings, very few aircraft are displayed on VRS map, although a lot are listed in the list on right side of VRS map. It is therefore better to use port 32457 (AVR or Beast Format) in VRS settings.


.
« Last Edit: July 25, 2024, 11:29:59 PM by abcd567 »

BrunoBL

  • New Member
  • *
  • Posts: 3
Re: Virtual Radar cannot connect
« Reply #3 on: July 26, 2024, 02:25:54 AM »
Runway31, abcd567
Many thanks to you both for replying.

network_mode=false
port=3005
and format=AVR or beast Raw Feed

The settings above did the trick.
All is well now, up & running.
Both in Virtual Radar and in the Radarbox site.
You guys rock.
Thanks again.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: Virtual Radar cannot connect
« Reply #4 on: July 26, 2024, 03:10:14 AM »

network_mode=false
port=3005
and format=AVR or beast Raw Feed

The settings above did the trick.
All is well now, up & running.
Both in Virtual Radar and in the Radarbox site.

Seems you made a typing mistake (port 3005) in your above post.
Port 3005 setting in VRS will NOT work.
With network_mode=false, it is port 32457 with "AVR or Beast Raw Format" which works.
Please see attached screenshots.

« Last Edit: July 26, 2024, 03:13:00 AM by abcd567 »

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33929
Re: Virtual Radar cannot connect
« Reply #5 on: July 26, 2024, 12:10:17 PM »
I see you feeding again on RB, well done

Alan

BrunoBL

  • New Member
  • *
  • Posts: 3
Re: Virtual Radar cannot connect
« Reply #6 on: July 26, 2024, 01:10:59 PM »
"Seems you made a typing mistake (port 3005) in your above post"

...Indeed! :-)
Even the (wrong) port wouldn't have been "3005", but 30005, but yes, I ended up mixing it in the reply post. It's 32457, as suggested earlier.

All working.

Thanks abcd567,
Thanks Runway 31.

Cheers
Bruno