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.

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?

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

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?

Click to expand...

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.

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

Click to expand...

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.

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.

Click to expand...

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?

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?

Click to expand...

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.

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.

Click to expand...

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

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:

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.

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: