Comments (4)
There are a couple of solutions here, since we dont currently update the host files without restarting the service - I could choose to set the reload time much higher, without any impact.
But I agree, the best action is likely to be to resolve the name to IP once at the update server and pull in IP's only.
from pi-star_dv_dash.
Modified the YSF_Hosts.txt update process, now pulling the IP only version of the update file, and dropping hosts that are not resolvable to IP address.
That should make YSFGateway start up quickly, and should make a reload of the host file seamless again.
from pi-star_dv_dash.
Yes, I think this is the best solution, because changing ReloadTime would not fix the startup delay. Also I remember an old problem, when power outage occurs and is then restored Pi-Star would usually startup faster than my router, this would make YSFGateway fail resolution and be unable to connect to any YSFs with host name on the list until restart, this should also fix this issue :)
I confirm it is very fast now:
M: 2020-02-19 13:38:18.027 Opening YSF network connection
I: 2020-02-19 13:38:18.027 Opening UDP port on 4200
M: 2020-02-19 13:38:18.027 Opening YSF network connection
I: 2020-02-19 13:38:18.027 Opening UDP port on 42000
M: 2020-02-19 13:38:18.027 Resolving FCS00x addresses
M: 2020-02-19 13:38:18.405 Opening FCS network connection
I: 2020-02-19 13:38:18.405 Opening UDP port on 42001
I: 2020-02-19 13:38:18.405 The ID of this repeater is 42620
I: 2020-02-19 13:38:18.408 Loaded 306 FCS room descriptions
I: 2020-02-19 13:38:18.423 Loaded 654 YSF reflectors
I: 2020-02-19 13:38:18.426 Loaded YSF parrot
I: 2020-02-19 13:38:18.426 Loaded YSF2DMR
I: 2020-02-19 13:38:18.426 Loaded YSF2NXDN
I: 2020-02-19 13:38:18.426 Loaded YSF2P25
M: 2020-02-19 13:38:18.519 Starting the APRS Writer thread
M: 2020-02-19 13:38:18.519 No connection startup
M: 2020-02-19 13:38:18.520 Starting YSFGateway-20190130_Pi-Star
Thank you again!
from pi-star_dv_dash.
nice, I'm glad it was quick to fix it :)
from pi-star_dv_dash.
Related Issues (20)
- P25 settings server cannot be saved HOT 4
- Add new field NAME on Dashboard.
- Allow missing BeaconInterval parameter in dmr config
- API to make larger and custom screen
- Way to search reflectors by ID number HOT 2
- Accessible mode statuses overview HOT 1
- Configure/YSF startup host HOT 1
- RemoteCommand syntax
- dstar select manual broken
- NanoPi NEO OS compile driver for USB WiFi with Chip RTL8818eus not success
- Reflector list glitch on small screens HOT 1
- "M17 Listening" Persists Beyond Hangtime Until Another Mode is Detected HOT 1
- P25 & NXDN Show Network "Not Linked" When They Are Still Linked
- OLED Display Not Working With MMDVM Firmware v1.6.0
- PR #152 issues HOT 4
- Report security issue - CVE-2022-45182 HOT 2
- YSF Network on dashboard shows "Not Linked" for some reflectors HOT 5
- Can you please add "460800"bps modem_speed to official PI-STAR dashboard?
- Please fix this bug regarding periods in wifi.php code HOT 2
- Hostname display is garbled and overwrites kernel version HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-star_dv_dash.