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. Sep 7, 2005 #281 of 2880
    BTUx9

    BTUx9 back?

    1,596
    0
    Nov 13, 2003
    Rockport, MA
    check everything that's in your author file.
    You may want to check "ps aux" to see if another copy is running (ones running from different directories)
     
  2. Sep 7, 2005 #282 of 2880
    mgmrick

    mgmrick Haven't broke yet

    399
    0
    Aug 28, 2002
    Port Byron...
    Checked my author file looks right. Is there a command to find a file in linux? Be easier than searching thru all them dirs

    Thanks
    Rick
     
  3. Sep 7, 2005 #283 of 2880
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    This is typically done with the 'locate' command, but the TiVo does not have this so you will have to make do with 'find', assuming that you have one installed (I have attached one if you are missing it).

    Then just use: find / -name searchstring\* , this will search the complete system for all files starting with "searchstring".
     

    Attached Files:

  4. Sep 7, 2005 #284 of 2880
    Hurricane350

    Hurricane350 New Member

    12
    0
    Dec 25, 2001
    Boston, MA
    rbautch, Thank you. I have thanked you on other threads but not the main thread.(Go figure) Anyways, your script worked flawlessly and the only thing I noticed was that it mentions an update of the profile to include a command "root" which would bring you to the the vi editor of this file except it does not work for me. Well, I went into "root" and edited it so doesnt reboot weekly. I am usually up at 3am and I would rather just reboot it manually. Maybe it could be an option for us 2nd shift workers?
     
  5. Sep 7, 2005 #285 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Thanks John. There's also an alias in the .profile that comes with the script that allows you to just type "find filename".
     
  6. Sep 7, 2005 #286 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I messed up the alias for "root", and used the wrong path. I'll fix it next time around. In the meantime, you can edit the .profile yourself to use the correct path, which is /etc/spool/cron/crontabs/root.
     
  7. Sep 7, 2005 #287 of 2880
    tsunami

    tsunami New Member

    181
    0
    Sep 21, 2003
    New Boston, NH
    I have three files in my root directory, fairly big, 400K.
    One is called LOG_ARCHIVE.0905_07_16.tgz. I assume that is a log from Sept 5th. What is it, and are they safe to delete?
    Mike
     
  8. Sep 7, 2005 #288 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    That's a backup of your logs for the week. Cron deletes those backups every few months but feel free to delete them manually. You can also edit your crontab to not make those backups at all. Maybe I'll make that optional on future versions. The first backup is always the largest, because it's archiving several weeks worth of logs. After that, the archives are only one weeks worth, which is about 100-200kb.
     
  9. Sep 7, 2005 #289 of 2880
    salvatore

    salvatore New Member

    72
    0
    Jun 7, 2004
    Tallahassee,...
    Actually, its /var/spool/cron/crontabs/root, not /etc.
     
  10. Sep 7, 2005 #290 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    See....messed it up again!
     
  11. Sep 8, 2005 #291 of 2880
    skaeight

    skaeight New Member

    389
    0
    Jan 20, 2004
    Is the weekly reboot smart enough to not restart during a recording?
     
  12. Sep 9, 2005 #292 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Not that smart. But it does reboot at 3am, when I'm usually not recording.
     
  13. Sep 9, 2005 #293 of 2880
    vertigo235

    vertigo235 Active Member TCF Club

    15,553
    20
    Oct 27, 2000
    Charlotte
    Why don't you add safereboot.tcl to the package.

    I changed mine to safe reboot.
     
  14. Sep 9, 2005 #294 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Great idea. Never heard of it before.
     
  15. Sep 11, 2005 #295 of 2880
    Dirac

    Dirac New Member

    718
    0
    Oct 17, 2002
    Florida
    Great work, rbautch and gunnyman. I have installed most of these hacks separately before, but I still learned a lot by going through this script, and it ends up in a cleaner, more predictable install than me finally getting around to setting things up one thing at a time.

    Originally I had set up ro and rw as executable scripts instead of aliases, so I learned how to do that properly now. Now trying to figure out how to incorporate a safereboot (as soon as my TiVo stops recording)!
     
  16. Sep 11, 2005 #296 of 2880
    Dirac

    Dirac New Member

    718
    0
    Oct 17, 2002
    Florida
    Ok, wait a minute. Is there any reason TWP would start on one of my TiVos, and not on the other? On the one that doesn't start at startup, I can still start it by executing /enhancements/TWPrun.sh (just like my author file should be doing). The only difference between the two TiVos that I know of, is the one that works is on a wired network, and the one that doesn't is wireless. This should not be a factor as I can still ftp and telnet to the one that doesn't work.

    For a while, I also had crontabs being ignored on one TiVo (the one that TWP worked on). That seems to be fixed after manually entering user definitions (twice) and restarting (twice). Argh! :) I guess I'll try TiVo #3 and see if I have the same problems... maybe I can start ruling things out.
     
  17. Sep 11, 2005 #297 of 2880
    BTUx9

    BTUx9 back?

    1,596
    0
    Nov 13, 2003
    Rockport, MA
    One issue that could be involved: if the network isn't up when telnet or ftp are run, they are ok.
    If the network isn't up when TWP loads, it throws an error and aborts.
     
  18. Sep 11, 2005 #298 of 2880
    Dirac

    Dirac New Member

    718
    0
    Oct 17, 2002
    Florida
    Well, this would do it, because every time I restart, I have to unplug and replug the USB wireless adapter (Linksys WUSB11 v. 2.6) or the network won't start. This happened in 4.0.1 as well, I believe. Is this a known issue?
     
  19. Sep 11, 2005 #299 of 2880
    bnm81002

    bnm81002 New Member

    1,799
    0
    Oct 2, 2004
    rbautch,
    any update yet on the "NEW PTVnet CD" with your scripts added into that CD? PTVupgrade mentioned something but never gave any new updates yet? thanks
     
  20. Sep 12, 2005 #300 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Lou was kind enough to send me all his scripts to see if I can make any adjustments to my scripts so they can peacefully coexist. There will not be a new PTVnet CD with my scripts added. At least not for now.
     

Share This Page