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

    tbeckner TiVo Fan

    1,352
    0
    Oct 26, 2001
    Bend, OR, USA
    TRY USING: telnet -t vt100 {TiVo IP Address}

    So to telnet to a TiVo at 192.168.1.13, you would type in a command telnet -t vt100 192.168.1.13

    This works on all of my Windows XP Pro SP2 machines accessing all of my HDVR2s.
     
  2. bengalfreak

    bengalfreak Active Member

    2,101
    0
    Oct 20, 2002

    That's the whole point of this discussion. That command is not woeking for everyone.

    The easiest thing to do is d/l Teraterm Pro, its free and it works every time. You can get it here: Teraterm Pro home page
     
  3. sonyuser

    sonyuser New Member

    22
    0
    Sep 19, 2005

    I too like the updated TWEAK goodies. Does the TWEAK-UNINSTALL script in Post#43 still apply to both prior and current versions of TWEAK? Not sure if the new version of TWEAK will correct this, but for some reason, my CALLER ID LOG disappeared and does not seem to get recreated. I have also been burned by all my hacks disappearing with the /VAR cleaning. As I understand it, the new script takes care of that.

    :up:
     
  4. blueshoo

    blueshoo el guapo

    149
    0
    Jun 11, 2001
    Old Dominion
    Mine did as well. It was odd, a couple calls were logged to /enhancements/varhacks/log/cidcall.log, but then no more. I checked /enhancements/varhacks/hack/etc/ncid/ncidd.conf which was set to point to the default location of /var/log/cidcall.log. However, there was no file there. Once created, it logged calls to there without a problem. But since I didn't want it under /var, I changed the .conf file to point to the file where it first logged a couple calls, and all's been working fine since.
     
  5. Diana Collins

    Diana Collins Well-Known Member TCF Club

    2,642
    34
    Aug 21, 2002
    New York...
    Well, works fine for me...CRLF is unset everytime I start telnet.
     
  6. tyarmas

    tyarmas New Member

    13
    0
    Jul 12, 2004
    Maryland
    Appreciate the script. I finally got around to upgrading my hacked 4.1 systems to 6.2 yesterday. Then I found your script. Looks great but...

    During boot, I see the following in the log (I happened to have a terminal window running on the serial port) -
    ...
    Running boot Stage G_PostApplication scripts
    Running fakecall version 6
    Fakecall ran successfully!
    couldn't open "/var/spool/cron/cronlogs/CRONLOG-MAIN": read-only file system
    while executing
    "open /var/spool/cron/cronlogs/CRONLOG-MAIN a"
    (file "/busybox/fakecall.tcl" line 87)
    ApgManager Transition from state BOOT to FAST_LOAD
    ApgManager Transition from state FAST_LOAD to FAST_LOAD
    ...

    I looked at fakecall.tcl and lines 87 to end are:

    set fakelog [open /var/spool/cron/cronlogs/CRONLOG-MAIN a]
    set timenow [clock format [clock seconds] -format "%b %d %I:%M%P"]
    puts $fakelog "$timenow Fakecall was run successfully, run verified"
    close $fakelog
    exec sh /enhancements/fakecall.osd



    It seems that since the root is mounted RO, it cannot write to "fakelog".

    Just wondering if this is unique to me or more importantly an issue?

    -tom
     
  7. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Shame on you for being smart enough to hook up a serial cable. This is a minor bug in the process of being fixed. I modified fakecall.tcl to create a time-stamped entry in CRONLOG-MAIN, which is of course the main cron log that I use. At one point I moved everything out of /var, including the cron log, which means that it fails unless the filesystem is mounted read-write. That error can be ignored for now, unless you're confirming the contents of CRONLOG-MAIN, in which case you'll need to keep your filesystem mounted RW. In the next version, I'll move the cron log to /var/log so it can be viewed in TWP.
     
  8. NoCheese

    NoCheese New Member

    6
    0
    Feb 12, 2006
    First off, thanks to the "crew" who have made all there is covered by this thread possible. I've zippered a BUNCH of S2 DTivos and they all work great.

    But next weekend I'm going to crack open my precious HR10-250 and need a sanity check. I've been reading and searching for hours and can't find a definitive...

    On the Hr10-250, does one apply Zipper (and all it entails) to the stock version of the OS? Or are people applying the current OS from a non-HD S2 to the unit and then Zippering?

    If applying a newer OS is what needs to be done, or is one of the methods that can be used I'm OK with that as I've started recording stuff on my Zippered HDVR2 so that when I crack open the HR10-250 next weekend there is minimal TV programming at risk.

    If it's a case of only the 3.1 will work on the HR10-250, what enhancements would one be missing?

    Of course on the one hand I'm OK with keeping the current OS intact and not losing any recordings in the Zipper process, but on the other hand if there are advantages to Zippering a 6.2 OS over a 3.1 I'd probably rather go that way for maximum enjoyment in the long run.

    Thanks
     
  9. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    6.2 does not work on an HR10-250. Does everything except HMO and MRV. This is not the Zipper thread.
     
  10. NoCheese

    NoCheese New Member

    6
    0
    Feb 12, 2006
    Thanks and sorry if the question was a little too "Zipper" oriented for this thread. My thanks are still there for all those who made the process possibly and of course including your enhancement script of which the process relies on.

    I will seek out a Zipper specific thread and keep this thread for question specific to the Enhacement script.

    Bummer about no 6.2 on an HR10-250. MRV isn't that big a concern for me as all my TiVos are in a single location and fed throught the house, but it would have been a good "nice to have"
     
  11. tyarmas

    tyarmas New Member

    13
    0
    Jul 12, 2004
    Maryland
    Just like to say again that the enhancements script is very nice. I have a couple of questions though.

    I notice that you scehdule a reboot twice a week via cron and you stop and start TWP every night via cron. Just wondering why you chose to do these things that often? I mean I understand about re-booting and clearing the logs, but twice a week? And why stop and start TWP every night?

    Just curious.

    -tom
     
  12. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The reboot twice per week is necessary for fakecall to convince your tivo that it is never time to make a call home to the mothership. TWP restart is somewhat arbitrary, but whenever there's a TWP problem the answer usually involves restarting it. I figure most folks won't notice a 3 second TWP restart in the middle of the night, and might head off a future problem.
     
  13. Geezer

    Geezer New Member

    87
    0
    Mar 18, 2003
    Hendersonvil...
    Do you have an example of the cron root file created if you choose "yes" during install? I originally didn't install it but have since manually installed NCID and now I'd like it to reboot twice weekly. I edited the file and it looks like this
    Code:
    0 4 * * * fakecall.tcl
    25 9 * * 1 echo "`date` SCHEDULED REBOOT" >> /var/spool/cronlogs/CRONLOG-MAIN;reboot
    and I have
    Code:
    sleep 45
    /busybox/crond
    in my author file. Is there something else I need to do? I really don't want to uninstall and re-install.

    Thanks.
     
  14. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    There's is an error in your reboot cron line. Download the Zipper tools disk, and extract the rbautch_files.tgz archive. There's a crontab in there called "root". I posted a few other crontabs somewhere on TCF.
     
  15. Jerry_K

    Jerry_K Don't know much

    579
    0
    Feb 7, 2002
    Maryland
    I have a small problem. I ran the enhancement script, lost my TiVoWebPlus, so I uninstalled. Unfortunately I had asked for the customized bash prompt. Got it too. Really nice. It stayed after uninstall. Now I cannot access that unit with TyServer. OOPS. How do I get rid of the custom bash prompt?

    I noticed in the notes that you would like to make it compatible with PTVNet. Would you mind if I messed about with the script to see if there were a way to point it at a ptvupgrade folder on the DTiVo? It might be a good way for me to learn a bit about Linux scripts, and maybe would save you some time making a PTVNet compatible version.
     
  16. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Look for the custom bash prompt in the /.profile. Feel free to mess with the script. I suggest starting by first understanding what PTVnet does when it installs, and then look at /enhancements/start.sh to see what my script does. Then look for conflicts. I looked at this briefly a few months ago. TWP is one area where there is a conflict.
     
  17. Jerry_K

    Jerry_K Don't know much

    579
    0
    Feb 7, 2002
    Maryland
    Thanks for the quick reply and the pointer. I have looked a bit at the scripts and have become a little familiar with what the PTVNet has done. I will see if I can get some time to dig in. I am ordering a unit just to use for experiments. With PTVNet a hosed unit can be fixed in about five minutes for a fresh start. However, I cannot hose my working units. One for me, one for the lovely wife, and one for dad in his living area. I know I have four. That one is currently recording all of the olympics.
     
  18. pip55

    pip55 New Member

    42
    0
    Dec 29, 2005
    Loaded enhancement script
    Fat fingered and didn't choose yes to cron setup
    Try to run sh tweak-uninstall.sh but get ..no such file or directory.. error
    Any ideas why unix doesn't see this file
    Do a ls / and I see it in the same directory that sh tweak.sh ran from
     
  19. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    It's an underscore not a dash.
     
  20. pip55

    pip55 New Member

    42
    0
    Dec 29, 2005
    Tried that already, but I tried again for good-measure, no luck


    lil baby-TiVo# sh tweak_uninstall.sh
    tweak_uninstall.sh: tweak_uninstall.sh: No such file or directory
    lil baby-TiVo#
    lil baby-TiVo#

    ??
     

Share This Page