Clocks all out of sync

  • 1
  • Question
  • Updated 7 months ago
My guest wifi was on this morning, which it shouldn't have been based on the schedules I had set a couple of weeks ago.  I SSH'd into a couple of them and the clocks are all off.  One shows 1970-01-04 14:39 Sunday and another one shows 1969-12-31 18:18 Wednesday.  I put a password on the Guest to keep students off of it, but I have already got calls about it this morning from teachers.  Any ideas?  
Photo of Donnie Mayes

Donnie Mayes

  • 16 Posts
  • 0 Reply Likes

Posted 7 months ago

  • 1
Photo of Donnie Mayes

Donnie Mayes

  • 16 Posts
  • 0 Reply Likes
I have turned off ntp and back on and updated all devices, but still the same thing.  They are all running 8.1r2a OS.
Photo of Bill W.

Bill W.

  • 222 Posts
  • 35 Reply Likes
Have you verified that your NTP server settings are correct? And that the NTP server is reachable? It doesn't matter if NTP is enabled if the APs cannot communicate with the NTP server.
Photo of Donnie Mayes

Donnie Mayes

  • 16 Posts
  • 0 Reply Likes
Bill;

Yes I have.  It's an internal server here and it can be reached.  
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
Hi Donnie,

This likely means that there is an issue with your NTP server or its reachability.

Are you able to use a public NTP server for testing purposes?

Regards,

Nick
Photo of Bill W.

Bill W.

  • 222 Posts
  • 35 Reply Likes
Well, than I don't know what to tell you. It definitely sounds like an issue with the APs being able to get NTP updates from the configured NTP server.

I know this doesn't sound good, but you could manually set the time on all your APs until you get this resolved. Unfortunately, the time will reset if the APs are rebooted before this is resolved.

You could also try using a different NTP server just to really rule that out as a possible cause.

Also, when you do a "show ntp", does it show the NTP server as "(active)"? And have you wiresharked this to confirm the NTP packets are making their way to and from?
Photo of Donnie Mayes

Donnie Mayes

  • 16 Posts
  • 0 Reply Likes
I am able to use the public aerohive one, but last week my schedules were not working and getting the correct time, so I put in our internal one and they all worked accurately.  I'll move them back to the public one and see how that goes and will report back!
Photo of Brian Powers

Brian Powers, Champ

  • 396 Posts
  • 92 Reply Likes
If you SSH into your gear and run a "show ntp" command, does the output of the command show something like the following?

DeskSwitch-SR2024P#show ntp

State:              Enable

Interval:           1440 minutes

  First             ntp1.aerohive.com(active)

  Second            

  Third             

  Fourth            

Daylight Saving Time: Yes

    Start             03-12 01:59:59

    End               11-05 01:59:59


If no NTP server (1st, 2nd, 3rd above) do not have "active" out to the right, the devices are not able to reach the server.  

Photo of Donnie Mayes

Donnie Mayes

  • 16 Posts
  • 0 Reply Likes
Brian, it is now.  I reset it to look at the aerohive ntp's and it's now back syncing fine.  Not sure why out of the blue it just stopped though, but I'm just happy that the guest is not showing during school.  Thanks all for your help into this!!