1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enhance Your Hacked Tivo With This Script

Discussion in 'TiVo Underground' started by rbautch, Jul 21, 2005.

  1. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    If you used the Zipper to hack your tivo, it sets the DNS setting to your router's IP address, which suits most folks but not all. You can use the network module of tivowebplus to change your IP params and DNS setting.
     
  2. SteelersFan

    SteelersFan "On Welfare"

    819
    0
    Sep 6, 2004
    Saugus, CA
    I had a similar problem. I believe my trouble started because my modem needed to be reset due to a partly unsuccessful call-in (I have VIOP). I switched the phone line to a different unit that would not connect at all and now all is well.
    Check this thread, post #14 for a better expaination.
     
  3. asteffens

    asteffens New Member

    15
    0
    Aug 16, 2004
    I was able to manually edit the file, I pulled it off via FTP, edited it in Notepad and FTP'd it back...but using the Web interface would have been a lot easier :) Thanks for the info guys, I appreciate the help.
     
  4. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Edit what file?
     
  5. 6stringbass

    6stringbass Music + Tivo R Good!

    72
    0
    Dec 10, 2005
    Atlanta, Jawja
    I had this happen a few times. Something in my router went out for lunch and wasn't parsing the DNS request correctly though net access to my other computers worked fine. Rebooted the router and everything was good. Rebooting also took care of my NowPlayingList slowdowns. Guess everything needs a reboot every now and then (haven't found the reset button on my brain yet though).
     
  6. Carlton Bale

    Carlton Bale New Member

    168
    0
    Dec 17, 2001
    Indianapolis...
    I had the same "wget won't work" problem on the last TiVo I upgraded (friend had a Linksys Vonage router). I tried both the router IP address and the DNS server IP addresses and nothing would work. wget would resolve the host name to the correct IP address but wouldn't download the file. Instead, I just edited the script to point to a local PC ip address, did a quick apache install on that local pc, downloaded the file to that PC, and used the pc serve the file to the tivo. Sounds complicated, and it would be for someone that hasn't done this type of thing before, but total time for me was about 3 minutes; figured I would have spent much longer than that trying to resolve the mystery network issue.
     
  7. pendragn

    pendragn Active Member

    12,095
    8
    Jan 21, 2001
    Ames Iowa
    If wget doesn't work, you can also just copy the file over and drop it into the same folder as tweak.sh. Tweah.sh checks for it when it starts up.

    tk
     
  8. Apr 2, 2006 #1448 of 2880
    aladdin4d

    aladdin4d New Member

    4
    0
    May 14, 2004
    Ok I've used this script and LOVE it! Props to the author! But.....(you had to know that was coming) I'm having a problem with the network drivers. No matter what I try usbnet.o and the sym link for ax8817x.o are deleted and the original ax8817x.o is restored whenever the Tivo is rebooted (Dtivo w/6.2) All of the other files for the USB2 package are left intact. I figure there's somethng really simple that I'm missing and I'll feel like an idiot but I'm at my wits end. Any help would be greatly appreciated.
     
  9. Apr 2, 2006 #1449 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    What kind of tivo do you have? Check the author file for anything out of the ordinary. Post it here if you like.
     
  10. Apr 2, 2006 #1450 of 2880
    aladdin4d

    aladdin4d New Member

    4
    0
    May 14, 2004
    I have a Samsung SIR-S4040 DirecTivo running 6.2 from PTVUpgrade and original networking installed from a PTVnet CD. At this time the only other hacks I have installed are Superpatch67 and your Enhancements. I have also tried manually installing the USB2 drivers from the latest tarball from 'that other forum' and have the same problem.

    Here is my author file:

    ## ~~ Start of user section ~~ ##

    #!/bin/bash

    # PTVupgrade PTVnet rc.sysinit.author for Series2 DirecTV DVR
    #

    # If you want to have a static IP address, you need to change
    # the STATIC_IP variables below to your desired IP address,
    # and rename DHCP_ON to STATIC_ON
    #
    # For more information on this, go to (url removed for post)
    # and make sure you know what you are doing. If you make a mistake
    # doing this, you may not find your TiVo on your network, ever again...
    #
    # Oh, and if you don't have a serial cable, get one, it could save you
    # a lot of trouble if you mess this up.
    #
    STATIC_IP=192.168.1.98
    NETMASK=255.255.255.0
    BROADCAST=192.168.1.255
    GATEWAY=192.168.1.1

    #
    #
    ######### First time booting? ########
    #
    # This checks for the FIRSTTIME_ON flag and does a few neat things.
    # Mainly, it runs 51killer.tcl so you don't have to do a Clear and
    # Delete everything when putting a new drive in your TiVo.
    # It also restores the splashscreen to the appropriate one.
    #
    # Note: If you set this flag back to ON after you've been using your
    # TiVo and recording programs, running 51killer.tcl again will mess up
    # your existing recordings. We use this flag when preparing new drives
    # for installation in different units to save time for customers, you
    # probably don't ever need to use this.

    if [ -f /init/ptv_flags/FIRSTTIME_ON ]; then
    tivosh /ptvupgrade/bin/51killer.tcl
    /ptvupgrade/bin/rootwrite;
    cp /init/ptv_images/PromScreen2Version7.NTSC.png /tvbin
    rm -rf /init/ptv_flags/FIRSTTIME_ON
    /ptvupgrade/bin/rootread;
    sync
    reboot
    fi
    #######

    # This sets the priority of hacks and shell commands to the lowest
    # possible priority so that the TiVo operation is not affected by
    # your tinkering; uncomment this if you find your tinkering gets in the
    # way, just note that sometimes you can lock up the shell if you do have this
    # uncommented, so be prepared with a serial cable, just in case you mess things
    # up.
    # setpri fifo 1 $$

    # Startup BASH in case you are using a serial cable to connect
    # This has been moved to the /init directory so that shell starts
    # right at boot time
    # /bin/bash -login</dev/ttyS2&>/dev/ttyS2 &

    # Lets set the path to look in our own bin first, and then busybox
    export PATH=$PATH:/ptvupgrade/bin:/ptvupgrade/busybox:/enhancements

    # An extra library directory needed for yac and elseed
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ptvupgrade/lib:/enhancements

    # Check flags for IP address (we recommend you just stick with DHCP)
    if [ -f /init/ptv_flags/DHCP_ON ]; then
    /ptvupgrade/bin/dhcp_enable.ptv
    fi

    if [ -f /init/ptv_flags/STATIC_ON ]; then
    ifconfig eth0 $STATIC_IP broadcast $BROADCAST netmask $NETMASK
    route add default gw $GATEWAY
    fi

    sleep 3

    #start telnet

    if [ -f /init/ptv_flags/TELNET_ON ]; then
    tnlited 23 /bin/bash -login &
    fi

    #start ftp

    if [ -f /init/ptv_flags/FTP_ON ]; then
    /ptvupgrade/bin/tivoftpd
    fi

    #start tivowebplus

    if [ -f /init/ptv_flags/TIVOWEB_ON ]; then
    mkdir -p /var/hack
    /ptvupgrade/tivowebplus/tivoweb
    sleep 30
    fi

    # check to see if PHONE_OFF has been set - if it is then we check to ensure
    # cron is setup so that fakecall is automatically run

    if [ -f /init/ptv_flags/PHONE_OFF ]; then
    if ! [ -f /var/spool/cron/crontabs/root ]; then
    /ptvupgrade/misc/cron_stuff/setup_cron
    fi
    phonereset.tcl
    fakecall.tcl
    crond
    fi

    # start extended tpm apps or other things
    # thanks mike for the tpm structure

    for i in /init/ptv_start/S[0-9][0-9]*
    do
    # Check if the script is there
    [ ! -f $i ] && continue
    source $i start
    done

    ### ~~ End of user section ~~ ###

    #############################################
    # starting NCID CallerID
    touch /var/log/cidcall.log &
    cd /var/hack/sbin; ./ncidd
    cd /var/hack/bin; ./tivocid &

    #############################################
    # starting Tivowebplus
    /enhancements/TWPrun.sh

    #############################################
    # start crond after waiting 30 seconds
    sleep 30
    /busybox/crond

    #############################################
    # Check if var got wiped, and if so, rebuild symlinks from /enhancements/varhacks
    if [ ! -e /var/vardelete_flag ]; then
    sh /enhancements/var-symlinks.sh
    fi
     
  11. Apr 2, 2006 #1451 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I don't see anything here that would delete the symlink. Maybe try starting with a fresh author file (from the zipper tools disk), and then run the enhancement script again.
     
  12. Apr 3, 2006 #1452 of 2880
    titleistmd

    titleistmd New Member

    24
    0
    Mar 1, 2006
    Utah
    I had the same problem. I have vonage also. I just uninstalled script and reinstalled and that fixed it for me.
     
  13. Apr 3, 2006 #1453 of 2880
    aladdin4d

    aladdin4d New Member

    4
    0
    May 14, 2004
    Thanks for your quick responses and all your hard work rbautch! I never did find out what the problem was but I fixed it with a sledge hammer approach. I started from scratch trying a method of my own that ended up merging with the Zipper instructions about halfway through and your enhancemnt script worked flawlessly network and all. No more mysteriously disappearing usbnet.o
     
  14. Apr 3, 2006 #1454 of 2880
    Geezer

    Geezer New Member

    87
    0
    Mar 18, 2003
    Hendersonvil...
    I just ran tweak_uninstall.sh and then ran tweak.sh.

    I no longer have an enhancements directory. Everything appears to be working except of course for the aliases. That means Tivowebplus doesn't start. I can start it manually without a problem. I can edit the author file to have it start but I'm confused as to why I no longer have the enhancements directory. Can I manually recreate it?

    Thanks,
     
  15. Apr 3, 2006 #1455 of 2880
    aladdin4d

    aladdin4d New Member

    4
    0
    May 14, 2004
    Tried that myself SEVERAL times and had no luck. Originally I just used PTVnet and Icake to create my drives and I think PTVupgrade does something the Zipper doesn't to protect and restore system files although I haven't gone through the scripts myself yet. In the end I used PTVnet only to restore an image to 2 drives then ran the zipper from that point and all is well as Wife 2.0 now has 'her' enhanced Tivo back!
     
  16. Apr 5, 2006 #1456 of 2880
    trainsho

    trainsho New Member

    11
    0
    Mar 30, 2006
    Benicia CA
    so GLAD to find you all!!! new to this "hobby" but have wanted these enhancements forever. my question is simply this what will work on the R10 Dtivo?? :confused:


    thanks J
     
  17. Apr 5, 2006 #1457 of 2880
    mstbone67a

    mstbone67a New Member

    30
    0
    May 25, 2004
    I am proof that yes it can be done on an R10, now of course I had to replace the PROMS.

    I used the tweak.sh and have MRV working, wife loves it!

    I have one more R10 to change the PROM on. :)
     
  18. Apr 5, 2006 #1458 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Repeat the uninstall/reinstall.
     
  19. Apr 5, 2006 #1459 of 2880
    mstbone67a

    mstbone67a New Member

    30
    0
    May 25, 2004
    FIRST OFF YOU GUYS(you know who you are) ARE AWESOME!! These additions to tivo are the best.

    1. I do have a problem, I do not see the HACKMAN listed on my tivowebplus pages for either of my r10's. I see the hackman files are installed.
    BasementR10-bash# ls -lrt hack*
    -rwxrwxrwx 1 15633 root 147955 Mar 24 01:33 hackman.itcl
    -rw-r--r-- 1 root root 189 Mar 31 05:14 hackman.ini.last
    -rw-r--r-- 1 root root 189 Mar 31 05:14 hackman.ini
    -rw-r--r-- 1 root root 6337 Apr 5 09:15 hackman.cfg.draft
    BasementR10-bash# pwd
    /tivowebplus/modules

    2. I thought I read that fakecall will make it move the date out 6 days and never fail. I can see inside tivo-settings where it trys to dial and fails. Now of course I don't see any nag messages any more so looks good anyways.

    3. Showcases? When I ran the tweak Do you want Showcases and Yellow Stars? [y/n]: n
    Showcase tokens removed successfully! But I am seeing showcases and yellow stars still.
    Side note I do see an Menu item called "Promos" now in the "Messages and Setup " screen. But the info in Promos is a bunch of html code mentioning showcase.

    4. Did anyone get the "autospace" module to work with R10? I am thinking of using the DailyMail to keep track of space but wife would like to see it on tv.


    5. Has anyone tried YAC with the R10 what I read it sounds usable since NCID doesnt yet.

    Thanks again and I realize I might need to move some of these questions to different threads.
     
  20. Apr 8, 2006 #1460 of 2880
    trainsho

    trainsho New Member

    11
    0
    Mar 30, 2006
    Benicia CA

    AWSome, so willing to change the PROM, so off to find / read threads for that.... any leads thanks. J
    :D
     

Share This Page