Making private DMR calls with a Yaesu radio in YSF2DMR mode on PiStar hotspots
Posted: Tue Dec 01, 2020 9:39 am
By default, when trying to make a private call to 1234567 you may end up in the TG 34567. It happens because the respective contacts should first be added to the /usr/local/etc/TGList_BM.txt file in ID;2;CALLSIGN;DESCRIPTION format.
To add all calls from your country (Latvia in this example, starting with 2470), you can execute the following command by accessing your PiStar hotspot via SSH as root:
To automate the action so it gets executed on every update, add this line before exit 0 to the end of the /usr/local/sbin/HostFilesUpdate.sh file:
Hope it helps!
P.S. Thanks to UW5ELK for helping me to figure it out!
To add all calls from your country (Latvia in this example, starting with 2470), you can execute the following command by accessing your PiStar hotspot via SSH as root:
Code: Select all
rpi-rw && cat /usr/local/etc/DMRIds.dat | grep -e "^2470" | awk -F $'\t' '{print $1 ";2;" $2 ";" $2}' >> /usr/local/etc/TGList_BM.txt && systemctl restart ysf2dmr && sync && rpi-ro
Code: Select all
cat ${DMRIDFILE} | grep -e "^2470" | awk -F $'\t' '{print $1 ";2;" $2 ";" $2}' >> ${TGLISTBM}
Hope it helps!
P.S. Thanks to UW5ELK for helping me to figure it out!