I am not sure why you are doing a daily call to the emulator as this seems to be what is causing most of your problems? I think you can stop the TiVo using the emulator by commenting out the entry in the tclient.conf? But am not sure of this.
The attached program will allow you to set your time from an NTP system.
There are many ways of executing it. By adding an ‘–s’ it will set both the hardware (CMOS) and the software (O/S) time on the TiVo. If the '-s' option is not used, then it will output the time in a format that is suitable for use by settime (to remain compatable with rtimetz).
Example 1
The following will lookup the postalcode in the database and then lookup your timezone in the /etc/postcodezones file and using that information attempt to find the timezone information by looking in /var/hack/zoneinfo.
Code:
# rdate –v 207.126.98.204 129.6.15.28 131.107.1.10
# rdate –vs 207.126.98.204 129.6.15.28 131.107.1.10
Example 2
The following does not require the /etc/postcodezones file as we have specified which timezone to use, it will look in TZDIR for the information files (TZDIR defaults to /var/hack/zoneinfo).
Code:
# TZ=Israel rdate –v 207.126.98.204 129.6.15.28
# TZ=Israel rdate –vs 207.126.98.204 129.6.15.28
Example 3
The following tells the application the exact location of the zoneinfo file (take note of the the colon ':'), thus allowing you to place the zoneinfo file where-ever you wish.
Code:
# TZ=:/var/hack/zoneinfo/Israel rdate –v 207.126.98.204
# TZ=:/var/hack/zoneinfo/Israel rdate –vs 207.126.98.204
QUICK INSTALLATION FOR ISRAEL USERS
Code:
1. Make the rdate program executable
# chmod 755 rdate
2. Move it into the /var/hack/bin directory
# mv rdate /var/hack/bin
3. Create a directory to hold the "Israel" zoneinfo file
# mkdir -p /var/hack/zoneinfo
4. Move the provided "Israel" zoneinfo file into this directory
# mv Israel /var/hack/zoneinfo
5. Run the command and check that things look okay
# TZ=Israel rdate –v 207.126.98.204
6. Run the command with the "set" (-s) option to change the date/time
# TZ=Israel rdate –vs 207.126.98.204
Bookmarks