Closed 0vercl0k closed 3 weeks ago
i think this is a bug we need to fix on clearfog . i will make sure we are running date
ntpdate -s time.nist.gov
https://github.com/spr-networks/cn913x_build/commit/ec8fb940a0253927579b74ed1269443256789c80 ntpdate.service in this commit fails to start on my box
systemctl status ntpdate | less
× ntpdate.service - NTP Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/ntpdate.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-06-22 04:10:11 UTC; 3min 24s ago
Duration: 1ms
Process: 10890 ExecStart=/usr/bin/ntpdate time.nist.gov (code=exited, status=203/EXEC)
Main PID: 10890 (code=exited, status=203/EXEC)
CPU: 1ms
Jun 22 04:10:11 spr systemd[1]: Started ntpdate.service - NTP Time Synchronization.
Jun 22 04:10:11 spr systemd[1]: ntpdate.service: Main process exited, code=exited, status=203/EXEC
Jun 22 04:10:11 spr systemd[1]: ntpdate.service: Failed with result 'exit-code'.
ntpdate seems to be located at /usr/sbin/ntpdate
Finally getting to this, thanks @Tiecoon . https://github.com/spr-networks/cn913x_build/commit/80d90f10fc932bef2719ea2be155dd229d40605c
I think I have always noticed that somehow the time is always off on my SPR router, but I didn't really care too much. But since there's now the OTP, the time actually matters as otherwise I just keep getting wrong OTPs which prevents me from accessing feature like showing the WiFi password, etc.
Is this something you guys have noticed? How do I help debug that?
Cheers