View Full Version : Enhance Your Hacked Tivo With This Script
Pages :
[
1]
2
3
4
5
6
7
8
9
10
11
12
rbautch
07-21-2005, 10:53 PM
Attached is an automated script that tweaks and enhances your already-hacked Tivo. This script is included with The Zipper (http://www.tivocommunity.com/tivo-vb/showthread.php?t=265929&page=1&pp=30), so you don't need to run it if you've already completed a full Zipper install. If you hacked your Tivo with PTVnet, this script can be installed right over it.
Usage: unzip the attached script, FTP it to your Tivo, and run it. It’s interactive, so you can pick and choose exactly what it installs, and it comes with an uninstall script so you can remove everything easily. It works will all Series 2/2.5 Tivos, including the HR10-250 (3.1.5f and 6.3x). Here’s what it does:
1. Installs channel logos on the guide banner and Now Playing list.
2. Replaces the “Almost There” splash screen with this (http://www.mastersav.com/tivo_splash.html) more interesting one. If you don’t like it, you can download any one of these (http://www.mastersav.com/Tivo_Splash2.html) splash screens, and FTP it to replace the one stored in /tvbin/AlmostThere.png. Be sure to change the name of the replacement screen to “AlmostThere.png” to match the existing one before you FTP it to your Tivo.
3. Installs a profile with “aliases” that provide shortcuts to commonly used commands. For example, to mount your root drive as read-write, instead of typing out the full “mount –o remount,rw /”, you simply type “rw”. See the readme for the full list of aliases installed.
4. Installs a Customized Version of Tivowebplus. Now based on Tivowebplus version 2.0.
Tivowebplus main menu is modified to show the name of your Tivo at the top of each menu – helpful if you have multiple Tivos. Here’s what it looks like:
http://www.mastersav.com/tivo_tweak/twpmenu.jpg
5. Installs a fully functional cron setup for improved performance and logging. Creates all required directories and files, and installs a crondtab to do the following:
Create a tarball (archive) of your logs once/week, and save it in your root directory for easy FTP’ing. Helpful to have if something ever goes wrong with your Tivo, or you just want to explore your logs for well-defined time periods.
Wipe your logs once/week (after archiving them) to keep them from getting to big and hindering performance. Also wipes the tarball archive above.
Run fakecall every night at 3am.
Reboot your Tivo twice/week at 3am. This cleans things out for better performance if you have several hacks running. Also restarts logs, and allows fakecall to reset the last successful call indicator, so your Tivo won't call home (fakecall doesn't update mfs entries without a reboot). This allows you to keep your phone line connected for PPV ordering or CallerID.
6. Searches for and removes MRV/HMO expiration certificates from MFS. If you are using multi-room viewing (http://www.tivo.com/mytivo/domore/multiroomviewing/index.html) on a DirecTivo, it's possible you'll receive expiration certificates, which will stop MRV/HMO from working 180 days after your latest Tivo software download occurred.
7. Makes a Backup of Your Season Passes and Wishlists. This is extremely useful if your drive ever fails, or you have to rehack your Tivo, upgrade to a new software version, or buy a new Tivo. Many thanks to agw who wrote the core tcl script that makes this feature possible.
8. Appends Your Crontab to Make a Weekly Backup of Your Season Passes and Wishlists. I always forget to make manual backups in TWP, and when I clobber one of my Tivos, I’m always restoring an outdated backup. This feature uses cron to make weekly backups and store them in /seasonpass-backups/<date>backup. Be sure to frequently FTP the backups to your PC for safe keeping.
9. Adds or Removes Showcases (http://www.tivo.com/mytivo/domore/showcases/index.html) and Yellow Stars. If your Tivo is hacked, you most likely don’t get Showcases and Yellow Stars anymore.
10. Updates the Profile to Easily Edit the Crontab. I added an alias to the .profile called “root” that opens up the crondtab (var/spool/cron/crontabs/root) in vi. Just type “root” from bash to edit this file.
11. Installs NCID CallerID Application. Both the client and server are installed on your Tivo. Also, you can manually configure it to run the server on one Tivo and have it communicate with multiple Tivo clients. Other options can be tweaked to your taste. See the NCID website (http://ncid.sourceforge.net/) for details. The on-screen display program used by NCID does not work for Series 2.5 Tivos, so this feature gets skipped.
12. Installs Jamie's USB 2.0 Drivers. Also modifies your usb.map to support backported drivers. There's always a chance that replacing drivers will kill your connection, so be prepared to break out the serial cable or pull the drive.
13. Confirms network settings are appropriate for MRV. Checks to see if your IP parameters are permanently set in MFS, and if not, will set them for you if you choose. This is required for MRV to work properly.
14. Installs "netperf" to measure network performance between multiple Tivos. Actually, it just configures netperf paramters in a series of aliases that let you easily test MRV speeds by typing a single word a the bash prompt.
15. Installs EndPad (http://www.tivocommunity.com/tivo-vb/showthread.php?t=136658) (Plus). Many thanks to Sanderton and Falcontx for their permission to use this fantastic tool. If you like EndPad (or even if you don’t), please consider making a donation to Cancer Research though this link (http://www.tivocommunity.com/tivo-vb/showthread.php?p=2933380&&#post2933380), posted by Stuart Anderton, the author of EndPad.
16. Installs the joe (http://www.saao.ac.za/unix/node33.html) Text Editor. For all who have cursed vi at one time or another, this is for you. It’s a bit more human friendly than vi.
17. Customizes Your Bash Prompt. This adds a descriptor to your bash prompt, which can be especially useful if you have multiple Tivos. There’s also an option to add the “TiVo colors” to the bash prompt. Here's what it looks like:
http://www.mastersav.com/tivo_tweak/color-bash.jpg
18. 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 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.sh.
19. Adds an option to customize Tivo menus using TivoWare’s TuikHelper and Superpatch67Standby scripts. Options include adding/removing Standby and Music & Photos menu items.
20. Includes the following miscellaneous tools:
folders.tcl – folder manipulation tool.
deleteshows.tcl – delete orphan shows, searches by show name.
deleteepisodes – delete orphan shows, searches by episode name.
clock.sh – continuously displays the time in upper right corner of screen.
key_backup.tcl - backs your DiskConfiguration key to a file called /enhancements/diskconfig.bak
key_restore.tcl - restores the DiskConfiguration key from the backup script above
delmanual.tcl - converts all manual recordings to regular recordings, removing the word "Manual" from the list.
net-status.tcl - prints your current network settings
net-launch.tcl - sets/changes your network settings, and allows you to toggle safely between dhcp and static IP.
Fofer
07-22-2005, 06:59 AM
Looks interesting, rbautch... I'll be checking it out.
Gunnyman
07-22-2005, 07:01 AM
Rbautch you keep prooving that you are indeed, the man.
Mind if I link this on my guide thingy?
Gunnyman
07-22-2005, 07:16 AM
hmm Executing teh script gives me not found errors
bash-2.02# tweak.sh
: command not found
: command not found
in /etc/fstab or /var/mtab
': File existsmake directory `/enhancements
': No such file or directoryes.tgz' to `/enhancements/
Running rbautch Hacked Tivo Enhancements...
tar: /enhancements/rbautch-files.tgz: No such file or directory
'leep: invalid time interval `4
: No such file or directory
: No such file or directorystart.sh
: command not found
: command not found
: command not found
I noticed my tivo now has an enhancements^M^M
directory
did you use (gasp) a windows txt editor to make this file? ;)
Looks like my experience echos Gunny's:
Tivo2: {/var/hack} % sh tweak.sh
: command not found
: command not found
in /etc/fstab or /var/mtab
': File existsmake directory `/enhancements
': No such file or directoryes.tgz' to `/enhancements/
Running rbautch Hacked Tivo Enhancements...
tar: /enhancements/rbautch-files.tgz: No such file or directory
'leep: invalid time interval `4
: No such file or directory
: No such file or directoryrt.sh
: command not found
: command not found
: command not found
Edit: Running two hacked HDVR2's, both with 6.2. The script attempted on one only.
Leddy
07-22-2005, 08:02 AM
Everything worked for me, I skipped a few things :)
Rebooted and had TWP with crond mods.
Do you have Tivowebplus already installed? [yes/no]: no
Do you want to install Tivowebplus? [yes/no]: yes
installing Tivowebplus (modified for 6.2/7.1) plus several awesome modules,
including Hackman, Channelprefs, Batch Play, Backup, and Manual Record
/var/hack exists, installing TWP there. Patience, please...
Appending your rc.sysinit.author file to run TWP on startup
TRUST ME :)
Installing cron for improved performance and easy logging...
busybox detected...
Existing crond binary detected, backing up and replacing...
Creating user definitions...
Creating required cron directories...
copying the crondtab where crond expects it
appending your rc.sysinit.author file to run crond on startup
Installation Complete! Please reboot now...
It would be nice if crond was a yes/no so we aren't forced to install it. If you run script multiple times(say you change your mind later on something) make sure you have "If" statements so you're not appending and appending and appending text to files. I didn't run multiple times to test :)
The Hackman module is listed in twp/modules but does not show up when you are viewing through a browser.
rbautch
07-22-2005, 09:00 AM
Rbautch you keep prooving that you are indeed, the man.
Mind if I link this on my guide thingy? Sure!
did you use (gasp) a windows txt editor to make this file? Please... :) I used Ultraedit.
hmm Executing teh script gives me not found errors
bash-2.02# tweak.sh
: command not found Smells like DOS line endings. Please help me troubleshoot this. A few things to try:
- Try running it from a different location (root, var, etc.)
- Try running dos2unix on the tweak.sh, just in case.
- Try opening up tweak.sh on your Tivo with vi to see if you have the dreaded ^M ^M carriage returns.
- Open the newly created /enhancements directory. Did it move rbautch-files.tgz there? Did it untar any of the files?
- The tweak.sh script serves only to copy files and launch the real script, which is /enhancements/start.sh.
- Delete the enhancements directory in it's entirety before you run the script again to save space. Or try the uninstall script.
I'll try to duplicate the problems your having this morning. The script runs flawlessly for me on by HDVR2 with 6.2. I've been testing it for 2 days.
edit: - Did you FTP rbautch-files.tgz and tweak.sh to the same directory?
- Try using the attached debug version of the tweak script.
Gunnyman
07-22-2005, 09:27 AM
dos2unix on tweak.sh got the job done. I wish I had thought of that.
:)
Dos2unix did the trick for me as well.
Well done!
rbautch
07-22-2005, 09:40 AM
Great. Gunny and acii, somewhere, those dos line endings were added. Could it have been your FTP client not set up for binary transfer? Keep in mind, the uninstall script probably also got those line endings during the transfer, so run dos2unix on that too. I downloaded the script again and verified the dos line endings are not in the original files.
Gunnyman
07-22-2005, 09:42 AM
weird, I used filezilla in bin mode. I wonder if WINRAR added them
rbautch
07-22-2005, 09:59 AM
It would be nice if crond was a yes/no so we aren't forced to install it. Good suggestion. The only thing it's doing now is checking for an existing cron installation, and skips the install if one is found. I'll make it a yes/no later this morning.
If you run script multiple times(say you change your mind later on something) make sure you have "If" statements so you're not appending and appending and appending text to files. I didn't run multiple times to test :) Good observation. I set it up so you can't run the script multiple times without running the uninstall script first. When you run tweak.sh, it MOVES the rbautch-files.tgz archive to /enhancements/, and doesn't move it back until you run the uninstall script. It would be nearly impossible to control it otherwise. One thing that comes to mind is that there's no way skip the step that appends your rc.sysinit.author file with a command to start crond or TWP, especially if you chose different options your next time through the script. Much cleaner to wipe things clean first. (only wipes things installed by this script, e.g. would not erase an existing TWP installation).
The Hackman module is listed in twp/modules but does not show up when you are viewing through a browser. I know what this is. I'll fix it shortly after hitting myself in the head with a large fish.
rbautch
07-22-2005, 10:01 AM
weird, I used filezilla in bin mode. I wonder if WINRAR added them I may have to add dos2unix to the instructions. I'd stick it in the script if I could.
Try this. Change the extension of the file in the attachment to .sh, (don't try to unzip it) FTP to your Tivo, and check for dos line endings. This will let us know it's Winrar.
Leddy
07-22-2005, 12:08 PM
I know what this is. I'll fix it shortly after hitting myself in the head with a large fish.
Anything I can do in the meantime? Do I need to edit some file or such?
rbautch
07-22-2005, 12:19 PM
Anything I can do in the meantime? Do I need to edit some file or such? You can go to your modules folder and delete the hackman.ini and hackman.cfg files. Then restart TWP. Hackman will recreate those files to suit your installation.
davsherm
07-22-2005, 02:44 PM
I know what this is. I'll fix it shortly after hitting myself in the head with a large fish.
Hey, be nice to the fish!!! :D
davsherm
07-22-2005, 03:04 PM
Rbautch thanks for the script, it worked well on both of my 6.2 hdvrs. I already had used your previous script for restarting TWP, but I wanted the cool splash screen, the aliases and the log maintenance. Thanks again!!
Leddy
07-22-2005, 03:29 PM
You can go to your modules folder and delete the hackman.ini and hackman.cfg files. Then restart TWP. Hackman will recreate those files to suit your installation.
Ahh it was looking in /tivowebplus for some reason, I deleted instead of editing. and Wallah it works! Great job... Maybe I will actually have to make a cool screen... :)
Lopey
07-22-2005, 04:42 PM
I ran into the same problem that Gunny did originally. I use cuteftp to upload my files. I went and used the windows command ftp and changed it to binary and that seemed to work. I downloaded the test file you put up, changed the extension and ran vi on it and it had the ^M on it, and that was not from winzip or winrar. I didn't run it through Dos2Unix either, I downloaded a new copy and ftped it straight up and it worked fine.
Also, it keeps skipping the install of the channel logos??
rbautch
07-22-2005, 04:46 PM
Ahh it was looking in /tivowebplus for some reason, I deleted instead of editing. and Wallah it works! Great job... Maybe I will actually have to make a cool screen... :) It was looking for TWP in root because that's where I had it when Hackman created my ini and cfg files. I forgot to remove those files when I archived the folder.
Be careful if you edit your splash screen. Tivo is very particular about the format. The size has to be exactly 720x480 pixels, true color (24-bit), with a resolution of 73 pixels per inch. I had to pull my drive a few times when a non-conforming graphic threw my Tivo into a reboot loop. I used Visio to create the graphic, then saved as a .png, then resized in MS PhotoEditor. I'll post the source graphics on the website so you can play around with it. Be sure to post your new splash screen if you come up with something good! The other 2 splash screens are stored in MFS and need a tcl script to change.
rbautch
07-22-2005, 06:09 PM
I posted a revised version of the script with the following changes:
- Prompted yes/no to install crond.
- Hackman fixed in TWP archive.
- Fixed a small bug in the .profile to run Tivowebplus with "twp" regardless of where your TWP installation is.
I also posted my original Visio file, graphics, and a few cool backgrounds if anyone wants to mess with the splash screen.
Gumpman
07-23-2005, 12:23 PM
Somehow I'm lost over this. I've downloaded, unzipped and I've put the files over to my tivo using SmartFTP. Just can't get the sh tweak.sh file to run. Keeps telling me no such file of directory. I know it's something simple I'm overlooking, but just can't figure it out. I've done a few mods to my systems before without much hassle, Hummmm. Any help would be appreciated, Thanks!
rbautch
07-23-2005, 01:00 PM
Try running dos2unix on tweak.sh (and the uninstall script). Just type: dos2unix tweak* from whatever directory you installed the files in. Is your FTP client set up for binary transfers? SmartFTP should not be in "auto-detect" or "ascii" mode, needs to be in "binary" mode. And don't ever open the file in a Windows or dos-based text editor.
Gumpman
07-23-2005, 02:00 PM
I'm in over my head I suppose. Can't figure out where to run dos2unix from, (that is a separate program I hope). I did find a web site that would convert for me, but that didn't work either. Thanks for the help, I'll hang my head low and give up soon. :(
rbautch
07-23-2005, 02:14 PM
Don't give up just yet. dos2unix is already on your tivo. You can run it from anywhere. Just navigate to the directory where you copied tweah.sh, and use the command above to run it.
Gumpman
07-23-2005, 04:06 PM
Finally had success with it !! Woo Hoo. After several hours of trying different things, I stumbled on my mistake of not knowing the Telnet commands very well. I took a crash course on basic commands for telnet, and got SmartFTP set correctly, and WHAM!, it's game on !! Thanks rbautch for your time in responding so quickly and pointing me in the right direction. :)
markf57
07-23-2005, 10:40 PM
rbautch:
Thaks for such a great script. I upgraded one of my units to 6.2, but I wasn't able to get TWP to work for anything. This script fixed my problem.
Thanks again.
HUGE2U
07-25-2005, 04:19 PM
Just installed it - worked like a charm - good stuff. It is worth it just for the TWP enhancements.
HUGE
bnm81002
07-25-2005, 10:19 PM
Rbautch you keep prooving that you are indeed, the man.
Mind if I link this on my guide thingy?
hey Gunny,
I didn't see you link "Rbautch's script" on your "unguide" ;)
Gunnyman
07-25-2005, 11:10 PM
haven't had the chance yet.
Gunnyman
07-25-2005, 11:14 PM
Thanks to insomnia, DONE.
pearkel
07-26-2005, 07:53 AM
Has anyone had problems uninstalling this script. I installed on 2 machines and It worked like a champ on the 2nd machine but on the 1st RCADVR40 I am having problems with tivoweb. I tried to uninstall but I just get a series of y's on the cmd prompt. It never really uninstalls.
Any ideas?
Thanks
Also thanks for all of the knowledge on this forum I really appreciate it.
rbautch
07-26-2005, 09:06 AM
Try running dos2unix on the uninstall script.
pearkel
07-26-2005, 09:43 AM
I tried that once and got the same result. I'll try again later tonight.
Thanks
rbautch
07-26-2005, 09:53 AM
You might also try opening the file with vi, and looking for dos line endings that look like this: ^M^M You can manually delete them if dos2unix doesn't seem to work.
dmark1867
07-26-2005, 10:12 AM
rbautch Thanks, this is awesome!
If possible I would like to keep just my elseed log from being wiped.
How can I have it wipe all logs but elseed?
Thanks
rbautch
07-26-2005, 10:21 AM
What's the name of your elseed log, and where is it stored?
rbautch
07-26-2005, 10:38 AM
If it's in var/log/ and it is called elseed.log, then replace the file called "root" in the /var/spool/cron/crontabs/ directory with the attached one. This will copy your elseed log somwhere safe while the logs are being wiped, and then move it back after the wiping is done.
pearkel
07-26-2005, 11:48 AM
rbautch I checked this out at lunch today. I vi the script but I didn't see any extra commands. Right after I hit yes I think it says I don't think so then a series of these
y
y
y
etc
and it just keeps going. I am at a loss on why it won't uninstall.
Any other ideas?
Philly Bill
07-26-2005, 12:16 PM
Thanks to insomnia, DONE.
Wow. Only 4 minutes? :D
dmark1867
07-26-2005, 01:08 PM
Thanks rbautch you are da man,
Yeah it is called elseed.log
I really appreciate it.
rbautch
07-26-2005, 01:18 PM
rbautch I checked this out at lunch today. I vi the script but I didn't see any extra commands. Right after I hit yes I think it says I don't think so then a series of these
y
y
y
etc
and it just keeps going. I am at a loss on why it won't uninstall.
Any other ideas? Try re-downloading the file, then try a different computer if you can. If that fails, try the attached version of the uninstall script, which just runs without asking you if you want to run it first. Can someone ese test out the uninstall script for me? I tested it extensively before my entire house got fried from a power surge yesterday. :mad:
panjabi
07-26-2005, 05:27 PM
i am very new at this and if i went through hours and hours to this stuff, i sitill can't make alot of things work. it would be nice if someone can make one package installatin for things like tystudio, tivotelnet, tivoweb, control station, mfs ftp, yac,ty tool i have included a pictures with all programs download from somewhere also if one can add scritps like nag killer and delnag and fixup3.0 which removes nags from unsubed tivos. is this posible to put all programs in one installation
metrounit9
07-27-2005, 06:33 AM
When I run the install script it seems to ignore my responses, i.e. "Do you want to install Channel Logos [yes/no]". When I type yes, it responds with "skipping logo installation". Also as the script runs a little farther it doesn't allow the time to respond before skipping TWP installation.
I have run dos2unix on the script, downloaded a couple of times, checked with vi, and don't see any dos line endings.
I'm a newb so I probably doing something simple wrong.
rbautch thanks for the script..hope to get working soon...and good luck recovering from your power surge.
David Platt
07-27-2005, 06:46 AM
When I run the install script it seems to ignore my responses, i.e. "Do you want to install Channel Logos [yes/no]". When I type yes, it responds with "skipping logo installation". Also as the script runs a little farther it doesn't allow the time to respond before skipping TWP installation.
I have run dos2unix on the script, downloaded a couple of times, checked with vi, and don't see any dos line endings.
I'm a newb so I probably doing something simple wrong.
rbautch thanks for the script..hope to get working soon...and good luck recovering from your power surge.What software version are you running?
pearkel
07-27-2005, 08:00 AM
When I run the install script it seems to ignore my responses, i.e. "Do you want to install Channel Logos [yes/no]". When I type yes, it responds with "skipping logo installation". Also as the script runs a little farther it doesn't allow the time to respond before skipping TWP installation.
This is what is happening on my rca. I finally got it uninstalled last night. The script you gave without asking questions worked fine. I went to reinstall and it did the same thing again. Just skips over the Tivoweb question.
I had no problems installing on a Phillips and has been working great the last 2 days, I just can't get it working on the RCA.
clover_kid
07-27-2005, 08:09 AM
Great JOB. This utility gets added to my "must use" list!
Now, for the unasked for request...how about adding the backported USB drivers for increased transfer speed and how about installing tserver at the same time?
Once again...Great job
Bill
rbautch
07-27-2005, 08:39 AM
Great JOB. This utility gets added to my "must use" list!
Now, for the unasked for request...how about adding the backported USB drivers for increased transfer speed and how about installing tserver at the same time?
Once again...Great job
Bill The USB drivers are an excellent idea. I'll add it to the next version if I can get permission from the guy who did all the hard work to backport them.
rbautch
07-27-2005, 08:47 AM
This is what is happening on my rca. I finally got it uninstalled last night. The script you gave without asking questions worked fine. I went to reinstall and it did the same thing again. Just skips over the Tivoweb question.
I had no problems installing on a Phillips and has been working great the last 2 days, I just can't get it working on the RCA. It may be something peculiar about your Telnet session. If I Telnet from my laptop, I actually have the same problem as you, even on a 4 line test script, but it seems to work from every other computer I try it on. Pearkel, if the only thing you need is the TWP installation, just extract the TWP folder from the archive and FTP it to your Tivo. I may create a version of the script that doesn't ask any questions.
baltman
07-27-2005, 10:28 AM
New to this. How to I get to my tivo box to run this script.
Like to learn alittle about hacking.
Thanks
Dave
rbautch
07-27-2005, 12:04 PM
If anyone is still having trouble with the prompts for user input, try out this version which has the prompts removed. Again, this will install everything without asking. Just replace the /enhancements/start.sh script with the one attached and run it. Don't run tweak.sh, run start.sh. I haven't tested this, so use at your own risk.
W2DHS
07-27-2005, 03:10 PM
New to this. How to I get to my tivo box to run this script.
Like to learn alittle about hacking.
Thanks
Dave
This isn't the best forum, Google for jjbliss* and visit the forum that is the top results. SEARCH and READ A LOT before asking questions, they are vicious to newbies asking questions that have already been answered.
Philly Bill
07-27-2005, 04:06 PM
I'd say that thanks to a few guys who really don't mind helping others out, this forum - in this section - IS getting to be a place to learn to hack your TIVO.
There even seems to be one or two folks who frequent the other place that have stopped by to lend a hand.
Props to those who deserve it. :)
pdawg17
07-27-2005, 08:21 PM
rbautch-
My comp has trouble running the uninstall script correctly...is there another way to only uninstall the cron part? I want to keep the rest...
Also, I can't get tivowebplus to start on boot...what should I check for?
When I run the install script it seems to ignore my responses, i.e. "Do you want to install Channel Logos [yes/no]". When I type yes, it responds with "skipping logo installation". Also as the script runs a little farther it doesn't allow the time to respond before skipping TWP installation.
Are you using the telnet agent built into windows XP SP2- its adds an extra return which can muck up scripts
If you are to get rid of he extra return do this:
Start--->Run, type in "cmd" the return
type in "telnet" then return
type in "unset crlf" then return
To connect to your box type in "o ipaddressofyourtivo" then return
see if that works for you
ssstivo
07-27-2005, 09:19 PM
New to this. How to I get to my tivo box to run this script.
Like to learn alittle about hacking.
Thanks
Dave
Follow the link to Gunnyman's guide. That should put you well on your way.
It's worked out great for me and my 3 DTivos.
http://www.thewallens.net/tivo/Tivo_unguide.html
metrounit9
07-27-2005, 10:05 PM
rbautch,
Just confirming your suspicion about the telnet session, I booted my PC into Suse (had been in XP) and ran telnet session from there and your script worked flawlessly.
Everything is installed. Now I just have to play around with it for awhile.
rbautch
07-28-2005, 09:04 AM
rbautch-
My comp has trouble running the uninstall script correctly...is there another way to only uninstall the cron part? I want to keep the rest...
Also, I can't get tivowebplus to start on boot...what should I check for? First try dos2unix on the uninstall script. Then try using a different telnet clent (I prefer Telnet98 (http://www.telnet98.com/download.htm)), or the procedure jjz described above (thanks jjz!). If that doesn't work, I'll walk you through a manual uninstall process. After you get it uninstalled, reinstall it, and it should append your rc.sysinit.author file to run TWP on boot. Keep us posted.
rbautch
07-28-2005, 09:47 AM
Are you using the telnet agent built into windows XP SP2- its adds an extra return which can muck up scripts
If you are to get rid of he extra return do this:
Start--->Run, type in "cmd" the return
type in "telnet" then return
type in "unset crlf" then return
To connect to your box type in "o ipaddressofyourtivo" then returnYou hit the nail on the head, jjz. I can confirm that running telnet from XP SP1 is fine, but from XP SP2 causes problems. I'm going to add your suggestion above to the instructions. Thanks!!
dmark1867
07-28-2005, 02:23 PM
When this runs:
wget -O /dev/null "http://127.0.0.1:80/quit"; echo "`date` TWP stopped" >> /var/spool/cron/cronlogs/CRONLOG-MAIN
This happens:
wget: server returned error 401: HTTP/1.0 401 Authorization Required
This is because I have tivoweb password protected. How do I enter my credentials so this will run?
Thanks!
rbautch
07-28-2005, 03:43 PM
Try changing this:wget -O /dev/null "http://127.0.0.1:80/quit"; echo "`date` TWP stopped" >> /var/spool/cron/cronlogs/CRONLOG-MAIN to this:
wget -O /dev/null -o /dev/null "http://tivo/restart/0"; echo "`date` TWP restarted" >> /var/spool/cron/cronlogs/CRONLOG-MAINThen delete or comment out this line15 9 * * * /enhancements/TWPrun.sh; echo "`date` TWP started">> /var/spool/cron/cronlogs/CRONLOG-MAIN This should reload Tivowebplus instead of stopping and starting it. I can't test this right now, so let me know if it works.
pdawg17
07-29-2005, 12:32 AM
I still can't get twp to start on boot...can someone show me what the changes to the .author file are supposed to be? Mine looks the same as I left it...also, my last line says:
"rc.sysinit.author" [Read only]
Is that just b/c I didn't rw the mount for this session or is this my problem?
If I cd to the twp directory and run tivoweb, it starts fine...
Here is my author file:
#!/bin/bash
export TIVO_ROOT=""
export MFS_DEVICE=/dev/hda10
export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox
# start telnet
tnlited 23 /bin/bash -login &
# start ftp
tivoftpd
vserver
# Call the Tivo Package Manager Startup Scripts
# /etc/rc.d/rc.sysinit.tpm &
# If TPM doesn't work comment out TPM startup above and start TWP directly
/tivowebplus/tivoweb
/usr/local/epp/endpadplus.tcl 2 2 -auto >> /dev/null &
#Start Tytool
/var/hack/tserver/tserver -s &
I originally tried with tivowebplus installed in var/hack but that didn't work either...I also didn't have TPM startup scripts commented out but when that didn't work I tried to do it manually...
rbautch
07-29-2005, 09:39 AM
The script adds the following lines to your author file to start TWP:
# starting Tivowebplus
/enhancements/TWPrun.sh TWPrun.sh is a 2-line script that actually starts TWP. It gets created on the fly as the main script runs, and is customized to your installation. I did it this way to accommodate a TWP installation in any location. This script is also run when you type "twp" using the alias in the new profile, so you don't have to type out the full path everytime you want to run TWP manually. It looks like you have a line in your author file that already starts TWP in the root directory, so you should remove that. It might be cleanest just to delete your TWP installation, run the uninstall script, and then run the main script again. Or, you can verify that the TWPrun.sh script was created in /enhancements/, and is pointing to the correct location where you installed TWP, and then add the lines above to your author file to start TWP on boot.
You can also delete the TPM lines in your author file. My script mounts your filesystem as read-write, then just before it ends, mounts as read-only. If you want to edit your author file manually, you have to mount read-write again. Here's a great chance to try out one of the enhancements in the new profile: type "rw" to mount read-write, then type "author" to open your author file in vi, and finally type "ro" to mount read-only once again.
Scott D
07-29-2005, 05:20 PM
I installed the script successfully. I did notice what Gunny has encountered with all those errors found on page 1. I deleted the two files from the TiVo and forced a binary transfer back over to the TiVo and it installed correctly.
Also, for the people who are using SP2 for Windows XP, use the Hyper Terminal program instead. It works great with that one.
The only problem I had was a reboot problem. It got stuck a 10%. I did another reboot and it went through just fine.
Earlier in this thread, there is a jpg picture of a screen that looks like TiVoweb. I don't have that one. It's called hack manager. How do I access that?
Lopey
07-29-2005, 06:06 PM
Scott D: Try this!
You can go to your modules folder and delete the hackman.ini and hackman.cfg files. Then restart TWP. Hackman will recreate those files to suit your installation.
Scott D
07-29-2005, 07:02 PM
Interestlingly enough, that directory called modules is empty.
Wrong directory called modules. I found it.
Also, my tivoweb is ver 1.1 pre2.
Lopey
07-29-2005, 07:41 PM
Did it fix the problem?
pdawg17
07-29-2005, 07:43 PM
Very strange...I still can't get twp to run on boot...the author file is fine...if I type in "twp" at the bash prompt, it tells me it's finding everything and is running, but I can't connect...the only way to connect is to actually go to var/hack/tivowebplus and run tivoweb...
Scott D
07-29-2005, 09:27 PM
Did it fix the problem?
No. I still get the basic screen rbautch had made a while back.
What version are you running to get that type of screen to manipulate scripts? I am running tivowebplus. I don't think that is the correct program.
Say, does anybody have two directories called "enhancements"? I can't seem to delete either one of them. Are they somehow protected?
rbautch
07-29-2005, 11:09 PM
Say, does anybody have two directories called "enhancements"? I can't seem to delete either one of them. Are they somehow protected? You have to mount as read-write by typing "rw". Then remove the directory with "rm -r /enhancements".
rbautch
07-29-2005, 11:18 PM
Earlier in this thread I saw a picture of a screen that looks like TiVoweb. I don't have that one. It's called hack manager. How do I access that? It's called "Hackman" and was installed by the script with your Tivowebplus installation (assuming you used the script to install TWP). Go to TWP, and look for Hackman. Yours will look a bit different because you won't have as many hacks running as the guy who posted that picture.
rbautch
07-29-2005, 11:23 PM
Very strange...I still can't get twp to run on boot...the author file is fine...if I type in "twp" at the bash prompt, it tells me it's finding everything and is running, but I can't connect...the only way to connect is to actually go to var/hack/tivowebplus and run tivoweb... When you start it with "twp" is the last line of output "accepting connections"? Also type "ps" at the bash prompt to view the list currently running applications. TWP should be in there near the bottom. Can you view your TWPrun.sh script? Is it pointing to the correct directory /var/hack/? If all else fails, just put the line "/var/hack/tivowebplus/tivoweb" in your author file to start it directly, bypassing the TWPrun.sh script.
pdawg17
07-29-2005, 11:45 PM
When you start it with "twp" is the last line of output "accepting connections"? Also type "ps" at the bash prompt to view the list currently running applications. TWP should be in there near the bottom. Can you view your TWPrun.sh script? Is it pointing to the correct directory /var/hack/? If all else fails, just put the line "/var/hack/tivowebplus/tivoweb" in your author file to start it directly, bypassing the TWPrun.sh script.
This is my TWPrun.sh script...
#!/bin/sh
/var/hack/tivowebplus/tivoweb console &
TWP is installed to default ( in var/hack/)...I'll try manually changing the author file again but it didn't work before...is there a way of seeing if it somehow gets turned on and then somehow off? When I do "ps" it is not listed...also, it does NOT say "accepting connections" when I type "twp"...what could that be?
rbautch
07-30-2005, 12:29 AM
This is my TWPrun.sh script...
#!/bin/sh
/var/hack/tivowebplus/tivoweb console &
TWP is installed to default ( in var/hack/)...I'll try manually changing the author file again but it didn't work before...is there a way of seeing if it somehow gets turned on and then somehow off? When I do "ps" it is not listed...also, it does NOT say "accepting connections" when I type "twp"...what could that be? Do you have ver 1.1 of the script? The original script had the twp alias pointing to a TWP installation in the root directory. You can confirm this by checking the twp alias in the profile. Just type "vi .profile" from the root directory. If that's not it, navigate to /var/hack/tivowebplus and start it manually. This should work as you said before. Then try ps to confirm that it is listed. Then stop TWP, and try starting it again by running the script (sh TWPrun.sh), then check if it shows up with ps. You can keep repeating the ps command to see if shows up, then gets killed for some reason.
If that doesn't work, I'll stop by your house tomorrow to check it out. ;)
pdawg17
07-30-2005, 12:43 AM
Do you have ver 1.1 of the script? The original script had the twp alias pointing to a TWP installation in the root directory. You can confirm this by checking the twp alias in the profile. Just type "vi .profile" from the root directory. If that's not it, navigate to /var/hack/tivowebplus and start it manually. This should work as you said before. Then try ps to confirm that it is listed. Then stop TWP, and try starting it again by running the script (sh TWPrun.sh), then check if it shows up with ps. You can keep repeating the ps command to see if shows up, then gets killed for some reason.
If that doesn't work, I'll stop by your house tomorrow to check it out. ;)
Nah...you don't need to do that :)...it's not a big deal - I just keep trying to fix it because it should work easily so it's bugging me...
My profile points to the right place...if I run tivoweb from /var/hack/tivowebplus, it works from my browser but ps doesn't list it...if I run TWPrun.sh, it does not give an error but it isn't listed with ps either...hmmm...
rbautch
07-30-2005, 08:41 AM
One last try.... the only difference between running it from the TWP directory and from the TWPrun.sh script is that the script runs it in the background by using an "&" after the command. Maybe try taking that out of the script to see if that works, or add an "&" to your manual command in /var/hack/tivowebplus to see if it doesn't. As far as the active processes go (ps command) you should be seeing a few lines that looks like this: 5335 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
5336 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
5337 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
Scott D
07-30-2005, 03:48 PM
Yeah, I found the hackman screen. I usually don't go in there though. :)
rbautch....
I do have a question for you. I don't know for certain when it does this but when I alter my channel prefs, (organize my favorite channels), the TiVo wants to reboot first. Then when I go back into the channel prefs screen and do some more organization of the channels,it doesn't reboot again. Instead it gives me a listing of all the channels it added or removed.
Does it reboot on you too? Sometimes?
rbautch
07-30-2005, 08:54 PM
Channelprefs has always behaved well for me. If you do a search here for Channelprefs, maybe the author of the module can help you. I think his name is SteveT.
pdawg17
07-30-2005, 10:16 PM
One last try.... the only difference between running it from the TWP directory and from the TWPrun.sh script is that the script runs it in the background by using an "&" after the command. Maybe try taking that out of the script to see if that works, or add an "&" to your manual command in /var/hack/tivowebplus to see if it doesn't. As far as the active processes go (ps command) you should be seeing a few lines that looks like this: 5335 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
5336 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
5337 root 7448 S tivosh /var/hack/tivowebplus/httpd-tt.tcl
Well, I made it work by "enabling" twp thru Hackman...the addition it makes to the author file made it work...thanks...
rbautch
07-31-2005, 08:55 AM
What addition was that?
Scott D
07-31-2005, 12:14 PM
You have to mount as read-write by typing "rw". Then remove the directory with "rm -r /enhancements".
Doesn't work. Not that the command is bad. That's not it. What I think it would be is a ghost image. What I think has happened is that I erased my good copy and the ghost remained there.
Let me explain why I think it is a ghost image. On any OS, you cannot have the same name of a file or directory in the same place. At different locations, yes, but not stacked on top of each other.
My directory tree looks like this....
..
backups
bin
enhancements
enhancements
var
Just to give you an idea what I'm talking about.
How about cleaning out the TOC or FAT tables?
pdawg17
07-31-2005, 01:21 PM
What addition was that?
It added this to the author file:
# Starting the TivoWeb application:
if test -f /var/hack/tivowebplus/tivoweb
then
/var/hack/tivowebplus/tivoweb &
fi
rbautch
07-31-2005, 03:53 PM
Doesn't work. Not that the command is bad. That's not it. What I think it would be is a ghost image. What I think has happened is that I erased my good copy and the ghost remained there.
Let me explain why I think it is a ghost image. On any OS, you cannot have the same name of a file or directory in the same place. At different locations, yes, but not stacked on top of each other.
My directory tree looks like this....
..
backups
bin
enhancements
enhancements
var
Just to give you an idea what I'm talking about.
How about cleaning out the TOC or FAT tables? Try removing those directories with the following command: rm -r enhan*
rbautch
07-31-2005, 03:54 PM
It added this to the author file:
# Starting the TivoWeb application:
if test -f /var/hack/tivowebplus/tivoweb
then
/var/hack/tivowebplus/tivoweb &
fi That's odd. These lines just check if tivoweb is present in /var/hack/tivowebplus and then runs it. It's no different than the TWPrun script, or the previous versions of your author file where you added it yourself.
pdawg17
07-31-2005, 11:28 PM
That's odd. These lines just check if tivoweb is present in /var/hack/tivowebplus and then runs it. It's no different than the TWPrun script, or the previous versions of your author file where you added it yourself.
I know...I have no clue what to make of it...chalk this up to the "Huh?" category...
rbautch
08-02-2005, 05:15 PM
I fixed a few missing quotes in the crontab that were preventing Tivowebplus from restarting every night. (Thanks acii for catching them!) I also fixed a few other minor cron issues. If you've already run the script, replace the file called "root" located in /var/spool/cron/crontabs/ with the one attached. The download on the website has been updated, and contains a new readme with the details. Future plans for the script include (if anyone's interested):
- Caller ID
- Replacement of all 3 splash screens
- A few unmentionables not allowed to be discussed here.
willardcpa
08-02-2005, 05:57 PM
I fixed a few missing quotes in the crontab that were preventing Tivowebplus from restarting every night. (Thanks acii for catching them!) I also fixed a few other minor cron issues. If you've already run the script, replace the file called "root" located in /var/spool/cron/crontabs/ with the one attached. The download on the website has been updated, and contains a new readme with the details. Future plans for the script include (if anyone's interested):
- Caller ID
- Replacement of all 3 splash screens
- A few unmentionables not allowed to be discussed here.You may want to leave the unmentionables till the last. Or put them somewhere else, that is not directly linked to from here. My suspicion is that if you just plunk them in, then any reference, or support of them will be cut off here. Which is not what those of us that dutifully follow these threads desire. Thanks
BTUx9
08-03-2005, 01:05 PM
Just to let you know, when installing crond onto a system without /busybox, it moves it first, then discovers it exists, so renames it to crond.bak
Suggestion: change responses to "y" instead of yes (or accept both)... people are more likely to make mistakes when entering "yes"
All in all, nice job, keep up the good work (just don't post this on DDB, their opinions about automation are well known)
PortlandPaw
08-03-2005, 01:06 PM
It added this to the author file:
# Starting the TivoWeb application:
if test -f /var/hack/tivowebplus/tivoweb
then
/var/hack/tivowebplus/tivoweb &
fiThat looks like hackman adding start commands to the .author file. That's done by clicking on the "gumdrop" button to the right of the app name. Please read the hackman documentation to understand how this all works!
rbautch
08-03-2005, 04:38 PM
I'm looking for volunteers to help me test out a tcl script that will remove HMO/MRV keys from MFS to solve this problem. (http://www.tivocommunity.com/tivo-vb/showthread.php?p=3110507&&#post3110507) You need no special skills, just to have Tivowebplus installed. PM me if you're interested.
rbautch
08-04-2005, 09:21 AM
Just to let you know, when installing crond onto a system without /busybox, it moves it first, then discovers it exists, so renames it to crond.bak
Suggestion: change responses to "y" instead of yes (or accept both)... people are more likely to make mistakes when entering "yes"
All in all, nice job, keep up the good work (just don't post this on DDB, their opinions about automation are well known) Good suggestions, BTUx9. I fixed the crond issue, and I'll use "y" instead of "yes" in the next version.
Sirwill
08-04-2005, 10:45 AM
This sounds really cool, but does TWP and everything here work on a S1 tivo?
rbautch
08-04-2005, 11:22 AM
I haven't tested it, but most of it should work fine as long as your Tivo already has an rc.sysinit.author file. I would skip the parts that load channel logos and replace your splash screen. I think the graphic format of the splash screen might be different for S1 Tivos. You could try it, and if it doesn't work, just restore the backup splash screen AlmostThere.png.bak to AlmostThere.png. You can probably do this over telnet, but at a worst case you'll have to pull your drive to do it. I'm curious if this works, let me know...
BTUx9
08-04-2005, 11:38 AM
This sounds really cool, but does TWP and everything here work on a S1 tivo?
I really doubt you want to use it on an S1... besides the issues of compatibility with logos and splash screen, crond won't run and TWP has had all its event code lobotomized.
Much better to stick with the main-stream TWP for S1, IMHO
rbautch
08-04-2005, 01:30 PM
I incorporated a new tcl script into the main enhancements script that will search for and remove MRV/HMO expiration certificates from MFS. If you received your 6.2 image from a Tivo download and then hacked it using the Gunnyman guide, you most likely got theses certificates, which will stop MRV/HMO from working 180 days after the download occurred. If you've already run the enhancements script, then use the attached cert-remover.tcl script. FTP it your Tivo and run it with the command: tivosh cert-remover.tclIf you plan to run the enhancements script, it will prompt you to run the cert-remover automatically. Thanks to willardcpa for identifying this issue here (http://www.tivocommunity.com/tivo-vb/showthread.php?p=3110507&&#post3110507), and to acii for helping me test the script!
edit: If you're unsure if you have the certificates or not, the script will let you know. Or you could search for them using TWP.
Tumminator
08-05-2005, 09:27 AM
Thanks again RBAUTCH great work!
pruffy
08-06-2005, 04:50 AM
rbautch need your help, it seems no matter what i do i cant get hackman to install off of your automated script
here my hyperteminal log
bash-2.02# mount -o remount,rw /
bash-2.02# cd /var
bash-2.02# sh start.sh
Loading channel logo slices...
Backing up existing splash screen...
Replacing splash screen...
cp: /enhancements/new_splash_rcb.png: No such file or directory
mv: new_splash_rcb.png: No such file or directory
Installing new profile with aliases...
Checking for existing profile...
Backing up existing profile to .profile.bak...
Installing new profile with aliases...
installing Tivowebplus (modified for 6.2/7.1) plus several awesome modules,
including Hackman, Channelprefs, Batch Play, Backup, and Manual Record
/var/hack exists, installing TWP there. Patience, please...
mv: /enhancements/TWP_archive.tgz: No such file or directory
tar: TWP_archive.tgz: No such file or directory
rm: TWP_archive.tgz: No such file or directory
Appending your rc.sysinit.author file to run TWP on startup
TRUST ME :)
busybox detected...
Crond binary missing from /busybox, now installing...
mv: /enhancements/crond: No such file or directory
chmod: /busybox/crond: No such file or directory
Existing cron installation detected in /var/spool/cron, skipping cron install...
Installation Complete! Please reboot now..
please help
since i couldnt get twp working with your script im using twp 1.0 final it works but has no hackman included
thanks
PortlandPaw
08-06-2005, 05:56 AM
Does the script set permissions for "find" and "sendkey?" That's usually the most common reason for an installation failure.
rbautch
08-06-2005, 10:11 AM
Thanks Paw, but it looks like a missing TWP archive is the culprit this time. The problem is that your running the wrong script. You have to run tweak.sh, not start.sh. The tweak.sh script untars the rbautch-files archive (where start.sh is), puts everyting in the right places, and launches start.sh. Do not untar the rbautch-files.tgz archive yourself.
To fix this, just delete TWP 1.0, and any files you may have untarred. The only files you should be starting with are tweak.sh and rbautch-files.tgz. You may want to download version 2.0, which removes MRV/HMO expiration certificates from MFS.
bnm81002
08-06-2005, 06:08 PM
You may want to download version 2.0, which removes MRV/HMO expiration certificates from MFS.
where can I download version 2.0? thanks
rbautch
08-07-2005, 12:50 AM
Same place you got the last version. The download was updated yesterday.
rbautch
08-07-2005, 11:11 AM
Now updated with the latest channel logo slice. Has 50 more logos.
ttodd1
08-07-2005, 11:18 AM
Just curious - which TWP modules did you include in your script?
rbautch
08-07-2005, 12:25 PM
Just curious - which TWP modules did you include in your script?Hackman, Channelprefs, Batch Play, Netconfig, Backup, and Manual Record. I'm also going to be adding SteveT's enhanced user interface shortly.
Fofer
08-07-2005, 02:38 PM
Cool, rbautch! I look forward to installing it on my HDVR2 shortly. This is a hack upgrade weekend. :D
Thanks for everything!
beejpowers
08-07-2005, 08:07 PM
The crond module will make it so I can still order pay-per-view? With the phone line attached?
Has anyone verified this? I'd hate to have to pull the drive again... don't get me worng, the hack was relatively fast but my wife gets scarred when the tivo shell is on the kitchen counter. :D
BTUx9
08-07-2005, 08:15 PM
serial cable + changing password = not having to pull drive in 90% of the cases, if done correctly.
rbautch
08-07-2005, 08:30 PM
The crond module will make it so I can still order pay-per-view? With the phone line attached?
Has anyone verified this? I'd hate to have to pull the drive again... don't get me worng, the hack was relatively fast but my wife gets scarred when the tivo shell is on the kitchen counter. :D The crond installation will make sure your unit never makes a regular call to Tivo, which would be bad. The ppv call is a seperate call to DirecTV, which is ok. I haven't tested this myself because I don't have a phone line. Why don't you try it out and report back? Just keep monitoring your system information screen to make sure the "Last Successful" and "Next Scheduled" calls keep getting updated.
BTUx9
08-07-2005, 09:51 PM
FYI TWP 1.2 has been released (and most of the patches/changes were made by rbautch :) )
bnm81002
08-07-2005, 09:53 PM
yup I saw that, unfortunately the threads go by times that are posted otherwise I would have saw the thread on the bottom hence I Deleted my post, thanks
rbautch
08-08-2005, 12:53 PM
I'm helping out on the future Tivowebplus 1.2.1 release also, which will finally integrate a few of the most useful modules.
beejpowers
08-08-2005, 01:04 PM
The crond installation will make sure your unit never makes a regular call to Tivo, which would be bad. The ppv call is a seperate call to DirecTV, which is ok. I haven't tested this myself because I don't have a phone line. Why don't you try it out and report back? Just keep monitoring your system information screen to make sure the "Last Successful" and "Next Scheduled" calls keep getting updated.
OK.
I'll guinea pig this tonight.
When you go into settings->phone->connect to DVR Service... is that calling D* or Tivo. Since it says DVR service, I would think thats tivo... is there a way to force call D* ?
In regards to the "almost there" splash screen, where do you put a new one to install instead of yours (don't get me wrong, I like yours but I like to play :D)
rbautch
08-08-2005, 04:40 PM
OK.
I'll guinea pig this tonight.
When you go into settings->phone->connect to DVR Service... is that calling D* or Tivo. Since it says DVR service, I would think thats tivo... is there a way to force call D* ?
In regards to the "almost there" splash screen, where do you put a new one to install instead of yours (don't get me wrong, I like yours but I like to play :D) Connect to DVR Service is Tivo. Not sure how to force a call to DirecTV other than ordering a PPV. the splash screen is located in /tvbin/AlmostThere.png. Be sure to heed my warnings in post 21 before you try to replace it. I posted my source graphics on the download site to use as a base for new splash screens. Be sure to post your new splash screen here so we all can share!
beejpowers
08-08-2005, 05:30 PM
Connect to DVR Service is Tivo. Not sure how to force a call to DirecTV other than ordering a PPV. the splash screen is located in /tvbin/AlmostThere.png. Be sure to heed my warnings in post 21 before you try to replace it. I posted my source graphics on the download site to use as a base for new splash screens. Be sure to post your new splash screen here so we all can share!
OK,
I have the script installed and am waiting to reboot. My wife is watching the news so it'll be a few. Maybe all night. But I'll let you know about the connect to DVR stuff since she bought a PPV 2 days ago without a phone line...
metrounit9
08-09-2005, 12:43 PM
Quick question from a newb, what's the best way to install version 2.0? Uninstall previous version or install over previous (1.4 I think)?
Thanks
Fofer
08-09-2005, 12:50 PM
Hmm. I've always thought with a hacked DTiVo the best way to order PPV's was over the internet or calling a CST at DTV (yet there's a surcharge for the latter, I think.)
I leave my DTiVo's phone line unplugged.
beejpowers
08-09-2005, 12:55 PM
Hmm. I've always thought with a hacked DTiVo the best way to order PPV's was over the internet or calling a CST at DTV (yet there's a surcharge for the latter, I think.)
I leave my DTiVo's phone line unplugged.
Totally true. But my wife forgot that I hacked the Tivo and told her that she shouldn't buy PPV on a whim...
What really gets me about PPV is that we have 875 DVDs... She could have found something to watch!
As for the hack and see what connects. I installed the script, no sweat. Now I am just waiting for the Tivo to call D*. I hope it will have by the time I get home. It hadn't when I went to bed last night.
rbautch
08-09-2005, 01:24 PM
Quick question from a newb, what's the best way to install version 2.0? Uninstall previous version or install over previous (1.4 I think)?
Thanks Uninstall the old, then reinstall the new.
kramerboy
08-09-2005, 01:30 PM
Now updated with the latest channel logo slice. Has 50 more logos.
Excellent. So, this is a more updated logo set than the logo-67.slice that is out there? If so, that is great news. I've been looking for an updated logo set for a while.
rbautch
08-09-2005, 02:23 PM
Excellent. So, this is a more updated logo set than the logo-67.slice that is out there? If so, that is great news. I've been looking for an updated logo set for a while. Yes, it's got 50 more than logo-67.slice.
bnm81002
08-09-2005, 11:35 PM
I'm helping out on the future Tivowebplus 1.2.1 release also, which will finally integrate a few of the most useful modules.
do you mean version 1.2 that was posted by "davidlallen"? will you incorporate this new version into your enhanced script? thanks
PS-great script once again, also to your hard work as well :)
rbautch
08-10-2005, 09:03 AM
do you mean version 1.2 that was posted by "davidlallen"? will you incorporate this new version into your enhanced script? thanks
PS-great script once again, also to your hard work as well :) David and I started with the TWP version in my script, we stripped out all the add-on modules, made a few tweaks for 7.1, and that became version 1.2. We are now going to add back in a few of the most useful modules (Hackman, Backup, and Channelprefs), which will be released as version 1.2.1 soon. The TWP version in my script will always be the most current release, but with a few of my favorite extra modules added.
Philly Bill
08-10-2005, 09:45 AM
The TWP version in my script will always be the most current release, but with a few of my favorite extra modules added.
rbautch rocks. :up: I can't wait to try this. lol.
fredfillis
08-11-2005, 03:13 PM
The TWP version in my script will always be the most current release, but with a few of my favorite extra modules added.
Excuse my ignorance, but if I re-run your script to get the new version of TWP (plus other tweaks you've mad recently) will the fact that TWP already exists cause any grief? Or do I need to run your uninstall script (from previous install) and then run the new version?
rbautch
08-11-2005, 03:32 PM
Either run the uninstall script, or manually remove the existing TWP installation and manually add the new one that's inside rbautch-files.tgz.
beejpowers
08-11-2005, 06:09 PM
Connect to DVR Service is Tivo. Not sure how to force a call to DirecTV other than ordering a PPV.
OK, I've had it running a few nights now with the phone line attached.
The system updates the call attempts but they all fail while negotiating.
- Run fakecall every night at 3am.
- Reboot your Tivo once/week at 3am. This cleans things out for better performance if you have several hacks running. Also restarts logs, and allows fakecall to reset the last successful call indicator, so your Tivo won't call home (fakecall doesn't update mfs entries without a reboot). This allows you to keep your phone line connected for PPV ordering or CallerID.
So maybe I haven't hit that special night of the week to reboot.
I will try it manually and see if that updates the Connect Attempt...
fredfillis
08-12-2005, 09:46 AM
So maybe I haven't hit that special night of the week to reboot.
I will try it manually and see if that updates the Connect Attempt...
The "special night" is Monday at 3am.
Interestingly, on my DSR7000, any "soft" reboot either from this script (crond), from bash or from TWP generally results in getting stuck at the "welcome" screen. I have to remove / replace the power cord to get the unit to start correctly.
beejpowers
08-15-2005, 11:36 PM
The "special night" is Monday at 3am.
Interestingly, on my DSR7000, any "soft" reboot either from this script (crond), from bash or from TWP generally results in getting stuck at the "welcome" screen. I have to remove / replace the power cord to get the unit to start correctly.
OK. I finally did a "soft" reboot from D*Central and got no changes. It booted fine but I still have in my Sys Info screen:
"Lat Successful Call: June 12...
Next Scheduled: today's date
Is something wrong?
Should I reinstall?
Should I wait until 3AM tonight or is that truly Monday @ 3am not Monday night/Tuesday morning?
rbautch
08-16-2005, 07:32 AM
Probably something in cron not working right. First try to run fakecall.tcl manually from /busybox, and then reboot. Next, check out the logs in /var/spool/cron/cronlogs The scheduled reboot is actually Sunday night/Monday morning at 3am.
beejpowers
08-16-2005, 12:45 PM
Probably something in cron not working right. First try to run fakecall.tcl manually from /busybox, and then reboot. Next, check out the logs in /var/spool/cron/cronlogs The scheduled reboot is actually Sunday night/Monday morning at 3am.
Will try tonight...
Anything in particular I should be looking for in cronlogs?
On a similar note/previously mentioned note:
I installed the tweak script to my DVR80 last night, to see if things would act differently there. I ran the tweak.sh, rebooted, went to bed.
When I got up, the Tivo was hanging but not at welcome; it was at acquiring satellite data..........9%
I just thought that it was wierd that it made it through the boot and then hung when it was handing data. I pulled the cord and started over, worked fine when I left.
rbautch
08-16-2005, 01:23 PM
In the cronlogs, first check out the file called cron.test.out. The file should contain several lines that are created every 5 minutes (and subsequently get deleted every hour). This verifies that crond is reading your crontab properly. Next, open CRONLOG-MAIN and see if there are entries for the various tasks cron is supposed to do, like restarting TWP, rebooting, etc. I've attached my logs, so you can see what they should look like.
I'm unsure what could have cause your hang on acquiring data. Perhaps one of your partitions is getting full. At the bash prompt, type "df" to see how much space is left on each partition (hda9 is /var in case you didn't know). I noticed my root partition is filling up, so I may start storing things in /var instead. By the way, when /var gets too full, Tivo just wipes it clean. That's one of the reasons I initially created this script - to restore things very quickly if /var gets hammered.
beejpowers
08-17-2005, 11:41 PM
In the cronlogs, first check out the file called cron.test.out. The file should contain several lines that are created every 5 minutes (and subsequently get deleted every hour). This verifies that crond is reading your crontab properly. Next, open CRONLOG-MAIN and see if there are entries for the various tasks cron is supposed to do, like restarting TWP, rebooting, etc. I've attached my logs, so you can see what they should look like.
I'm unsure what could have cause your hang on acquiring data. Perhaps one of your partitions is getting full. At the bash prompt, type "df" to see how much space is left on each partition (hda9 is /var in case you didn't know). I noticed my root partition is filling up, so I may start storing things in /var instead. By the way, when /var gets too full, Tivo just wipes it clean. That's one of the reasons I initially created this script - to restore things very quickly if /var gets hammered.
First things first...
I get this when I run fakecall
bash-2.02# fakecall.tcl
Error: FakeCall for Version 6.2-01-2-151 is not supported.
bash-2.02#
But my logs look identical to yours.
cron.test.out runs every 5 minutes
cornlog-main says start TWP started, stopped, fakecall made. :confused:
this is my HDVR2. does anyone have this script working on their HDVR2? Did I screw it up somehow? I touched nothing! I swear... :D
by the by...
this is what I get on my SDDVR80
bash-2.02# /busybox/fakecall.tcl
Error: FakeCall for Version 6.2-01-2-351 is not supported.
bash-2.02#
UPDATE!!!
Per the other forums uber AlphaWolf... I changed line 78 to read differently. I don't have his permission to post his code change so I don't want to step on any toes. But go there, search fakecall 6.2 and read the first post. it says specifically what the code does read, what it should read and what line it is on...
Anyways. I did that, reinserted it, dos2unixed it (just in case) and voila, it said it ran. We'll see :up: :up: :up:
rbautch
08-18-2005, 06:40 PM
UPDATE!!!
Per the other forums uber AlphaWolf... I changed line 78 to read differently. Shame on Gunnyman for not including this in his instructions. I'm surprized anyone even got their Tivo working without successfully running fakecall, unless the superpatch takes care of it. Beej, make sure you reboot before you check the "last successful call" status.
BTUx9
08-18-2005, 06:54 PM
Shame on Gunnyman for not including this in his instructions. I'm surprized anyone even got their Tivo working without successfully running fakecall. Beej, make sure you reboot before you check the "last successful call" status.
I hope that comment is facetious... His guide is for directivos and superpatch stops the nag messages, so fakecall is NOT needed (unless you intend to connect the phone line, in which case, you're on your own... why complicate things unnecessarily for the majority)
kramerboy
08-18-2005, 07:24 PM
I hope that comment is facetious... His guide is for directivos and superpatch stops the nag messages, so fakecall is NOT needed (unless you intend to connect the phone line, in which case, you're on your own... why complicate things unnecessarily for the majority)
Also, the tivotools.tar that is available at the "other" place includes an updated (as of 08/04/2005) fakecall.tcl that works with both 6.2 and 7.1. So, anyone following the guide should be using an updated fakecall.
lancer123
08-18-2005, 07:44 PM
I tried to download the script via the link but it appears down. Is there something wrong with the link?
rbautch
08-18-2005, 07:52 PM
I hope that comment is facetious... His guide is for directivos and superpatch stops the nag messages, so fakecall is NOT needed (unless you intend to connect the phone line, in which case, you're on your own... why complicate things unnecessarily for the majority) Of course it was. Nags are only part of the equation, although certainly the most important. The other is resetting the "Last Successful" Service Connection in MFS, which only happens when you run fakecall and reboot regularly. Resetting last successful service connection is necessary if you ever plan to use a caller ID hack. It's true most people will never use caller ID, but perhaps more will when/if I encorporate it into my script. For the few who do decide to use caller ID thinking they're tivos are safe, the absence of a valid fakecall file could be disastrous.
rbautch
08-18-2005, 07:55 PM
I tried to download the script via the link but it appears down. Is there something wrong with the link?My web host appears to be having some trouble. Here's the message I get: Engineers are working very hard to restore your site. Thank you for your patience. I'm sure they got their best people on it. :rolleyes:
BTUx9
08-18-2005, 08:01 PM
Because making fakecall effective requires regular reboots, have you looked into the option of changing the phone# instead (to an invalid #)? That seems a safer alternative, since it doesn't rely on a program being run consistently (and you don't have the issue of reboots possibly interrupting recordings).
rbautch
08-18-2005, 08:48 PM
Because making fakecall effective requires regular reboots, have you looked into the option of changing the phone# instead (to an invalid #)? That seems a safer alternative, since it doesn't rely on a program being run consistently (and you don't have the issue of reboots possibly interrupting recordings). That's a good idea, and should work to prevent a disastrous call home. However, the Tivo will still pick up the phone and attempt to call during random times during the day, which would be annoying if you happen to be on the phone talking to Ed McMahon making arrangements to receive your $1 million grand prize. The chances of this happening to me are far greater than one of my recordings being interrupted at 3am on Sunday when my Tivo does it's regular reboot. ;)
One option is to run phonereset- it prevents a successful call out. You can edit that script to prevent the tivo from "trying" to dial while you are on the phone as well. The perfect solution would be a version of fakecall which did not require a reboot.
bnm81002
08-19-2005, 12:06 PM
My web host appears to be having some trouble. Here's the message I get: I'm sure they got their best people on it. :rolleyes:
I checked the site and it's working fine for me :p
nice job once again rbautch :up: :up: :up:
PS-do you include the scripts from over there at DDB? I hope that you do, then it's easier to include the hacks from one place/source than from several places ;)
Gunnyman
08-21-2005, 08:30 AM
Of course it was. Nags are only part of the equation, although certainly the most important. The other is resetting the "Last Successful" Service Connection in MFS, which only happens when you run fakecall and reboot regularly. Resetting last successful service connection is necessary if you ever plan to use a caller ID hack. It's true most people will never use caller ID, but perhaps more will when/if I encorporate it into my script. For the few who do decide to use caller ID thinking they're tivos are safe, the absence of a valid fakecall file could be disastrous.
I Thought about putting fakecall in there actually.
But once I do that, someone will complain that I don't explain how to get tserver,vserver et all working as well.
:D
If my guide had started with IMAGING a new HD with 6.2 then hacking it, then yeah I would have done it because you can't get thru guided setup without a landline unless you have fakecall.
Once average joe user is to the point with wanting to get elseed working, I would hope they would put two and two together and realize they need SOME kind of mechanism to prevent their unit from dialing out.
Hey at LEAST I put the route stuff in. :p
Gunnyman
08-21-2005, 08:34 AM
Hey Rbautch,
can you add some lines to check for /tivo-bin as well as /busybox?
some instructions out there have people put AW's tools in /tivo-bin while others use /busybox.
rbautch
08-21-2005, 10:08 AM
Sure, I'll look into including that in the next version sometime this week. I don't think it's as trivial as is sounds though. I'll have to edit the crontab on the fly to point to the correct location depending on where crond is found. I suppose I could just move crond from /tivo-bin to /busybox if it's found there. Crond is a big file, so regardless, this will save space if nothing else.
I was interested to learn that fakecall is only required for the initial setup if you start with a 6.2 image rather than a download. Since I hacked all my tivos with images, I was confused here (http://www.tivocommunity.com/tivo-vb/showthread.php?p=3161144&&#post3161144) how people could get through the initial setup without fakecall. I'm assuming that the superpatch has nothing to do with getting through the initial setup.
Gunnyman
08-21-2005, 10:18 AM
right.
Fakecall's purpose now is to get thru guided setup, and prevent call outs so people can keep a phone line hooked up for ELSEED or PPV ordering.
As a test, I have one of my units set up, with no phone line, and has only run fake call once (wehnm I set it up). Months later, still no nags.
mgmrick
08-21-2005, 12:40 PM
All my tivo's are hacked now. The one thing missing is caller id. I want to hook up the phone line and add caller id. However I don't want tivo calling mother ship. Do I change the phone number setup, to tell my tivo to dial the area code so that the call won't go thru? Or run the updated fake call file? Would I need to run fake call just once?
Just a tad confused on the proper way to go
Thanks
Rick
rbautch
08-21-2005, 12:48 PM
If you use the enhancement script, fackecall will be run every night and your tivo will be rebooted once per week. This will continually reset the "last successful" service connection, ensuring that your tivo will never see the need to call in. Before you hook up your phone line, confirm fackecall.tcl works by running it with "tivosh fakecall.tcl". If it doesn't, replace it with the version that's modified for 6.2. In the system information screen on your tivo, keep an eye on the Last Successful Service Connection to make sure the date is updated every Sunday night at 3:20am.
mgmrick
08-21-2005, 01:44 PM
The enhancement script should have put the updated fakecall.tcl file in ? I thought that I had that installed properly. However when I telneted over and ran fakecall.tcl I get error message that fakecall.tcl is not supported in 6.2. I could just copy over the new fakecall.tcl and run it once, but if I don't have the enhancement script running right it will not run every sunday night. Running fakecall.tcl once would work unless I lost power then I would need to rerun it or my tivo's or my tivo's would call the mother ship ?
Wait the enhancement script must be right, as I have the new splash screen and cert's are removed. So what setup is not right as I have the old fakecall.tcl?
Thanks
Rick
rbautch
08-21-2005, 04:21 PM
The enhancement script should have put the updated fakecall.tcl file in ? I thought that I had that installed properly. However when I telneted over and ran fakecall.tcl I get error message that fakecall.tcl is not supported in 6.2. I could just copy over the new fakecall.tcl and run it once, but if I don't have the enhancement script running right it will not run every sunday night. Running fakecall.tcl once would work unless I lost power then I would need to rerun it or my tivo's or my tivo's would call the mother ship ?
Wait the enhancement script must be right, as I have the new splash screen and cert's are removed. So what setup is not right as I have the old fakecall.tcl?
Thanks
Rick The enhancement script does not install an updated fakecall.tcl file (for good reason), so you have to take care of that yourself. Copy over the new fakecall file, and everything should be good. Just to be sure, type "ps" at the bash prompt, and verify that /busybox/crond is one of the processes that are running. It should be near the end of the list. If it's not, then reboot, and it should be running. Check your system information screen tomorrow morning to see if the "last successful" call date was reset.
tsunami
08-21-2005, 06:34 PM
Wow, I was in a panic cause I couldn't get my TiVO to call out for that first call for DVR service. Everything else was running ready to go, and then, I was directed to this script.
Kuddos, you should be very proud of a top notch product. You got a PayPal donation site setup yet?
Love everything about it.
Thanks so much.
mgmrick
08-21-2005, 08:17 PM
Ok thanks Rbautch
tsunami
08-22-2005, 07:15 AM
Quick question on the TivoWebPlus that installs with this script.
Has anybody gotten to where they can get to it from outside of their network? Say at work.
I have spoken with Belkin (my router) tech support with no success. As a matter of fact, I cannot even get to my router's homepage from outside of my network. I use the IP address the modem is currently on but that doesn't work.
Gunnyman
08-22-2005, 08:13 AM
you have to open up port 80 on your router, and hope your ISP isn't blocking it.
If your ISP DOES block port 80 you can tell TWP to use a different port and open THAT one up in your router.
rbautch
08-22-2005, 09:42 AM
I prefer a more secure way to handle this, but you need to leave a PC running at home. I use Windows XP's remote access feature to access my home PC, and then use TWP from there. You need XP Professional to do this. If you don't have XP Pro, you can also use a free 3rd party secure remote access tool. I've tried several of these, and have found the best of the bunch to be logmein (https://secure.logmein.com/go.asp?page=home_free_pro). Now, get back to work!
Gunnyman
08-22-2005, 10:39 AM
oh I completely forgot about using something like Tight VNC to accomplish this
good call.
Fofer
08-22-2005, 10:44 AM
I have the Orenosp SSL/HTTP proxy server installed on the junker PC I got for these sorts of lil projects.
The proxy was fairly easy to set up, and provides extra security for TiVoWeb while still allowing me to access it via a standard web browser:
http://www.tivohelp.com/archive/tivohelp.swiki.net/83.html
Tumminator
08-22-2005, 12:15 PM
Ok, what exactly is the deal with the fakecall.tcl file... I used Gunnys guide to *alter* my 6.2 Tivo, when I run the script it states that it is not supported in 6.2.... Do I need to replace/modify this file? I am running ncid for caller ID, so I have had a phone line plugged in for about a week and a half now. Please post or PM me with the instructions to correct this if it needs to be done. Thanks.
Gunnyman
08-22-2005, 12:37 PM
the new fakecall (or mods to the old one) can be found at DDB
rbautch
08-22-2005, 12:45 PM
It's now possible for me to post fakecall here. This one has been modified for 6.2 (courtesy of Alphawolf). Just replace the current one that's in /busybox. The next version of the script will install this automagically.
Gunnyman
08-22-2005, 12:53 PM
and the script just gets better and better :)
Fofer
08-22-2005, 01:13 PM
:up:
Thanks, rbautch! Your script played a part in making my recent hacking experiences a total joy.
Oh yeah, Gunnyman too. :cool: :D
tsunami
08-22-2005, 02:09 PM
How would one go in and change the default weekly restarts in the script. Mine powered off last night at midnight and missed a couple of shows. Sunday going into Monday.
Would that have been from the script or something else?
I would like for it to restart at 2 or 3 AM.
Mike
BTUx9
08-22-2005, 02:26 PM
How would one go in and change the default weekly restarts in the script. Mine powered off last night at midnight and missed a couple of shows. Sunday going into Monday.
Would that have been from the script or something else?
I would like for it to restart at 2 or 3 AM.
Mike
the file is /var/spool/cron/crontabs/root
if you edit it, most of the lines have "9" as the 2nd number... changing that to 10 would make the command run an hour later... you get the idea.
tsunami
08-22-2005, 04:52 PM
Thanks BTU, by the way, love your town.
What is that 9 based on? Nine from GMT?
Mike
rbautch
08-22-2005, 05:49 PM
Yes GMT. So 9 = 3am central standard time (here in Chicago). During daylight savings, it will reboot at 4am Central, or 5am Eastern. Check out the log located in /car/spool/cron/cronlogs/CRONLOG-MAIN, and make sure the times are accurate. I assume New England is your actual location, right?
tsunami
08-22-2005, 07:41 PM
Here is my confusion, at 2330 Eastern last night, my recording history shows that a show didn't record because "power was off". So I assumed it was that reboot.
But figuring out the time 9 here on the East coast would be 0130. So what do you think was going on there?
Could the clock have been off on the TiVO since it had only been up a few hours or something else?
I changed all the nines in the root (log below) via metapad to 11's and then ftp'd it back over. That OK? Then I guess tomorrow morning I will see the results.
Mon Aug 22 09:14:03 UTC 2005 TWP stopped
Mon Aug 22 09:15:02 UTC 2005 TWP started
Mon Aug 22 09:18:02 UTC 2005 logs wiped
Mon Aug 22 09:20:02 UTC 2005 fakecall made
Mon Aug 22 09:22:03 UTC 2005 cron.test.out deleted
Mon Aug 22 09:22:03 UTC 2005 cronlog deleted
BTUx9
08-22-2005, 07:52 PM
Actually, EDT is UTC-4, so the 9 SHOULD be 5 am on the east coast during DST (as rbautch said above).
Check your tverr log for anything suspicious (random reboots are a possibility with 6.2 on some hardware).
BTW, the 9 in my nick is not significant :P
What part of NE are you in?
tsunami
08-22-2005, 07:59 PM
New Boston, NH 15 miles due west of Manchester.
See anything that looks fishy (little Gloucester humor).
Aug 22 09:27:31 (none) ShmemdLoader[119]: Loading Resource pvr/lib/resources/PvrConstantsDocument.brf from FsId 21347
Aug 22 11:38:04 (none) TmkMediaswitch::Trace[234]: BOGUS EVENT LENGTH: 1823696 SID:0xe0
Aug 22 21:50:04 (none) ShmemdLoader[119]: Loading Resource pvr/lib/resources/PvrConstantsDocument.brf from FsId 21347
BTUx9
08-22-2005, 08:27 PM
None of those log events look like something to cause a reboot/hang.
It wouldn't be a clock issue, because dtivos pull the time from the satellite, IIRC.
It really is suspicious, because even if a reboot happened during that time, tivo usually just has a gap in the recording... for it not to have recorded at all (and say power was off) is more likely a hang... You may want to check the other logs (and check before the time) to see.
dcstager
08-23-2005, 10:15 AM
My Tivo does not have the dos2unix program: "command not found" when I try to run it. Is there a separate source for this program?
tsunami
08-23-2005, 10:17 AM
Hey guys, if I want to run fakecall.tcl on my TiVO manually I must use the command
tivosh fakecall.tcl
is that addressed via the script or do I need to edit my rc.sysinit.author?
kramerboy
08-23-2005, 01:06 PM
My Tivo does not have the dos2unix program: "command not found" when I try to run it. Is there a separate source for this program?
dos2unix is part of the tivotools package. If you have a busybox folder, it is probably located in there.
kramerboy
08-23-2005, 01:07 PM
Hey guys, if I want to run fakecall.tcl on my TiVO manually I must use the command
tivosh fakecall.tcl
is that addressed via the script or do I need to edit my rc.sysinit.author?
edit your author file. that way it will automatically run when your TiVo reboots.
rbautch
08-23-2005, 01:30 PM
Fakecall will also run every night as part of the cron installation (if you chose to install cron). Since I don't have to use the "tivosh" command to run fakecall, I didn't include that in the crontab line that runs fakecall. I have since fixed this, and will include it in the next version of the script. To fix it yourself, edit line 30 of the following file to add "tivosh" before fakecall.tcl:
/var/spool/cron/crontabs/root
Editing the author file will also work, but fakecall won't be run until late in the reboot process when the author file is called. Ideally you want it to run before the reboot. I'm not sure where it comes up in the boot cycle, so it may be fine, but you might want to edit your crontab (root) just to be sure.
The next script version coming later this week will have a few more useful goodies, so you may prefer to abondon the current installation and wait for the new one.
tsunami
08-23-2005, 01:43 PM
Fakecall will also run every night as part of the cron installation (if you chose to install cron). Since I don't have to use the "tivosh" command to run fakecall, I didn't include that in the crontab line that runs fakecall. I have since fixed this, and will include it in the next version of the script. To fix it yourself, edit line 30 of the following file to add "tivosh" before fakecall.tcl:
/var/spool/cron/crontabs/root
Editing the author file will also work, but fakecall won't be run until late in the reboot process when the author file is called. Ideally you want it to run before the reboot. I'm not sure where it comes up in the boot cycle, so it may be fine, but you might want to edit your crontab (root) just to be sure.
The next script version coming later this week will have a few more useful goodies, so you may prefer to abondon the current installation and wait for the new one.
Do you mean line 20? That is the one with fakecall referenced. My last line is 25.
Also, when you put that updated script out is it necessary to run the uninstall included with this one?
rbautch
08-23-2005, 03:43 PM
I guess it depends on what version you have, but it's the line that starts like this: 20 9 * * * fakecall.tclYou will need to run the uninstall script before installing the new version. I was going to make a patch script, but there's so many changes, it was getting too complicated for me to test properly. The uninstall script hasn't changed much since the first version, so running whichever one you have is fine.
tsunami
08-23-2005, 04:09 PM
Can't wait, you da man.
Fofer
08-24-2005, 01:28 AM
David and I started with the TWP version in my script, we stripped out all the add-on modules, made a few tweaks for 7.1, and that became version 1.2. We are now going to add back in a few of the most useful modules (Hackman, Backup, and Channelprefs), which will be released as version 1.2.1 soon. The TWP version in my script will always be the most current release, but with a few of my favorite extra modules added.
May I also suggest Reorder Season Passes (http://www.tivocommunity.com/tivo-vb/showthread.php?p=1532393&&#post1532393) as a great add-on module?
It's much easier and more elegant than TWP's built-in mechanism for reprioritizing SP's. It would be great if this were included, or better yet, used in place of the built in command.
dcstager
08-24-2005, 09:23 AM
dos2unix is part of the tivotools package. If you have a busybox folder, it is probably located in there.
Don't have it. Any other source you can point me towards?
tsunami
08-24-2005, 10:28 AM
try to google tivotools.tar
tsunami
08-24-2005, 10:48 AM
Fakecall will also run every night as part of the cron installation (if you chose to install cron). Since I don't have to use the "tivosh" command to run fakecall, I didn't include that in the crontab line that runs fakecall. I have since fixed this, and will include it in the next version of the script. To fix it yourself, edit line 30 of the following file to add "tivosh" before fakecall.tcl:
/var/spool/cron/crontabs/root
Editing the author file will also work, but fakecall won't be run until late in the reboot process when the author file is called. Ideally you want it to run before the reboot. I'm not sure where it comes up in the boot cycle, so it may be fine, but you might want to edit your crontab (root) just to be sure.
The next script version coming later this week will have a few more useful goodies, so you may prefer to abondon the current installation and wait for the new one.
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?
Fofer
08-24-2005, 11:34 AM
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?
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?)
rbautch
08-24-2005, 12:14 PM
Don't have it. Any other source you can point me towards?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"
rbautch
08-24-2005, 12:34 PM
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?
If perhaps /busybox is not in your PATH, try running it with 20 11 * * * tivosh /busybox/fakecall.tcl; echo "`date` fakecall made" >> If you really want to get nuts, try this */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.
rbautch
08-24-2005, 12:38 PM
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?)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.
beejpowers
08-24-2005, 01:07 PM
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.
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
beejpowers
08-24-2005, 01:09 PM
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.
rbautch
08-24-2005, 01:51 PM
I will post a notice and highlight the changes. Beej, is fakecall running from cron successfully for you?
Gunnyman
08-24-2005, 01:57 PM
Russ,
This script of your is incredible. I'm ready to assist with that project we spoke about last month.
tsunami
08-24-2005, 02:29 PM
If perhaps /busybox is not in your PATH, try running it with 20 11 * * * tivosh /busybox/fakecall.tcl; echo "`date` fakecall made" >> If you really want to get nuts, try this */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.
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
rbautch
08-24-2005, 03:05 PM
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.
rbautch
08-24-2005, 03:07 PM
Russ,
This script of your is incredible. I'm ready to assist with that project we spoke about last month.Awesome. I'll finish testing my lastest version, and maybe we can get started next week.
tsunami
08-24-2005, 03:19 PM
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.
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.
rbautch
08-24-2005, 03:54 PM
Try another reboot now. If no luck, try this:
*/2 * * * * cd /busybox; tivosh fakecall.tclThen kill crond, verify that it was killed with ps, start it again, verify that it restarted, then reboot again.
tsunami
08-24-2005, 05:25 PM
Try another reboot now. If no luck, try this:
*/2 * * * * cd /busybox; tivosh fakecall.tclThen kill crond, verify that it was killed with ps, start it again, verify that it restarted, then reboot again.
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
rbautch
08-24-2005, 05:37 PM
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.
tsunami
08-24-2005, 05:42 PM
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.
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
rbautch
08-24-2005, 10:57 PM
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?
beejpowers
08-24-2005, 11:37 PM
Beej, is fakecall running from cron successfully for you?
I assume it is running from crond because the logs say it ran it and the date is updating. I will check again after Sunday nights reboot.
I may get a chance to force a reboot tomorrow night...
tsunami
08-25-2005, 12:01 AM
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?
I ran your longfakecall manually and it shows up in three PID's.
Running crond it does not show up.
I have made sure that it is the only version on the TiVO
Mike
tsunami
08-25-2005, 08:21 AM
OK, everything is working fine now. Woke up to a successful call.
I ran uninstall. I posted last night that it wouldn't run right (but don't see that post this morning), hitting Y gave unknown command message. So I edited the uninstall, by copying the uninstall commands and pasted them to ELSE so that worked fine.
Edited root with VI and it is working.
Now I need to try it on the other unit.
Thanks for your guidance.
Mike
beejpowers
08-25-2005, 12:29 PM
Russ,
This script of your is incredible. I'm ready to assist with that project we spoke about last month.
Hmmmm... you 2 working together?
It will be glorious
Will it? :D
rbautch
08-25-2005, 12:38 PM
Shhhhhhh.... It's a surprise. ;)
rbautch
08-25-2005, 07:40 PM
Please do not ask questions or even mention my scripts on DDB. I like to think that I've given decent support for any script issues here on TCF. Thanks...
Human123
08-25-2005, 10:43 PM
You have!!!
Thanks for the efforts...
rbautch
08-26-2005, 10:38 PM
I gave the enhancement scripts a major overhaul over the past few weeks. The most significant addition is the option to make automatic weekly backups of your season passes and wishlists. If you’ve ever had to re-enter them from scratch, you’ll appreciate the usefulness of this feature. Here’s a quick list of new features. See the original post for details.
1. Makes a one-time instant backup of season passes and wishlists.
2. Appends your crontab to make a weekly backup of your season passes and wishlists.
3. Installs a slightly improved “almost there” splash screen. Also allows you to manually install any of these (http://www.mastersav.com/Tivo_Splash2.html) other splash screens.
4. Replaces fakecall.tcl with a modified version that works with 6.2.
5. Adds or removes Showcases and Yellow Stars.
6. Updates the profile to easily edit the crontab.
7. Removes HMO/MRV expiration certificates that could otherwise stop HMO/MRV from working a few months from now (added in version 2.1).
If you installed a previous version of the enhancement script, run the uninstall script first, and then the new version 2.2 script. The uninstall.sh script that comes with version 2.2 will remove any previous version. I removed the interactive features for those who had CRLF issues with other uninstall scripts.
mgmrick
08-27-2005, 08:50 AM
Thanks Rbautch and any others that have worked on this with you
Rick
dcstager
08-27-2005, 09:00 AM
I got the script to run, but noticed that there was a "file not found" error when the script tried to change the "Almost There" screen. I still have my old "Almost There" screen. Any ideas what I did wrong?
rbautch
08-27-2005, 09:14 AM
Not sure what happened, but you can manually copy the /enhancements/new_splash_rcb.png to /tvbin, and then rename it to AlmostThere.png. The error may have been caused when it tried to back up your old splash screen, not when it installed the new one. You might try to FTP the current AlmostThere.png file to your PC and see if the new one is already there.
tsunami
08-27-2005, 09:23 AM
Using puttytel and installing the script I got all sorts of errors, so I ran it from telnet using your Win XP SP2 tips.
Installed fine, you might need to add a note that with XP2 it is best to run from telenet with the existing instructions.
Thanks for all your work and support.
Fofer
08-27-2005, 10:23 AM
Just updated my two HDVR2's without much issue. Added back my TWP tweaks and updated my rc.sysinit.author file and now I'm back in business.
Thanks for the great script, rbautch!
rbautch
08-27-2005, 10:37 AM
Using puttytel and installing the script I got all sorts of errors, so I ran it from telnet using your Win XP SP2 tips.
Installed fine, you might need to add a note that with XP2 it is best to run from telenet with the existing instructions.
Thanks for all your work and support.Does puttytel have any settings for CR/LF? In AbsoluteTelnet, it's under VT Settings, and I have to select the option that "Enter" sends the "CR" not "CR/LF". The issue is how various telnet clients interpret the "enter" or "return" at the end of each line. We want carriage return, not carriage return/line feed.
edit: I found a puttytel changelog on google that said the following: Pressing Return in a Telnet session now sends Telnet NL instead of Telnet CR (in raw data, that's CR-LF not CR-NUL; ^J continues to send just LF). Unix telnetds should not notice any difference; others might suddenly start working. Patch due to Robert de Bath.
This appears to be the problem. See if there's a setting to change it back to CR.
tsunami
08-27-2005, 02:00 PM
Might be a good idea to just recommend all XP SP2 users to just go with the telnet instructions. It would make it easier for all (including you answering questions).
Mike
bengalfreak
08-27-2005, 03:06 PM
I have a question rbautch. I followed the Dellanave guide to upgrading to 6.2 via slices on one of my DTivos. This guide has you place tivotools.tar utilities in a directory called /tivo-bin instead of /busybox. Would that screw up the installation of your script?
rbautch
08-27-2005, 03:11 PM
No that's fine, but the script will create a busybox directory for you and copy a new crond binary in there, which takes up extra space. To save space, just delete crond from the /tivo-bin directory. Gunnyman suggested I modify the script to look for this particular configuration, and I'll do that for the next release.
bengalfreak
08-28-2005, 05:06 AM
Great, thanks.
bengalfreak
08-28-2005, 04:00 PM
rbautch,
after installing your script, everything appears to be working swimmingly except for the channel logos. Before, I had a couple of logos in my Now Playing list. Now I have no logos whatsoever in either the NP list or the guide banner. Any ideas?
rbautch
08-28-2005, 04:25 PM
Try manually loading the logo slice files by first extracting two files from the rbautch-files.tgz archive...dbload30.tcl and LG-standard-v193.slice. FTP them to your Tivo, and load the slice file with:
tivosh dbload30.tcl LG*
You should get an error message that looks like: 28 Aug 21:17:48 ntpdate[22583]: no server suitable for synchronization found
while executing
"exec /bin/ntpdate -bu 127.0.0.1"
(file "dbload30.tcl" line 34)...which can safely be ignored.
Human123
08-28-2005, 04:46 PM
I just installed your script on one of my Tivos' and it went flawlessly. Very nice job. As the above poster indicated I also only have a few logos. Will is take time for them to come in or should they be there right away?
I had a question on TWP. I understand that the script auto installs and starts it. My question is that in the past when I manually start it, one of the lines says that it is making the root read/write. Does yours do this? I know it installs in var so it shouldn't need to make the root read/write and I understand there are dangers by leaving your root read/write when it does not need to be.
Thanks
rbautch
08-28-2005, 05:09 PM
After a reboot, the logos should be there right away.
When my script lauches, it mounts the root file system as read-write. It only installs TWP, but does not start it (well, not directly anyway). Instead, it appends your author file with a line that calls a newly created short script called TWPrun.sh, which actually starts TWP when you reboot. When my script finishes, it mounts your directory read-only again, so it's safe to reboot. I think the line you see is Hackman mounting read-write so it can create some config files. Remember, you can use your new profile aliases to switch between read-only and read-write, just by typing "ro" or "rw" from bash.
Human123
08-28-2005, 05:27 PM
Thanks,
I am going to try your slice suggestion above to get the logos, but wanted to know where I should ftp the two files? To the enhancements directory? Or /hacks where tweaks.sh resides?
The reason for the question is I want to stay as close as possible to your original script so the uninstall would still get everything.
Thanks
bengalfreak
08-28-2005, 05:41 PM
Try manually loading the logo slice files by first extracting two files from the rbautch-files.tgz archive...dbload30.tcl and LG-standard-v193.slice. FTP them to your Tivo, and load the slice file with:
tivosh dbload30.tcl LG*
You should get an error message that looks like: 28 Aug 21:17:48 ntpdate[22583]: no server suitable for synchronization found
while executing
"exec /bin/ntpdate -bu 127.0.0.1"
(file "dbload30.tcl" line 34)...which can safely be ignored.
I did as you said and got exactly the error shown above. But even after a reboot, I still have no logos whatsoever.
Edit: Actually, there was one small difference in the error I got. After ntpdate, the number in the brackets is 861 instead of 22583.
rbautch
08-28-2005, 05:52 PM
The only other think I can think of is to try the old logo slice (logo-67.slice). If you still have an old rbautch-files.tgz you can get it from there, or else download it from DDB. One more obvious thing, but I have to ask....logos don't show up next to folders in NP, you have to open the folders to see the actual listing.
Human123
08-28-2005, 06:12 PM
Doh!!!
I can't believe everything was in a folder...
Thanks again
bengalfreak
08-29-2005, 04:36 AM
The only other think I can think of is to try the old logo slice (logo-67.slice). If you still have an old rbautch-files.tgz you can get it from there, or else download it from DDB. One more obvious thing, but I have to ask....logos don't show up next to folders in NP, you have to open the folders to see the actual listing.
Geez, what a freakin' idiot I am. I was checking the Now Playing list and the guide. Everything in NP was in a folder and of course the logos show up on the info screen, not the guide. I apologize profusely for wasting your time. I thought I knew alot about the workings of my TiVo. Guess not. Thanks again Rbautch. I'll just sit over here and keep my mouth shut for a while. :o
rbautch
08-29-2005, 07:40 AM
No problem. My own stupidity has occasionally caused a drive pull or a complete Tivo meltdown.
marklyn
08-29-2005, 09:13 AM
I have recently purchased the PTVnet CD for my HDVR2 system with the TivoWebPlus PTVupgrade - v1.1-pre2 with mods.
Am I safe in upgrading or is it not worth upgrading to this version?
One more question... if I do upgrade do I need to edit the file that has my local network settings first so that I can 'talk' to my HDVR2 after the files are upgraded and run?
regicat
08-29-2005, 10:02 AM
First, a big THANKS to rbautch! For Marklyn: I did the same thing. Right after I used pvtnet (which made USB2/telnet/ftp very easy) rbautch came out with his brilliant script. Here is what you need to do:
1. If you did not install ptvnet, then install it but do not install tivoweb when asked. Make sure to NOT allow ptvnet to change phone setting. In other words, only use it for USB2/telnet/ftp.
If you already installed ptvnet with tivoweb then do these steps:
2. Telnet into tivo and make sure FLAG_SWAP PHONE is ON. You do this by typing "FLAG_SWAP PHONE" and looking at the results. Each time you enter it it will swap ON/OFF. If it's OFF then cron will be started twice from rc_sysinit_author.
3. Make SURE FLAG_SWAP TIVOWEB is OFF. Otherwise, the PRE2 will start BEFORE the new one (which is newer and has more modules).
You can see the flags in /init/ptv_flags.
After that follow the install for tweak.sh, that's it. It worked everytime for me on 2 HDVR2s. BTW, if you upgrade tweak.sh make sure you uninstall before ftping the new files. The uninstall moves the old files from /enhancements to /. I did that after I ftp'd the new tweak files and they were overlaid with the old ones.
If you have more than 1 tivo you can then add the mrv patch which was the reason I did all this in the first place. Before ftping I edited out the 2 extra patches (30 second skip, etc). That was my preference.
Once ptvnet gets your networking working there is nothing to do, these patches do not affect network settings.
rbautch
08-29-2005, 10:03 AM
Marklyn, I'm having trouble understanding what you're trying to accomplish. Have you already hacked your Tivo to accesss to it over your network, or is that what you're trying to accomplish now? Or are you just trying to add Tivowebplus to an already hacked Tivo?
rbautch
08-29-2005, 10:16 AM
Now I get it (I think). Thanks regicat. I gather the ptv disk is a pre-hacked image with TWP already installed. If you run my script, I would suggest deleting the old Tivowebplus installation to save on space, and manually editing your rc.sysinit.author file to remove any reference to calling it up. I don't know where PTV puts the TWP installation, but after running my script, you can find it by typing "find tivoweb" at bash. If they put it in var, and var gets too full, your Tivo will wipe the var directory and destroy any hacks you have stored there, including the Tivowebplus installation installed by the script.
marklyn
08-29-2005, 10:18 AM
What I think I'm doing is 'upgrading' what I already have (hacked). I guess I'm assuming that the tivowebplus version I use (v1.1-pre2 with mods) is not as current as your version. I am particularly interested in the season passes backup module that is in your version and that's one of the reasons why I am interested in 'upgrading' what I already have.
I just wanted to be sure that since I already have a hacked 6.2 version on my HDVR2 that I didn't need to de-install what I have in favor of putting your version on.
Forgive me for not using the correct terms. I'm new at this and I'm reading as much as I can but it still escapes me in understanding the differences between tivoweb, tivowebplus and apparantly different flavors of these programs. It sounds to me like your current version of software is very similar to what I have except there appears to be more features there than what I have now.
thanks
regicat
08-29-2005, 10:20 AM
rbautch, thanks so much for you effort and this great script! As you see from my post above:
"if you upgrade tweak.sh make sure you uninstall before ftping the new files. The uninstall moves the old files from /enhancements to /. I did that after I ftp'd the new tweak files and they were overlaid with the old ones."
Just an idea: to make things more idiot-proof, the uninstall script could issue a message if it is about to overlay a file in /. It would have saved some time trying to figure out why nothing happened after the upgrade to 2.2. Yes it it my fault but thought you should know... I installed the pre 2.2 and upgraded to 2.2 and both worked flawlessly for me.
Thanks again!
regicat
08-29-2005, 10:24 AM
Marklyn, the rbautch script has not only more modules but many fixes. I had trouble with the pre2 from ptvnet. As for where ptvnet puts tivoweb, it goes to /pvtupgrade. Yes, I forgot to mention I deleted the tivowebplus and tivowebplus-pre2 directories from there. As for stopping tivowebpre2 from starting, as long as the flags are set as I mentioned above there is no problem.
marklyn
08-29-2005, 10:33 AM
regicat, since you've already done this, hope you can answer a few questions.
1) Sound like I just need to delete the ptvupgrade folder and then follow rbautch's install script?
2) are there any screen shots available (i searched and didn't find any).
3) How long have you had this version running, do you feel it's stable and worth the effort (I'm guessing yes).
4) I have another HDVR2 coming in a few days. I assume if I want to run this script I'd put a new 6.2 image on the drive I'm going to use and then run rbautch's install script.
I guess I'm sligtly apprehensive in removing that folder and running the new install script. Doesn't the functionality to 'connect' (ftp/telnet) to my HDVR2 exist in that folder, so if I delete it, won't I be removing the ability to talk to my HDVR2?
Sorry for the dumb questions. Hope I can repay someone else one day with any knowledge gained here.
rbautch
08-29-2005, 11:37 AM
Just an idea: to make things more idiot-proof, the uninstall script could issue a message if it is about to overlay a file in /. Great idea. My original intention was to move the rbautch-files archive back to the root directory before /enhancements got deleted by the uninstall script. Since I keep my tweak.sh script in root, this allows me to uninstall and reinstall the script over and over. I see now that perhaps this is not the best arrangement for casual users.
rbautch
08-29-2005, 11:42 AM
1) Sound like I just need to delete the ptvupgrade folder and then follow rbautch's install script?
2) are there any screen shots available (i searched and didn't find any).
3) How long have you had this version running, do you feel it's stable and worth the effort (I'm guessing yes).
4) I have another HDVR2 coming in a few days. I assume if I want to run this script I'd put a new 6.2 image on the drive I'm going to use and then run rbautch's install script.
I guess I'm sligtly apprehensive in removing that folder and running the new install script. Doesn't the functionality to 'connect' (ftp/telnet) to my HDVR2 exist in that folder, so if I delete it, won't I be removing the ability to talk to my HDVR2?
Sorry for the dumb questions. Hope I can repay someone else one day with any knowledge gained here. I assume the ptvupgrade folder contains other things, so just delete a subfolder in there called "tivowebplus". Also see if you can find the line in your /etc/rc.d/rc.sysinit.author file that launches this old version of tivowebplus, and delete it. Then run the tweak script. The tweak script makes no changes to your network setup, so that will stay in tact no matter what script options you choose. The tivowebplus archive installed by the script is very stable.
marklyn
08-29-2005, 12:50 PM
Should I delete all of these lines listed?
#start tivowebplus or tivowebplus pre 2
if [ -f /init/ptv_flags/TIVOWEB_ON ]; then
mkdir -p /var/hack
if [ -f /init/ptv_flags/TIVOWEB-PRE2_ON ]; then
/ptvupgrade/tivowebplus-pre2/tivoweb
else
/ptvupgrade/tivowebplus/tivoweb
fi
sleep 30
fi
Also, what about the tivowebplus-pre2 folder, should I delete that too?
Thanks
rbautch
08-29-2005, 12:56 PM
Yes, delete them all, and the pre2 folder. This code looks like it copies two versions of tivowebplus to your Tivo, and then starts the one you select via flags.
Fofer
08-29-2005, 01:02 PM
I'm learning so much more about the intricacies and fun of TiVo hacking, thanks to rbautch's script. I've read so much and tinkered away, his script has been a real help and has removed lots of the anxiety. Thanks again, rbautch! (and Gunnyman too :) )
This may have been covered before but I couldn't find it... I am curious to know the rationale behind launching TWP via the TWPrun.sh script (which in turn runs the "/var/hack/tivowebplus/tivoweb console &" command.) Why not just run it directly? I'm sure there's a smart reason behind it. No difference to me, really, as everything works great for the most part, but I did notice that HackMan seems to think TWP isn't launching as a result of my startup lines in rc.sysinit.author, when in fact it is. It just doesn't recognize TWPrun.sh as a valid way of launching it.
So any background on this will be enlightening.
Fofer
08-29-2005, 01:05 PM
Great idea. My original intention was to move the rbautch-files archive back to the root directory before /enhancements got deleted by the uninstall script. Since I keep my tweak.sh script in root, this allows me to uninstall and reinstall the script over and over. I see now that perhaps this is not the best arrangement for casual users.
After we run the script (or uninstall and upgrade) and everything's running well, can we remove the tweak.sh, tweak-uninstall.sh, and rbautch-files.tgz files? Or are we supposed to leave them?
marklyn
08-29-2005, 01:05 PM
OK, got that, I'll delete all of those lines and install your script...
couple of more questions...
when I delete the folders and go to install your script, do I answer yes/no to the 'do you have tivo web plus installed?'
I also assume that I say 'yes' to wanting to install it since that question means to install your script, correct?
Finally, do I need to restart once the script installs to start your TWP script?
thanks
rbautch
08-29-2005, 01:14 PM
Answer no you don't have it, and yes you want to install it. Reboot when done. If you started the script and prematurely exited, you need to run the uninstall script before you try again.
marklyn
08-29-2005, 01:27 PM
I just noticed in the script that it looks for the flag: FLAG_SWAP TIVONET ON & FLAG_SWAP TIVONET-PRE2 ON
I'm guessing that I don't need to remove those flags from the ptv_flags folder, probably doesn't matter since they're not being referenced by me deleting that part of the script, right?
rbautch
08-29-2005, 02:24 PM
Tivonet is an ethernet interface for Series 1 Tivos. I'm not sure what the script (in the author file?) is doing, but likely you don't need the flags. If you're deleting the corresponding lines in the author file, then you're right it doesn't matter.
marklyn
08-29-2005, 07:45 PM
I followed the instructions as best as I can see to the letter and the install appears to have gone well. I then issued the restart command and now my tivo is stuck at a 'dell' screen... I can still telnet to the HDVR2 but can't ftp or browse to it...
Any ideas?
rbautch
08-29-2005, 07:52 PM
What's the dell screen? Without a serial cable it's tough to troubleshoot a boot problem. Try rebooting again.
marklyn
08-29-2005, 07:56 PM
Now I'm nervous. There is a 'intel inside' logo combined with Dell splash screen, almost like an ad... No idea where it came from...
I will restart from bash again, if that doesn't work, should I unplug and plug back in?
Gunnyman
08-29-2005, 08:03 PM
was your tivo HD hacked with a DELL PC? and was the Tivo drive the onbly drive hooked up in the machine when you hacked it?
vBulletin® v3.6.8, Copyright ©2000-2013, Jelsoft Enterprises Ltd.