NTP Server on QNAP borked? Request for info from QNAP owners

When one is running a DVR, keeping time is important.

I’m finding that difficult with my QNAP TS-251+. I need to edit and re-execute a script every time the NAS is restarted.

Specifically, the /etc/init.d/ntpf.sh script has crucial lines commented out beginning at line 23. As such, no NTP servers are identified and the ntp daemon is started with localhost as the clock! This is wrong and will not keep time. QNAP ridiculously runs ntp date at regular intervals – also ridicullous – but that will keep time in check somewhat.

Uncommenting and rerunning the script fixes the problem and I get an ntp server running and syncing to other ntp servers, but it seems /etc/init.d is rewritten at startup so my change is wiped out!

Is @tmm1 or anyone else able to run an ntp server on QNAP? What output do you get when you run “ntpq -p”? Is the block of code beginning at line 23 commented out in your /etc/init.d/ntpf.sh file?

Did you enable in Control Panel?

Yes, I did. I also started the ntp server application. What output do you get from “ntpq -p”?