AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: abcd567 on June 23, 2017, 10:03:27 PM

Title: Bake a Pi
Post by: abcd567 on June 23, 2017, 10:03:27 PM
RASPBERRY PI
HOW TO INSTALL OPERATING SYSTEM, DECODER, AND DATA FEEDERS.

Click on the options to see detailed instructions.
Alternatively, scroll down to see all these options


OPTION-1 (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187841#msg187841)
- Raspbian Lite image
- dump1090-mutability EB_VER
- Radarbox24 data feeder
- Additional data feeders.


OPTION-2 (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187851#msg187851)
- Raspbian Lite image
- dump1090-fa
- Radarbox24 data feeder
- Additional data feeders.


OPTION-3 (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187861#msg187861)
- Piaware image (this image has integral dump1090-fa and Piaware data feeder)
- Radarbox24 data feeder
- Additional data feeders


OPTION-4 (http://www.airnavsystems.com/forum/index.php?topic=10201.msg187871#msg187871)
- Pi24 image (this image has integral dump1090-mutability EB_VER and FR24 data feeder)
- Radarbox24 data feeder
- Additional data feeders.
  See this thread: How to Feed Data to Multiple Sites - A Brief Guide (https://forum.flightradar24.com/threads/11137-How-to-Feed-Data-to-Multiple-Sites-A-Brief-Guide)


HOW TO INSTALL ADDITIONAL DATA FEEDERS (http://www.airnavsystems.com/forum/index.php?topic=10201.msg187901#msg187901)
1) Planefinder
2) Flightaware
3) Flightradar24
Title: Re: Bake a Pi
Post by: abcd567 on June 23, 2017, 10:03:58 PM
Last update: Feb 29, 2024

OPTION-1
RaspberryPi OS Lite image + dump1090-mutability + Radarbox24 data feeder


STEP-1:  Write Image to microSD card

Alternate-1: Using Raspberry Pi Imager (Recommended)
This method has advantage that you can configure user name, user password, Wifi SSID, Wifi Password, and enable SSH in the Raspberry Pi imager, and when the microSD card is inserted in Pi and Pi is powered up, the WiFi and SSH are available right from first boot.

Download Imager from here:
https://www.raspberrypi.com/software/ (https://www.raspberrypi.com/software/)


(https://i.postimg.cc/MTbgXdyP/RPI-imager-546x386.png)


Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port) and follow instructions here:
https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system (https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system)


Alternate-2: Using Win32DiskImager or BalenaEtcher
This option requires that a Monitor, Keyboard and Mouse is connected to RPi on First Boot, in order to configure (a) username (b) user password (c) Wifi SSID (d) WiFi password (e) Enable SSH.

(2.1) Download Raspbian Lite image (zip) on your Desktop/Laptop
Download page:
]https://www.raspberrypi.com/software/operating-systems/] (https://www.raspberrypi.com/software/operating-systems/)


(2.2) Unzip downloaded file to get .img file.

(2.3) Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port).

(2.4) Write the unzipped Raspbian Lite image to microSD Card using Win32DiskImager or Balena Etcher.

(2.5) Connect a Monitor, Keyboard and Mouse to RPi.

(2.6) Remove microSD card from card reader, insert into Pi, power up
The OS will boot, and ask you to enter username (for example pi), and user password.

(2.7) Issue following command
Code: [Select]
sudo raspi-config   

Above command will open a dialog box. Follow steps shown in attached screenshots below to (1) Configure WiFi and (2) Enable SSH

Configure WiFi
(https://i.postimg.cc/R0HSDL4X/raspi-config-System-Options.png)

(https://i.postimg.cc/mDWLf1rR/raspi-config-Wireless-Lan.png)


Enable SSH
(https://i.postimg.cc/PxbttfLD/raspi-config-Interface-Options.png)

(https://i.postimg.cc/fywMk4Xr/raspi-config-SSH.png)


(7) Install dump1090-mutability EB_VER v1.15

If your OS is Debian/Raspbian BUSTER, BULLSEYE, or BOOKWORM

Code: [Select]
sudo apt install dump1090-mutability

sudo usermod -a -G plugdev dump1090

## After above commands, you must reboot RPi so that dump1090-mutability
## can detect and use the Dongle (DVB-T/FA Prostick etc)
sudo reboot


To set your latitude and longitude, give following command. Accept all other default settings by pressing Enter key.

When asked "address to bind", remove default value "127.0.0.1" to make it blank, then press Enter key.

Code: [Select]
sudo dpkg-reconfigure dump1090-mutability 


For most settings, accept default settings by pressing "Enter".
For following settings, enter values as shown:

(a) Your receiver's Latitude (in decimal format): xx.xxxx
(b) Your receiver's  Longitude (in decimal format): yy.yyyy 
(c) Interface address to bind to (blank for all interfaces): remove default 127.0.0.1 and leave blank.

For advance users:Alternatively, you can change the settings by editing the configuration file shown below:
Code: [Select]
sudo nano /etc/default/dump1090-mutability   
#after making changes, save file and exit     
#restart dump1090-mutability   
sudo systemctl restart dump1090-mutability   



(8) See Map in your browser at following address
http://<IP of Pi>/dump1090/

.

(9) Install Radarbox24 data feeder

(a) Install Radarbox24 Feeder
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

(b) Configure Radarbox Feeder
After installation is complete, the rbfeeder will automatically obtain a feeder-key and station number.
To claim your station and link to your email address, go to: https://www.radarbox24.com/raspberry-pi/claim

Your feeder-key and station numbers are stored in file rbfeeder.ini.
You can check your station number and key by following command
Code: [Select]
sudo cat /etc/rbfeeder.ini

Above command will display following text

Code: [Select]
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sn=EXTRPIxxxxxx

[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



If you already have a feeder key, you can set it by following commands
Code: [Select]
sudo rbfeeder --no-start --setkey ‹your sharing key›

sudo systemctl restart rbfeeder

#check what key has been set
sudo rbfeeder --showkey --no-start

#check status
sudo systemctl status rbfeeder -l
(10) ADD TERRAIN LIMIT RINGS
Dump1090-mutability v1.15~dev can display terrain limit rings using data obtained from the website  http://www.heywhatsthat.com (http://www.heywhatsthat.com).

(a) First you have to generate a panorama for your location. To do this, follow the steps in the first post of the following thread:
What is the Maximum Range I can Get? (https://www.airnavsystems.com/forum/index.php?topic=9251.0)

(b) Once your panorama is generated, look near the top left of your newly created panorama page. You will see URL of your panorama there. The URL will be http: // www . heywhatsthat . com/?view=XXXXXXXX where XXXXXXXX is the ID for your panorama.

See screenshot below.


(https://farm2.staticflickr.com/1552/25216701711_7b4b71130d.jpg)


(c) Use following command to download the generated panorama's JSON file "upintheair.json" to your RPi, and save it in the folder "/usr/share/dump1090-mutability/html" (replace XXXXXXXX in the command below by your panorama's ID).
[/list]
Code: [Select]
sudo wget -O /usr/share/dump1090-mutability/html/upintheair.json "http://www.heywhatsthat.com/api/upintheair.json?id=XXXXXXXX&refraction=0.25&alts=12192"

To keep map un-cluttered, I have used only 1 rings in the wget command above. i.e. the  40,000 feet (12192 meters).

However, you can create as many rings as you want by adding elevations (in meters) at the end of URL given in the wget command above after "&alts=", separated by commas.

10,000 ft = 3048 m
20,000 ft = 6096 m
25,000 ft = 7620 m
30,000 ft = 9144 m
40,000 ft = 12192 m

Hence if you want to add all the 5 elevation rings noted above, the string at the end of wget URL will become  "&alts=3048,6096,7620,9144,12192"


Important:
Use altitude in meters in the wget URL above.
Do NOT use feet.

(d) RESTART dump1090-mutability
Code: [Select]
sudo systemctl restart dump1090-mutability



Title: Re: Bake a Pi
Post by: abcd567 on June 23, 2017, 10:04:23 PM
Last update: Feb 29, 2024

OPTION-2
RaspberryPi OS Lite image + dump1090-fa + Radarbox24 data feeder


STEP-1:  Write Image to microSD card

Alternate-1: Using Raspberry Pi Imager (Recommended)
This method has advantage that you can configure user name, user password, Wifi SSID, Wifi Password, and enable SSH in the Raspberry Pi imager, and when the microSD card is inserted in Pi and Pi is powered up, the WiFi and SSH are available right from first boot.

Download Imager from here:
https://www.raspberrypi.com/software/ (https://www.raspberrypi.com/software/)


(https://i.postimg.cc/MTbgXdyP/RPI-imager-546x386.png)


Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port) and follow instructions here:
https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system (https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system)


Alternate-2: Using Win32DiskImager or BalenaEtcher
This option requires that a Monitor, Keyboard and Mouse is connected to RPi on First Boot, in order to configure (a) username (b) user password (c) Wifi SSID (d) WiFi password (e) Enable SSH.

(2.1) Download Raspbian Lite image (zip) on your Desktop/Laptop
Download page:
]https://www.raspberrypi.com/software/operating-systems/] (https://www.raspberrypi.com/software/operating-systems/)


(2.2) Unzip downloaded file to get .img file.

(2.3) Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port).

(2.4) Write the unzipped Raspbian Lite image to microSD Card using Win32DiskImager or Balena Etcher.

(2.5) Connect a Monitor, Keyboard and Mouse to RPi.

(2.6) Remove microSD card from card reader, insert into Pi, power up
The OS will boot, and ask you to enter username (for example pi), and user password.

(2.7) Issue following command
Code: [Select]
sudo raspi-config   

Above command will open a dialog box. Follow steps shown in attached screenshots below to (1) Configure WiFi and (2) Enable SSH

Configure WiFi
(https://i.postimg.cc/R0HSDL4X/raspi-config-System-Options.png)

(https://i.postimg.cc/mDWLf1rR/raspi-config-Wireless-Lan.png)


Enable SSH
(https://i.postimg.cc/PxbttfLD/raspi-config-Interface-Options.png)

(https://i.postimg.cc/fywMk4Xr/raspi-config-SSH.png)


(6) Install dump1090-fa

(a) Installation of dump1090-fa
Code: [Select]
wget https://www.flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.2_all.deb   

sudo dpkg -i flightaware-apt-repository_1.2_all.deb

sudo apt-get update 

sudo apt-get install dump1090-fa   

sudo reboot

To check latest version, please go to item "3 - Download and Install PiAware" on this page:
http://flightaware.com/adsb/piaware/install (http://flightaware.com/adsb/piaware/install).

.
(b) Configure dump1090-fa:
The following command will open settings file for viewing/editing.
Code: [Select]
sudo nano /etc/default/dump1090-fa

Receiver Location:
To this file, add your receiver's Latitude and longitude (in decimal format) . By default these values are left blank, which I have filled by xx.xxxx and yy.yyyy as shown below.

Code: [Select]
# Receiver location, used for some types of position decoding. Provide the location as
# signed decimal degrees. If not given here, dump1090 will also try to read a receiver
# location from /var/cache/piaware/location.env (written automatically by PiAware, if installed)
RECEIVER_LAT=xx.xxxx
RECEIVER_LON=yy.yyyy


Gain:
The initial gain value by default is set 60 as shown below.
Code: [Select]
# Initial receiver gain, in dB. If adaptive gain is enabled (see below) the actual gain
# may change over time
RECEIVER_GAIN=60

If you want to change gain setting, replace 60 by the gain value you desire. The possible gain value range is from 0 to 49.6 and 58.6
All gain values should be positive


Adaptive Gain
By default Adaptive Gain is enabled.
Code: [Select]
# Adjust gain to try to achieve optimal dynamic range / noise floor?
ADAPTIVE_DYNAMIC_RANGE=yes

Adaptive gain automatically adjust the gain to value required according to signal strength. It starts with default value 60, tries different values and sets at a value suiting to current sinal level. It repeats this at regular intervals.

If you want to turn-off adaptive Gain Control, change "yes" to "no" as shown below:
Code: [Select]
# Adjust gain to try to achieve optimal dynamic range / noise floor?
ADAPTIVE_DYNAMIC_RANGE=no

After making changes, save file and exit
Code: [Select]
#restart dump1090-fa
sudo systemctl restart dump1090-fa

#check status of dump1090-fa
sudo systemctl status dump1090-fa -l

See Map in your browser at following address
http://<IP of Pi>/skyaware/


.

(7) Install Radarbox24 data feeder

(a) Install Radarbox24 Feeder
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

(b) Configure Radarbox Feeder
After installation is complete, the rbfeeder will automatically obtain a feeder-key and station number.
To claim your station and link to your email address, go to: https://www.radarbox24.com/raspberry-pi/claim

Your feeder-key and station numbers are stored in file rbfeeder.ini.
You can check your station number and key by following command
Code: [Select]
sudo cat /etc/rbfeeder.ini

#above command will display following text

[client]
network_mode                   = true
log_file                       = /var/log/rbfeeder.log
key                            = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sn                             = EXTRPIxxxxxx

[network]
mode                           = beast
external_port                  = 30005
external_host                  = 127.0.0.1

[mlat]


If you already have a feeder key, you can set it by following commands
Code: [Select]
sudo rbfeeder --no-start --setkey ‹your sharing key›

sudo systemctl restart rbfeeder

#check what key has been set
sudo rbfeeder --showkey --no-start

#check status
sudo systemctl status rbfeeder -l
(8) ADD TERRAIN LIMIT RINGS
Dump1090-fa can display terrain limit rings using data obtained from the website  http://www.heywhatsthat.com (http://www.heywhatsthat.com).

(a) First you have to generate a panorama for your location. To do this, follow the steps in the first post of the following thread:
What is the Maximum Range I can Get? (https://www.airnavsystems.com/forum/index.php?topic=9251.0)

(b) Once your panorama is generated, look near the top left of your newly created panorama page. You will see URL of your panorama there. The URL will be http: // www . heywhatsthat . com/?view=XXXXXXXX where XXXXXXXX is the ID for your panorama.

See screenshot below.


(https://farm2.staticflickr.com/1552/25216701711_7b4b71130d.jpg)


(c) Use following command to download the generated panorama's JSON file "upintheair.json" to your RPi, and save it in the folder "/usr/share/skyaware/html" (replace XXXXXXXX in the command below by your panorama's ID).
[/list]
Code: [Select]
sudo wget -O /usr/share/skyaware/html/upintheair.json "http://www.heywhatsthat.com/api/upintheair.json?id=XXXXXXXX&refraction=0.25&alts=12192"

You can create as many rings as you want by adding elevations (in meters) at the end of URL given in the wget command above after "&alts=", separated by commas.

10,000 ft = 3048 m
20,000 ft = 6096 m
25,000 ft = 7620 m
30,000 ft = 9144 m
40,000 ft = 12192 m

Hence if you want to add all the 5 elevation rings noted above, the string at the end of wget URL will become  "&alts=3048,6096,7620,9144,12192"

NOTE: To keep map un-cluttered, I have used only 1 ring in the wget command above. i.e. the 40,000 feet (12192 meters).

Important:
Use altitude in meters in the wget URL above.
Do NOT use feet.

(d) RESTART dump1090-fa
Code: [Select]
sudo systemctl restart dump1090-fa

Reload your browser (Ctrl+F5). If terrain rings do not appear, clear browser cache (Ctrl+Shift+Delete)


Title: Re: Bake a Pi
Post by: abcd567 on June 23, 2017, 10:04:55 PM
Last update: Feb 29, 2024

OPTION-3
Piaware image (this image has integral dump1090-fa and flightaware data feeder) + Radarbox24 data feeder

(1) Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port).

(2) Go to following page:
http://flightaware.com/adsb/piaware/build (http://flightaware.com/adsb/piaware/build)

(3) Scroll down to "2 - Install PiAware on your SD card" on above page
(https://i.postimg.cc/x1PB5skK/Piaware-SD-card-image.jpg)

(4) Using link given on above page, download Piaware image (zip) on your Desktop/Laptop, and unzip downloaded file.

(5) Write the unzipped Piaware image to microSD Card.

(6) After image is written, in Windows Explorer, double click the drive letter of microSD card. This will open the folder /boot and show lots of files and some folders.
.
(7) Remove microSD card from card reader, insert into Pi, and power up.

(8) See Map in your browser at following address
http://<IP of Pi>/skyaware/


(7) Install Radarbox24 data feeder

(a) Install Radarbox24 Feeder
[/list]
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

(b) Configure Radarbox Feeder
After installation is complete, the rbfeeder will automatically obtain a feeder-key and station number.
To claim your station and link to your email address, go to: https://www.radarbox24.com/raspberry-pi/claim

Your feeder-key and station numbers are stored in file rbfeeder.ini.
You can check your station number and key by following command
Code: [Select]
sudo cat /etc/rbfeeder.ini

#above command will display following text

[client]
network_mode                   = true
log_file                       = /var/log/rbfeeder.log
key                            = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sn                             = EXTRPIxxxxxx

[network]
mode                           = beast
external_port                  = 30005
external_host                  = 127.0.0.1

[mlat]


If you already have a feeder key, you can set it by following commands
Code: [Select]
sudo rbfeeder --no-start --setkey ‹your sharing key›

sudo systemctl restart rbfeeder

#check what key has been set
sudo rbfeeder --showkey --no-start

#check status
sudo systemctl status rbfeeder -l
(8) ADD TERRAIN LIMIT RINGS
Dump1090-fa can display terrain limit rings using data obtained from the website  http://www.heywhatsthat.com (http://www.heywhatsthat.com).

(a) First you have to generate a panorama for your location. To do this, follow the steps in the first post of the following thread:
What is the Maximum Range I can Get? (https://www.airnavsystems.com/forum/index.php?topic=9251.0)

(b) Once your panorama is generated, look near the top left of your newly created panorama page. You will see URL of your panorama there. The URL will be http: // www . heywhatsthat . com/?view=XXXXXXXX where XXXXXXXX is the ID for your panorama.

See screenshot below.


(https://farm2.staticflickr.com/1552/25216701711_7b4b71130d.jpg)


(c) Use following command to download the generated panorama's JSON file "upintheair.json" to your RPi, and save it in the folder "/usr/share/skyaware/html" (replace XXXXXXXX in the command below by your panorama's ID).
[/list]
Code: [Select]
sudo wget -O /usr/share/skyaware/html/upintheair.json "http://www.heywhatsthat.com/api/upintheair.json?id=XXXXXXXX&refraction=0.25&alts=12192"

You can create as many rings as you want by adding elevations (in meters) at the end of URL given in the wget command above after "&alts=", separated by commas.

10,000 ft = 3048 m
20,000 ft = 6096 m
25,000 ft = 7620 m
30,000 ft = 9144 m
40,000 ft = 12192 m

Hence if you want to add all the 5 elevation rings noted above, the string at the end of wget URL will become  "&alts=3048,6096,7620,9144,12192"

To keep map un-cluttered, I have used only 1 ring in the wget command above. i.e. the 40,000 feet (12192 meters).

Important:
Use altitude in meters in the wget URL above.
Do NOT use feet.

(d) RESTART dump1090-fa
Code: [Select]
sudo systemctl restart dump1090-fa





Title: Re: Bake a Pi
Post by: abcd567 on June 23, 2017, 10:05:21 PM
OPTION - 4:

1.1 - Download PI24 image (zip) on your Desktop/Laptop.

Download page:   https://www.flightradar24.com/build-your-own (https://www.flightradar24.com/build-your-own)

Direct download link: http://repo.feed.flightradar24.com/rpi_images/fr24-raspberry-pi-latest.img.zip (http://"http://repo.feed.flightradar24.com/rpi_images/fr24-raspberry-pi-latest.img.zip")

1.2 - Unzip downloaded file to get .img file.

1.3 - Insert microSD Card in your Desktop/Laptop’s card slot (or use a card reader plugged into USB Port).

1.4 - Write the unzipped PI24 image to microSD Card using Win32DiskImager or Etcher.


1.5 - Enable WiFi on first boot (Do NOT execute this step if you are using a wired network connection to RPi):
Windows: In File Explorer, double click the drive letter of microSD card. This will open the folder /boot and show lots of files and some folders. Right click in /boot folder and scroll down to find a file named wpa_supplicant.conf. Open this file in Notepad.

Mac: Open the Finder program. Select the Micro SD card device labelled "boot". Open the file "wpa_supplicant.conf" in TextEdit.

Windows & Mac: In the opened blank file wpa_supplicant.conf, you will see following text:
[/list]
Code: [Select]
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="YOUR_SSID"
    psk="YOUR_PASSWORD"
}
Replace YOUR_SSID by your router’s wifi ssid, and YOUR_PASSWORD by your router’s wifi password.

In some countries, wifi wont work without specifying the country. Add following line at top of file wpa_supplicant.conf

country=XX

Replace XX by two letter code for your country e.g. GB for UK, US for USA, DE for Germany, FR for France, SE for Sweden, CH for Switzerland, NL for Netherland, AU for Australia, NZ for New Zealand, etc etc. (click here for complete list (https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes))

Save file.

On first boot, the WiFi will be enabled, and the file wpa_supplicant.conf will be moved from folder /boot to folder /etc/wpa_supplicant/. Any changes in WiFi settings after first boot is to be done in the file /etc/wpa_supplicant/wpa_supplicant.conf


1.6 - Remove microSD card from card reader, insert into Pi, power up, and SSH.


2 - Configure FR24 Feeder

Note: You dont have to install FR24 feeder, as it is pre-installed in PI24 image. You have only to signup and configure. Also during configuration, if you choose Receiver "1 - DVB Stick", then dump1090-mutability ver 1.14 will be installed automatically.


2.1 - Plug-in your DVB-T dongle in USB port of RPi

2.2 - SSH to RPi and give following command to install fr24feed:

Code: [Select]
sudo fr24feed --signup
2.3 - During execution of above command, fr24feed will present a signup wizard, asking for email, sharing key, latitude, longitude, antenna height etc. Provide all these details.

2.4 - After sign-up details, it will ask choice for receiver configuration details, as shown below.
Select option 1  DVBT Stick (USB)


Quote
Step 4.1 - Receiver selection (in order to run MLAT please use DVB-T stick with dump1090 utility bundled with fr24feed):

 1 - DVBT Stick (USB)
 -----------------------------------------------------
 2 - SBS1/SBS1er (USB/Network)
 3 - SBS3 (USB/Network)
 4 - ModeS Beast (USB/Network)
 5 - AVR Compatible (DVBT over network, etc)
 6 - microADSB (USB/Network)
 7 - SBSx via Basestation (localhost:30006)


Enter your receiver type (1-7)$: 1
Checking for dump1090...FOUND

Step 4.3 - Enter your additional dump1090 arguments or leave empty
$:   --net    --gain  -10    --lat  xx.xxxx   --lon  yy.yyyy

Step 5.1 - Would you like to enable RAW data feed on port 30002 (yes/no)$:  no

Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$:  no

Step 6A - Please select desired logfile mode:
 0 -  Disabled
 1 -  48 hour, 24h rotation
 2 -  72 hour, 24h rotation
Select logfile mode (0-2)$:  0

Step 6B - Please enter desired logfile path (/var/log/fr24feed):
$:

Submitting form data...

Saving settings to /etc/fr24feed.ini...OK
Settings saved, please run "sudo systemctl restart fr24feed" to use new configuration.

pi@raspberrypi:~ $ sudo systemctl restart fr24feed



3 - Install Radarbox24 data feeder

3.1 -  Install Radarbox24 Feeder
[/list]
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

3.2 - Configure Radarbox Feeder
After installation is complete, the rbfeeder will automatically obtain a feeder-key and station number.
To claim your station and link to your email address, go to: https://www.radarbox24.com/raspberry-pi/claim

Your feeder-key and station numbers are stored in file rbfeeder.ini.
You can check your station number and key by following command
Code: [Select]
sudo cat /etc/rbfeeder.ini

#above command will display following text

[client]
network_mode                   = true
log_file                       = /var/log/rbfeeder.log
key                            = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sn                             = EXTRPIxxxxxx

[network]
mode                           = beast
external_port                  = 30005
external_host                  = 127.0.0.1

[mlat]


If you already have a feeder key, you can set it by following commands
Code: [Select]
sudo rbfeeder --no-start --setkey ‹your sharing key›

sudo systemctl restart rbfeeder

#check what key has been set
sudo rbfeeder --showkey --no-start

#check status
sudo systemctl status rbfeeder -l
Title: Re: Bake a Pi
Post by: abcd567 on June 24, 2017, 06:03:31 AM
Last update: Feb 19, 2022

ADDITIONAL FEEDERS

(1) INSTALLATION OF PLANEFINDER DATA FEEDER:
To install Plane Finder Client, enter these commands in console:

This version of Planefnder Feeder has Open Street Map by default, but has option to switch to Google Map
Code: [Select]
wget http://client.planefinder.net/pfclient_5.0.161_armhf.deb
sudo dpkg -i pfclient_5.0.161_armhf.deb

The above versions are current as on February 19, 2022.
For latest version number, check this page:
https://planefinder.net/sharing/client (https://planefinder.net/sharing/client)
 
CONFIGURE
After installation is complete as above, type http: //<ip address of RPi on your network>:30053/setup.html in your browser, and follow instructions on the page opened. The <ip address of RPi on your network> will be something like 192.168.2.12 and can be found from your router setup.

Choose option to request sharecode, if you don't already have one. Planefinder will send it to you by email. After you receive sharecode, you can enter it on above page and complete your configuration.

During configuration,enter:
Sharecode
Receiver Lat: Your Latitude in decimal format
Receiver Lon: Your Longitude in decimal format
Click "Assign Share Code"


This will open a new page. On this page enter:
Receiver Data Format:  Beast
How are you connecting to your receiver: Network
IP Address:  127.0.0.1
Port Number: 30005
Click "Complete configuration"

PF Client web interfaces:
After SETUP is complete and pfclient is up & running, you can see following in your computer's browser.
http:// <ip-address-of-RPi>:30053/map.html (shows planes on Open Street Map/Google Map)
http:// <ip-address-of-RPi>:30053/stats.html (shows stats of your receiver)
http:// <ip-address-of-RPi>:30053/logs.html (shows logs of your receiver)

(<ip-address-of-RPi> will be something like 192.168.2.15 . Obtain exact value from your router settings)
.
.
.

(2) INSTALLATION OF FLIGHTAWARE DATA FEEDER:

Code: [Select]
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.1_all.deb
sudo dpkg -i piaware-repository_7.1_all.deb

sudo apt-get update
sudo apt-get install piaware

#The above command will run for a while and install piaware.
#After installation is completed, give following commands.
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes

The above version (7.1) is current as on February 19, 2022.
To check latest version number, go to item "2 - Download and Install PiAware" on this page:
http://flightaware.com/adsb/piaware/install (http://flightaware.com/adsb/piaware/install).

.
.
.
(3) INSTALLATION OF FLIGHTRADAR24 DATA FEEDER:
Install FR24 feeder using command below.
After installation is done, it will present a signup wizard, asking for email, sharing key, latitude, longitude, antenna height etc.
Code: [Select]
sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"
The above method is current as on February 19, 2022.
For latest instructions, please visit this page:
https://www.flightradar24.com/raspberry-pi (https://www.flightradar24.com/raspberry-pi).

After instal;ling the fr24feed package, the installer will start signup procedure. After getting from you email, fr24 share key, latitude, longitude, elevation, it will ask you this question:

Would you like to use autoconfig (*yes*/no)$:

Type yes and press Enter key


Post Install configuration/Re-configuration of FR24 feeder
METHOD-1: The FR24 Feeder can be configured on the page http://<IP of RPi>:8754/settings.html.
The "Receiver" and "Host/IP" setting should be either "ModeS Beast(TCP),  127.0.0.1:30005" or "AVR(TCP),  127.0.0.1:30002"

METHOD-2: Re-configuration can also be done through SSH
Code: [Select]
~ $ sudo fr24feed --reconfigure
It will ask choice for receiver configuration. ENTER VALUES SHOWN IN RED BELOW
Quote
Step 4.1 - Receiver selection:
 1 - DVBT Stick (USB)
 -----------------------------------------------------
 2 - SBS1/SBS1er (USB/Network)
 3 - SBS3 (USB/Network)
 4 - ModeS Beast (USB/Network)
 5 - AVR Compatible (DVBT over network, etc)
 6 - microADSB (USB/Network)
 7 - SBSx via Basestation (localhost:30006)
Enter your receiver type (1-7)$: 4


Step 4.2 - Please select connection type:
 1 - Network connection
 2 - USB directly to this computer
Enter your connection type (1-2)$: 1


Step 4.3A - Please enter your receiver's IP address/hostname
$: 127.0.0.1

Step 4.3B - Please enter your receiver's data port number
$: 30005


Step 5.1 - Would you like to enable RAW data feed on port 30002 (yes/no)$:no

Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$:no

Step 6A - Please select desired logfile mode:
 0 -  Disabled
 1 -  48 hour, 24h rotation
 2 -  72 hour, 24h rotation
Select logfile mode (0-2)$:0

Step 6B - Please enter desired logfile path (/var/log):
$:/var/log

After reconfiguration, restart fr24feed
Code: [Select]
~$ sudo service fr24feed restart
.
.

AND THAT IS ALL....... ENJOY!






.
.
.
Title: Re: Bake a Pi
Post by: anorak on June 26, 2017, 08:17:24 PM
Thanks very much for all the effort put in to getting the dongles working with Pi, but you can`t rest on your laurels yet, what about gettig the boxes to run through the Pi kit.  Pretty please............ ;-))
Dave.
Title: Re: Bake a Pi
Post by: abcd567 on July 04, 2017, 03:11:38 PM
....what about gettig the boxes to run through the Pi kit....
I dont have Radarbox ComStation or Micro RadarBox, so cannot answer your question.

Aparently Micro RadarBox, being a DVB-T USB receiver, should work with RPi in the same way as any other DVB-T works with RPi.

Title: Re: Bake a Pi
Post by: anorak on July 05, 2017, 08:21:51 AM
I was thinking about the original boxes to save my poor old laptop from expiring from heat exhaustion!  (Yes even in England  ;-) )
Dave.
Title: Re: Bake a Pi
Post by: abcd567 on July 20, 2017, 01:18:54 AM
I was thinking about the original boxes to save my poor old laptop from expiring from heat exhaustion!  (Yes even in England  ;-) )
Dave.
Hi Dave
I don't have Radarbox hardware. Can you tell me which cable your Radarbox uses to connect to your Windows computer (USB,  Serial,  Parallel,  com port,  or Ethernet)?

If the Radarbox is connected to router by an Ethernet cable,  and Windows computer connects to it on network,  I may find a way to feed data to airnav through Pi instead of Windows computer.
Regards
abcd567
Title: Re: Bake a Pi
Post by: anorak on July 20, 2017, 06:23:34 AM
Morning, the box connects with a USD cable to the computer and then the data is fed to the network, but I fed my laptop via a Silex box. Perhaps there might be a clue in that.
Good luck as a few others are looking for a solution,  Dave.
Title: Re: Bake a Pi
Post by: abcd567 on July 20, 2017, 07:42:54 AM
Morning, the box connects with a USD cable to the computer and then the data is fed to the network, but I fed my laptop via a Silex box. Perhaps there might be a clue in that.
Good luck as a few others are looking for a solution,  Dave.
The method given below is untested.
Unfortunately I dont have a Radarbox, otherwise I will first test it myself, and post only if found successful.
Untill I have tested it myself, I cannot give any guarantee of its success.
You have to test it yourself. It may work, it may not.



STEP-1
If you already have a RPi+DVB-T feeding data to AirNav, do following:
(1) Plug-out DVB-T from Raspberry Pi.
(2) Plug-out Radarbox's USB cable from your Windows Computer, and plug it in the USB port of RPi.
(3) Reboot RPi

Now check the status of feed
Code: [Select]
pi@raspberrypi:~ $ sudo systemctl status rbfeeder -l
The Radarbox should now feed to the RPi station you have (EXTRPI0000aaa).

If STEP-1 is successful, go to STEP-2


STEP-2

If you want to feed the same station number (PGANRB000bbb) you were already feeding by Radarbox, then you have to edit RPi's file "rbfeeder.ini" and replace the existing key (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) by your Radarbox's key (yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy). Leave the station number "EXTRPI000aaa" unchanged. On restart/reboot, correct station number (based on key) will be assigned automatically.


Code: [Select]
pi@raspberrypi:~$ sudo nano /etc/rbfeeder.ini
Quote
[client]
network_mode                   = true
log_file                       = /var/log/rbfeeder.log
key                            = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   (Replace it by Radabox's key)
sn                             = EXTRPI000aaa


[network]
mode                           = beast
external_port                  = 30005
external_host                  = 127.0.0.1


[mlat]

Save the file Ctrl+o, exit editor Ctrl+x

Now restart the rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder
Alternatively you can reboot the RPi
Code: [Select]
sudo reboot


Now check "rbfeeder.ini" to make sure it has now set itself to your Radarbox's key and Station number

Code: [Select]
pi@raspberrypi:~$ cat /etc/rbfeeder.ini
Quote
[client]
network_mode                   = true
log_file                       = /var/log/rbfeeder.log
key                            = yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
sn                             = PGANRB000bbb


[network]
mode                           = beast
external_port                  = 30005
external_host                  = 127.0.0.1


[mlat]

Now check the status of feed
Code: [Select]
pi@raspberrypi:~ $ sudo systemctl status rbfeeder -l


Please post the results of your test for benefit of others. Thanks
Title: Re: Bake a Pi
Post by: abcd567 on July 21, 2017, 07:01:25 PM
Radarbox requires a driver, which is installed with Radarbox Software installation on WINDOWS. Driver for LINUX is NOT available. All OS for RPi are Linux based, except Windows 10 IoT core.

Windows 10 IoT is available from Microsoft for installation on RPi. The Radarbox may work with it. Has anyone tried it?

https://developer.microsoft.com/en-us/windows/iot/getstarted (https://developer.microsoft.com/en-us/windows/iot/getstarted)
Title: Re: Bake a Pi
Post by: anorak on July 27, 2017, 04:08:05 PM
Hi abcd, sorry step 1 doesn`t work, green power light comes on and blue USB light flashes once thats all that happens.
Dave.
PS, still running Vista on my laptop so unable to download W10.
Title: Re: Bake a Pi
Post by: m24andrew on September 13, 2017, 06:16:31 PM
I have followed all the instructions and I have FR24, Flightaware, Radarbox and planefinder all working on a Pi 3 model B using the Flightaware new blue dongle.  When I try to update using sudo apt-get update, I receive the following error...

W: GPG error: http://apt.rb24.com jessie Release: The following signatures were invalid: A7E7D5E3786CA2212A3A5F4769D62C99357DF51A
W: The repository 'http://apt.rb24.com jessie Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: No Hash entry in Release file /var/lib/apt/lists/partial/apt.rb24.com_dists_jessie_Release which is considered strong enough for security purposes
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/apt.rb24.com_dists_jessie_Release

What can I do to solve this?
Many thanks and great post!
Title: Re: Bake a Pi
Post by: abcd567 on September 14, 2017, 07:27:31 PM
@m24andrew:

Dont worry about this. It is a bug in rbfeeder (rbfeedee's GPG signature in Raspbian repository), which prevents update of apt cache, and update of rbfeeder. Your rbfeeder will still work normally.

The problem is more severe with latest version of Raspbian i.e. "Raspbian Stretch" image.

The bash script below fails to install the rbfeeder on "Raspbian Stretch" .
Code: [Select]
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"



Title: Re: Bake a Pi
Post by: m24andrew on September 14, 2017, 07:30:48 PM
Thanks for the reply!

I do have stretch and noticed it failed to install the feeder...I installed it via apt-get.

Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2017, 02:29:25 PM
Workaround for Failure of rbfeeder installation bash script When Run on Raspbian STRETCH

I have sent an email to AirNav System's Andre Brandao and Jonis Ceara about this issue in Raspbian STRETCH, and they are looking after this bug. Hope it will be resolved soon.

Meanwhile there are two workarounds, one easy, other difficult.

Workaround - 1 (Easy, For Novice):
Thanks to m24andrew who pointed out to this easy solution

Code: [Select]
sudo apt-get update
sudo apt-get install rbfeeder
The installation process will start.
After few minutes, it will stop and display:

Quote
WARNING: The following packages cannot be authenticated!
  rbfeeder
Install these packages without verification? [y/N]


Type "y" and press Enter key. The installation process will continue and complete the installation in a minute or two.
Now go ahead with configuration and claim as shown in installation guide, STEP-2 onward Click Here (https://www.radarbox24.com/raspberry-pi/guide)


.
.
.
.

Workaround - 2 (Difficult, Only For Code Lovers):
Code: [Select]
wget -O inst_rbfeeder.sh "http://apt.rb24.com/inst_rbfeeder.sh"

sudo nano inst_rbfeeder.sh

Now scroll down to following lines, and delete -y as shown in red, and save the file (Ctrl+O) and close editor (Ctrl+x).
Quote
# Update and install RBFeeder
apt-get update
apt-get install rbfeeder -y


Now make the file " inst_rbfeeder.sh" executable, then execute it as follows
Code: [Select]
sudo chmod +x inst_rbfeeder.sh
sudo ./inst_rbfeeder.sh

The script will start installation process.
After few minutes, it will stop and display:
Quote
WARNING: The following packages cannot be authenticated!
  rbfeeder
Install these packages without verification? [y/N]


Type "y" and press Enter key. The installation process will continue and complete the installation in a minute or two.

Now go ahead with configuration and claim as shown in installation guide, STEP-2 onward Click Here (https://www.radarbox24.com/raspberry-pi/guide)


Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2017, 02:48:07 PM
Workaround for Failure of dump1090-mutability When Installed on Raspbian STRETCH

In Raspbian STRETCH, the dump1090-mutability fails to open the DVB-T dongle.
As a result:
(a) It does not have any data available for the feeders, which fail to feed the Radarbox24 and other sites.
(b) The Map at < IP of Pi >/dump1090/gmap.html gives error message:

Quote

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.


The problem is caused by missing file "rtl-sdr.rules".
A very easy, one step solution is below:

Code: [Select]
sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

sudo reboot
Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2017, 03:00:20 PM
Workaround for Failure of FlightRadar24 installation bash script When Run on Raspbian STRETCH


Flightradar24 Feeder fails to install on Raspbian STRETCH by automated script/bash script.
Reason is missing package "dirmngr"
Workaround is given below:

Code: [Select]
sudo apt-get update
sudo apt-get install dirmngr

sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
#Enter details when prompted.
Title: Re: Bake a Pi
Post by: elTrauko on October 01, 2017, 05:43:27 PM
Hi Abcd567,
I am trying to install dump1090-fa with Piaware and Fr24feed in a C.H.I.P. (http://getchip.com), the two feeders report being active, dump1090-fa gives me the messages I put below, how can I fix this?
Thank you

xxxx@xxxx:~$ sudo systemctl status dump1090-fa -l
● dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since dom 2017-10-01 14:19:08 -03; 11s ago
     Docs: https://flightaware.com/adsb/piaware/
  Process: 567 ExecStart=/usr/bin/dump1090-fa $RECEIVER_OPTIONS $DECODER_OPTIONS $NET_OPTIONS $JSON_OPTIONS
  $PIAWARE_DUMP1090_LOCATION_OPTIONS --write-json /run/dump1090-fa --quiet (code=exited, status=1/FAILURE)
 Main PID: 567 (code=exited, status=1/FAILURE)


oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: --json-location-accuracy <n>  Accuracy of receiver location in json metadata: 0=no location, 1=approximate, 2=exact
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: --dcfilter               Apply a 1Hz DC filter to input data (requires more CPU)
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: --help                   Show this help
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: Debug mode flags: d = Log frames decoded with errors
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: D = Log frames decoded with zero errors
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: c = Log frames with bad CRC
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: C = Log frames with good CRC
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: p = Log frames with bad preamble
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: n = Log network debugging info
oct 01 14:19:08 SCPQ-4 dump1090-fa[567]: j = Log frames to frames.js, loadable by debug.html
Title: Re: Bake a Pi
Post by: abcd567 on October 03, 2017, 01:21:51 AM
Hi Abcd567,
I am trying to install dump1090-fa with Piaware and Fr24feed in a C.H.I.P. (http://getchip.com), the two feeders report being active, dump1090-fa gives me the messages I put below, how can I fix this?

How did you install dump1090-fa? If you used method given in Option-2 of this thread, i.e. package install, then it will not work on CHIP, as that package has been built for Raspberry Pi, not for C.H.I.P. 

For this reason I have installed dump1090-mutability on my CHIP using Option-1 of this thread. In this method, a pre-built package, like dump1090-fa, is not used. Instead the package is built on the computer (RPi or CHIP) and matches it and works fine.

I will suggest you flash your CHIP with fresh copy of Operating System, then install dump1090-mutability on it using Option-1.

A fresh install of Operating System and all software is the cleanest and trouble free method. However if you dont want fresh install of Operating system, you have to first remove dump1090-fa, then install dump1090-mutability. Installing dump1090-mutability without first removing dump1090-fa means trouble. Here is command to remove dump1090-fa
Code: [Select]
sudo dpkg --purge dump1090-fa
sudo dpkg --purge lighttpd
sudo rm -rf /var/www/html
sudo reboot

Now follow procedure in OPTION-1 (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187841#msg187841) to install dump1090-mutability.
Title: Re: Bake a Pi
Post by: elTrauko on October 03, 2017, 10:31:37 PM
Thanks Abcd567, the installation of dump1090-mutability is perfect. I only need to solve <mi-ip>: 8080, which does not finish loading the page, but it may not be necessary. I'm going to try other feeders.
Gracias
Title: Re: Bake a Pi
Post by: abcd567 on October 03, 2017, 11:28:05 PM
I only need to solve <mi-ip>: 8080, which does not finish loading the page, but it may not be necessary.
Use
<mi-ip>/dump1090/ 
or
<mi-ip>/dump1090/gmap.html
Title: Re: Bake a Pi
Post by: elTrauko on October 03, 2017, 11:58:46 PM
Abcd456, you are great, thank you
Title: Re: Bake a Pi
Post by: abcd567 on October 04, 2017, 05:31:38 PM
I am trying to install dump1090-fa .....
As installation of dump1090-fa fails on C.H.I.P. , you have installed dump1090-mutability.
Functionally dump1090-fa is actually dump1090-mutability customized for Flightaware. Their receiver-decoder software is same, but the GUI/Skin (i.e. Map) is different. The reason most user want to install dump1090-fa is that its SkyView Map looks much attractive than Map of dump1090-mutability.

Since the receiver-decoder software of both these dumps are same, it is possible to change the skin of dump1090-mutability by skin of dump1090-fa, so that you get map of dump1090-fa, while dump1090-mutability is running in the background. Here is the "HOW TO" do this:

REPLACING TWO-CLOCK MAP OF DUMP1090-MUTABILITY BY SKYVIEW MAP OF DUMP1090-FA

(1) Download the dump1090-fa files from github.


Code: [Select]
cd ~
sudo git clone https://github.com/flightaware/dump1090.git

(2) The above command will download a folder dump1090, which contains another folder public_html. Copy the folder public_html to folder /usr/share/dump1090-mutability.

Code: [Select]
sudo cp -r dump1090/public_html  /usr/share/dump1090-mutability/public_html

(3) Now go to folder dump1090-mutability.

Code: [Select]
cd /usr/share/dump1090-mutability

(4) First change name of folder html to original-html
This preserves the original html folder, and enables to revert to original in case something goes wrong.

Code: [Select]
sudo mv html original-html

(5) Now change the name of folder public_html to html.

Code: [Select]
sudo mv public_html html

(6) Now go to folder html and change name of file index.html to gmap.html.

Code: [Select]
cd html
sudo mv index.html gmap.html

(7) Now reboot for changes to take effect.

Code: [Select]
sudo reboot

(8) After reboot, reload the browser. If new map does not show, clear browser's cache (Ctrl+Shift+Delete) and then hard reload the browser (Ctrl+F5).






IMAGE 1 OF 2: BEFORE ABOVE MODIFICATIONS
(https://farm5.staticflickr.com/4310/35318277953_594aa032a3_b.jpg)
.
.
.
.

IMAGE 2 OF 2: AFTER ABOVE MODIFICATIONS
(https://farm5.staticflickr.com/4327/35993093331_8665d49fe9_b.jpg)

Title: Re: Bake a Pi
Post by: TomNJerry on March 16, 2019, 06:47:55 PM
Good guide for Raspberry Pi users.
Title: Re: Bake a Pi
Post by: dirkpitt on September 17, 2019, 11:46:31 PM
can you run both  radarbox24 and flightaware on same pi ? if so how do i do this and do I need 2 dongles?
Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2019, 12:21:45 AM
can you run both  radarbox24 and flightaware on same pi ?

YES, sure.
On same Pi I run following:
(1) RadarBox24 feeder
(2) Flightaware feeder
(3) Flightradar24 feeder
(4) Planefinder feeder
(5) OpenSky network feeder
(6) Adsbexchange feeder

if so how do i do this and do I need 2 dongles?

No, you dont need two dongles. Only one dongle is enough, which will be used by dump1090-mutability (or dump1090-fa). The single (dongle+dump1090) will feed data to all the feeders you install.

Go to FIRST POST (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187831#msg187831) of this thread.

(1) Click on either OPTION-1, or OPTION-2, or OPTION-3 and follow steps. You being a new user, I will recommend you use OPTION-3 (Piaware image), as it is the easiest.

(2) After completing steps in OPTION-1, or OPTION-2, or OPTION-3, go back to FIRST POST (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187831#msg187831) of this thread, scroll down, and click on "HOW TO INSTALL ADDITIONAL DATA FEEDERS", and follow steps.
Title: Re: Bake a Pi
Post by: dirkpitt on September 18, 2019, 12:58:33 AM
ok I have done that , my radarbox24 is feeding fine
but i still have nothing going to flightaware
client]
network_mode=false
log_file=/var/log/rbfeeder.log

key=

sn=EXTRPI002091

lat=edited

lon=-edited

alt=90

sat_used=0

sat_visible=0

[network]
mode=beast
external_port=30005
external_host=127.0.0.1
Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2019, 01:21:18 AM
dirkpitt

Please confirm which Option you have installed?
I can guide you only if you tell me what you have installed.

To feed flightaware, you need (1) dump1090-fa (2) piaware data feeder.

If you have installed OPTION-3 (piaware image)then both dump1090-fa and flightaware's data feeder (piaware) is installed automatically with it. With dump1090-fa installed, the rbfeeder setting "network_mode=false" is wrong. Change it to "network_mode=true"
Title: Re: Bake a Pi
Post by: dirkpitt on September 18, 2019, 01:43:41 AM
i think i used a combination of 1 and the blog post of how to get radarbox24 working
https://www.radarbox24.com/blog/radarbox24-raspberry-pi-client
i had issues trying to get MLAT working  so support helped me get that going today  at one time i was able to see that both FA and mutable were on my pi
Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2019, 01:49:12 AM
Please post output of following 4 commands:

Code: [Select]
apt-cache policy dump1090-fa

apt-cache policy dump1090-mutability

apt-cache policy piaware

cat /etc/os_release


NOTE
With dump1090-fa installed, the rbfeeder setting "network_mode=false" is wrong. Change it to "network_mode=true".
Title: Re: Bake a Pi
Post by: dirkpitt on September 18, 2019, 01:57:52 AM
pi@raspberrypi:~ $ apt-cache policy dump1090-fa
dump1090-fa:
  Installed: (none)
  Candidate: 3.7.1
  Version table:
     3.7.1 500
        500 http://flightaware.com/adsb/piaware/files/packages stretch/piaware armhf Packages
pi@raspberrypi:~ $ apt-cache policy dump1090-mutability
dump1090-mutability:
  Installed: (none)
  Candidate: 1.15~20180310.4a16df3+dfsg-6
  Version table:
     1.15~20180310.4a16df3+dfsg-6 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

pi@raspberrypi:~ $ apt-cache policy piaware
piaware:
  Installed: 3.7.1
  Candidate: 3.7.1
  Version table:
 *** 3.7.1 500
        500 http://flightaware.com/adsb/piaware/files/packages stretch/piaware armhf Packages
        100 /var/lib/dpkg/status

pi@raspberrypi:~ $ cat /etc/os_release
cat: /etc/os_release: No such file or directory


 network_mode  is now true


Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2019, 02:06:27 AM
You dont have dump1090-fa installed. Please do this:

Code: [Select]
sudo apt-get update
sudo apt-get install dump1090-fa

sudo reboot

After reboot, check
Code: [Select]
sudo systemctl status dump1090-fa
sudo systemctl status piaware
sudo systemctl status rbfeeder
Title: Re: Bake a Pi
Post by: dirkpitt on September 18, 2019, 02:17:51 AM
thank you   its all working now .
Im not sure what i did to it earlier today  to loose the dump1090-fa   it was running earlier today
thank you again
Title: Re: Bake a Pi
Post by: dirkpitt on September 18, 2019, 02:24:59 AM
looks like i have 2 accounts of flight aware  running now when i check the stats , ?????
Title: Re: Bake a Pi
Post by: abcd567 on September 18, 2019, 03:04:58 AM
looks like i have 2 accounts of flight aware  running now when i check the stats , ?????

What is your Flightaware stats page address?
For example my flightaware user name is abcd567, and I check my stats at:
https://flightaware.com/adsb/stats/user/abcd567

Title: Re: Bake a Pi
Post by: GlynH on November 03, 2020, 04:37:14 PM
**NB** Please read my own reply below this post before taking the time to answer my questions and save yourself a lot of time & trouble! :)


Thanks for the great posts Ingo and others but I have read many threads in various places on setting up a Raspberry Pi and am still confused.

I already have a Raspberry Pi 4 Model B 4GB/32GB running Pi-hole so have a little experience with Pi and so have already installed NOOBS/Buster on an identical device and this has been fully updated & soak tested for a couple of weeks now and all is good.

So now to set it up with a 1090 FlightStick and VHF FlightStick to achieve the following;

1. Full accessibility on my LAN using RadarBox v6.02.003 locally.

2. Feed RadarBox network including MLAT

3. Feed FR24 network including MLAT

4. Listen to ATC from the VHF FlightStick

Ideally I would like to do this one step at a time to keep things as simple(!) as possible and learn/understand as I go along as although knowledgable in computers/networking working with Raspberry Pi/Linux is all new to me.

I understand I can input the Raspberry Pi IP Address in the RadarBox 6.02.003 software but am unsure whether I would then be able to access locally without any other steps such as installing the rbfeeder software and feeding the RadarBox network at the outset?

Also reading up do I need dump1090-fa or mutability? Guessing mutability but not 100% sure. Which is the best & why?

Then I guess I would have to install the Buster MLAT Client from your Github page Ingo as I would not want to get my hands dirty compiling and enter my lat, lon & elevation somewhere?

Once it is working locally I would then want to add the rbfeeder software (unless I have already had to pre-install to get this far or is rbfeeder used instead of dump1090?) figure out how to get my key/code and go to my RadarBox station page and enter co-ords & elevation to activate MLAT.

I would want to run like this for a while in the interests of sanity before I follow a similar procedure to feed FR24.

Baby steps! :)

Some other questions if I may;

If I installed just rbfeeder instead of dump1090 (or is dump1090 part of rbfeeder?) then am I still able to update the dump1090 part separately going forward?

If as above I install rbfeeder on its own can I still feed FR24 at a later date and if so how?

Are there any drivers needed when plugging in the 1090 FlightStick?

Ditto for the VHF FlightStick?

How would I actually listen to ATC via the VHF FlightStick?

So many questions...

Thanks & kind regards,

-=Glyn=-
Title: Re: Bake a Pi
Post by: GlynH on November 03, 2020, 06:24:01 PM
OK...well to answer my own questions after all that worry & procrastination the solution to me was as follows using the info from this very website;

1. Install rbfeeder by typing;
sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

2. After the package had installed I typed;
rbfeeder --set-network-mode off --no-start

3. I then installed the compiled 32-bit MLAT package from Ingo abcd567 by typing;
wget https://github.com/abcd567a/mlat-client-package/releases/download/v1/mlat-client_0.2.11_BUSTER_armhf.deb
sudo dpkg -i mlat-client_0.2.11_BUSTER_armhf.deb

4. After it had downloaded it left me at a command prompt ready to just hit <return> to install

5. I then rebooted, plugged in the FlightStick and connected the antenna

6. When the system was up I used RDP/SSH to login remotely to the system as it is headless and typed;
rbfeeder --showkey

7. Going here https://www.radarbox.com/raspberry-pi/claim and using cut & paste I pasted in my sharing key that was shown at Step 6 above

8. I was taken to a page where I input my coordinates, selected exact and show to confirm my location and input my antenna height and BOOM! I was taken to my RadarBox Station page!

At first the MLAT was inactive in red and clicking the green instruction link it told me to do what I had already done with regard to coordinates & antenna height but after a few minutes it came up as MLAT active (230 stations synced) and I was in business!

Coincidentally my Max Range is 230NM...must be my lucky number! :)

And all that worry for nothing. Mind you I was the same when I purchased my first Raspberry Pi to run Pi-hole and it took me a year to actually get round to taking the plunge...

Hope that helps somebody else who might be as nervous as I was...

I guess the only questions I might have left after the dust has settled might be;

1. How to listen to the VHF FlightStick bearing in mind I am in the UK?

2. How to setup a feed to FR24 and possibly others in the future?

3. How to keep the integral dump1090 and indeed everything else updated to the latest versions?

Thanks & kind regards,

-=Glyn=-
Title: Re: Bake a Pi
Post by: abcd567 on November 05, 2020, 10:49:30 PM

2. How to setup a feed to FR24 and possibly others in the future?


If you are using integral dump1090 of rbfeeder by command "rbfeeder --set-network-mode off --no-start", then in the settings file "/etc/rbfeeder.ini" the setting becomes "network_mode=false". With this setting, the data made available by rbfeeder's dump1090 is as follows, and all other feeders to be configured accordingly:

host = 127.0.0.1
port = 32457
format = Beast



If you install FR24 Feeder this way, it will NOT install dump1090-mutability. It will grab data from the Radarbox24 feeder
Code: [Select]
sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)" 

After running for a while, the script will automatically start SIGNUP process.
The signup process will ask you to enter email address, sharing key (leave it blank, you will get it by email), latitude, longitude, height etc etc.
Enter all these details.

After signup is complete, CONFIGURATION will start as follows:
Make sure you enter values shown in RED


Quote
Step 4.1 - Receiver selection (in order to run MLAT please use DVB-T stick with dump1090 utility bundled with fr24feed):

Step 4.1 - Receiver selection (in order to run MLAT please use DVB-T stick with dump1090 utility bundled with fr24feed):

1 - DVBT Stick (USB)
-----------------------------------------------------
2 - SBS1/SBS1er (USB/Network)
3 - SBS3 (USB/Network)
4 - ModeS Beast (USB/Network)
5 - AVR Compatible (DVBT over network, etc)
6 - microADSB (USB/Network)
7 - SBSx via Basestation (localhost:30006)

Enter your receiver type (1-7)$: 4

Step 4.2 - Please select connection type:

1 - Network connection
2 - USB directly to this computer

Enter your connection type (1-2)$: 1

Step 4.3A - Please enter your receiver's IP address/hostname
$:127.0.0.1

Step 4.3B - Please enter your receiver's data port number
$:32457

Step 5.1 - Would you like to enable RAW data feed on port 30334 (yes/no)$:no

Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$:no

Step 6 - Please select desired logfile mode:
0 - Disabled
1 - 48 hour, 24h rotation
2 - 72 hour, 24h rotation
Select logfile mode (0-2)$:1

Saving settings to /etc/fr24feed.ini...OK
Settings saved, please run "sudo systemctl restart fr24feed" to use new configuration.
Installation and configuration completed!

Now restart fr24feed, wait few minutes, then check status

Code: [Select]
sudo systemctl restart fr24feed

fr24feed-status




3. How to keep the integral dump1090 and indeed everything else updated to the latest versions?

To check if your version is latest or outdated
Code: [Select]
sudo apt update   

apt policy rbfeeder   

apt policy fr24feed   

If outdated, update by following commands
Code: [Select]
sudo apt update 

sudo apt install rbfeeder 

sudo apt install fr24feed   
Title: Re: Bake a Pi
Post by: abcd567 on November 06, 2020, 03:34:05 AM
If you are using integral dump1090 of rbfeeder by command "rbfeeder --set-network-mode off --no-start", then in the settings file "/etc/rbfeeder.ini" the setting becomes  "network_mode=false". With this setting, the data made available by rbfeeder's dump1090 is as follows, and all other feeders to be configured accordingly:

host = 127.0.0.1
port = 32457 
format = beast 



(1) Configuration of Planefinder feeder:
In your browser go to
IP-of-Pi:30053
Enter share code, latitude longitude.
IP address 127.0.0.1 
Port number 32457   

(2) Configuration of Flightaware piaware feeder:
Code: [Select]
sudo piaware-config receiver-type other   

sudo piaware-config receiver-host 127.0.0.1   

sudo piaware-config receiver-port 32457   

sudo piaware-config mlat-results-format beast,connect,localhost:32004

sudo systemctl restart piaware   


(3) Configuration of FlightRadar24 feeder:
Please see my last post above.



(4) Configure RadarBox Software to View Locally
IP address = Local IP-of-Pi (should be like 198.168.0.21)
Port = 32088

Please see attached two (2) screenshots.
Title: Re: Bake a Pi
Post by: GlynH on November 06, 2020, 09:20:42 PM
Hello again Ingo...do you never sleep? :)

Thanks for the full & detailed replies as always...you're a star!

The content of my current /etc/rbfeeder.ini;

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

key=********************************

sn=************

lat=**.******

lon=-*.******

alt=147

sat_used=0

sat_visible=0

[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

Are you saying *after* installing FR24 following your instruction above it will change to include;
host = 127.0.0.1
port = 32457
format = Beast

Just so I am sure...and what file is it that starts rbfeeder at boot up?

And last question...how can I tell whether it is dump1090-mutability that is actually installed?

Thanks & kind regards,
-=Glyn=-
Title: Re: Bake a Pi
Post by: abcd567 on November 06, 2020, 10:53:56 PM
@GlynH:

Short answer:
Do nothing with config of rbfeeder except following command:
rbfeeder --set-network-mode off --no-start

All other settings to be done in config of other feeders such as fr24feed, piaware, pfclient etc.


Detailed Answer:
There are two config files:

fr24feed.ini
rbfeeder.ini

(1) In the RB feeder's config file "rbfeeder.ini" following part remains unchanged. It is neither changed by fr24feed nor by rbfeeder, nor by user. It is simply ignored by RB24 rbfeeder when it reads "network_mode=false"

[network]
mode=beast
external_port=30005
external_host=127.0.0.1

(2) In the FR24 feeder's config file "fr24feed.ini", the setting are
receiver="beast-tcp"
host="127.0.0.1:32457"

These settings are saved in this file when during installation of FR24 feeder you follow steps shown in my post above.

(3) All the software installed start at boot by systemd service files.

FR24 feeder is started by systemd using file "fr24feed.service"
RB24 feeder is started by systemd using file "rbfeeder.service"

(4) The integral decoder of rbfeeder is encapsuled inside rbfeeder package, and I am not aware of any way to find out if it is dump1090-mutability or dump1090-fa or modeSDeco2 or something else.
Title: Re: Bake a Pi
Post by: GlynH on November 07, 2020, 04:45:31 PM
Brilliant!

Thanks for your patience, sharing your knowledge and sticking with me through this.

Very much appreciated.

I'm going to leave my station feeding RadarBox only uninterrupted for the first week (only 3 days in so far) to 'burn it in' and check reliability etc. and sometime after that will add FR24 using the instructions in this thread that is starting to make some sense to me at last! :)

Enjoy your weekend!

Thanks & kind regards,
-=Glyn=-
Title: Re: Bake a Pi
Post by: GlynH on November 09, 2020, 03:19:27 PM
Just wanted to follow up on this and let you and anybody else who wants to tread this same path that using your FR24 details above everything worked fine for me!

About 30 mins ago I stumped up enough courage to go for it and it went exactly as you said it would to the point where my existing rbfeeder is working as normal and in addition the fr24feed looks to be functioning correctly also!

In addition my FR24 Gold Membership has been seamlessly upgraded to Business and I can view my stats both locally and on the FR24 website.

I couldn't have done this without your help and although I don't profess to understand all of it everything looks to be working perfectly.

Thanks once again...very much appreciated.

Now to figure out which other sites (if any) to feed...

One last question I've just thought of...sorry; is there a local web interface to rbfeeder similar to the one for fr24 accessed by http://Raspberry_IP-Address:8754?

Thanks & kind regards,
-=Glyn=-
Title: Re: Bake a Pi
Post by: abcd567 on November 10, 2020, 12:59:35 AM
I am not aware of any web interface for RadarBox24's RPi feeder Settings/Status. However if it exists, it is undocumented. Please send an email to AirNav Support and ask them.
Title: Re: Bake a Pi
Post by: GlynH on November 12, 2020, 11:45:34 PM
I am not aware of any web interface for RadarBox24's RPi feeder Settings/Status. However if it exists, it is undocumented. Please send an email to AirNav Support and ask them.

Yeah I've already done that.

The silence is deafening.

-=Glyn=-
Title: Re: Bake a Pi
Post by: abcd567 on December 03, 2020, 11:45:55 PM
Just for anyone reading this thread, the AirNav Radar Box Windows software can display on its map, the aircraft received by Radarbox's RPi feeder (rbfeedr), if ANRB Windows software is configured as follows:

ANRB Windows Software >> Main menu >> File >> Preferences >> Radarbox tab

Scroll down, ans at bottom-left fill this data

Port: 32088
Host: 192.168.0.21
(replace 192.168.0.21 by your RPi's actual Local IP address)

.
Title: Re: Bake a Pi
Post by: Dimitris.arv on December 29, 2020, 04:24:11 PM
Good evening. I'm trying to perform a fresh install and that is the output.


pi@raspberrypi:~ $ sudo systemctl status dump1090-fa -l
● dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor pres
   Active: activating (auto-restart) (Result: exit-code) since Tue 2020-12-29 18
     Docs: https://flightaware.com/adsb/piaware/
  Process: 1664 ExecStart=/usr/share/dump1090-fa/start-dump1090-fa --write-json
 Main PID: 1664 (code=exited, status=1/FAILURE)
lines 1-6/6 (END)
● dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2020-12-29 18:21:49 EET; 7s ago
     Docs: https://flightaware.com/adsb/piaware/
  Process: 1664 ExecStart=/usr/share/dump1090-fa/start-dump1090-fa --write-json /run/dump1090-fa --quiet (code=exited, status=1/FAILURE)
 Main PID: 1664 (code=exited, status=1/FAILURE)
Title: Re: Bake a Pi
Post by: abcd567 on December 29, 2020, 06:17:39 PM
Dimitris.arv:

Please reboot the RPi, and check status of dump1090-fa after reboot.


.
Title: Re: Bake a Pi
Post by: Dimitris.arv on December 29, 2020, 07:10:43 PM
ι did it many times. I made also a fresh install. I used the 2nd option and then i did again a fresh install with the 3rd option. Nothing works. I will start again for a clean install. The problem begun about last week, as i had a few outbreaks on data. With a reboot was ok. but today I did it from scratch and still no data.
Title: Re: Bake a Pi
Post by: abcd567 on December 29, 2020, 10:49:44 PM
ι did it many times. I made also a fresh install. I used the 2nd option and then i did again a fresh install with the 3rd option. Nothing works. I will start again for a clean install. The problem begun about last week, as i had a few outbreaks on data. With a reboot was ok. but today I did it from scratch and still no data.
With option 3 (Piaware SD card image), there should be no problem of software as everything comes pre-installed. If you are facing problem with fresh install of Piaware SD card image, then most likely your problem is hardware related. Most common hardware issues are:

(1) The 5V dc power supply adater gone bad. Try another adater. Sometimes long cable from the adapter to Pi may cause excessive voltage drop and malfunction of adsb software.
(2) If you are using a USB cable or powered hub to connect the DVBT dongle to RPi, try connectiong dongle directly to RPi
(3) The microSD card is dying.
(4) The dongle has gone bad or is dying
(4) The RPi has gone bad.


.
Title: Re: Bake a Pi
Post by: abcd567 on December 30, 2020, 05:21:45 AM
Dimitris.arv:

Test your dongle.
Give following commands
Post the output of last command.

Code: [Select]
sudo apt-get install rtl-sdr 

sudo systemctl stop piaware dump1090-fa 

rtl_test -t 



.
Title: Re: Bake a Pi
Post by: Dimitris.arv on December 31, 2020, 02:52:51 AM
So I manage to make it work with a fresh install of option 2 for one more time and now everything works fine. Just for you to help me determine if something wrong with my dongle I made the test and thats the output.
Title: Re: Bake a Pi
Post by: abcd567 on December 31, 2020, 05:24:16 AM
So I manage to make it work with a fresh install of option 2 for one more time and now everything works fine. Just for you to help me determine if something wrong with my dongle I made the test and thats the output.

The rtl_test -t confirmed that there is nothing wrong with your dongle. It has following correct chips, and working perfectly OK.

RTL2832U Receiver chip
R820T Tuner chip


.
Title: Re: Bake a Pi
Post by: Dimitris.arv on December 31, 2020, 10:31:28 AM
Thank you for your help abcd567.  Wishing you a very happy new year totally different from the one that just passed.
Title: Re: Bake a Pi
Post by: IFlyATL on January 01, 2021, 04:14:39 AM
ABC- regarding your FA data:

1) have you done any tweaking around your config wrt gain to increase range?

2) how are you seeing so far? I have a 1090 antenna in the attic ~ 8 m up and only see 100 miles ish out.

Chris


looks like i have 2 accounts of flight aware  running now when i check the stats , ?????

What is your Flightaware stats page address?
For example my flightaware user name is abcd567, and I check my stats at:
https://flightaware.com/adsb/stats/user/abcd567
Title: Re: Bake a Pi
Post by: abcd567 on January 01, 2021, 09:41:50 AM
Thank you for your help abcd567.  Wishing you a very happy new year totally different from the one that just passed.

Thank you, wishing you too a happy new year. Hope 2021 will be far better than 2020, which was horrible due to COVID-19.
Title: Re: Bake a Pi
Post by: abcd567 on January 01, 2021, 11:33:00 AM
ABC- regarding your FA data:

1) have you done any tweaking around your config wrt gain to increase range?

2) how are you seeing so far? I have a 1090 antenna in the attic ~ 8 m up and only see 100 miles ish out.


Yes, I have reduced gain to 38.6, but note that this is NOT the universal best best gain. The best gain depends on the environment in which antenna is located, and this is different for each installation.

Higher the gain setting, you receive distant planes whose signal is very weak due to distance. However higher gain has a disadvantage that nearby planes, whose signal is strong, saturate the dongle and the plane is dropped by the dongle. It is a compromise between far away planes and nearby planes, and depends solely on the user's choice.

Basically gain setting is trial and error. Start gain setting at -10, observe for some period, then reduce to 49.6, again observe for some period, then agai reduce to say 45 and again observe for some period, and so on till you ind a value which gives best results.

Your limit of 100 miles may be due to many reasons, like metal in the building material which shields antenna from radio waves, or poor quality or low gain antenna. Did you try to mount antenna on roof? That will considerably improve reception.
Title: Re: Bake a Pi
Post by: IFlyATL on January 01, 2021, 12:12:43 PM
Thanks for the suggestion. I’ve had it up and running since September, originally seeing a distance of around 50 miles with the antenna on the outside of the house (sma extension cable was reason for db loss); moved it to inside the house and no extension cable and doubled the distance I could see.

I’ll try the gain today and see if it improves.

Thanks again, appreciate your willingness to assist.
Title: Re: Bake a Pi
Post by: abcd567 on January 01, 2021, 08:13:32 PM
IFlyATL:

Which antenna are you using?
Using a better antenna will improve range.

Another factor may be that the dongle is getting overloaded by interference from Cell/Mobile signals, UHF & VHF TV signals, and many other communication signals. In this case adding a Filter will help.
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 12:12:25 AM
Typical 1090 MHz SMA antenna. Dongle is FA version with built in filter. Free hanging the antenna from beam in the attic, ~ 18 inches from roof rafter using plastic zip ties.
Title: Re: Bake a Pi
Post by: abcd567 on January 02, 2021, 01:45:16 AM
IFlyATL:

1. FA donggle with builtin filter (Dark Blue color) is good.

2. The Radarbox antenna in the photo is also good one. Do you have exactly this antenna or a similar looking antenna?

Title: Re: Bake a Pi
Post by: abcd567 on January 02, 2021, 09:55:02 AM
IFlyATL:

Your range may be limited due to dongle oveload caused by Cell/Mobile phone signals. Please Check RF Interference at your location by the method described in this thread. Please see below attached two scans showing how adding a filter removes the interference.


Do I Need A Filter? (https://forum.radarbox24.com/index.php?topic=10691.0)
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 04:07:11 PM
1) agreed, it’s done well for me this far; no complaints.

2) I have that exact antenna and another similar; I forget the vendor.

3) I had it mounted on the outside of the house which required an sma extension cable. When I brought the antenna inside, I did not need the extension and, ironically, removing it improved the reception vs being outside. When time allows, I’m going to play with the “spider” antennas and see if those improve reception.
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 04:10:44 PM
I have this filter in place currently.

IFlyATL:

Your range may be limited due to dongle oveload caused by Cell/Mobile phone signals. Please Check RF Interference at your location by the method described in this thread. Please see below attached two scans showing how adding a filter removes the interference.


Do I Need A Filter? (https://forum.radarbox24.com/index.php?topic=10691.0)
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 04:18:08 PM
ABC - as of right now, this is what I'm feeding to each. I'm going to start unplugging everything but the FA dongle and antenna and see what, if anything happens since FR24 and RB "should" be pulling/pushing to/from the FA device and antenna.
Title: Re: Bake a Pi
Post by: Runway 31 on January 02, 2021, 04:38:14 PM
The light blue filter for is North American frequencies, dark blue filter is required for elswhere as the frquencies are diferent

From Flightaware

FlightAware is excited to announce the availability of a 1090 MHz-only bandpass filter for the ADS-B community outside of North America. This is something many of you have asked for. The filter we’ve offered in the past wasn’t great at blocking GSM mobile phone interference that can be found outside of North America. This new filter is an economical bandpass filter option that provides better attenuation of 950 MHz GSM. Those of you building PiAware sites in urban areas or other areas with 950 MHz mobile phone interference (found outside of North America) may find this very useful. We are pleased to offer this through our retail product launch partners in Europe: ModMyPi 262 and Moonraker 169 and they are available for sale today. We hope to add more retail distribution partners in other areas of the world going forward.

Alan
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 04:58:14 PM
antenna unplugged from the FR24 dongle and as we all expected, the feed coming from the FA device is still feeding all three services. Next step is to relocate the FR24 and RB feeds from Pi2 to Pi1 and have all three running on one device.

Since finding this thread, I've accomplished more in a few days that I have in months in trying to consolidate. Thanks all! Your contributions have been extremely helpful. Now, if I could just increase the range (haven't messed with -gain setting yet), I'll be ecstatic.

-C
Title: Re: Bake a Pi
Post by: abcd567 on January 02, 2021, 07:05:42 PM
Next step is to relocate the FR24 and RB feeds from Pi2 to Pi1 and have all three running on one device.

Since finding this thread, I've accomplished more in a few days that I have in months in trying to consolidate.

Two days ago I have directed a member of FlightRadar24 forum to this thread.
That member had exactly same setup as you, i.e. Piaware on Pi1 and FR24 & RB24 on Pi2. Are you the same person?


Now, if I could just increase the range (haven't messed with -gain setting yet), I'll be ecstatic.

Try tweaking gain setting.

If that does not improve your range, then most likely it is defective antenna, or it's integral long coax (may be 5 meters?).

To check this, make a simple DIY Quick Spider (https://forum.radarbox24.com/index.php?topic=9131.msg134171#msg134171) (made of commonly available TV Coax RG6), and try it. You will need a "Pigtail F-female to SMA-male" to connect this antenna to FA Filter/Dongle.


.
Title: Re: Bake a Pi
Post by: abcd567 on January 02, 2021, 08:29:46 PM
antenna unplugged from the FR24 dongle

If you were using a splitter to connect two dongles of Pi1 and Pi2 to same antenna, then remove the splitter, and connect antenna cable directly to Flightaware filter+dongle.

The splitters have a insertion loss of minimum 3 dB for an ideal splitter, and most commercially available ones will have insertion loss of 5 to 8 dB.

3 dB insertion loss reduces the signal to 1/2
6 dB insertion loss reduces the signal to 1/4


.
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 10:43:26 PM
yes, that was me. No splitter - realized only a few moments into trying that scenario that it negatively impacted my signal.

Thanks to your suggestions, and lots of reading past few days, I've now consolidated the two RPis down to one and have all three services (FA, RB, FR24) running and feeding successfully.

I've also tried the gain setting - no improvement, receiving the best I can from within the attic. I reside in a very tree'd neighborhood so I'm assuming that is impacting my distance.
Title: Re: Bake a Pi
Post by: IFlyATL on January 02, 2021, 11:00:12 PM
And yes, those are the exact examples I'm going to tinker with to see if there's an increase in performance.

Next step is to relocate the FR24 and RB feeds from Pi2 to Pi1 and have all three running on one device.

Since finding this thread, I've accomplished more in a few days that I have in months in trying to consolidate.

Two days ago I have directed a member of FlightRadar24 forum to this thread.
That member had exactly same setup as you, i.e. Piaware on Pi1 and FR24 & RB24 on Pi2. Are you the same person?


Now, if I could just increase the range (haven't messed with -gain setting yet), I'll be ecstatic.

Try tweaking gain setting.

If that does not improve your range, then most likely it is defective antenna, or it's integral long coax (may be 5 meters?).

To check this, make a simple DIY Quick Spider (https://forum.radarbox24.com/index.php?topic=9131.msg134171#msg134171) (made of commonly available TV Coax RG6), and try it. You will need a "Pigtail F-female to SMA-male" to connect this antenna to FA Filter/Dongle.


.
Title: Re: Bake a Pi
Post by: thechipman0 on January 16, 2021, 02:12:07 PM
Hi, I have been reading your post on setting up rb on raspi. Although you have done a fantastic job it seem that i need to put my memory card into a windows computer to download the necessary files. Is there a way I can do this straight from pi as my computer gave up the ghost? Also I'm not sure if my problem is the files or me. Everything appears to be working except that I do not seem to be feeding to rb. I have read many posts as to possible problems and tried them all. Mlat is running but can't sync to any stations, I have input lon and lat and antenna hight but still not feeding. I havebeentrying to work this out for 2 weeks now and I am begging you to help.my station is EXTRPI020882 I'm hoping you can put an end to my frustration before I just give up. Thank you
Title: Re: Bake a Pi
Post by: Gabriel6764 on September 14, 2021, 05:08:34 PM
If I have a orange flight feeder from flight aware. This feeder have some port open like 30005. 30002 and other. Y have my own RPI but I dont have RTL. Can I make dump1090 pull the data from the fa feeder?  And feed to RB fr24 and other?
Title: Re: Bake a Pi
Post by: Runway 31 on September 14, 2021, 07:33:46 PM
See the previous post on this thread

Alan
Title: Re: Bake a Pi
Post by: abcd567 on September 15, 2021, 01:38:17 AM
If I have a orange flight feeder from flight aware. This feeder have some port open like 30005. 30002 and other. Y have my own RPI but I dont have RTL. Can I make dump1090 pull the data from the fa feeder?  And feed to RB fr24 and other?

The dump1090 cannot pull data from source. It can only receive data if a source is on the same pi on which dump1090 is running. Therefore it can NOT pull data from Flightfeeder.


All feeders like RB24, FR24, Planefinder running on a Pi can connect directly to Flightfeeder over local network (LAN) and receive data from Flightfeeder. You dont need dump1090 for this purpose.

All these feeders have default setting to get data from dump1090 running on same Pi,and in their settings they have host= 127.0.0.1

To make them connect to Flightfeeder, simply change host=127.0.0.1 to host=192.168.0.21 (replace 192.168.0.21 by Local IP of your Flightfeeder).

RB24
sudo nano /etc/rbfeeder.ini

In above file use settings shown in red

[client]
network_mode=true

[network]
mode=beast
external_port=30005
external_host=192.168.0.21

(Note:replace 192.18.0.21 by Local IP of Flightfeeder)

.

FR24

sudo nano /etc/fr24feed.ini

In above file use settings shown in red

receiver="avr-tcp"
host="192.168.0.21:30002"

(Note:replace 192.18.0.21 by Local IP of Flightfeeder)


.
Title: Re: Bake a Pi
Post by: Gabriel6764 on September 15, 2021, 08:23:37 AM
Thanks I will try this. I only need to installs the feeders.
Title: Re: Bake a Pi
Post by: abcd567 on September 15, 2021, 09:31:32 AM
Thanks I will try this. I only need to installs the feeders.

Right.
Feeders are enough to pull data from Flightfeeder, if feeders are configured properly (as shown in my previous post).
No need to install dump1090.

Title: Re: Bake a Pi
Post by: SoNic67 on October 23, 2021, 11:53:17 AM
I re-installed the rbfeeder on my Pi (that doesn't have dump1090 installed) and tried to connect to two of my network feeders. It doesn't work for some reason:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 07:25:21 EDT; 25min ago
  Process: 568 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 578 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 580 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 597 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 602 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 603 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─603 /usr/bin/rbfeeder

Oct 23 07:48:57 pi3 rbfeeder[603]: [2021-10-23 07:48:57]  Data sent: 26.1 KB
Oct 23 07:48:57 pi3 rbfeeder[603]: [2021-10-23 07:48:57]  Data received: 480 B
Oct 23 07:49:08 pi3 rbfeeder[603]: [2021-10-23 07:49:08]  Connection established.
Oct 23 07:49:19 pi3 rbfeeder[603]: [2021-10-23 07:49:19]  Could not start connection. Timeout.
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  ******** Statistics updated every 60 seconds ********
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Packets sent in the last 60 seconds: 44, Total packets sen
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Data sent: 27.3 KB
Oct 23 07:49:58 pi3 rbfeeder[603]: [2021-10-23 07:49:58]  Data received: 508 B
Oct 23 07:50:20 pi3 rbfeeder[603]: [2021-10-23 07:50:20]  Connection established.
Oct 23 07:50:30 pi3 rbfeeder[603]: [2021-10-23 07:50:30]  Could not start connection. Timeout.
Title: Re: Bake a Pi
Post by: SoNic67 on October 23, 2021, 12:13:33 PM
I have restarted Pi and now I get:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 2min 41s ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:11:04 pi3 rbfeeder[28523]: [2021-10-23 08:11:04]  Connection established.
Oct 23 08:11:04 pi3 rbfeeder[28523]: [2021-10-23 08:11:04]  Error authenticating Sharing-Key: Invalid sharing-key
Oct 23 08:11:14 pi3 rbfeeder[28523]: [2021-10-23 08:11:14]  Could not start connection. Timeout.
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  ******** Statistics updated every 60 seconds ********
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Data sent: 98 B
Oct 23 08:11:53 pi3 rbfeeder[28523]: [2021-10-23 08:11:53]  Data received: 56 B
Oct 23 08:12:15 pi3 rbfeeder[28523]: [2021-10-23 08:12:15]  Connection established.
Oct 23 08:12:15 pi3 rbfeeder[28523]: [2021-10-23 08:12:15]  Error authenticating Sharing-Key: Invalid sharing-key
Oct 23 08:12:25 pi3 rbfeeder[28523]: [2021-10-23 08:12:25]  Could not start connection. Timeout.

The key was generated automatically at start and claimed using the webpage.
Quote
Success.   Raspberry Pi already associated with this account. See your station at https://www.radarbox.com/stations/EXTRPI000878
This is ridiculous...
Title: Re: Bake a Pi
Post by: SoNic67 on October 23, 2021, 12:18:13 PM
OK, I have claimed again that code and... the error is different now:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 7min ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  ******** Statistics updated every 60 seconds ********
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data sent: 245 B
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data received: 112 B
Oct 23 08:15:48 pi3 rbfeeder[28523]: [2021-10-23 08:15:48]  Connection established.
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  ******** Statistics updated every 60 seconds ********
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data sent: 294 B
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data received: 112 B
Oct 23 08:15:59 pi3 rbfeeder[28523]: [2021-10-23 08:15:59]  Could not start connection. Timeout.
Title: Re: Bake a Pi
Post by: abcd567 on October 23, 2021, 11:25:35 PM
OK, I have claimed again that code and... the error is different now:

Quote
pi@pi3:~ $ sudo systemctl status rbfeeder -l
● rbfeeder.service - RBFeeder Service
   Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-10-23 08:09:52 EDT; 7min ago
  Process: 28518 ExecStartPre=/usr/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)
  Process: 28519 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
  Process: 28520 ExecStartPre=/usr/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28521 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
  Process: 28522 ExecStartPre=/usr/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
 Main PID: 28523 (rbfeeder)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/rbfeeder.service
           └─28523 /usr/bin/rbfeeder

Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  ******** Statistics updated every 60 seconds ********
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data sent: 245 B
Oct 23 08:14:56 pi3 rbfeeder[28523]: [2021-10-23 08:14:56]  Data received: 112 B
Oct 23 08:15:48 pi3 rbfeeder[28523]: [2021-10-23 08:15:48]  Connection established.
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  ******** Statistics updated every 60 seconds ********
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Packets sent in the last 60 seconds: 1, Total packets sent since
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data sent: 294 B
Oct 23 08:15:57 pi3 rbfeeder[28523]: [2021-10-23 08:15:57]  Data received: 112 B
Oct 23 08:15:59 pi3 rbfeeder[28523]: [2021-10-23 08:15:59]  Could not start connection. Timeout.


(1) Did you use correct IP address of the data source (dump1090-fa on another PI)?

Code: [Select]
sudo nano /etc/rbfeeder.ini

In above file use settings shown in red

[client]
network_mode=true

[network]
mode=beast
external_port=30005
external_host=192.168.0.21

Note:replace 192.18.0.21 by Local IP of other RPi (i.e. data source)


(2) The RB24 server may break connection to save bandwidth if no data is being sent by the receiver.

This can happen if rbfeeder does NOT receive data from dump1090 (on same Pi or on another Pi).

To make sure your RB24 feeder is receiving Data from dump1090, give following commands. If rbfeeder is receiving data from dump1090 (local or on another Pi), it will output that data on ports 32457 (beast format) and 32459 (basestation format) as follows:

BEAST FORMAT
Code: [Select]
netcat 127.0.0.1 32457   

▒.▒▒"▒<3▒▒▒>▒<J▒XA▒▒▒{▒▒3▒D▒$▒▒O▒Xw4▒▒2,B2▒▒▒]▒1▒/▒▒2▒▒Y]▒T▒▒▒▒2▒▒▒]▒Y"▒3▒▒%▒▒N▒▒ Z▒▒▒▒▒▒▒-▒3▒|▒%▒▒a#▒#J▒▒#2▒▒r!▒▒▒▒2▒▒]▒1▒/▒▒3▒'
▒2▒-S▒>▒]▒T▒▒▒▒3▒C▒(▒@j▒▒▒~▒?▒▒h\3▒▒▒$▒▒O▒▒     WpL)K2▒ p]▒1▒/▒▒2▒▒]▒T▒▒▒▒3▒TR+▒<J▒▒▒;0▒▒&u3▒Z▒�▒Y▒
▒ R▒▒3▒▒▒▒9▒▒▒▒H▒▒▒<▒'▒▒2▒▒z(▒▒X▒K▒▒2▒▒ᐹ߯F3▒▒▒
&▒@j▒X▒▒ܱ▒▒ǒ2▒m▒]▒a#▒▒▒3▒▒▒▒H[D▒HX\▒?▒U▒2▒F▒▒e▒▒ll▒2▒;▒&]▒a#▒▒▒3▒(-▒9▒   X▒▒▒߽
▒▒▒3▒x▒!▒IRg▒
㓘P▒▒▒3▒▒▒▒▒a#▒|▒▒F3▒"%A▒IRgX/▒▒Y▒c3▒▒?▒IRg▒▒|k▒▒3▒▒▒*▒▒N▒Y*!Bw+▒▒2▒▒▒&]▒a#▒▒▒2▒i▒▒ ▒Hd2▒]▒O▒▒`▒2▒▒>]IRg▒▒3▒r:▒▒▒▒▒, ▒
^LK2▒▒L]▒^▒7▒▒2▒f▒]▒O▒▒`▒2▒mh:]IRg▒▒2▒▒▒▒+▒3▒▒▒▒O▒X▒t▒=▒▒' 2Ѽ']▒O▒▒`▒2▒V▒a▒▒▒Ƀ2▒[▒▒▒▒▒▒▒3֐▒U▒▒L▒X#▒#MQL▒u▒3׈▒(▒@j▒▒*}▒@3▒J▒▒▒▒~▒
▒H`▒V▒▒3▒▒▒S▒▒L▒▒▒▒▒3▒և▒▒1▒▒0▒d▒I▒2ߧZ▒a▒▒▒Ƀ3▒▒`1▒▒.▒X!▒H▒߃<▒2▒,#▒
▒eS2▒j]IRg▒▒2▒▒▒6▒▒▒2▒+▒ ▒Hd2▒▒%Ꮃ2▒0$Ꮃ2▒>▒U▒8-PT2淸T▒8-PT2犌▒   ▒]ӗ2▒▒▒ ▒]ӗ2▒   
▒]▒^rδ▒2▒ϋHWq▒2▒HIHWq▒3▒▒▒▒'X▒bg▒Y3&Ȧ2▒\]H[D},▒3▒▒▒▒O▒Xw4▒       ▒@▒▒▒2▒▒W]▒L▒5U2▒▒ >3▒f▒▒O▒▒HX▒▒2▒B`▒▒8▒m▒2▒▒▒a▒▒▒Ƀ3▒▒▒F▒▒▒▒ ▒$▒#▒<3▒▒J"@▒▒▒2▒▒
▒▒▒▒▒▒3▒+▒▒O▒   ▒@▒H3▒䆍▒~▒`$▒-z▒▒3▒w▒▒▒▒Y▒
x▒(<▒rB3▒▒5▒<J▒XA▒      ▒
▒▒.o3▒▒E▒▒E▒3▒vS!▒▒O▒▒▒▒WpL)K3▒2▒▒H[D▒▒X▒$▒▒▒*3▒@▒▒▒T▒▒+f▒!▒3▒▒P▒▒1▒X▒▒?20KE]<J▒▒̫3▒▒B▒<J▒▒▒;0▒▒▒f▒3~▒▒▒O▒%0x




BASESTATION (msg) FORMAT
Code: [Select]
netcat 127.0.0.1 32459

MSG,7,1,1,C04FBB,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,22900,,,,,,,,,,
MSG,4,1,1,A9A1B9,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,421,290,,,0,,,,,0
MSG,7,1,1,C04CF4,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,5850,,,,,,,,,,
MSG,7,1,1,C04CF4,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,5850,,,,,,,,,,
MSG,5,1,1,C05913,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,1625,,,,,,,0,,0,
MSG,5,1,1,C07EE8,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,3750,,,,,,,0,,0,
MSG,7,1,1,495267,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,8350,,,,,,,,,,
MSG,7,1,1,495267,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,8350,,,,,,,,,,
MSG,8,1,1,C05913,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,,,,,,,,,,0
MSG,8,1,1,406A9E,1,2021/10/23,19:09:53.049,2021/10/23,19:09:53.049,,,,,,,,,,,,0
Title: Re: Bake a Pi
Post by: SoNic67 on October 24, 2021, 01:27:51 PM
Yeah, the config file is correct.
The netcat commands that you have given above outputs data on the screen.

I think my connection is refused by radarbox24 servers.
Title: Re: Bake a Pi
Post by: Runway 31 on October 24, 2021, 01:48:35 PM
No reason for them to refuse a connection, it not in their interest.  Have you contacted [email protected] for advice

Alan
Title: Re: Bake a Pi
Post by: SoNic67 on October 24, 2021, 02:21:10 PM
No reason for them to refuse a connection, it not in their interest.  Have you contacted [email protected] for advice
I don't know what it is exactly. I'll find out.. hopefully soon.
Quote
We have received your request and a ticket has been created.
A support representative will be reviewing your request and will send you a response.

Thank you for your patience.

Sincerely,
AirNav Systems Support Team
Title: Re: Bake a Pi
Post by: abcd567 on February 20, 2022, 01:24:55 AM
UPDATED ON Feb19, 2022:

OPTION -2 (https://www.airnavsystems.com/forum/index.php?topic=10201.msg187851#msg187851)

HOW TO INSTALL ADDITIONAL FEEDERS (http://www.airnavsystems.com/forum/index.php?topic=10201.msg187901#msg187901)


\


.
Title: Re: Bake a Pi
Post by: abcd567 on February 29, 2024, 02:08:56 AM
.


Latest updates on Feb 29, 2024:

OPTION-1 (dump1090-mutability)
OPTION-2 (dump1090-fa)
OPTION-3 (piaware SD card image)



.