As everyone knows, Pi-star automatically updates the Callsign database by downloading whole list from the British server (http://www.pistar.uk/downloads/DMRIds.dat). But this database often lacks many Russian callsigns. All the more new.
By address http://registry.dstar.su/dmr/DMRIds2.php there is a more adequate database of Russian callsigns, which are updated for Russia and Europe in real time, and for the States once a day.
Changing the auto-update of the PI-star Callsign database from the British site to the base with dstar.su
In the Pi-star file /usr/local/sbin/HostFilesUpdate.sh change the following line:
Code: Select all
curl --fail -o ${DMRIDFILE} -s http://www.pistar.uk/downloads/DMRIds.dat
Code: Select all
wget -O ${DMRIDFILE} http://registry.dstar.su/dmr/DMRIds2.php
In the file name DMRIds2.php it is important to specify the correct case of all letters. The letter "I" is in uppercase. If you write "i" by mistake, the link will not work.
By default, auto-updates are occured after 3:25 of Your local time. If you disable your hotspot for the night, and therefore you do not receive an updated Callsign database, you can change the time when the database is updated:
To change the update time, change the line in the /etc/crontab file-
Code: Select all
25 3 * * * root mount-o remount, rw / & & cd / && run-parts --report /etc/cron. daily
If you want to receive callsign updates, for example, at 17:30 (5:30pm), the line should look like this:
Code: Select all
30 17 * * * root mount -o remount,rw / && cd / && run-parts --report /etc/cron.daily
This life hack invented, implemented and tested by UN7ZB, UA6LQP, UA0LMC and R2ARZ and me, of course.
P.S. Copy russian Instruction is here https://www.dstar.su/forum/viewtopic.php?f=59&t=1218