[Apple TV] Request ability to set Time-Zone from XBMC - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Mac OS X support (/forumdisplay.php?fid=56)
+---- Thread: [Apple TV] Request ability to set Time-Zone from XBMC (/showthread.php?tid=38630)
- davilla - 2009-01-06 05:39
abem3 Wrote:Hmph... interesting that I'm having a similar issue...
wall clock time or XBMC time?
- XBMC4Ever - 2009-01-06 05:42
davilla Wrote:First need to see if we have a system or xbmc problem.
zoneinfo is correct ... symlink is "/etc/localtime - /usr/share/zoneinfo/US/Pacific"
date command displays "Tue Jan 6 03:44:30 PST 2009" except it should say "Mon Jan 5 19:44:30 PST 2009"
based on that, I would go with a "system issue" since XBMC is displaying what the system has .. BUT .. why does a virgin nuke & pave without restore of userdata work OK ?
- davilla - 2009-01-06 06:02
XBMC4Ever Wrote:zoneinfo is correct ... symlink is "/etc/localtime - /usr/share/zoneinfo/US/Pacific"
not a clue but let's continue debugging the problem.
The AppleTV is using a ntp server to keep track of time. You can see this with "ps -ax | grep ntp". My returns the following:
now try this
"sudo ntpdate -q time.apple.com"
ntpdate updates the time but it can't be done while ntpd is running. This command quires the time server but does not set the clock.
Do this command and post the result and what you think the time should be.
- davilla - 2009-01-06 06:10
now to re-start the ntpd which will re-sync to a time server
if you look at "/System/Library/StartupItems/NetworkTime/NetworkTime", it's a bash script that handles start/stop/restart command to ntpd
then "date" again to see if you are in sync now.
- davilla - 2009-01-06 06:35
another fun command is
has good info.
These should help track down time issues. If the system time is not correct, then XBMC can never be correct.
Things to remember, if the AppleTV cannot get to time.apple.com, then ntpd cannot keep the time in sync and will have to rely on the RTC. Time syncing is much more complicated that just talking to the server once.
- XBMC4Ever - 2009-01-06 06:41
davilla Wrote:not a clue but let's continue debugging the problem.
davilla Wrote:now to re-start the ntpd which will re-sync to a time server
rackin frackin jickin rickin
OK .. tried both ... but both result in "Looking for host time.apple.com and service ntp" ... and it sits there f-o-r-e-v-e-r until I Ctrl-C out of it.
Even tried re-enabled the Auto-Update for the ATV via Launcher 2.2 wondering if it was also looping the DNS lookup back to 127.0.0.1 but no joy.
Am I to assume that time.apple.com is down ? If I ping time.apple.com from my main system, it resolves to an IP but there is no response. Yet if I ping ntp1.dlink.com I get a full repsonse. <sigh>
I tried "sudo ntpdate -q ntp1.dlink.com" but it defaulted to time.apple.com ... so I assume we cannot choose alternate ntp servers ?
That would be nice if we change time servers.
After all this head-bangin' - it all comes back to Apple frackin' around ?
(or maybe some ISP somewhere killin' the link between here and there ?)
grrrr x 0~0 ... and somehow every time I nuke 'n pave, etc etc time.apple.com seems to be down at the same time.
How quaint !!!
- davilla - 2009-01-06 06:55
XBMC4Ever Wrote:rackin frackin jickin rickin
time.apple.com is never down It's not "Apple frackin' around". Time servers are serious business. time.apple.com actually resolves to more than one time server at apple. These are stratum 2 time servers. Pretty high on the pecking order.
time.apple.com never responds to a ping, keeps the blackhat riff-raff out. It's pretty standard to turn off ping response from servers.
worked fine for me Smells like a network problem. Hard firewall blocking ntp ports maybe?
- XBMC4Ever - 2009-01-06 07:33
davilla Wrote:time.apple.com is never down It's not "Apple frackin' around". Time servers are serious business. time.apple.com actually resolves to more than one time server at apple. These are stratum 2 time servers. Pretty high on the pecking order.
Well ... while you were carvin' my Apple peels, I went around to every device on my network (NAS, router, Tablet, Netbook, workstations) and set them all to sync with time.apple.com .. and they all did it quickly and perfectly.
Then, I went back to the ATV ... started a restart on the time service ... and by the time I got done my first paragraph, the ATV had updated properly. So ... (1) port issues ain't hap'nin (2) every other device hit time.apple.com like the wind; and (3) who knows why the ATV takes 4 times as long as every other wireless device to hookup with time.apple.com ...
Maybe I should email Mr Jobs and ask
And if there's any frackin' to frack about, maybe it's Shaw this time ... d'oh
Although the coincidence is still quite odd.
Many thanks for your assistance Cruella DaVilla
- davilla - 2009-01-06 07:43
XBMC4Ever Wrote:Well ... while you were carvin' my Apple peels, I went around to every device on my network (NAS, router, Tablet, Netbook, workstations) and set them all to sync with time.apple.com .. and they all did it quickly and perfectly.
Cruella DaVilla, haha, never heard that one .... not
- Hudson_Hawk04 - 2010-12-09 10:58
At first I thought it was not that big of a deal, but as time goes on the fact that my time on my apple tv is beginning to drive me nuts. I have followed the guides on the first few pages, but for the life of me cannot get it set to CDT . Any help would be appreciated. I am running the latest atv firmware with Chrystal hd.