Page 2 of 3

Re: Override IP address of a YSF Reflector

Posted: Fri Mar 27, 2020 9:27 am
by BX3ACB
I don't know why may YSF hosts file can not overwrite

Could you please tell me witch is correct path and file name and format ?

My pistar version is 3.4.17,thanks

Re: Override IP address of a YSF Reflector

Posted: Fri Mar 27, 2020 5:13 pm
by M1DNS
There isn't one.

Pistar obtains its YSF addresses from the YSF registry. The pistar server updates itself every hr with what's registered there. Then it updates your install either during a manual update or via the auto overnight maintenance scripts.

Currently there's no function for a personal entry host for YSF.


Sent from my SM-G935F using Tapatalk




Re: Override IP address of a YSF Reflector

Posted: Mon Mar 30, 2020 2:34 pm
by BX3ACB
Dear Sir

Thanks for reply, is it possible to add this overwrite function in the future?

Re: Override IP address of a YSF Reflector

Posted: Wed Apr 01, 2020 11:35 pm
by AE5JO
You could potentially edit your global host file at /etc/hosts to point the url at the ip address on your LAN. For example, my YSF reflector is at URL ae5jo.bounceme.net but on my LAN it is at 192.168.1.102. I edit the file at /etc/hosts to point ae5jo.bounceme.net to 192.168.1.102 and it works.
That said, if I change the local IP address of the YSF reflector or if I take the hotspot portable off of the LAN I have to remember to go back and edit the file.

Re: Override IP address of a YSF Reflector

Posted: Thu Apr 02, 2020 8:33 am
by M1DNS
AE5JO wrote:You could potentially edit your global host file at /etc/hosts to point the url at the ip address on your LAN. For example, my YSF reflector is at URL ae5jo.bounceme.net but on my LAN it is at 192.168.1.102. I edit the file at /etc/hosts to point ae5jo.bounceme.net to 192.168.1.102 and it works.
That said, if I change the local IP address of the YSF reflector or if I take the hotspot portable off of the LAN I have to remember to go back and edit the file.
Each time the install runs the overnight maintenance scripts it'll over write the host file. So is only a solution if you only power the install on and off only whilst your using it. And never again run an update. Image

Sent from my SM-G935F using Tapatalk


Re: Override IP address of a YSF Reflector

Posted: Thu Apr 02, 2020 2:57 pm
by AE5JO
Andy,
I love the emoji but I am not talking about "/usr/local/etc/YSFHosts.txt" but rather "/etc/hosts" which I assure you does not get overwritten upon update, nor would you want it to be. I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)

I just added the following line
192.168.1.102 ae5jo.bounceme.net
and now it will ignore URL translation from DNS servers and route any port going to "ae5jo.bounceme.net" to 192.168.1.102 instead of my internet facing IP address.

Re: Override IP address of a YSF Reflector

Posted: Thu Apr 02, 2020 5:30 pm
by M1DNS

AE5JO wrote:Andy, I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)
I seen what you did there... ImageImage

PS I'm Andrew, Andy is the other fellow. Image



Sent from my SM-G935F using Tapatalk


Re: Override IP address of a YSF Reflector

Posted: Thu Apr 02, 2020 5:48 pm
by AE5JO
Sorry Andrew!

Re: Override IP address of a YSF Reflector

Posted: Thu Apr 02, 2020 6:48 pm
by M1DNS
AE5JO wrote:Sorry Andrew!
No probs, no harm done, no apology needed. A common occurance you won't be the first, or last, two similar names same place. ImageImage

Sent from my SM-G935F using Tapatalk


Re: Override IP address of a YSF Reflector

Posted: Mon Apr 06, 2020 2:19 am
by BX3ACB
AE5JO wrote:
Thu Apr 02, 2020 2:57 pm
Andy,
I love the emoji but I am not talking about "/usr/local/etc/YSFHosts.txt" but rather "/etc/hosts" which I assure you does not get overwritten upon update, nor would you want it to be. I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)

I just added the following line
192.168.1.102 ae5jo.bounceme.net
and now it will ignore URL translation from DNS servers and route any port going to "ae5jo.bounceme.net" to 192.168.1.102 instead of my internet facing IP address.
Thanks , it is useful for local connect , but I want is

Other people can selectnprivate ysf reflector from pistar ysf list ,

the list is for ysf registered only now ,I like it can be customise funcrion like DExtra_Hosts.txt or DMR_Hosts.txt under /root directory and will not over write by update.

It is helpful people who don't want their reflector be public and early selection for their members