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. Aug 24, 2005 #181 of 2880
    dcstager

    dcstager 1st Gen Tivo Owner

    573
    2
    Feb 16, 2002
    Skagit...
    Don't have it. Any other source you can point me towards?
     
  2. Aug 24, 2005 #182 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    try to google tivotools.tar
     
  3. Aug 24, 2005 #183 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    Rbautch, I know that you said I could just wait for your next script, but I love messing with new things, and hopefully learning.
    I edited my root to this yesterday

    # Run fakecall every night at 3:20am est
    20 11 * * * tivosh fakecall.tcl; echo "`date` fakecall made" >> /var/spool/cron/cronlogs/CRONLOG-MAIN

    But the System info still shows the only call was the one I manually ran. Granted that is good enough, because I don't have a phone line attached and the 6.2 hack got rid of the nag, but what else isn't running? And why isn't fakecall?
     
  4. Aug 24, 2005 #184 of 2880
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,152
    311
    Oct 29, 2000

    Now you've got me curious. If the 6.2 hack got rid of the nag, and you don't have a phone line attached, why bother with fakecall at all? (or am I missing something?)
     
  5. Aug 24, 2005 #185 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Technically, you shouldn't need it for the script unless you didn't transfer the files using "binary" mode in your FTP client. Even if you did, you can manually detete the dos line endings in the script, which looks like ^M^M. If you still want dos2unix, search on DDB for a thread entitled "All-In-One S2 utilities collection"
     
  6. Aug 24, 2005 #186 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    If perhaps /busybox is not in your PATH, try running it with
    Code:
    20 11 * * * tivosh /busybox/fakecall.tcl; echo "`date` fakecall made" >> 
    If you really want to get nuts, try this
    Code:
     */2 * * * * tivosh /busybox/fakecall.tcl; echo "`date` fakecall made" >> 
    ..which will run fakecall every 2 minutes, allowing you to test it easier. Note that you have to reboot to get the system information screen to update with a "succeeded". Let me know what you find.
     
  7. Aug 24, 2005 #187 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Almost true. Fakecall not needed if your phoneline is disconnected, unless you really like to see the last call attempt status reset to "succeeded". The only other use for fakecall is when you upgrade to 6.2 with an image, you need it to fake an initial call to get DVR functions working.
     
  8. Aug 24, 2005 #188 of 2880
    beejpowers

    beejpowers Dad/Husband/Consumer

    232
    0
    Sep 29, 2004
    Burke, VA...
    Also, so you can get PPV on a whim...
    You can order through the remote again.
    BTW, mine works... I said many moons ago that I would guinea-pig this. I had fakecall issues initially, but... I got chraged by D* for the PPV, my phone line is connected, my Status updates to "suceeded" and Tivo hasn't tried to kill my hacks. I am a HAPPY camper :D

    Gunny and rbautch are my heroes! :rolleyes: :D
     
  9. Aug 24, 2005 #189 of 2880
    beejpowers

    beejpowers Dad/Husband/Consumer

    232
    0
    Sep 29, 2004
    Burke, VA...
    rbautch,
    will you post a notice when you make your next release of the tweak script?
    Or should we just keep checking the original post? And will you post changes made in that version?
    Thanks fo all the good work.
     
  10. Aug 24, 2005 #190 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I will post a notice and highlight the changes. Beej, is fakecall running from cron successfully for you?
     
  11. Aug 24, 2005 #191 of 2880
    Gunnyman

    Gunnyman Just a boring dude

    30,750
    2
    Jul 10, 2003
    !Texas
    Russ,
    This script of your is incredible. I'm ready to assist with that project we spoke about last month.
     
  12. Aug 24, 2005 #192 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    Busybox is in the path in my rc.sysinit.author file.
    I added
    */2 * * * * tivosh /busybox/fakecall.tcl
    to my line 20 and rebooted. No go, still no indication of a call since the manual running of tivosh fakecall.tcl
    Does the drive need to be in RW mode, not when I add the new root, but all the time for it to work?
    Also, the way I am editing the root file is to copy it over to the PC, open it with Metapad, save it, then copy it over the top. I don't delete the old root, rename, etc.
    Is that the correct method.
    Once again, I only needed it run once, which it did, but, stuff like this helps me to "think" like a TiVO and gives me so much more knowledge. So, I enjoy it and appreciate your hand holding.
    Mike
     
  13. Aug 24, 2005 #193 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Is fakecall the only line of cron that's not working? Take a look at the log in /var/spool/cron/crologs/CRONLOG-MAIN to make sure cron is running other tasks properly. Actually, this log is only an idication that crond is reading that particular line of your crontab, not that the actual command succeeded. Also, you said you modified root and then rebooted. That would restart cron and get it to read the new root, but then you'd have to reboot again for the fakecall to take effect. After modifying root, you really don't need to reboot, just type "ps" and look for the process number associated with crond. Stop crond from running by typing "kill ###", where ### is the process number. Then restart crond with /busybox/crond

    No need for RW, and your edit process sounds ok.
     
  14. Aug 24, 2005 #194 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Awesome. I'll finish testing my lastest version, and maybe we can get started next week.
     
  15. Aug 24, 2005 #195 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    This is my log
    Tue Aug 23 10:14:02 UTC 2005 TWP stopped
    Tue Aug 23 11:15:02 UTC 2005 TWP started
    Tue Aug 23 11:20:02 UTC 2005 fakecall made
    Wed Aug 24 11:14:02 UTC 2005 TWP stopped
    Wed Aug 24 11:15:02 UTC 2005 TWP started
    Wed Aug 24 11:20:03 UTC 2005 fakecall made

    TWP does start everytime so that is good.

    I killed process 354 (crond) then went to /busybox and started it. Still no fakecall even though I set it up for every two minutes as per your line.
    This is frustrating.
     
  16. Aug 24, 2005 #196 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Try another reboot now. If no luck, try this:
    Code:
    */2 * * * * cd /busybox; tivosh fakecall.tcl
    Then kill crond, verify that it was killed with ps, start it again, verify that it restarted, then reboot again.
     
  17. Aug 24, 2005 #197 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    Nothing is working for this. Did the above, no change. Plus it isn't showing up in the main log which even if it isn't running you would think it would. However it does show up as having run last night (even though it didn't) when all those other things run

    Mike
     
  18. Aug 24, 2005 #198 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Pehaps the cron installation got messed up somehow. Maybe best to start fresh. Try using the uninstall script, then reinstall. Then edit the root file to run fakecall every 2 minutes using vi instead of FTPing to your PC. Just want to eliminate a few variables as possible.
     
  19. Aug 24, 2005 #199 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    I would be happy to try that,however, I haven't mentioned it, but this is repeating itself on both of my DTiVO units.
    Of course I did edit the root file the same so that could have messed up both.
    You think it is worth uninstalling and editing with VI (which I abhor).
    Mike
     
  20. Aug 24, 2005 #200 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    VI isn't so bad once you learn a few commands. Print out a list from Google and you're good to go. For minor edits, I find this easier that transfering the file to my PC for editing. I did a little testing, and cron runs fakecall fine on all all my tivos. The only commands that work are "tivosh /busybox/fakecall.tcl" or just "fakecall.tcl". Using "tivosh" without the path will fail. If you want to test it further, I've attached a version of fakecall that I've modified so it takes relatively long time (30 seconds) to run. This will give you enough time to confirm cron is running it using ps.

    One last thing to check....could cron be calling up an old version of fakecall that was never deleted?
     

    Attached Files:

Share This Page