can you check /var/hack/zoneinfo/Australia/ and make sure you only have one melbourne file.
Peter.
Printable View
can you check /var/hack/zoneinfo/Australia/ and make sure you only have one melbourne file.
Peter.
also try the following commands:
ls -l /var/hack/zoneinfo/Australia/Melbourne
and
strings /bin/ntpdate | grep tz
Peter.
Yes there is only one melbourne file. Here's the info:
Thanks.
[TiVo [p0] ~]# ls -l /var/hack/zoneinfo/Australia/Melbourne
-rwxr-xr-x 1 0 0 785 Feb 10 02:52 /var/hack/zoneinfo/Austra
lia/Melbourne
[TiVo [p0] ~]#
[TiVo [p0] ~]# strings /bin/ntpdate | grep tz
tzname
tzset
Null postcode in set_tz_variable()
detzcode
settzname
tzload
getzname
tzparse
tzname
tzsetwall
set_tz_variable
tzset
[TiVo [p0] ~]#
That's all good.
can you try:
[TiVo [p0] ~]# get_postalcode
A few times. This didn't work for you before.
If it still doesn't work try
cat -et /etc/postcodezones
Peter.
03000 came up, so this is an improvement.. but still 11hrs behind :-)
Can you try the cat comand above and post the results.
Peter.
[TiVo [p0] ~]# cat -et /etc/postcodezones
# A list of TiVo postcodes and the timezones that they represent^M$
# Two columns, separated by one tab only.^M$
#^M$
00800^IAustralia/Darwin^M$
02000^IAustralia/Sydney^M$
02600^IAustralia/Sydney^M$
03000^IAustralia/Melbourne^M$
04000^IAustralia/Brisbane^M$
05000^IAustralia/Adelaide^M$
06000^IAustralia/Perth^M$
07000^IAustralia/Hobart^M$
64000^IPacific/Auckland^M$
^M$
# New Zealand^M$
02112^IPacific/Auckland^M$
02113^IPacific/Auckland^M$
02114^IPacific/Auckland^M$
02115^IPacific/Auckland^M$
02116^IPacific/Auckland^M$
^M$
Ok, I think we are getting somewhere.
try this
rw
dos2unix /etc/postcodezones
ro
then try cat -et /etc/postcodezones again.
Peter.
Awesome! It's now working and on time!! Thanks Peter, you're a star! Are you a beer or wine man as i'd love to send a thank you gift :)
The problem was an error in postcodezones file, as I thought it was in post #6.
Unfortunately even when you transfered the new version some errors still crept in.
It is fairly common when transfering some files that the FTP program uses acsii or text mode. When this happens it adds ^M to the end of each line causing the corruption.
To stop this make sure all transfers are done in 'Binary Mode'.
Peter.
PS No gifts needed, just sorry it's taken 2 months to resolve.