Pi-Star allows everyone to setup and run a digital voice Hotspot easily, its ease of use largely contributed to the late Hotspot invasion. However, the DStar software shipping with it is quite outdated. It is a version dating back from 2015 and it misses some nice features : Forwarding DPRS data to APRS for Kenwood THD74, multiple ircddb networks capability, G2 Nat Traversal to allow call sign routing without any port forwarding…In the following steps will compile and install the latest ircddbgateway software into the guts of Pi-Star. I assume you are somehow familiar with command line and editing files through nano.
DISCLAIMER : I have no idea of possible side-effects or if it’ll break pi-star update mechanism, you do all this at your own risks. Compilation takes about 2 or 3 hours on a Pi-Zero, and only 15 or 20 minutes on a Pi3 so make sure you have plenty of time ahead ! Also make sure you have enough free space on your SD card, approx 1GB should be fine.
OK let’s go!
First make sure we have and up to date system and install some prerequisites and tools.
rpi-rw sudo apt update sudo apt upgrade sudo apt install libwxgtk3.0-dev git build-essentialCode language: Shell Session (shell)
Download the source code
cd ~ git clone --depth 1 https://github.com/g4klx/ircDDBGateway.gitCode language: Shell Session (shell)
Get into the freshly cloned source code and open the file Makefile into nano
cd ~/ircDDBGateway nano MakefileCode language: Shell Session (shell)
Edit the first lines of the Makefile so that they read exactly like this
export DATADIR := "/usr/local/etc" export LOGDIR := "/var/log/pi-star" export CONFDIR := "/etc" export BINDIR := "/usr/local/bin/"Code language: Makefile (makefile)
Save the file and exit nano and start the compilation.
make -j2Code language: Shell Session (shell)
The compilation might take a rather long time. If it fails complaining about a read only file system this is because after some time pi-star remounts the file system as read only. Whenever this happens just remount the file system as follow and restart the compilation.
rpi-rw make -j2Code language: Shell Session (shell)
Before going any further, as suggested by Jeff W4JEW, it is safe back up the original ircddbgatewayd binary to your home folder.
cp /usr/local/bin/ircddbgatewayd ~Code language: Shell Session (shell)
If something goes wrong you can restore this backup using
sudo cp ~/ircddbgatewayd /usr/local/bin/Code language: Shell Session (shell)
Once successfully compiled, it is time to install our freshly compiled binary.
sudo cp ~/ircDDBGateway/ircDDBGateway/ircddbgatewayd /usr/local/bin/Code language: Shell Session (shell)
There is one small step to be done before you can enjoy your new ircddbGateway. Edit the configuration file /etc/ircddbgateway
sudo nano /etc/ircddbgatewayCode language: Shell Session (shell)
Add the following line, replacing 12345 with your actual personal APRS password.
aprsPassword=12345Code language: Shell Session (shell)
This is required because ircddbgateway no longer auto generates a password to authenticate on the APRS network.
You can now reboot and, if you did not screw up, the D-Star network should light up green on your dashboard !