Date and Time

4 replies [Last post]
stephenmac7
Title: NooBot
Joined: 11/19/2013
Posts:
BotPoints: 29
User offline. Last seen 8 years 22 weeks ago.

Is it possible to get the correct date and time on the link? It seems like it sets it to the epoch every time it's restarted (January 1, 1970 12:00)

ruler501
ruler501's picture
Title: NooBot
Joined: 01/29/2012
Posts:
BotPoints: 367
User offline. Last seen 7 years 20 weeks ago.

You could probably set it up to auto-sync every time it connects to wifi. I'm not sure what the command to do that would be, probably some cron task.

stephenmac7
Title: NooBot
Joined: 11/19/2013
Posts:
BotPoints: 29
User offline. Last seen 8 years 22 weeks ago.

If I could actually set the time, I wold use ntp. However, even hwclock doesn't work.

ruler501
ruler501's picture
Title: NooBot
Joined: 01/29/2012
Posts:
BotPoints: 367
User offline. Last seen 7 years 20 weeks ago.

Odd. I'd think that would work. Have you made sure you're root while running it?

I don't have a robot to test on so these are just the first things that come to my mind.

stephenmac7
Title: NooBot
Joined: 11/19/2013
Posts:
BotPoints: 29
User offline. Last seen 8 years 22 weeks ago.

Definitely logged in as root.