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. Nov 13, 2005 #761 of 2880
    MisterEd

    MisterEd Very Large Member

    645
    0
    Jun 6, 2001
    TV Land
    Haven't paid attention to it for a while but after getting your message I checked. All gone. If I go into Showcases it says "no showcases available." :D


     
  2. Nov 13, 2005 #762 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
  3. Nov 13, 2005 #763 of 2880
    Stew Pididiot

    Stew Pididiot New Member

    19
    0
    Aug 11, 2005
    I re-imaged the drive, just to get a fresh start.

    I re-applied the scriprt and paid closer attention during the install. This error message was generated just before the step that installs Joe:

    Adding the /enhancements directory to your PATH statement...
    /enhancements/start.sh: sed: command not found
    /enhancements/start.sh: sed: command not found
    /enhancements/start.sh: line 136: 325 Broken pipe cat /.profile
    326 Done(127) | sed -e '/PATH=/s/$/:\/enhancements/' >/.pro
    file2

    I also got this message when adding color to bash:
    Do you want to add color to your bash prompt? [y/n]: y

    /enhancements/start.sh: awk: command not found
    /enhancements/start.sh: sed: command not found

    Looks like I'm missing "sed" and "awk" -- could this be the source of network interface disabling troubles?

    Where do I find sed and awk, and where are they supposed to be saved?
     
  4. Nov 13, 2005 #764 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Download Alphawolf's all-in-one utilities, and put them in /busybox. There's a lilnk to the utilities on the Zipper webpage. Make sure /busybox is in your PATH statement. This could very well be the source of your trouble, since the script depends on several commands in the utilities package, one of which helps to properly identify your Tivo and install the correct drivers.
     
  5. Nov 13, 2005 #765 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The latest version has some very cool new features, including:

    1. Automatically downloads the rbautch-files.tgz archive from within the tweak.sh script. This means I only have to distribute the very tiny tweak.sh file, and let it download the main script and hacks on the fly. So, version 2.6 is not on the website, but rather is included in the original post of this thread. In future versions, you won't have to download anything, since the tweak.sh file will automatically get the most current script on its own.

    2. Keeps your hacks out of /var.
    The /var partition is the equivalent of a Windows recycle bin, and occasionally your Tivo will decide to wipe everything in there. The problem is that many hacks are hardcoded to use /var, and will not work if stored anywhere else. All such hacks installed by the enhancements script are now stored in /enhancements/varhacks. The script creates symlinks in /var that point to the corresponding hacks in /enhancments/varhacks. It also appends the author file with commands to recreate the symlinks if /var ever gets wiped. If you want to move other hacks out of var, copy them to /enhancements/varhacks, and then run the script called var-symlinks.

    3. Installs custom Tivowebplus icons. Courtesy of TheEndless, as posted here.

    4. Other minor fixes/changes. Now backs up author file earlier in the script to prevent duplications. Made the uninstall script more foolproof (see readme for details). Added reorder.js to TWP directory.

    .
     
  6. Nov 13, 2005 #766 of 2880
    Stew Pididiot

    Stew Pididiot New Member

    19
    0
    Aug 11, 2005
    I ran the script and there were no errors during its operation. It correctly identified my HR10-250 unit.

    I rebooted, but still no network card. Weird. I wonder if there is a modification on the FA-120 that slightly changed the driver or something. I haven't seen that anyone else has had any problems with applying this to their HR10-250 though. Any other ideas?
     
  7. Nov 13, 2005 #767 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Since your network works before you run the script, and you're not letting the script install USB2.0 drivers, I'm puzzled what could kill your connection. As with any other troubleshooting, you have to be patient and systematic to narrow down the issue. Here is what I suggest:

    Re-image to get network back up.
    Run the script, and answer no to everything, and reboot.
    If you still have network, uninstall/reinstall the script over and over, answering yes to one thing at a time.

    If the first run though kills your connection, try running the following commands, rebooting where noted to see if they kill your connection:

    tivosh /enhancements/ipflags.tcl
    Reboot
    ipaddress="`ifconfig | grep "inet addr:" | awk '{print $2}' | sed 1d | cut -c6-30`"
    echo "$ipaddress" > /enhancements/ipaddress_flag
    Reboot
     
  8. Nov 13, 2005 #768 of 2880
    salvatore

    salvatore New Member

    72
    0
    Jun 7, 2004
    Tallahassee,...
    Just installed version 2.6 of this script, and of course it works like a champ. Great work again Russ.

    Two suggestions:
    * Im sure its occurred to you, but you may want to keep two versions available: one with the download script, and one with everything bundled for those not hooking the TiVo to the Internet.
    * I find myself issuing a print working directory (pwd) command quite a bit since its removed when I install the alternate bash prompt. How about a prompt that prints the name of the subfolder Im in?

    Thanks again.
     
  9. Nov 13, 2005 #769 of 2880
    clambert11

    clambert11 TV Junkie

    22
    0
    Nov 1, 2005
    East Coast, USA
    I hacked 3 TiVo's for a friend of mine for the first time this weekend thanks to you and Gunnyman. I couldn't believe how easy you guys have made it.

    Everything appears to be in place. I'm just waiting for the FA120's to show up to test MRV.

    Anyway, is there a file I can edit when to change the Room Name of the unit for MRV? If so, what file is it? If not, I guess my only other option is to unistall and reinstall, huh?

    Keep up the great work!

    -- Craig
     
  10. Nov 13, 2005 #770 of 2880
    Gunnyman

    Gunnyman Just a boring dude

    30,748
    2
    Jul 10, 2003
    !Texas
    you can change mrv name right in tivoweb or you can run set_mrv_name.tcl from bash.
     
  11. Nov 13, 2005 #771 of 2880
    clambert11

    clambert11 TV Junkie

    22
    0
    Nov 1, 2005
    East Coast, USA
    Well damn. That was a quick response.

    Thanks!

    -- Craig
     
  12. Nov 13, 2005 #772 of 2880
    Gunnyman

    Gunnyman Just a boring dude

    30,748
    2
    Jul 10, 2003
    !Texas
    just doing a quick drive by before bed ( that and I have no life) :p
     
  13. Nov 14, 2005 #773 of 2880
    bnm81002

    bnm81002 New Member

    1,799
    0
    Oct 2, 2004


    hey Russ,
    will you include that script from "DDB" that I sent you a PM about in a future update to your enhancement scripts? thanks
     
  14. Nov 14, 2005 #774 of 2880
    TomK

    TomK Active Member

    2,730
    0
    May 22, 2001
    Huntsville,...
    Using the new 2.6 script did not result in the tivowebplus files getting put in an /enhancements subdirectory. Instead, the tivowebplus directory is still in /var/hack. Is that right? I thought the purpose of the new script was to get the tivowebplus directory in the /enhancement/varhacks directory. Did I do something wrong?
     
  15. Nov 14, 2005 #775 of 2880
    TomK

    TomK Active Member

    2,730
    0
    May 22, 2001
    Huntsville,...
    Another note: I couldn't run just the tweak.sh script because the script found the /enhancements directory in the first step and stopped right there. The tweak.sh script later on performs the tweak-uninstall.sh after downloading the current rbautch-files.tgz file. It seems like the tweak.sh script wouldn't check to see if the /enhancements directory exists in the first step. Just download the new rbautch-files.tgz file and then uninstall, install. etc.
     
  16. Nov 14, 2005 #776 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The only hack I kept in /var is TWP. The reason for that is because TWP is so large, I didn't want the root directory to fill up. Besides, TWP is contained in a single folder that can be FTP's back to the Tivo with ease if var ever gets wiped. This is a convenient way to evenly distribute the space taken up by hacks between var and root, so neither one fills up. I just had an idea to modify the author file to look for the TWP directory on every boot, and if it doesn't find it, automatically download a new one from my website on the fly. We'll save that for the next version.
     
  17. Nov 14, 2005 #777 of 2880
    TomK

    TomK Active Member

    2,730
    0
    May 22, 2001
    Huntsville,...
    Makes sense to me.
     
  18. Nov 14, 2005 #778 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The tweak.sh script has to first check to see if you ran the uninstall script before it runs the new one so you don't get duplicate entries in your author file, and multiple copies of hacks on your system. The new tweak.sh doesn't actually run the uninstall script, it only downloads it for you to use later. Maybe in the next version, I'll have the tweak.sh script look for an existing installation first, and then prompt you to uninstall it before it continues with the new one.
     
  19. Nov 14, 2005 #779 of 2880
    TomK

    TomK Active Member

    2,730
    0
    May 22, 2001
    Huntsville,...
    You're right, and I need to pay attention better while reading things.
     
  20. Nov 14, 2005 #780 of 2880
    jed5426

    jed5426 New Member

    73
    0
    Nov 4, 2001
    Dallas, TX
    I have read every post in this thread and have been wrestling with this for a while.

    I can't get the tweak.sh script to run:

    bash-2.02# echo $PATH
    ./:.:/bin:/sbin:/tvbin:/tivo-bin:/busybox
    bash-2.02# dos2unix tweak*
    bash-2.02# sh tweak.sh
    Running rbautch Hacked Tivo Enhancements...
    Do you want to run the "express" version (for advanced users)? [y/n]: n
    tweak.sh: /enhancements/start.sh: No such file or directory
    bash-2.02#

    any ideas? i've tried every suggestion in this thread.
     

Share This Page