spr-networks/super

Time is always off on my SPR router

Closed this issue · 5 comments

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

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

spr-networks/cn913x_build@ec8fb94
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 . spr-networks/cn913x_build@80d90f1