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. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    so even though the zipper process asks for my TiVo's IP address and the router's address, it chooses to set the DNS to something different from what I state as the router IP address.
    Would that prevent tweak.sh from being able to see out of the home net, in t's first steps? I thought from reading other threads and instructions that as long as there is a particular file (rbautch_files.tgz) then tweak.sh doesn't need to see out of the local net.
    What is preventing sh from running a chmod'd 755 tweak.sh ?
     
  2. JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    Nope that isn't a problem, 4.2.2.2 is (I think) a public DNS server. For some reason not all routers handle the forwarding of your ISP's DNS correctly. The only thing that affects is resolving "www.whatever.com" to an internet IP address so that it can be found on the internet.
    rbautch_files.tgz has to be in the /hacks directory for that to work.
    Good question, although you should have had to do that in the first place. What happens if you:
    Code:
    joe tweak.sh
     
  3. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    the rbautch file is indeed in the /hacks folder. joe is not found in the path - when I enter a joe tweak.sh it says
    hash: joe : command not found

    I asked a different question on a separate thread that is probably intertwined with the questions I have asked on this thread...not sure which thread is more to the point of zipper failing, since slicer failed first<G>....
     
  4. JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    If you lost your path that means your author file probably got hosed. Since you have been having problems since trying to upgrade it could be a number of things. File didn't copy at all, got corrupted, (some cases got dos line ends) etc. I forget thge exact path to the author file, but you can find it in the same directory as the rc.sysinit file (not .author) if its not there thats at least part of the problem (I think there is a backup of the author there as well). Use vi to check to whats in it and that it doesn't have dos line ends. Instructions for vi is here .


    Edit: author is located in /etc/rc.d/. the path in mine is
    Code:
    export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox:/enhancements:/enhancements
     
  5. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    joe gets installed in the /enhancements directory which is in the PATH of any Zippered tivo. The /enhancements directory also gets added to your PATH when you run the enhancement script, so it's possible that rebooting your tivo with set the PATH properly for joe. You can find out what's in your current PATH by typing echo $PATH. Another possibility is that joe is not installed at all. Try running joe directly with /enhancements/joe . Remember if you want to view or edit your author file on a Zippered tivo, you can simply type author at bash.
     
  6. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I just uploaded version 5.5 of the Enhancement Script. Special thanks to svkakkad for modifying backup_write_static.tcl to work with Tivowebplus 2.0, making automatic season pass backups possible again. Here are the rest of the changes:

    - Add support for Tivos with code name Yukon.
    - Add netconfig module to Tivowebplus.
    - Added svkakkad mods to backup_write_static.tcl, which fixes automatic backups.
    - Misc fixes to support SApper

    Remember if you want to upgrade your installation, just run tweak.sh. It will uninstall your current version, then download and install the latest version of the script.
     
  7. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    I would LOVE to run tweak.sh . Unfortunately, at the bash prompt, in /hacks , mounted r/w , typing sh tweak.sh gives me a new line, but nothing else.
    I have tried liberal use of the chmod 755, insuring I am in the /hacks subdir by typing cd /hacks ,
    but since neither ls nor sh work, I can't figure out where to go from here.

    If I use WS FTP PRO to look at the /hacks subdir , there is indeed the rbautch file present. I can issue a fakecall.tcl, after a few seconds I get a confirmation that it ran. I can issue "rw", and get a mounted read write. So some thing do work. Just not sh tweak.sh !! <argh> I can easily edit rc.sysinit.author on my laptop with textpad, save as unix, and then use WS FTP Pro to drop in into /etc/rc.d if necessary.

    I would SURE love to get some hep on what to try to fix this conundrum. Could there be a firewall issue? I have edited (using textpad/save as "unix") the network.tcl file to replace 4.2.2.2 with 192.168.1.1 (my router's ip) in the mistaken hope that this was the problem with sh tweak.sh not running.

    This is the other thread that I meant to link to earlier in this thread ... If anyone could take a look at the data I have posted and draw some conclusion of what I might next do? Re-run zipper? I haven't backed up the 750 gig drive in a week now, so I am hanging out a little - the backup drive still has just 3.1.5f on it with no 6.3d file, as well as missing some shows I'd rather not toss. The backup using dd took around 36 hours to run, so I'd like to not have to do that again. :)

    Have some fun - throw some suggestions at me and see what works!!

    Bottom line: if I pull my hard drive and put it into a PC as secondary slave to the CD's secondary master, boot on the cd with an ISo containing the latest (newly purchased) zipper, can I safely re-run zipper? Are there any edits I should make to installSw.itcl or rc.sysinit or rc.sysinit.author or network.tcl or any other file prior to doing this? And what are all those new files in the rc.d subdirectory that were not there prior to upgrading via slicer/zipper ? (I think slicer put them into the folder).

    ALso, I note that there is a zipper.flag file in the root (or what mounts as the root, I guess) with a content of 1 in it. Is this part of the complications?


    Ron
     
  8. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    late addendum:
    bash-2.02# echo $PATH
    ./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox
    bash-2.02# cd /hacks
    bash-2.02# ls

    bash-2.02# sh tweak.sh


    bash-2.02#
     
  9. N.U.B

    N.U.B New Member

    4
    0
    Jun 12, 2007
    Hey guys i'm new here.. I'm a big fan and i'm hoping someone can help out
    I'm @ the final stages of useing the tweak.sh command to finish the installation.. however i'm having problems connecting to the dvr anyone have any suggestions?
     
  10. technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    Rbautch,

    I just ran Tweak again which I assume downloaded your latest script. In reviewing your "author" file I noticed that it appears identical to the previous version that I had been running. That being the case, I was hoping for some help from you regarding the ability to use my modem to dial in. so far I Commented "#" out the last line which tells TiVo to run Fakecall. Now when it attempts to dial out it says the "Modem not responding". I know that the modem is functional as I've used it with my "virgin" drive that has already recieved the newest software. Previously you mentioned my checking another thread which tells to you to comment out 2 lines with ip addresses. As I've mentioned in the past they don't exist in the author file your script installs. Can you enlighten me on how I can temporarily regain the ability to dial in so that TiVo can provide me the latest software?

    Thanks!
     
  11. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    I found that add63.tcl caused my HR10-250 to download the latest version - 6.3d - overnight. For this type of TiVo, the phone call only acts to set a "flag" on the device to tell it that it needs to accept the update file over the satellite - the phone call does NOT download the actual file (on the HR10-250). Some of the older types do require the upgrade to come down the phone line, but not the HR10-250.

    How: I ftp'd the add63.tcl file over to the TiVo drive while it was running in the TiVo, put the file in (I think) /hacks , and then chmod'd it to 755, then executed it right before turning in for the night. Next morning, I had the upgrade file.

    add63.tcl eliminates the need to make a phone call, in other words. Which is great, since I cannot force my machine to dial successfully, anyway. Never got beyond the "negotiating" phase....
     
  12. technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    Actually I did run add63.tcl and have not received a download yet. I believe tha if it's not in the data stream then only way I can receive it via the phone call.

    for what it's worth it did run and tell me that it should be there after the next download.

    Checking MFS I do not see the slices.
     
  13. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    sorry it didn't work for you - I know how frustrating that kind of thing is - what happens now when you issue the command:

    echo mls /SwSystem | tivosh

    ??

    After add63.tcl did it's thing, running this command, I got:

    Directory of /SwSystem starting at ''

    Name Type FsId Date Time Size
    ---- ---- ---- ---- ---- ----
    3.1.5f-01-2-357 tyDb 850 03/14/05 17:41 700
    6.3d-01-2-357 tyDb 1140495 06/03/07 07:39 772
    ACTIVE tyDb 850 03/14/05 17:41 700


    Incidentally, when you run the add63.tcl, you should see a confirmation message on the screen after it has successfully loaded into memory. It took about 5 - 10 seconds to appear on mine... And after running the add63.tcl, be sure to NOT reboot or down your TiVo...
    I acquired my update file just a couple of days back so I suspect that they are "still in the stream", so to speak... you may have to just try on multiple days... ??
     
  14. technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    I'm still running 6.3b. When all the issues with c started to show up I held off for 6.3d.

    Anyway, when I check with echo mls it tells me I am running 6.3b. Good to hear it's still may be in the stream. I only ran add63 on Sunday so I suppose it's possible that it takes a few days. I did get the confirmation message so I know add63 ran OK.
     
  15. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    I'd suggest running add63 each evening before bedtime just for the heckuvit.... :)
    I wonder if your machine does an auto-reboot at night that is killing off the add63 process?
     
  16. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    Thanks for the tips. I have searched and failed to find resolution for the error that pops up during zippering:
    cp: Read error: Input/output error
    which happens when running zipper on my already hacked (well, it used to be hacked :rolleyes: ) drive:

    copying busybox
    copying author file
    copying hacks to tivo drive
    cp: read error: Input/output error
    copying hacked kernel to tivo device
    vmlinux.px.gz 40.4% - - replaced with vmlinux.px
    1+1 records in
    1+1 records out
    kernel copied successfully

    I have tried running uninstal_tweak.sh, and it will run, and delete the /enhancements subdirectory and other, even though tweak.sh will NOT run. Totally stumped on what is failing during zipper....and why tweak won't run when uninstall_tweak will.
     
  17. JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    What exactly happens when you:
    Code:
    cd /hacks
    sh tweak.sh
    ????
    If you get a "file not found" error, a common reason is somehow the file got corrupted with dos line endings. the solution is to run dos2unix on it.
     
  18. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    well, before I re-zippered and gave myself (or the drive, rather, some sort of fatal problem, typing
    sh tweak.sh
    would take the cursor to the next line, and it would sit there indefinitely, blinking but never doing anything else.

    after re-running zipper, this is all that I am getting
     
  19. technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    ARC,

    I finally received the download last night. Thanks for pointing towards add63.tcl. It seems to have done the trick.
     
  20. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    May the gawds of the electrons smile upon your efforts - they've been micturating on mine! :cool:
     

Share This Page