Private Hosts files being overwritten with update on V4

General support for the Pi-Star System
Post Reply
VK2HK
Posts: 2
Joined: Wed Apr 04, 2018 10:28 pm

Private Hosts files being overwritten with update on V4

Post by VK2HK » Sun Mar 15, 2020 11:25 pm

Hi all, not sure if this is just a V4 Beta issue, but when I enter a private P25 reflector into my /usr/local/etc/P25HostsLocal.txt file, I am finding that the next day after an update it has been overwritten with the default one. As I said, I'm not sure if this is just because it is the Beta V4 version I am using or this is happening on the V3 as well ??

Anyone else having this issue ??

Regards
Ian (VK2HK)

KE7FNS
Posts: 694
Joined: Wed Apr 17, 2019 11:11 pm

Re: Private Hosts files being overwritten with update on V4

Post by KE7FNS » Mon Mar 16, 2020 1:52 am

VK2HK wrote:
Sun Mar 15, 2020 11:25 pm
Hi all, not sure if this is just a V4 Beta issue, but when I enter a private P25 reflector into my /usr/local/etc/P25HostsLocal.txt file, I am finding that the next day after an update it has been overwritten with the default one.
That is how it is designed to work, in other words you shouldn't be adding custom changes to the file at /usr/local/etc/P25HostsLocal.txt since it is overwritten during the nightly update.

There is a different file you need to edit instead.
/root/P25Hosts.txt

Follow the instructions here:
https://amateurradionotes.com/pi-star-notes.htm#addref

And then thank Toshen for writing up the instructions.
All views, comments, posts and opinions shared are entirely my own.

VK2HK
Posts: 2
Joined: Wed Apr 04, 2018 10:28 pm

Re: Private Hosts files being overwritten with update on V4

Post by VK2HK » Mon Mar 16, 2020 4:44 am

Thanks for the reply and yes I actually do now remember that is what should be done. It has been a very long time since I have made any changes to any Hosts Files and far too long for my aging brain to remember.

Yes I have looked at the info on Toshen's site and it is a great site.

Again thanks

Regards
Ian (VK2HK)

Post Reply