Append to DMR ID for Aliases on P25

Suggest new features here
Post Reply
VK2YMU
Posts: 14
Joined: Wed Jan 09, 2019 10:34 pm

Append to DMR ID for Aliases on P25

Post by VK2YMU »

Hi Andy

I have had a need to have an alias ID for one of the P25 repeaters we use here in my area
Since the ID is retrieved from the DMRIds.dat file I have created code that appends to the file.
This patch code as an executable inserted in rc.local and HostFilesUpdate.sh

Here is the code
# Append Custom ID's to DMRIds.dat
# Make file system read & write
mount -o remount,rw /
echo "505317 VK3RBA" >> /usr/local/etc/DMRIds.dat
# Make file system read only
mount -o remount,rw /
sleep 1
done

This is a useful feature that others require for when the DMR ID file does not provide the information since repeaters are not included in the ID file in the first place.

I was advised to post this here, in case you wish to make this a feature of your system thus as a sujestion.
73's
Robert
VK2YMU
Posts: 14
Joined: Wed Jan 09, 2019 10:34 pm

Re: Append to DMR ID for Aliases on P25

Post by VK2YMU »

why would you do hat when the ID file is updated daily, a lot easier to append as I have done.
But you have your way and I have mine..
Note that HostFilesUpdate.sh is called by the cron daily and the update in the gui.
But since I have achieved my goal, plus as per your advice posted here, I really don't know why you are trolling me..
VK2YMU
Posts: 14
Joined: Wed Jan 09, 2019 10:34 pm

Re: Append to DMR ID for Aliases on P25

Post by VK2YMU »

Guess what, it works plus daily updates get appended as I already mentioned, plus I can add many aliases if so required, further will work on any other system,maybe you should test the code I created but thanks for your comments...
VK2YMU
Posts: 14
Joined: Wed Jan 09, 2019 10:34 pm

Re: Append to DMR ID for Aliases on P25

Post by VK2YMU »

You win. Better now..... ?
Post Reply