PDA

View Full Version : Daylight Savings October 2009



fitty
06-10-2009, 08:15 PM
Another case of me working through problems from not using the most recent oztivo image, but since the move to daylight savings time this past weekend my box wouldn't show the right time (+1 hour) even after a successful call to the emulator and having it's time synch'd.

I used this wiki page as the basis of trying to figure out the problem:
http://www.oztivo.net/twiki/bin/view/Main/WA2006DaylightSavingChange

When trying to update the oztivo image, the script fails:


[TiVo [p0] ~]# update_oztivo -y
File system is now READ/WRITE.
Fetching new files from the oztivo Emulator, details shown below:
rsync -rvltpD 131.244.9.101::oztivo_1.6 . --exclude-from=/etc/update_exclude

Welcome to the rsync server for the Unix Archive. If you are only interested
in browsing the Unix Archive, then please see the list of mirrors at
http://www.tuhs.org/archive_sites.html


@ERROR: Unknown module 'oztivo_1.6'
rsync error: error starting client-server protocol (code 5) at /usr/src/tivo/rsync-2.6.7/main.c(1296) [receiver]
File system is now READ ONLY.

I'm sure it's immediately obvious to those in the know, but the ip address 131.244.9.101 refers to the old emulator server minnie.tuhs.org which was migrated to www.oztivo.net.

The solution lies in updating the update_oztivo script. I ftp'd the file down, its under /hack/bin/update_oztivo. Replace any reference to 131.244.9.101 with www.oztivo.net.

I think there are 2 references, now that i've run the update again its replaced the version of the file I updated myself with one from the new image so I cant copy and paste the relevant lines in... whoops!

Anyhoo, with the emulator address updated it will bring the image up to date:


[TiVo [p0] /]# update_oztivo -y
File system is now READ/WRITE.
Fetching new files from the oztivo Emulator, details shown below:
rsync -rvltpD www.oztivo.net::oztivo_1.6 . --exclude-from=/etc/update_exclude
Welcome to the OzTiVo rsync server...

receiving file list ... done
./
bin/
bin/ntpdate
devbin/
etc/
etc/dflt_sysinit.conf
etc/hosts
etc/oztivo_version
etc/postcodezones
etc/rc.d/
etc/rc.d/rc.net
etc/rc.d/rc.sysinit
etc/rc.d/rc.sysinit.author
hack/
hack/TivoWebPlus/
hack/TivoWebPlus/check_dist.sh
hack/TivoWebPlus/httpd-tt.tcl
hack/TivoWebPlus/robots.txt
hack/TivoWebPlus/tivoweb
hack/TivoWebPlus/tivoweb.cfg
hack/TivoWebPlus/.dist/
hack/TivoWebPlus/.dist/basic-debug.itcl
hack/TivoWebPlus/.dist/chkdu-oztivo.lst
hack/TivoWebPlus/.dist/chksum-060818.lst
hack/TivoWebPlus/.dist/chksum-oztivo.lst
hack/TivoWebPlus/.dist/extract.sh
hack/TivoWebPlus/.dist/update-config.lst
hack/TivoWebPlus/.dist/update.sh
hack/TivoWebPlus/.dist/version
hack/TivoWebPlus/.dist/{z}.itcl
hack/TivoWebPlus/backups/
hack/TivoWebPlus/bin_mips/
hack/TivoWebPlus/bin_ppc/
hack/TivoWebPlus/docs/
hack/TivoWebPlus/docs/Changelog
hack/TivoWebPlus/images/
hack/TivoWebPlus/images/Gallery/
hack/TivoWebPlus/images/MFS/
hack/TivoWebPlus/libs/
hack/TivoWebPlus/modules/
hack/TivoWebPlus/modules/ChannelMap.itcl
hack/TivoWebPlus/modules/backup.itcl
hack/TivoWebPlus/modules/channelgrid.itcl
hack/TivoWebPlus/modules/channelprefs.itcl
hack/TivoWebPlus/modules/confresManual.cfg
hack/TivoWebPlus/modules/confresManual.itcl
hack/TivoWebPlus/modules/debug.itcl
hack/TivoWebPlus/modules/displaytext.itcl
hack/TivoWebPlus/modules/extract.itcl
hack/TivoWebPlus/modules/favicon.itcl
hack/TivoWebPlus/modules/folders.itcl
hack/TivoWebPlus/modules/gallery.itcl
hack/TivoWebPlus/modules/gdchecker.itcl
hack/TivoWebPlus/modules/higuide.cfg
hack/TivoWebPlus/modules/higuide.itcl
hack/TivoWebPlus/modules/index.itcl
hack/TivoWebPlus/modules/info.itcl
hack/TivoWebPlus/modules/lj_utils.itcl
hack/TivoWebPlus/modules/logos.itcl
hack/TivoWebPlus/modules/logs.itcl
hack/TivoWebPlus/modules/mail.itcl
hack/TivoWebPlus/modules/manrec.cfg
hack/TivoWebPlus/modules/manrec.itcl
hack/TivoWebPlus/modules/merge.itcl
hack/TivoWebPlus/modules/mfsbrowser.itcl
hack/TivoWebPlus/modules/mrv.itcl
hack/TivoWebPlus/modules/netconfig.itcl
hack/TivoWebPlus/modules/phone.itcl
hack/TivoWebPlus/modules/recoptions.cfg
hack/TivoWebPlus/modules/reorder.itcl
hack/TivoWebPlus/modules/resources.itcl
hack/TivoWebPlus/modules/rss.itcl
hack/TivoWebPlus/modules/sched.itcl
hack/TivoWebPlus/modules/screen.itcl
hack/TivoWebPlus/modules/script.itcl
hack/TivoWebPlus/modules/script.sh
hack/TivoWebPlus/modules/search.itcl
hack/TivoWebPlus/modules/sysadmin.itcl
hack/TivoWebPlus/modules/theme.itcl
hack/TivoWebPlus/modules/tvres-2.0.res
hack/TivoWebPlus/modules/tvres-2.5.res
hack/TivoWebPlus/modules/tvres-3.0.res
hack/TivoWebPlus/modules/ui.itcl
hack/TivoWebPlus/modules/update.itcl
hack/TivoWebPlus/modules/webremote.itcl
hack/TivoWebPlus/modules/whatson.itcl
hack/TivoWebPlus/modules/wishlists.itcl
hack/TivoWebPlus/modules/xlist.itcl
hack/TivoWebPlus/modules/{more}.cfg
hack/TivoWebPlus/modules/{more}.itcl
hack/TivoWebPlus/scripts/
hack/TivoWebPlus/scripts/dtivogenre.js
hack/TivoWebPlus/scripts/genericgenre.js
hack/TivoWebPlus/scripts/genre.js
hack/TivoWebPlus/scripts/keytrap.js
hack/TivoWebPlus/scripts/pngfix_map.js
hack/TivoWebPlus/scripts/reorder.js
hack/TivoWebPlus/scripts/ukgenre.js
hack/TivoWebPlus/src/
hack/TivoWebPlus/themes/
hack/TivoWebPlus/uploads/
hack/autospace/
hack/bin/
hack/bin/fixtivotime
hack/bin/report_ipaddress
hack/bin/station_logos.sh
hack/bin/trickey_menu
hack/bin/update_oztivo
hack/docs/
hack/endpad-1.5.1/
hack/endpad-1.5.1/endpad.tcl
hack/etc/
hack/etc/crontab
hack/etc/emuProxyZA.conf
hack/etc/resolv.conf
hack/etc/trickey.conf
hack/root/
hack/root/.bash_profile
hack/var/
hack/var/persist.tar.gz
hack/zoneinfo/
hack/zoneinfo/Australia/
hack/zoneinfo/Australia/Adelaide
hack/zoneinfo/Australia/Brisbane
hack/zoneinfo/Australia/Broken_Hill
hack/zoneinfo/Australia/Currie
hack/zoneinfo/Australia/Darwin
hack/zoneinfo/Australia/Eucla
hack/zoneinfo/Australia/Hobart
hack/zoneinfo/Australia/Lindeman
hack/zoneinfo/Australia/Lord_Howe
hack/zoneinfo/Australia/Melbourne
hack/zoneinfo/Australia/Perth
hack/zoneinfo/Australia/Sydney
lib/
lib/modules/
lib/modules/palmod.o
lib/modules/palmod.o.20060805
sbin/
sbin/nic_config_tivo
tvbin/
var/
var/persist/

sent 14049 bytes received 233788 bytes 19826.96 bytes/sec
total size is 4795972 speedup is 19.35
File system is now READ ONLY.


You can see that part of the update was for time zone information which fixed my problem with daylight savings time.

petestrash
07-10-2009, 03:49 PM
This should not be necessary for most people running older software as we did ask everyone to run the update on their TiVo's before the changeover so all system files pointing to the old IP would be corrected.

But I understand your TiVo has been in a offline for some time so was not updated.

Thanks for sharing your fix.

Peter.