Viktor Jaep
Part of the Furniture
Who toggles the toggles... that's really the question.I believe this is a bad idea. Who toggles it back? And if done later on, NTP may never sync. That‘s what I saw when I tested this a few months ago.
Who toggles the toggles... that's really the question.I believe this is a bad idea. Who toggles it back? And if done later on, NTP may never sync. That‘s what I saw when I tested this a few months ago.
My understanding is the user is asking for a menu option to manually enable/disable the "NTP Ready" check performed by the add-on during startup. So if the user disables this check, it would be the user's responsibility to enable it back at some later point. I'm guessing the idea is to disable the check momentarily while troubleshooting the WAN connection, and then enable it once the issue has been resolved, and then reboot the router. Without an established WAN connection, there's not much the user can do anyway, so the "NTP Ready" check is moot under such conditions.I believe this is a bad idea. Who toggles it back? And if done later on, NTP may never sync. That‘s what I saw when I tested this a few months ago.
My understanding is the user is asking for a menu option to manually enable/disable the "NTP Ready" check performed by the add-on during startup. So if the user disables this check, it would be the user's responsibility to enable it back at some later point. I'm guessing the idea is to disable the check momentarily while troubleshooting the WAN connection, and then enable it once the issue has been resolved, and then reboot the router. Without an established WAN connection, there's not much the user can do anyway, so the "NTP Ready" check is moot under such conditions.
Perhaps the poster can elaborate on what he's trying to do since there might be other ways to accomplish what he wants to do.
Just my 2 cents.
This last sentence is confusing. If your WAN connection is down, which "updates" are you checking? scMerlin updates? F/W updates?...
It would just be nice to have a menu option so that checking for updates does not give a false update needed.
Neither.This last sentence is confusing. If your WAN connection is down, which "updates" are you checking? scMerlin updates? F/W updates?
Why would you check for any "updates" if your WAN is not connected?
Or, are you referring to the NTP synchronization attempts as "updates"?
Because I have modified the script,
OP is asking to add a feature so they don‘t have to modify the script - which triggers the MD5 update notification. Nothing wrong with that.
And you want support?
amtm 4.5.1 was meant to come without the MD5 check, I removed it completely. But then I realized it is also a safety feature. If the local and remote file hashes differ something changed. In the case of @RandomUser777 this was deliberate. But it may also indicate that something unfavorable happened to the local file.Wasn't even serious. British humour (sarcasm).
I do like the idea of the ready check
I definitely agree that keeping the hash check is important.amtm 4.5.1 was meant to come without the MD5 check, I removed it completely. But then I realized it is also a safety feature. If the local and remote file hashes differ something changed. In the case of @RandomUser777 this was deliberate. But it may also indicate that something unfavorable happened to the local file.
Ah, now that makes more sense. I just submitted the PR with my changes. I hope this addresses your situation.Neither.
Because I have modified the script, AMTM and the script itself both report that an update is available.
An option to disable ntp check would stop this from happening.
PR merged. scMerlin 2.5.3 is now available.I've submitted a GitHub PR with my latest changes for the next "2.5.3" release version.
ps | grep dns
2618 AsusAdmi 3328 S {tailtaintdnsd} /bin/sh /jffs/addons/scmerlin.d/tailtaintdnsd
2620 AsusAdmi 3328 S N {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
2630 AsusAdmi 3328 S N {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
2900 AsusAdmi 2764 S dnsmasq --log-async
3604 AsusAdmi 13344 S N service restart_dnsmasq
21074 AsusAdmi 3328 S grep dns
ps | grep dns
2618 AsusAdmi 3328 S {tailtaintdnsd} /bin/sh /jffs/addons/scmerlin.d/tailtaintdnsd
2620 AsusAdmi 3328 S N {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
2630 AsusAdmi 3328 S N {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
3604 AsusAdmi 13344 S N service restart_dnsmasq
23434 nobody 2788 S dnsmasq --log-async
23435 AsusAdmi 2764 S dnsmasq --log-async
24151 AsusAdmi 3328 R grep dns
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!