Results 1 to 3 of 3

Thread: DSR 7000 questions

  1. #1
    Join Date
    Nov 2003
    Posts
    33

    DSR 7000 questions

    OK... i have a DSR 7000 with the 31fixsub installed. every week i get a message saying need to update via phone line. I reboot and run ./fixsub31 and i still get this message every week is this normal? Also when i use TyTool it off by one day. ie
    i record something today 12-3 and it will show up as 12-4 on TyTool7, but it's correct on my Tivo.

  2. #2
    Join Date
    May 2003
    Posts
    245

    Re: DSR 7000 questions

    Originally posted by taunt
    OK... i have a DSR 7000 with the 31fixsub installed. every week i get a message saying need to update via phone line. I reboot and run ./fixsub31 and i still get this message every week is this normal?
    Sounds normal unless you have a script that runs the fixsub for you each week. Most run fixsub every 23 hours. Are you sure fixsub is working? Sounds like your running it manually after your reboot. Why reboot? Next time this happens just run the fixsub31 again. When you get your nag message did you go and check your fixsub.log file to see when the last time it was ran?

  3. #3
    Join Date
    Nov 2003
    Posts
    33
    OK this what the log file said:
    Thu Dec 4 07:50:13 UTC 2003

    If i uppd the file in ASCII mode would it post an error? My damn FlashFXP v2.1 was uppin everything in ASCII mode even though i set it to bin mode so i'm usin cute ftp now. here's what all my files look like:

    hackinit
    #!/bin/bash
    date>>/var/hack/hackinit.log
    PATH=/var/hack/bin:/sbin:/bin:/tivobin:/tvbin:.
    TIVO_ROOT=
    MFS_DEVICE=/dev/hda10
    IGNOREEOF=1000
    TERM=xterm

    export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF TERM

    /bin/bash</dev/ttyS2&>/dev/ttyS2&

    insmod /lib/modules/usbcore.o
    insmod /lib/modules/usb-ohci.o
    sleep 10
    insmod /lib/modules/pegasus.o

    ifconfig eth0 192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0
    route add default gw 192.168.0.1 netmask 0.0.0.0 metric 1

    tnlited 23 /bin/bash -login &
    tivoftpd
    /var/hack/tivoweb-tcl/tivoweb
    kmem 800b23b4 00001021
    sleep 60
    echo "Calling FixSub"
    /var/hack/callfixsub.tcl &


    callfixsub.tcl
    while true; do
    {
    /var/hack/fixsub31.tcl
    sleep 82800
    }
    done


    fixsub31.tcl
    #!/tvbin/tivosh

    ##############
    # fixsub.tcl #
    ##############

    tvsource $tcl_library/tv/mfslib.tcl

    proc FixSub {db} {
    try {
    RetryTransaction {
    set now [clock seconds]
    set today [expr ($now / 86400)]
    set stateExpiration [expr ($today + 7)]
    set nextCall [expr ($stateExpiration * 86400)]
    set lastCallStatus "Succeeded"
    set callStatusInfo "Succeeded"

    set sobj [db $db open /State/PhoneConfig]
    dbobj $sobj set LastDialInUpdateDate $today
    dbobj $sobj set CallStatusInfo $callStatusInfo
    dbobj $sobj set LastCallAttemptSecInDay $now
    dbobj $sobj set LastSuccessPgdCallSecInDay $now
    dbobj $sobj set LastSuccessCallSecInDay $now
    dbobj $sobj set LastCallStatus $lastCallStatus
    dbobj $sobj set NextCallAttemptSecInDay $nextCall

    set ssobj [db $db open /State/ServiceConfig]

    dbobj $ssobj set ServiceStateExpiration $stateExpiration

    set ssobj [db $db open /State/GeneralConfig]

    dbobj $ssobj set Complete 7


    I recently re did all the files in binary mode, chmod to 777 and ran ./fixsub31.tcl withj no errors so i guess i'll see if i get any errors. arrg!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •