dxlAPRS InstallationPreparing the SDR devices
Basic knowledge of Linux is recommended, as well as a Raspberry Pi with a working Raspberry Pi OS installation. Log in through the console. You should have administrator rights, and thesudo command must be available.
sudo apt-get update
sudo apt-get upgrade
sudo nano /etc/modprobe.d/sdr-blacklist.conf
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
blacklist dvb_usb_rtl2832u
blacklist dvb_usb_v2
blacklist dvb_core
sudo apt-get install rtl-sdrsudo wget -O /etc/udev/rules.d/20-rtlsdr.rules https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rulessudo reboot nowsudo apt-get install build-essentialsudo apt-get install gitcd /home/pi/git clone https://github.com/DO2JMG/dxlAPRS_Scripte.gitmv dxlAPRS_Scripte wscd wsmkdir bin pidfiles calibrations fifoscd /home/pi/git clone https://github.com/oe5hpm/dxlAPRS.gitcd dxlAPRS/srcmake sondemodmake sondeudpmake udpgate4make sdrtstmake udpboxcd ../outcp sondemod /home/pi/ws/bincp sondeudp /home/pi/ws/bincp sdrtst /home/pi/ws/bincp udpgate4 /home/pi/ws/bincp udpbox /home/pi/ws/bincd /home/pisudo rm -r dxlAPRScrontab -e*/1 * * * * /home/pi/ws/dxlclient.sh*/1 * * * * /home/pi/ws/dxlserver.shchmod +x /home/pi/ws/dxlclient.shchmod +x /home/pi/ws/dxlserver.shConfiguring the startup scripts
Change into the directory where the scripts are located.cd /home/pi/wsws-options.conf with an editor.nano ws-options.confobjectcall to your own callsign. The recommended SSID for this is -11. The gatewaycall should use the same callsign as objectcall, but with a different SSID; -10 is recommended for this. Then set the APRS passcode. You can generate this passcode online.
After making these changes, save the configuration file.sdrcfg-rtl0.txt, you can enter the frequencies you want to monitor.nano sdrcfg-rtl0.txtnano beacon.txtsudo reboot nowAutomatically clearing log files
dxlAPRS creates log files so you can monitor your system. These files are stored in the/tmp/ directory.
Over time, the log files can become large and may fill up your memory card.crontab -e*/60 * * * * truncate -s 0 /tmp/sondemod.log*/60 * * * * truncate -s 0 /tmp/aprs.log*/60 * * * * truncate -s 0 /tmp/sondeudp-rtl0.log*/60 * * * * truncate -s 0 /tmp/sondeudp-rtl1.log*/60 * * * * truncate -s 0 /tmp/sondeudp-rtl2.log*/60 * * * * truncate -s 0 /tmp/rtl_tcp-rtl0.log*/60 * * * * truncate -s 0 /tmp/rtl_tcp-rtl1.log*/60 * * * * truncate -s 0 /tmp/rtl_tcp-rtl2.log*/60 * * * * truncate -s 0 /tmp/udpgate.logConfiguring a second APRS server (optional)
These scripts can also send data to a second APRS server. This is optional and not required.cd /home/pi/wsnano ws-options.confaprssecond="off" # Set this to on to enable itaprssecondserver="keinaprsserver.com"aprssecondport="14580"