PDA

View Full Version : Time issue driving me around the bend



moulsnam
18-03-2007, 04:01 PM
Hi - have been avoiding an issue i have had with my tivo for some time in that everytime time it connects to the emulator the clock set causes the time to be out by 12-13 hrs. As i was controlling the updates it was no hassle to do the settime command each time. But with the change in sky channels it prompted me (finally!) to shift to 8000. When i did this i decided i'd fix all the other tivo issues i have not resolved since when i first set it up a couple of years ago now...

Anyhoo i know the issue is something to do with the Auckland file under the /hack/zoneinfo/Pacific directory....[which is there!] or something to do with ntpdate or postcodezones. I have been following every lead/thread i could find on this but can't figure it out!

Here is log from fixtivotime:
[TiVo [p0] ~]# fixtivotime
Our postcode is 02113. Found matching timezone Pacific/Aucklan
Offset 0 for timezone GMT, daylight saving is 0
Connecting to time server 210.48.107.133
t was 3383185740 from server
t is now 1174196940
Time is 2007-03-18 05:49:00
Time set to: Sun Mar 18 05:49:00 2007
Have a nice day.
Time set to: Sun Mar 18 05:49:01 2007
Have a nice day.

I have ran timezoneadj30.tcl and chosen 7..... i know it's something to do with the timezone not offsetting - but can't put my finger on it!

My postcodezones file looks ok and I have the Auckland timezone file under the Pacific folder -

# A list of TiVo postcodes and the timezones that they represent
# Two columns, separated by one tab only.
#
00800 Australia/Darwin
02000 Australia/Sydney
02600 Australia/Sydney
03000 Australia/Melbourne
04000 Australia/Brisbane
05000 Australia/Adelaide
06000 Australia/Perth
07000 Australia/Hobart
02113 Pacific/Auckland

ntpdate looks ok:
#!/bin/sh
# Stop time warp messages
touch /var/timestamp
# Set the time to time server with appropriate timezone offset
/tvbin/settime `rtimetz 210.48.107.133 210.48.107.133 129.6.15.28
131.107.1.10 `

# Now set hardware clock
/tvbin/settime -rtc &

Sorry for long post - wanted to show as much as possible - please help as its driving me nuts!:eek:

Wibble
18-03-2007, 05:12 PM
Here is log from fixtivotime:
[TiVo [p0] ~]# fixtivotime
Our postcode is 02113. Found matching timezone Pacific/Aucklan
Offset 0 for timezone GMT, daylight saving is 0
Connecting to time server 210.48.107.133
t was 3383185740 from server
t is now 1174196940
Time is 2007-03-18 05:49:00
Time set to: Sun Mar 18 05:49:00 2007
Have a nice day.
Time set to: Sun Mar 18 05:49:01 2007
Have a nice day.


That is definitively wrong, you should be getting
Offset 46800 for timezone NZDT, daylight saving is 1
not
Offset 0 for timezone GMT, daylight saving is 0

See The following threads of things to check:
http://forums.oztivo.net/showthread.php?t=776
http://forums.oztivo.net/showthread.php?t=1064

Most of the issues are file missing, corrupted files (ftpd as ascii instead of binaries) and tabs instead of spaces.

moulsnam
19-03-2007, 05:21 PM
thanks will try resending the Auckland file - triple checking its binary ftp. Can someone confirm the Auckland file from nztivo is THE file to use...otherwise can someone point me in the direction of the correct one.

Will let you know if it succeeds.
M

moulsnam
19-03-2007, 06:42 PM
Just a quick note to close this out - found it was my postcodezones file... obviously well out of date. Did a straight copy / paste of the code from the postcodezones file on nztivo - and it worked. presumbaly a small space issue.

Thanks / regards

Michael:)