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
    First uninstall whatever is on there now, and then delete the enhancements directory. FTP the tweak.sh and rbautch_files.tgz files from the Zipper archive anywhere on your tivo, and then run tweak.sh. After you run the enhancement script, if you have ifconfig statements in your author file, remove them. After you reboot, try using the latest script from the enhancement script and see if it will download a new script successfully.
     
  2. tonydi

    tonydi New Member

    63
    0
    Mar 21, 2003
    San Jose, CA
    I guess it was just fate that the third HDVR2 install went fine. On my final unit I again used the XP SP2 telnet instructions even though I don't have SP2 installed.

    It appears as though the only error in the tweak.sh process was that it couldn't find /enhancements/.joerc when I told it to install joe. It did say it made the necessary profile change, however.

    So far the only thing consistent about this whole process is that it's pretty inconsistent! :( I've got four units and I don't think any of them turned out exactly the same, even the two where I uninstalled and reinstalled the enhancements. Weird deal, huh. :confused:

    Anyway, can you show me how to install joe "manually" so I don't have to uninstall and reinstall the enhancements?
     
  3. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Look for joe.tgz in /enhancements, and extract the archive which contains joe and .joerc. Copy .joerc to root. Done. I'm going to adjust the joe install since a few people seem to be having the same problem. I think it has to do with the version of tar that you have.
     
  4. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I adjusted the script to handle download failures better. I reposted it at the top of this thread. If you haven't yet used the one from the Zipper, give this a try to see if it fixes your DNS issue.
     
  5. Greencat

    Greencat New Member

    169
    0
    Jan 21, 2004
    Grand Rapids MI
    I tried the new script and it tried to set the DNS but stopped.

    I'll try the ping and also your other suggestions.
     
  6. Greencat

    Greencat New Member

    169
    0
    Jan 21, 2004
    Grand Rapids MI
    After ftp the files.tgz file the script ran fine except it reported that the DNS was set to 0.0.0.0. I thought I had set it to the router. Even after reporting the 0.0.0.0 it did not offer to fix it.

    I went to my other machine and I could ping the router but can not get the script to run. By the way how do yu stop the ping? is it ctrl-s?

    Let me know if you want me to try something else. If not I will ftp the files to the other tivo.

    Thanks for your help.
     
  7. sonyuser

    sonyuser New Member

    22
    0
    Sep 19, 2005
    Many thanks to this forum and Rbautch and Gunnyman's help, I successfully got my Series II's brought up to date (at that time) with 6.2 and MRV back in Sept 2005. Got all my units talking to each other and even doing it wireless.

    The "Tweak" Rbautch now has to offer appears to have a few more hacks added that the September version. What really catches my eye now are the USB 2.0 drivers (wireless I hope) and the CALLERID. Taking Rbautch's advice and monitoring my present telephone activity (with phone line unplugged), it appears that the unit is attempting to call out everyday but getting the "no dial tone" error so I am not ready to plug in the phone line just yet.

    Question is this: Do I need to start over with an unhacked Tivo to install the latest version of your "Tweak" hacks or is there a way to update what I have already done? Hoping to get up to date without having to pull the lid off the Tivo unit (the heads of the screws are getting a bit worn).

    By the way, did I mention that this is an EXCELLENT SITE!

    :)
     
  8. tonydi

    tonydi New Member

    63
    0
    Mar 21, 2003
    San Jose, CA
    While joe.tgz is in enhancements, I searched for the components. Here's what I found...

    kelly-TiVo# ffind joe
    /etc/rc.d/joe
    kelly-TiVo# ffind .joerc
    /etc/rc.d/.joerc

    I don't actually see .joerc in that directory but this could be a function of how ffind works.

    Thought it might be helpful to you to know that joe.tgz got extracted but the pieces went to the wrong place for some reason.

    Edit....

    I extracted joe and .joerc from the original file in your archive and ftp'd them to enhancements and root. When I type author I get a whole bunch of errors. Here's a snippet of the very end.

    '/.joerc 527: Bad key sequence '^K h
    '/.joerc 528: Bad key sequence '^K ^H
    '/.joerc 530: Bad key sequence '^P
    '/.joerc 531: Bad key sequence '^[ [ A
    '/.joerc 532: Bad key sequence '^[ O A
    //.joerc 538: Bad key sequence '^@ TO '
    //.joerc 541: Bad key sequence '^@ TO '
    done
    There were errors in '//.joerc'. Use it anyway?n
    Couldn't open '/tivo-bin/etc/joerc'

    Edit #2...

    Ok, I extracted joe from the joe.tgz file in enhancements and moved .joerc to root and it works.

    I think you're on the right track, clearly something about my tar must not be compatible.
     
  9. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I had a typo in there (spelled DNS wrong :rolleyes: ) Try the new one I just posted.
     
  10. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Thanks for the data. I changed the script to hardcode the extraction to a particular directory. Give it a try if you're up to it.
     
  11. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    No need to pull the drive. Just run the uninstall script, delete the rbautch-files.tgz archive, and delete the old tweak.sh. Then run the one that's attached to the first post of this thread.
     
  12. FastEddieG

    FastEddieG New Member

    8
    0
    Mar 16, 2003
    Thanks for all of your efforts on this script. I would highly recommend adding a version number to the file name. tweak1.21.zip vs tweak1.45.zip is a lot nicer than tweak.zip vs tweak.zip :)

    I'm going to help a friend tomorrow. We set his HDVR2 up with zipper and your enhancement script a month ago. Now unfortunatelly his Linksys USB200 disconnected (around Thanksgiving). No link light even after multiple reboots. Not sure what went wrong, but I will begin troubleshooting by uninstalling the existing enhancement script, and installing the latest one.

    Kind regards,
    -Ed

    EDIT:
    Oh yeah, we also config'd it to use DHCP. I know DHCP is flakey, so hopefully that is the problem. Instead, I will just hardcode that mac to an IP in his router, and manually configure the same IP in the network portion of the script. Hopefully that will do it.
     
  13. tonydi

    tonydi New Member

    63
    0
    Mar 21, 2003
    San Jose, CA
    In reading through some other threads here I happened upon one that talked about the kernel logs. I pulled the logs from all 4 of our Zipper'd HDVR2 units.

    There are some errors in there related to the enhancements script that I thought you might be interested in.

    Two of them have this error...

    Dec 16 20:04:58 (none) kernel: Fakecall ran successfully!
    Dec 16 20:04:58 (none) kernel: couldn't open "/var/spool/cron/cronlogs/CRONLOG-MAIN": read-only file system
    Dec 16 20:04:58 (none) kernel: while executing
    Dec 16 20:04:58 (none) kernel: "open /var/spool/cron/cronlogs/CRONLOG-MAIN a"
    Dec 16 20:04:58 (none) kernel: (file "/busybox/fakecall.tcl" line 87)


    The other two had this error but it looks like it eventually fixed itself as the file is there and has entries on both boxes....

    Dec 15 08:28:45 (none) kernel: Fakecall ran successfully!
    Dec 15 08:28:45 (none) kernel: couldn't open "/var/spool/cron/cronlogs/CRONLOG-MAIN": no such file or directory
    Dec 15 08:28:45 (none) kernel: while executing
    Dec 15 08:28:45 (none) kernel: "open /var/spool/cron/cronlogs/CRONLOG-MAIN a"
    Dec 15 08:28:45 (none) kernel: (file "/busybox/fakecall.tcl" line 87)


    What can I do about the first "ro" errors?
     
  14. FastEddieG

    FastEddieG New Member

    8
    0
    Mar 16, 2003
    I posted this earlier in this thread and it seems to work.

    Nothing big, fakecall can't write to the log due to inability to write to the fs. So, I don't know if this is the ideal fix, but I changed the fakecall reference in /etc/rc.d/rc.sysinit.author to include rw before and ro after, just as I have it below, and it seems to work fine..

    ####################################
    echo "running fakecall"
    mount -o remount,rw /
    fakecall.tcl
    mount -o remount,ro /
    ####################################

    Hope that works for you,
    -Ed
     
  15. sonyuser

    sonyuser New Member

    22
    0
    Sep 19, 2005

    Sounds easy enough. I am assuming this is to be done with my WIRED e-net connection (vice wireless). I am looking back at when I did my original hacking in September. I copied the TWEAK.SH and the RBAUTCH-FILES.tgz to my VAR directory on the TIVO. Today, I am still seeing the TWEAK.SH but cannot find the RBAUTCH-FILES.tgz archive file. Not sure what happened to it, but either way, if I did delete it, would I not need a replacement RBAUTCH-FILES.tgz archive on my machine for the TWEAK.sh script to run properly? The new Tweak.zip file only has the .sh file in it, no new .tgz file?

    As usual, thanks for the quick replies this post provides.
     
  16. sonyuser

    sonyuser New Member

    22
    0
    Sep 19, 2005
    OK, found RBAUTCH-FILES.tgz file in the \enhancements folder (after I did a bit more reading). But I guess this still takes me back to my final question: If I delete this file from my TIVO, does the TWEAK.SH script not need this .tgz file to properly run the script? If I understand it correctly, these .tgz files are similar to ZIP files in Windows.
     
  17. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Run the uninstall script first, which will copy the tgz file to your current directory before it deletes the /enhancements directory, and then delete the tgz file. The new script downloads a new tgz file directly to your tivo on the fly. That's why you don't want the old one in there.
     
  18. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The issue is that cron used to write the logs to var, which is always mounted rw, but now it writes to /enhancements/varhacks (to keep everything out of var), which is not always mounted rw. Fakecall will run fine without having to mount the root filesystem rw, but it just won't write to the cronlog. Remounting in the author file (as noted above) will work fine for fakecall, but a better way to do it would be to modify the crontab to mount rw before each chunk of tasks, so all cron activites continue to be logged. Despite the warnings of keeping your filesystem mounted ro all the time, no one has ever difinitively documented anything bad happening because of having the filesystem mounted rw. So, keeping you filesystem mounted rw is another option. Or you could just make it rw when you want to start logging cron events. The vast majority of users don't care about looking at the cronlog anyway.
     
  19. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Good suggestion, but.... The tweak script is not the main script. It merely downloads the files archive (rbautch_files.tgz), which contains the main script. The tweak.sh file does not change from version to version, so having a descriptor on it wouldn't mean anything. I started putting the version number in the start.sh file (the main script), and a complete version history is included in the readme.rtf file. I suppose I could add a descriptor on the start.sh file, but then I'd have to always remember to change the references to it elsewhere or else the script would fail. In short, you can always check your version number by examining /enhancements/start.sh, and as long as you run the uninstall script before running a new version, you'll be in good shape.

    This is where a serial cable would come in handy. Otherwise, you'll have no way to run the latest enhancement script, or to check the network settings. Your only option may be to pull the drive and re-Zipper it, which will keep recordings in tact as long as you dont install a new image.
     
  20. dfriedland

    dfriedland New Member

    36
    0
    Apr 6, 2002
    Here's what I get when I run the new script :(


    David's Tivo-bash# sh tweak.sh
    Downloading latest Enhancement script...
    Connecting to www.mastersav.com[69.90.236.30]:80
    wget: Unable to connect to remote host (69.90.236.30): Network is unreachable
    Download failed. Adjust DNS and try again? [y/n]: y
    Please enter the IP address of your router: 192.168.xxx.xxx
    Setting DNS settings in /etc/resolv.conf...

    Done. Please re-run tweak.sh. Exiting...
    rm: /enhancements: No such file or directory
    David's Tivo-bash# sh tweak.sh
    Downloading latest Enhancement script...
    Connecting to www.mastersav.com[69.90.236.30]:80
    wget: Unable to connect to remote host (69.90.236.30): Network is unreachable
    Download failed. Adjust DNS and try again? [y/n]: n
    Make sure your Tivo is connected to the internet, and
    your network settings are correct. Exiting...
    rm: /enhancements: No such file or directory
    David's Tivo-bash#
     

Share This Page