Hello quick query, can dump1090-fa use rtl sdr usb receiver and send/receive beast data over Internet using --net option at the same time? both rpi’s will be on same VPN just in different city’s as I want to try and get both receivers aircraft in range on 1 skyaware map without installing any more software.
I did try some code I found (as below) on the net but didn’t work obv changed IP to that of my rpi on the VPN.
Couple of months ago, I have posted a how-to in Planefider forum to do a similar (but not identical) job. Please see following posts. These may provide you some guidance to configure your setup.
NOTE:
If you copy-paste code/bash script from Planefnder forum, then take care that no blank line is lft above #!/bin/bash .
The copy-paste from Planefinder forum sometimes adds a blank line above #!/bin/bash
@abcd567 it was that thread where I saw the --net comments, I did have a scroll through it but was put off the ones you posted as I was under the impression that by putting receiver to none for net only mode wouldn’t that disable the rtl sdr dongle installed on the RPI and by un biding the 127 IP, would that not cause issues with FR24 I have installed.
@Jonseyt23
In Planefinder example, only first RPi (named there as ADSB-RPi) had dongle, the second RPi (named there as Display RPi) was used as display only, using data from first RPi. That is why second RPi was set as --net-only
In your case since both RPis have dongles, so you should replace RECEIVER=none (= --net-only) by RECEIVER=rtlsd in second RPi. (named there as Display RPi)
So both rpi have receiver set as rtl sdr in dump1090-fa config as that’s the default. Am I thinking right that you can’t use rtl usb and -net connections at the same time
If you are using dump1090-fa version 6 or greater then DO NOT add above lines into config files of dump1090-fa. The format you mentioned was used in dump1090-fa prior to ver 6.
Yes, you cannot use both RECEIVER=rtlsdr and --net-only simultaneously
Yes, but dump1090-fa will never establish outbound connections. If you want to connect two together, you need something else to connect the input port on one to the output port on the other (e.g. beast-splitter, or even socat will work if you wrap it in some infrastructure). Or I think readsb will do this directly (I don’t know the details)
Please ensure that you don’t feed the combined data to piaware.