maghuro
Very Senior Member
Did that.Try
Code:opkg --force-reinstall install libcap
No success... No chrony yet ...
Did that.Try
Code:opkg --force-reinstall install libcap
can you humour me and check if there is a passwd file of some description in /etc/samba please?I don't use samba on router.
I do use samba but with my qnap, not with router...
I don't have a samba folder inside /etccan you humour me and check if there is a passwd file of some description in /etc/samba please?
Ok. I'm out of ideas, at this point it's more efficient to factory reset rather than continue to try amd troubleshootI don't have a samba folder inside /etc
Thanks Jack for your efforts....Ok. I'm out of ideas, at this point it's more efficient to factory reset rather than continue to try amd troubleshoot
how is this different from the NTP intercept already in the Merlin firmware on the System screen under Admin. Does that setting need to be off before installing this?
printf "\\e[1m## Config location: %-35s ##\\e[0m\\n" "$CONFFILE_MENU"
if [ "$TIMESERVER_NAME_MENU" = "chronyd" ]
if [ grep -Fqsx 'ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR/chrony.conf"' /opt/etc/init.d/S77chronyd ]; then
CHRONY_IP_VER="v4+v6 mixed"
elif [ grep -Fqsx 'ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR/chrony.conf"' /opt/etc/init.d/S77chronyd ]; then
CHRONY_IP_VER="v4"
else
CHRONY_IP_VER="N/A"
fi
if [ "$TIMESERVER_NAME_MENU" = "chronyd" && $CHRONY_IP_VER="v4+v6 mixed" ]; then
sed -i 's/ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/g' /opt/etc/init.d/S77chronyd
Menu_RestartTimeServer
elif [ "$TIMESERVER_NAME_MENU" = "chronyd" && $CHRONY_IP_VER="v4" ]; then
sed -i 's/ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/g' /opt/etc/init.d/S77chronyd
Menu_RestartTimeServer
fi
to answer:Hi Jack, can I float a few ideas for next release by you? I know you mentioned you were thinking that you might split chrony off in future and these aren't proper pull requests but my syntax is a bit rusty so I'll post them here instead, please forgive that
1) The script header on the menu when using chrony looks like this
View attachment 27273
Would it be ok to centre align the config line (not seen how the ntpmerlin equiv looks)Code:printf "\\e[1m## Config location: %-35s ##\\e[0m\\n" "$CONFFILE_MENU"
2) Can we add an option to both show and toggle (similar to option t) whether chronyd is running able to listen and use ipv4+v6 ('ipv4+v6 mixed (default)' mode) or in ipv4 only ('ipv4 only' mode).
Perhaps there's a similar possibility for ntpd?
For chrony at least, something like this to check whether the -4 is present:
and something like this that adds or removes the -4 on a toggle, then restarts chronyd with this new setting to take effect?Code:if [ "$TIMESERVER_NAME_MENU" = "chronyd" ] if [ grep -Fqsx 'ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR/chrony.conf"' /opt/etc/init.d/S77chronyd ]; then CHRONY_IP_VER="v4+v6 mixed" elif [ grep -Fqsx 'ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR/chrony.conf"' /opt/etc/init.d/S77chronyd ]; then CHRONY_IP_VER="v4" else CHRONY_IP_VER="N/A" fi
Code:if [ "$TIMESERVER_NAME_MENU" = "chronyd" && $CHRONY_IP_VER="v4+v6 mixed" ]; then sed -i 's/ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/g' /opt/etc/init.d/S77chronyd Menu_RestartTimeServer elif [ "$TIMESERVER_NAME_MENU" = "chronyd" && $CHRONY_IP_VER="v4" ]; then sed -i 's/ARGS="-4 -r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/ARGS="-r -u nobody -f $SCRIPT_STORAGE_DIR\/chrony.conf"/g' /opt/etc/init.d/S77chronyd Menu_RestartTimeServer fi
(Again, apologies for the mess, I at least know the sed and grep commands do the right thing ha )
3) Finally idea 3 might mean that the above suggestion makes the list of options in the menu and bit long. Perhaps split off the options related to graphs and stats to a separate 'stats menu' that could be invoked with s? I would love an option that could include 'none' as an option to turn off any stat collection that wasn't essential wherever possible.
Please tweak these as you see fit, I humbly submit them for inclusion! Thank you
1) Minor ocd level problem, you needn't apologise lolto answer:
1) i'll get that fixed, my bad
2) is this something a lot of users want? i'm loathe to add settings for the sake of
3) ntpmerlin is designed for stats collection and monitoring so i'm not keen to add an option that turns off my hard developed eye candy
3) It is indeed lovely eye candy and tremendously helpful to look at when monitoring, but some users will just want to install it and forget about it and never ever look at stats at all. Why wouldn't there be an option to choose to turn it off?
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
W | ntpMerlin ntpMerlin and timeserverd ntp_ready tests | Asuswrt-Merlin AddOns | 1 | |
D | NTPmerlin config log not found | Asuswrt-Merlin AddOns | 2 | |
A | ntpMerlin Problems with ntpMerlin | Asuswrt-Merlin AddOns | 9 |
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!