Local Time not sticking on YUN

When I set the local time from within arduino/local advanced configuration/system (LUCI)

  • I sync with browser (updates to the correct local time)
    The time zone is set to America/Los Angeles
  • hit save & apply
    the local time appears to be correct. It also shows as the correct time on the Status page.

THEN if I power cycle, the local time returns to Wed Sept 3 18:35:19

Operator error?

Suggestions?

-Phil-

output of

date

and

ps |grep ntpd

Confirm yun has internet connection?

opkg update

I am not sure what the first two comments are refering to but yes there is a valid internet connection. I am not using the ethernet, so the only way I can connect to the control panel is via WIFI.

Yun does not have a battery nor it has a real time clock. Hence, each time you power cycle it, it will reset its clock. As soon as the linux side starts and it successfully connect to a "time server", clock will be synchronized.

I expected it to loose time when off but I guess that I have something configured incorrectly since it does not appear to re-sync even 20+ plus minutes after internet connection is established. My program initializes then captures the actual starting time and executes functions based on the actual time (IE at 15 minutes after the hour it does one thing, at 30 minutes another etc.) so real local time is important.

What do I need to do to enable the re-sync with the 'time standards'?

-Phil-

Plug the yun to internet, no matter if through wifi or ethernet cable. If it's plugged and it still doesn't sync, maybe your router is blocking NTP traffic?