PDA

View Full Version : Wrong Time?


snown
October 2nd, 2008, 03:54 PM
I'm running Boxee on Apple TV and while I successfully set the weather to my zipcode, the time is far from accurate. I don't know if I'm just missing a setting where I tell it what time zone I'm in, or if it relies on the computer to know what time, but if someone could shine some light on this I would be appreciative.

thanks

TheDevelopment
October 3rd, 2008, 01:26 AM
I also noticed the same problem last night and couldn't work out how to change the time. I've set my region to Sydney, Australia but that didn't seem to effect the time.

Cheers

Coda
October 5th, 2008, 04:08 AM
Me too. It seems to be displaying GMT/UTC, and I'm two hours ahead of that.

Infinite
October 8th, 2008, 06:25 PM
Me too. It seems to be displaying GMT/UTC, and I'm two hours ahead of that.

I have the same incorrect time results.

HuMac
October 22nd, 2008, 08:26 PM
Couldn't find a solution in the Apple TV menu or settings but since its all UNIX anyway you can do the following to set the time to your timezone:

You'll need to SSH into you ATV using terminal or putty

To setup correct timezone you need to copy your timezone file from /usr/share/zoneinfo directory to /etc/localtime file.

Just goto directory:
# cd /usr/share/zoneinfo

Use ls -l command to find out your zonefile.
# ls -l

For example I am in US/Pacific (PST time zone) so I need to copy file as follows:
# sudo cp /usr/share/zoneinfo/US/Pacific /etc/localtime

That fixed it for me cheers...

jedidavs
April 12th, 2009, 11:06 AM
The file for UK users is called GB

Thanks for the help, it was pretty annoying not being able to change the time!

judgeschambers
July 4th, 2009, 08:48 AM
Worked for me in Eastern USA.

Had to use Putty. My session used Bash, so it sorta confused me how to use the commands..

-log out of Boxee on Apple TV
-Log into Putty.
-Copy the file per above instructions
-Restart Boxee (no need to reboot ATV)
-Time is now fixed!

THanks!

For those that are linux or Bash challenged here is what I figured out:
Putty must use the IP of ATV to log in. Using host name of appletv.local will not allow Putty to log in, so find your IP of ATV and use that as your host name!!!!!


Putty shows this upon log in:
Using username "frontrow".
Welcome to the AppleTV (via atv-usbcreator)
-bash-2.05b$

After the $ type the following as I have in red and hit enter:
-bash-2.05b$ cd /usr/share/zoneinfo

Putty will show the same line again:But this is ok. It means you are in the proper directory
-bash-2.05b$

Now after the $ type the following and hit enter:
-bash-2.05b$ ls -l This is a lower case LS -L

Now you will see a list of time zones.
Pick the zone name to the far right of the list that is yours. For USA Eastern I found "EST", but that did not work. I had to type Eastern in the string below to get it to work. Then type the following strand and enter:

-bash-2.05b$ sudo cp /usr/share/zoneinfo/US/Eastern /etc/localtime

Putty will ask for your password for ATV SSH access, which is:
"frontrow" without the "". Hit enter.

You should end up back at:
-bash-2.05b$.

If so, you've changed your Time.

Of course, different times or countries will require you to modify the final directory stream. So, tinker with it.

GTIMANiac
November 9th, 2009, 08:18 PM
hmmm looks like 3.0.1 changed the filesystem rights

now get this

[AppleTV:/usr/share/zoneinfo] frontrow% sudo cp MST /etc/localtime
Password:
cp: /etc/localtime: Read-only file system

judgeschambers
November 9th, 2009, 08:20 PM
What's this mean?

GTIMANiac
November 9th, 2009, 09:15 PM
I just ended up creating a symlink and it worked the same

sudo mov /etc/localtime /etc/localtime.old
sudo ln -s /etc/share/zoneinfo/MST /etc/localtime

dshad
February 22nd, 2010, 07:15 AM
I have the same problem with my newly Boxee installed on Linux (Arch 64bit).

How can I fix local time on that type of OS?

Thanks

giyad
March 3rd, 2010, 11:26 AM
I just ended up creating a symlink and it worked the same

sudo mov /etc/localtime /etc/localtime.old
sudo ln -s /etc/share/zoneinfo/MST /etc/localtime
I had the same problem but when I tried symlinking but I get the error "sudo: mov: command not found" ... any suggestions?

UPDATE:

Nevermind, I found this thread (http://forum.boxee.tv/showthread.php?t=1105)and doing this sudo ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime worked for me

vcosta
March 16th, 2010, 01:17 AM
Thanks Giyad :) Also worked fine here.

GoldenCyn
April 28th, 2011, 09:04 AM
For those that are linux or Bash challenged here is what I figured out:
Putty must use the IP of ATV to log in. Using host name of appletv.local will not allow Putty to log in, so find your IP of ATV and use that as your host name!!!!!

appletv.local worked for me in Putty. Thanks by way, XBMC on my AppleTV now shows the correct time. I had it for months and it always had the wrong time.