Nightly host file over-writes

General support for the Pi-Star System
Post Reply
W2SJW
Posts: 10
Joined: Fri May 25, 2018 12:12 am

Nightly host file over-writes

Post by W2SJW » Mon Jan 14, 2019 2:03 am

Guys,

I had been told by a few that this had been corrected, but last night I put my brand-new duplex hotspot on my group's HBLink input to the C-Bridge via the 'custom' section of the DMR_Hosts.txt file.

I woke up this morning to find the same issue I had 5 months ago was still in play - the DMR host window had only the IP address in it, and when I looked in the host file, the custom master entry was completely gone.

Is there any way to stop the hosts files from being over-written every night? With the way they've been 'borking' the BrandMeister US masters 'on the regular', I really want to take advantage of the C-Bridge option.

Thanks in advance...

MW0MWZ
Site Admin
Posts: 767
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nightly host file over-writes

Post by MW0MWZ » Mon Jan 14, 2019 12:55 pm

Put it in the file in /root, that is used to append to the host files and is the correct way to do this.
Andy

73 de MW0MWZ
http://pistar.uk

W2SJW
Posts: 10
Joined: Fri May 25, 2018 12:12 am

Re: Nightly host file over-writes

Post by W2SJW » Tue Jan 15, 2019 12:53 am

Andy,

Thank you, sir!

I've been editing the one in

Code: Select all

/usr/local/etc/DMR_Hosts.txt
I went in via SSH & saw the ones you just mentioned...

MW0MWZ
Site Admin
Posts: 767
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nightly host file over-writes

Post by MW0MWZ » Tue Jan 15, 2019 6:29 pm

Indeed the ones in /usr/local/etc/ are manhandled by the scripts, all the customisation should go in /root versions.

I still have some work to do on the D-Star host files too - I'll get to those real soon.....
Andy

73 de MW0MWZ
http://pistar.uk

Post Reply