install-pi34.sh
install-pi34-adsb.sh
dump1090-fa
runing on the same receiver but on a second SDR)During the setup process you will be automatically asked to edit Template.conf
and potentially dump1090-fa
for which you should have the following credentials at hand:
SDR selection and ppm correction:
RF:
{
Device = 0; # device selection based on SDR index number, please doublecheck post-install using "rtl_test"
#DeviceSerial = "868"; # alternative device selection based on SDR serial number (SN), please doublecheck post-install using "rtl_test"
FreqCorr = 0; # [ppm] SDR correction factor, newer sticks have a TCXO so no correction required
SampleRate = 2.0; # [MHz] 1.0 or 2.0MHz, 2MHz is required to captue PilotAware
BiasTee = 0; # just a safeguard
};
In case your OGN station is in an area with no GSM stations then the automatic gsm_scan should be deactivated by changing to GSM.CenterFreq=0
(as an alternative you can ommit the entire GSM section for SDRs with TCXO):
GSM: # for frequency calibration based on GSM signals
{ # you can ommit the whole GSM section for sticks with TCXO
CenterFreq = 0; # [MHz] you may enter the GSM frequency that you found with gsm_scan but ONLY if you have GSM stations nearby
Gain = 25.0; # [dB] RF input gain (beware that GSM signals are very strong)
};
GPS coordinates and altitude for your OGN station:
Position:
{
Latitude = +48.0000; # [deg] please put in the appropriate latitude for your OGN station antenna
Longitude = +10.0000; # [deg] please put in the appropriate longitude for your OGN station antenna
Altitude = 500; # [m] altitude AMSL, please put in the appropriate altitude for your OGN station antenna
};
Required configuration for feeding Open Glider Network with ADS-B traffic:
ADSB: # feeding Open Glider Network with ADS-B traffic
{
AVR = "localhost:30002"; # disable this line if you DO NOT WANT to feed Open Glider Network with ADS-B traffic
MaxAlt = 18000; # [ft] default maximum altitude, feel free to increase but this will potentially increase your internet traffic
};
Replace
APRS:
{
#Call = "NewOGNrx"; # enable this line and replace <NewOGNrx> with your actual APRS callsign, e.g. your local airport ICAO code (max. 9 characters)
# please refer to http://wiki.glidernet.org/receiver-naming-convention
};
In case you plan to combine the OGN station with a dump1090-fa feeder (like in the alternative install script below), the following section is required:
HTTP: # this section is required to be able to monitor the different status pages of your receiver
{ # e.g. http://raspberrypi:8080 for monitoring ADS-B traffic
Port = 8082; # e.g. http://raspberrypi:8082 for monitoring the RTLSDR OGN RF processor status page
}; # e.g. http://raspberrypi:8083 for monitoring the RTLSDR OGN demodulator and decoder status page
sudo apt update
sudo apt install git -y
git clone https://github.com/VirusPilot/ogn-pi34.git
./ogn-pi34/install-pi34.sh
sudo apt update
sudo apt install git -y
git clone https://github.com/VirusPilot/ogn-pi34.git
./ogn-pi34/install-pi34-adsb.sh
ogn-rf
and ogn-decode
need to be replaced, here are the required steps:
mkdir temp
cd temp
getconf LONG_BIT
wget https://github.com/VirusPilot/ogn-pi34/raw/master/rtlsdr-ogn-bin-arm64-0.3.2_Bullseye.tgz
wget http://download.glidernet.org/arm/rtlsdr-ogn-bin-ARM-0.3.2.tgz
tar xvf *.tgz
cp -f rtlsdr-ogn/ogn-* <your_current_rtlsdr-ogn_folder>
ADSB:
{
AVR = "localhost:30002";
MaxAlt = 18000;
};
cd <your_current_rtlsdr-ogn_folder>
sudo chown root gsm_scan ogn-rf rtlsdr-ogn
sudo chmod a+s gsm_scan ogn-rf rtlsdr-ogn
sudo service rtlsdr-ogn restart
or sudo reboot
sudo service rtlsdr-ogn status
(to verify that the new version is running)max_usb_current=1
(Pi5: usb_max_current_enable=1
) to /boot/config.txt
(/boot/firmware/config.txt
in case of Bookworm)
sudo crontab -e
then add 0 1 * * * /sbin/reboot
and save
sudo systemctl disable dphys-swapfile
sudo apt purge dphys-swapfile -y
sudo apt autoremove -y
sudo raspi-config