View Full Version : Hackman -- A Hack Manager module for TivoWeb
PortlandPaw
07-27-2007, 03:08 PM
I've been away for a few days. I don't know that much about networking, but on my system I have a router with an address of 192.168.2.1 and my fixed IPs for the TiVos run from 192.168.2.11 through 192.168.2.15. The computers are 192.168.2.10, 20, 30, etc. and I use 192.168.2.10 as the entry point for my Orenosp reverse proxy system. I don't know if this helps or not and I hope someone else chimes in.
thepicman
07-28-2007, 09:33 AM
This is the line in hackman that's throwing the error:catch [set procs "[exec /bin/bash -c "cat /proc/\[1-9\]*/stat"]"]For the tcl programmers out there, you'll note that the statement is error trapped, so I don't know why it's throwing an error at all, but it is, maybe because there are several errors occuring sequentially. My guess is that there are procs that are shutting down during the course of the execution of this command, but why does it generate an error to begin with?
Any ideas out there?
The new version seems to have cured my problem. Thanks!
TPM
unclemoosh
08-05-2007, 07:21 PM
PP,
I recently started getting this error when trying to to execute varbackup
varbackup: Sunday, August 05, 2007, 05:20 AM
Now backing up /var partition...please wait a few minutes
BusyBox v1.00 (2004.10.20-05:30+0000) multi-call binaryUsage: find [PATH...] [EXPRESSION]
Search for files in a directory hierarchy. The default PATH isthe current directory; default EXPRESSION is '-print'
EXPRESSION may consist of:
-follow Dereference symbolic links.
-name PATTERN File name (leading directories removed) matches PATTERN.
-print Print (default and assumed).
-type X Filetype matches X (where X is one of: f,d,l,b,c,...)
-perm PERMS Permissions match any of (+NNN); all of (-NNN); or exactly (NNN)
-mtime TIME Modified time is greater than (+N); less than (-N); or exactly (N) days
-newer FILE Modified time is more recent than FILE's
-inum N File has inode number N1 block
Action completed at 05:20 AM
Any ideas?
This is from a machine running 5.5.1. Get the same error from machine running 5.5.2.
Telneted in and tried running the command from prompt with same result.
Thanks
PortlandPaw
08-05-2007, 07:40 PM
It looks like you're running the standalone varbackup and it's using busybox with unexpected results. Or are you running it from within hackman?
unclemoosh
08-05-2007, 08:16 PM
It looks like you're running the standalone varbackup and it's using busybox with unexpected results. Or are you running it from within hackman?
I get the same error whether running from Hackman, command prompt or cron. It used to run fine, trouble started recently. I haven't changed anything, other than updating to the current TWP and Hackman.
Strange...
falstaffpac
08-08-2007, 09:21 PM
I wanted to share my experience with Hackman, as I saw at least one other person experience the same problem I was having as I was reading through the threads. The problem involves the "File does not exist..." message I received when attempting to change a programs boot load status. I've at least partially solved my problem and perhaps those of you with additional insight can help. I've outlined my experience below, as I think it is helpful. I apologize for its length.
I first installed Hackman to a hacked drive with TWP 2.0 installed. Hackman parsed my rc.sysinit.author file, identified my programs and created the hackman.cfg file. There was one small hiccup from Hackman in that I have the program ccxstream_s2 from Tivox (allows me to stream shows to my XBOX). When hackman was generating the hackman.cfg it stumbled on the ccxstream_s2 file and flashed me the following message:
A path, pathname or startup conflict has been found...
(this message is informational, and does not indicate an error)
--------------------------------------------------------------------------------
hackman found /var/hack/bin/ccxstream_s2 startup commands in /etc/rc.d/rc.sysinit.author
but found --unavailable-- in the file scan.
hm::ccxstreampathname has been set to /var/hack/bin/ccxstream_s2.
You may want to make adjustments if this conflict resolution was incorrect,
or perhaps resolve any multiple startup issues.
I went to preferences, selected "show boot load buttons" and was able to toggle programs boot status on/off without problem. However when I tried to start/stop ccxstream I received the following:
There was an error starting ccxstream
bad switch "--unavailable--": must be -keepnewline or --
I then proceeded to take a look at "View Paths and Filenames" and saw the following entry:
ccxstream /var/hack/bin/ccxstream_s2 -------
I took this to mean Hackman understood what the program "ccxstream" was, but didn't understand "ccxstream_s2" So, I renamed the file ccxstream, deleted hackman.cfg, replaced rc.sysinit.author with my original backup (pre hackman) and updated the original rc.sysinit.author to reflect the new name of ccxsteam so Hackman wouldn't complain when the hackman.cfg was created.
I started TWP/Hackman, and the hackman.cfg file was created without a hitch. I received no warning about ccxstream. The hackman console displayed all my programs. I then went to preferences and selected "Show boot load buttons" and returned to the console. When I would select a button to change the startup status of a program, I would receive:
Editing :
File does not exist...
Hackman never replaced my original rc.sysinit.author file. I spent a LONG time troubleshooting to try and get Hackman back to where it was generating the rc.sysinit.author file again. I would occasionally see a rc.sysinit.author.draft file but it would never replace my rc.sysinit.author file.
I finally remembered the hiccup regarding ccxstream_s2 so I renamed ccxstream back to ccxstream_s2, edited rc.sysinit.author, deleted hackman.cfg and fired up TWP. Hackman.cfg was created, and I received the same notification about ccxstream_s2 as outline above, but Hackman was working again. IE it would create the rc.sysinit.author file and allow me to toggle the boot load buttons while updating rc.sysinit.author
Ok, so here is where I am:
I don't know what to do regarding ccxstream_s2, I can't get Hackman to manage it. I get:
There was an error starting ccxstream
bad switch "--unavailable--": must be -keepnewline or --
What is really interesting is that when the file was named ccxstream, Hackman would control its ON/OFF state.
I don't know why Hackman wouldn't create rc.sysinit.author when the file was named ccxstream
Any of you guys smarter than me have any ideas?
Thanks,
Aaron
PortlandPaw
08-08-2007, 10:44 PM
Don't apologize for the length of your post -- it's great to get a detailed description of what's happening...so much better than "it's not working; what do I do?"
What you describe is indeed puzzling and I'll have to take some time to try to replicate and troubleshoot the error. Stay tuned.
falstaffpac
08-09-2007, 08:31 AM
It looks like the problem is a little bigger than ccxstream. I thought I would remove any reference to the ccxstream/ccxstream_s2 file and regenerate the hackman.cfg file. When I did, the hackman console came up fine but again it would not generate the rc.sysinit.author and I received the "file does not exist..." error.
It seems as though the ccxstream_s2 exception needs to be thrown during creation of the hackman.cfg before hackman will create an rc.sysinit.author file on my system. If I remove ccxstream_s2 or rename it to ccxstream, the hackman.cfg is created without throwing an exception and I can access the hackman console via TWP. Toggling programs ON/OFF works fine, but no rc.sysinit.author file is created.
During troubleshooting and messing with rc.sysinit scripts I did manage to FUBAR my Tivo (not a complaint) so I'm testing Hackman on a freshly installed image. I'm doing this on a DTV S2 Tivo, zippered with rbautch script hacks. I'm able to reproduce this iconsistency 100%
I'm running the following hacks: Telnet, FTP, TWP, Cron, MFS_FTP, vserver, tserver, endpad+, endpad (and occasionally ccxstream or ccxstream_s2)
Let me know if there is anything you would like me to do on my end to help.
Aaron
Also I hazard to guess the ccxstream_s2 file thowing an exception during hackman.cfg creation would have something to do with the underscore in its name. Just a hunch.
dtanforan
08-10-2007, 04:44 PM
I recently upgraded my HR-250 using the DVRupgrade disk version 6.3. I have tivowebplus version 1.3.1 working great. I installed hackman (after reading through the read me), and receive the below error while trying to start hackman. Any help would be appreciated.
action_hackman '/' ''
can't read "::data_dir": no such variable
while executing
"file exists $::data_dir/config/hackman.cfg"
(procedure "::action_hackman" line 7)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
PortlandPaw
08-10-2007, 05:40 PM
This is from the hackman website (http://www.tivohackman.com):
Latest hackman Version:
The file section includes hackman Version 4.2.8 for use with TivoWeb and TivoWebPlus prior to Version 1.4. I recommend the use of the latest version of TWP (http://thomson.tivo.googlepages.com/tivowebplus) with the latest version of hackman, available in the file section.So, either use the old version of hackman or the latest version of TivoWebPlus.
PortlandPaw
08-11-2007, 09:33 PM
I've released the most recent version of hackman (see sig) which fixes a bug that affected the program's ability to set apps to start on boot. Also, hackman now handles the S2 version of ccxstream. My thanks to falstaffpac for his assistance with the troubleshooting and debugging.
unclemoosh
08-13-2007, 07:36 PM
PP,
I recently started getting this error when trying to to execute varbackup
varbackup: Sunday, August 05, 2007, 05:20 AM
Now backing up /var partition...please wait a few minutes
BusyBox v1.00 (2004.10.20-05:30+0000) multi-call binaryUsage: find [PATH...] [EXPRESSION]
Search for files in a directory hierarchy. The default PATH isthe current directory; default EXPRESSION is '-print'
EXPRESSION may consist of:
-follow Dereference symbolic links.
-name PATTERN File name (leading directories removed) matches PATTERN.
-print Print (default and assumed).
-type X Filetype matches X (where X is one of: f,d,l,b,c,...)
-perm PERMS Permissions match any of (+NNN); all of (-NNN); or exactly (NNN)
-mtime TIME Modified time is greater than (+N); less than (-N); or exactly (N) days
-newer FILE Modified time is more recent than FILE's
-inum N File has inode number N1 block
Action completed at 05:20 AM
Any ideas?
This is from a machine running 5.5.1. Get the same error from machine running 5.5.2.
Telneted in and tried running the command from prompt with same result.
Thanks
PP, I am still experiencing this error, even with the latest release. It's happening on eight machines, all Hughes DVR2's, that used to have no problem.
Has there been any changes to busybox that you have made allowances for in Hackman?
Thanks.
PortlandPaw
08-13-2007, 08:20 PM
I haven't changed anything to do with varbackup and it's still working fine on my five ancient S1s. Could you PM me a copy of your hackman.cfg file?
starmanj
08-18-2007, 02:43 PM
Hi-
I have recently loaded the latest TWP2 and latest hackman-- tivowebplus-v2.0.0-070812.tgz and the latest from your site.
No matter what I do or how I edit the hackman.cfg, I can't get past the
"In order to activate hackman, you need to make an edit in the hackman.cfg file. Please review the ReadMe file that accompanies hackman to learn how to activate hackman."
I have read the readme's thoroughly and checked everything in the .cfg, all seems fine.
I have deleted the hackman.cfg and rebooted the tivo repeatedly.
Are there any other clues other than the cryptic "edit the .cfg" that can guide me? I do love your hackman and am grateful for its utility.
Thanks!
Starmanj
unclemoosh
08-18-2007, 03:37 PM
Hi-
I have read the readme's thoroughly and checked everything in the .cfg, all seems fine.
Apparently, not very thoroughly. Carefully re-read the section between support and troubleshooting. :eek:
starmanj
08-18-2007, 03:47 PM
D'oh. I guess he meant it when he said read it thoroughly! :rolleyes:
Thanks!
FYI seems the backdoor feature to enable clock has a problem:
INTERNAL SERVER ERROR
--cut here--
action_backdoormenu '/' ''
can't read "::MOD::hm::bd_code": no such variable
while executing
"if {$::MOD::hm::bd_code != "0"} {
puts $chan [html_link "/triage/backdoorcodes?selection=1&file=itcl" "Enable backdoors"]
puts $chan
JWThiers
08-18-2007, 11:06 PM
Hopefully you are now fully aware of the risks involved with hackman.
haardwire
08-21-2007, 05:15 PM
Hi Hackman. I'm new to hacking and have just managed to get my UK Series 1 Tivo connected with a Turbonet card. I have Tivowebplus, latest version, installed & cannot seem to get hackman to work at all. When I try to I get the following error message:-
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
list doesn't contain element 21
while executing
"lreplace $hm::applist $position $position "not_here" "
(procedure "checkmod" line 6)
invoked from within
"checkmod "noscramble " "myworld" 21"
(procedure "MOD::action_hackman" line 64)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
I'm sure I'm being thick, but I've read all I can & still can't figure out where I'm messing up. Help please.
Kind regards
Nick
PortlandPaw
08-22-2007, 06:52 PM
Be sure you have the latest version (5.5.5), have copied all the files to the TiVo properly, and made the modification to the hackman.itcl file as described in the ReadMe. If you're still getting errors, follow the troubleshooting section of the ReadMe and report results back here.
By the way, the latest version (see sig) makes SteveT's new jacket themes more legible in hackman and more aesthetically pleasing.
Soapm
08-22-2007, 11:32 PM
I updated to 5.5.5 tonight and now ccxstream no longer appears in hackman. Any ideas how to get that back? I deleted the var/TWP/hackman.cfg file to have it look for things again, it finds ccxstream in the but I don't get a button.
Also, I just noticed my version says 5.5.2...
ssandmann
08-23-2007, 01:42 AM
Just installed hackman 5.5.5 on my tivo. I have twp 2.0. I started twp with the console and it failed pretty early, so I changed to rw and ran it again. I get further, but it is still failing.
- [23/Aug/2007:05:40:41] saving module_cache.cfg
couldn't open "/TivoWebPlus/config/module_cache.cfg": read-only file system
while executing
"open "$::data_dir/config/$f.cfg" w"
(procedure "saveConfig" line 3)
invoked from within
"saveConfig module_cache $outs"
(file "/TivoWebPlus/load.tcl" line 573)
invoked from within
"source $source_dir/load.tcl"
(procedure "load" line 4)
invoked from within
"load 0"
(file "/TivoWebPlus/httpd-tt.tcl" line 31)
Error: The last session did not complete successfully
Exiting to prevent possible reboot loop
any help would be appreciated.
PortlandPaw
08-24-2007, 10:25 AM
ssandmann, that's not a hackman error you're seeing, its a TWP error. Try wiping out all of the TWP files and starting again, this time from a /var/hack/ directory. The install will create a /var/hack/TivoWebPlus directory, along with an accessible config directory. Then install hackman.
PortlandPaw
08-24-2007, 10:28 AM
Soapm, I just did some work to add ccsxtream_s2 to the mix, so it looks like I messed something up. What is the exact name of the ccxstream app? How do you know the file scan is finding it...does it show up on the View Paths and Pathnames screen?
As for the version number, it will update on the second load...or at least it should.
p.s. I just tested it again on my S1 SA, and it seems to detect and display it OK.
kimsan
08-24-2007, 12:30 PM
As for the version number, it will update on the second load...or at least it should.
I wondered what triggered the version display. Nice to know. :)
PortlandPaw
08-24-2007, 05:27 PM
But no more...I fixed the version to display immediately on first load, just as God intended.
Soapm
08-24-2007, 10:09 PM
Soapm, I just did some work to add ccsxtream_s2 to the mix, so it looks like I messed something up. What is the exact name of the ccxstream app? How do you know the file scan is finding it...does it show up on the View Paths and Pathnames screen?
As for the version number, it will update on the second load...or at least it should.
p.s. I just tested it again on my S1 SA, and it seems to detect and display it OK.
I got it to work, it was how the file was executed in the author file. I had it as;
cd /enhancements/varhacks/ccxstream ./ccxstream -f
I changed it to
/enhancements/varhacks/ccxstream/ccxstream -f
and hackman registeres it now.
falstaffpac
08-26-2007, 11:10 AM
I implemented the hackman option to move telnet and FTP to rc.sysinit However, when I reboot and open telnet, I've lost some bash command functionality (ls command does not work, for example). This resolves when I enter the following at bash:
export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox:/enhancements
The line above should be called from the usersection of my hackman generated rc.sysinit.author file
I added the following lines to rc.sysinit as per the hackman documentation:
#ensure that telnet and ftp are started before rc.sysinit.author is called
[ ! -f /etc/rc.d/rc.sysinit.author ] || /etc/rc.d/rc.sysinit.author
echo "rc.sysinit is completed"
But, it did not resolve my problem. The hackman configuration screen via TWP has yellow bubbles next to Telnet and FTP, as one would expect. It would seem the usersection of the rc.sysinit.author file is not being processed. It would also seem the rc.sysinit.author file is otherwise processed as Hackman correctly shows start/stop states for my hacks (IE the hacks I wanted to start have in fact started).
Any suggestions?
Aaron
PortlandPaw
08-26-2007, 12:27 PM
I put my path statement in the .profile file, which is located in the root directory. If you have joe installed, just do this
cd /
joe .profile
and add
export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox:/enhancements
Be sure the drive is set to read/write first. That should fix it. I got this from Steve Jenkins' guide.
PortlandPaw
08-26-2007, 06:51 PM
The next release of hackman will have /.profile listed among files that may be edited.
Soapm
08-26-2007, 07:37 PM
Hey David, it seems like hackman is overriding my author file. Is this possible?
I can't get ccxstream to start on boot since I stopped it using hackman. There is no # in the author file yet when I hit the start button in hackman it starts right up???
Chzcat1
08-26-2007, 07:53 PM
Hi! I've been running Hackman for about a month now, and love it!
The 5.5.5 version seems to report a different status of the root for me each time it loads.
i.e - at first it says it's ro, but if I just F5, it says it's rw. Each refresh changes the status.
I have an HDR110 v3.0.1 with a Weaknees drive.
Thanks. I appreciate all the work!
PortlandPaw
08-27-2007, 08:05 AM
Soapm, I'm confused. It sounds like you're editing your .author file. You shouldn't have to do that if you let hackman manage those hacks. Try this:
1. Carefully edit out any reference to ccxstream in your .author file
2. Go to Preference, View Paths and Pathnames and select Rebuild Configuration File
3. Use the gumdrops to include/exclude files from .author
Let me know if that does the trick.
PortlandPaw
08-27-2007, 08:08 AM
Chzcat1 -- very astute observation for post #1! I think I may have solved that issue with an undocumented update to 5.5.5 (didn't think it was as significant as apparently it is). Try downloading the latest hackman and see if it resolves the issue, then report back here. And thanks for the kind words!
Soapm
08-27-2007, 09:45 AM
Soapm, I'm confused. It sounds like you're editing your .author file. You shouldn't have to do that if you let hackman manage those hacks. Try this:
1. Carefully edit out any reference to ccxstream in your .author file
2. Go to Preference, View Paths and Pathnames and select Rebuild Configuration File
3. Use the gumdrops to include/exclude files from .author
Let me know if that does the trick.
Yep, we cooking with crisco now... Thanks
I still don't understand how this works, does hackman cause the Tivo to ignore the author file?
PortlandPaw
08-27-2007, 12:38 PM
Glad you got it...it's all explained in the ReadMe -- basically, hackman completely re-writes the .author file depending on the hacks you've selected to start, leaving the reserved first section for custom commands.
haardwire
08-27-2007, 04:00 PM
Hi.
I've been reading & re reading, upgraded to the latest version of Hackman, and still getting the following error message
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
list doesn't contain element 21
while executing
"lreplace $hm::applist $position $position "not_here" "
(procedure "checkmod" line 6)
invoked from within
"checkmod "noscramble " "myworld" 21"
(procedure "MOD::action_hackman" line 66)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
I'm not usually too bad at this sort of thing, but am getting nowhere. Any help appresiated.
Thanks
Nick
PortlandPaw
08-28-2007, 11:09 AM
Someone else (I hope it wasn't you!) had this problem on a forum that shall not be named, but if you google "You won't be able to use the attached file" (with quotes) it will come up.
Apparently, this worked for him:You won't be able to use the attached file (change .txt to .cfg) directly, but you might be able to build your own config file. Use the attached file along with the default file and fill in the blanks with the pathnames and information appropriate to your machine. I wouldn't worry about the longer lists, as they self-generate when the program is running. The important ones should be evident.
Even if this works, it's treating the symptom, not the disease. I'd still like to know why hackman doesn't work out of the box on your 6.3 system.
If you can figure out why this works, please let me know (assuming that it does work for you!).
haardwire
08-28-2007, 05:53 PM
Thanks very much PP worked for me too.
Sorry that I didn't provide full info earlier, but for your info, I'm in the UK running a series 1 Thomson Tivo with 120GB hard drive, self upgraded. Turbonet card & tivowebplus just installed.
Not a lot else, other than endpad, but that was after I first tried to install Hackman & got the same error then. All the same, I am most appreciative of the replies & help. hen I get the time I will try to work out why it works, but I'm new to Unix. No, it wasn't me before, and maybe the fact that I'm running a UK unit explains the problem.
Thanks for a fab app and for all the help, not just for me, but in reading the threads, I can see this has been very ongoing & time consuming for you.
Kind regards
Nick
PortlandPaw
08-28-2007, 06:27 PM
Glad you got it going...but it's still puzzling. There are a whole bunch of hackman users in the UK and I haven't seen this before. So, if you figure it out, let me know!
Thanks for the kind words and, yes, I do have more than a few hours invested in this over the years...but it's been fun! More people spend more time playing golf which I consider, as Mark Twain said, a nice walk in the country, ruined.
Chzcat1
08-28-2007, 07:43 PM
I think I may have solved that issue with an undocumented update to 5.5.5
Indeed you have!! I just installed the latest version, and is well here!!
Many thanks!!
shredhead
08-30-2007, 09:21 AM
If you ever got this:
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
list doesn't contain element 21
while executing
"lreplace $hm::applist $position $position "not_here" "
(procedure "checkmod" line 6)
invoked from within
"checkmod "noscramble" "myworld" 21"
(procedure "MOD::action_hackman" line 58)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
check here: ddb /forum/showpost.php?p=286720&postcount=939
PortlandPaw
08-30-2007, 10:46 AM
As I said "somewhere else," Yes, I think it's becoming clear now. When hackman has been using a particular .cfg file and then the location of the expected .cfg file changes due to an update, it's going to get confusing. Thanks for the tip...the solution now is to be sure that ALL hackman.cfg files are deleted and then restart hackman. All should be well after that.
The latest hackman release should exorcise this demon. Thanks for the debugging help!
unclemoosh
09-02-2007, 02:45 PM
PP,
Again, thanks for a great app and your outstanding support!
I recently had my /var directory wiped out on one of my units and didn't worry because I use varbackup and cron to backup the /var directory on a regular basis.
Oops, the latest backup I had was a backup of the wiped /var directory, not the good, hacked one. So, I, being the novice, finesse-less hacker that I am, simply put a copy of varbackup in my /var/hack directory and now call that one from cron. I figure if the /var directory gets wiped, varbackup won't run and my copy of the varfiles.cpio will be the last one of the /var directory before its demise.
Do you see any reason this won't work?
Thanks.
PortlandPaw
09-02-2007, 06:13 PM
If var got wiped, wouldn't cron get wiped at the same time? And wouldn't the backup in /lib be pre-wipe? I'm not sure how it got written over. If you have cron set to run from a non-/var location, I guess that's how. So, yes, your solution should work, as it's very close to the original design!
unclemoosh
09-02-2007, 09:08 PM
If var got wiped, wouldn't cron get wiped at the same time? And wouldn't the backup in /lib be pre-wipe? I'm not sure how it got written over. If you have cron set to run from a non-/var location, I guess that's how. So, yes, your solution should work, as it's very close to the original design!
The hack, log and spool directories are symlinked and rebuilt if /var gets wiped. cron is running out of /busybox and the crontab is in /var/spool. So, I am guessing that is why cron kept on trucking as instructed.
I suppose if I am going to be running the varbackup from cron, I could just put the /var/spool directory in place and not use the symlinks. This would solve the problem, too.
PortlandPaw
09-02-2007, 10:12 PM
That should do it. I hope your /var wipeout wasn't too disastrous!
unclemoosh
09-03-2007, 12:50 PM
That should do it. I hope your /var wipeout wasn't too disastrous!
No, it wasn't disastrous at all. I have a bunch of units that are all the same. Additionally, I backup to the PC regularly, JIC. I was just pointing it out in case others don't have multiple levels of backup protection. We know we should, but sometimes we just don't do it :rolleyes:
Again, thanks for all you efforts and results. It a shame that you and other developers have to put up with the likes of some people's bullstuff (another thread, wink, wink, non, nod) ;)
Please, don't let them prevent you from continuing a work that is most appreciated by many!
nrune
09-14-2007, 05:23 PM
Getting a hackman error:
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
invalid command name "setHMvar"
while executing
"setHMvar "variable hackmanrelease \"$CurVer\"" "$::data_dir/config/hackman.cfg""
(procedure "MOD::action_hackman" line 22)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Series one phillips tivoweb 2.0, hackman 5.5.7
Help?
PortlandPaw
09-14-2007, 11:20 PM
Are you sure you have all the files installed correctly? This routine is located in the hackman_util.itcl file and has to be in the ./modules directory. I'd re-read the ReadMe and double-check the installation.
Chzcat1
11-04-2007, 09:12 AM
Thanks for adding the part to Hackman where I can set the clock. My poor S1 woke up both mornings this weekend confused & wrong. Saturday it was already an hour back, and Sunday it was an hour ahead. Hackman saved the day both times.
Thanks!
PortlandPaw
11-04-2007, 05:40 PM
You're welcome! Came in handy for me, too.
Markman07
11-06-2007, 03:13 PM
I haven't played around with Hackman for a long time and haven't had a chance to install it on my HR10-250 since I re-imaged it this last summer. Anyways using the Zipper and latest script everything appears to be running great. I then downloaded the most recent version of Hackman and copied the necessary files into the /TivowWbplus/modules and /images directories. I touched up on the Readme guide being I haven't used this in a while. I activated the value in the CFG file.
When I click on the Hackman link in TWP 2.0 I keep getting the following error -
--cut here--
action_hackman '' ''
can't read "hm::TWPVer": no such variable
while executing
"if {$hm::TWPVer} {eval_env} else {eval $env}"
(procedure "MOD::action_hackman" line 3)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
-----------
In troubleshooting I have tried rereading the readme file and searching here for some others who may have seen this. I don't find anything that sheds some light on this. So my question is; am I a bonehead or my nicer question is "can someone tell me what I am messing up here?"
Thanks so much.
PortlandPaw
11-06-2007, 03:29 PM
Are you sure you copied all the hackman files over? It used to be just hackman.itcl, but it now includes hackman_util.tcl (among others) which sets the variable in question. If that doesn't do it, let me know.
BTUx9
11-06-2007, 03:35 PM
also make sure you've done a full reload
Markman07
11-06-2007, 03:56 PM
First off, amazing...AMAZING response time.
Secondly...ding ding ding....this year's bonehead award goes to .....
Anyways...I recopied all the files. I am guessing I must have missed one in the group when copying to the Tivo. So it was a simple fix.
Thanks PP. Like always I appreciate your guidance. Sorry I didn't have a harder challenge for you today ;-D give me time.
durrence
11-26-2007, 12:32 PM
I have 2 series 1 tivos, one has a lifetime subscription and the other does not. I am using the unsubscribed unit to try and perfect all of the hacks before transferring the hacked HD to the subscribed unit.
I have the latest version of TivoWebPlus and Hackman installed. Most of the Hackman commands work, but when I try to enable backdors and the 30 second skip or any of the backdoor codes, nothing changes on the tivo.
When I try to enable backdoors with the remote, I cant enter "search by title" because it hasnt made a daily call for 30 days. Is this the reason Hackman can't enable them or is there some way around the problem?
I suppose I could move the HD to the subscribed unit and let it make a daily call, then move it back to the unsubscribed unit and see what happens. I hate to experiment with the subscribed unit because we do most of our TV watching on it.
Any suggestions?
PortlandPaw
11-28-2007, 01:20 PM
The answer is on the "other forum." Please don't double post.
PortlandPaw
12-16-2007, 01:07 PM
In honor of the terrific season that the New England Patriots are having, I'm releasing the latest hackman version, 6.0.0.
The reason for kicking up the version designation is the new installation/update process. To install or update to 6.0.0, please use the TWP Update function to bring in the hackman-V6.0.0.tgz file.
For future updates, hackman has its own update function which also makes it easier to find the new hackman .tgz file.
These steps are detailed on the hackman website (http://www.tivohackman.com) and, of course, in the ReadMe, which is required reading for all hackman users.
WallyDilbert
01-23-2008, 06:16 PM
I Installed Hackman on 2 DTivos w/no problem--Great work PP! On the third, I get
extract.sh: There is not enough free disk space (0k)
child process exited abnormally
How do I free up disk space?
PortlandPaw
01-26-2008, 08:20 AM
I'd be willing to bet you installed all your hacks in the root partition and that's limited in size. You probably used the zipper that makes a backup of your tivoapp that you won't need necessarily. If you have a backup of your drive then you can safely delete the backup.
rw
cd /tvbin
ls -l
{assuming backup file is found with this name:}
rm tivoapp.backup
PortlandPaw
03-24-2008, 02:04 PM
I've added file utilities (view, edit, rename, copy, chmod, delete) to hackman on the Preferences page, along with a shortcut menu module that goes straight to the file utilities.
Tools such as these are very powerful and can render your TiVo temporarily useless. For example, don't go deleting tivoapp just because you don't think it's necessary.
So, be careful and if you mess up, don't blame the tool, blame the carpenter.
umbighouse
04-05-2008, 04:32 PM
I was running older versions of Hackman and TWP. I upgraded TWP to v2.0.0. The GUI upgrade procedure didn't work so I had to manually copy the .tgz file to the /var/hack directory and run it from there. That instal went fine and I can access TWP. I then copied the Hackman v7.0.0 .tgz file into the new directory (/var/hack) and ran "tar xvzf hackman-V7.0.0.tgz". It appeared to go fine, but when I tried to access Hackman from TWP (after a full reboot of the TiVo), I get the error below. I don't know what it means, but I'm willing to try to fix it if someone can help.
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
can't read "showconflicttext": no such variable
while executing
"if {!$showconflicttext || $NoNotification} {
readwrite "on"
if {[file exists $inifile\.old]} {
file delete $inifile
file rename "$inifile\.old" $inif..."
(procedure "MOD::action_hackman" line 15)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
PortlandPaw
04-06-2008, 07:35 AM
I've never seen that before, I don't think. My guess is that the generation of the hackman.cfg file didn't go right. Try deleting all the hackman.cfg files you can find (/var/TWP/config/hackman.cfg and/or ./TivoWebPlus/config/hackman.cfg) EXCEPT the one in ./TivoWebPlus/modules. Then restart TWP (Restart | Full). Then let us know if that worked.
umbighouse
04-06-2008, 09:28 AM
David-
I ended up un/reinstalling both TWP and Hackman. It seems to be working ok now. However, I have elseed and ncid show up in the Hackman screen as start/stop modules. I'd like to remove/uninstall both of them, but don't know how.
How can I uninstall these? I'd like to start fresh with the Caller ID function. Can I do this with an ethernet connection and no phone line? If so, what will work best with Hackman & my DTiVo?
Thanks in advance.
PortlandPaw
04-07-2008, 01:50 PM
hackman picks up the hacks it finds. So to remove them from the display, remove the hacks themselves. You can use the show paths feature to see where they're located and then use the file utilities in hackman to navigate to the files and delete them.
For caller id without a phone line, I'd recommend YAC, but that requires a caller id enabled modem running on a PC to do the caller detection. But once set up, it's great!
http://sunflowerhead.com/software/yac/
djl25
04-07-2008, 02:09 PM
If you have Vonage or some other VOIP provider, NCID (version 0.70) now has support for scraping the caller-id directly from the sip packets. No phone line required. I use it with Vonage and it's flawless.
David-
I ended up un/reinstalling both TWP and Hackman. It seems to be working ok now. However, I have elseed and ncid show up in the Hackman screen as start/stop modules. I'd like to remove/uninstall both of them, but don't know how.
How can I uninstall these? I'd like to start fresh with the Caller ID function. Can I do this with an ethernet connection and no phone line? If so, what will work best with Hackman & my DTiVo?
Thanks in advance.
umbighouse
04-07-2008, 05:49 PM
I can hunt down and delete the hacks, but I see references to some in the config files, such as in hackman.cfg here. Can I just delete the reference? What are the "--unavailable--" references for?
...
variable startchecklist "/sbin/tnlited /busybox/tivoftpd /var/hack/TivoWebPlus --unavailable-- --unavailable--
/busybox/crond --unavailable-- /busybox/vserver /busybox/tserver --unavailable-- --unavailable--
/enhancements/endpad.tcl --unavailable-- --unavailable-- /enhancements/endpadplus.tcl /bin/elseed_forever.sh
--unavailable-- /var/hack/bin /var/hack/bin /var/hack/bin --unavailable--
--unavailable-- --unavailable-- --unavailable-- --unavailable-- --unavailable-- /gotomydvr/etc/rc.gotomydvr /bin/dserver.tcl --unavailable-- /enhancements/varhacks/hack/sbin/ncidd --unavailable-- --unavailable--"
PortlandPaw
04-07-2008, 05:56 PM
I forgot a step. After you delete the actual hacks, you need to re-generate the .cfg file. Do that with the command on the paths and pathnames page or just delete the hackman.cfg file in the config folder (not the one in ./TivoWebPlus/modules!). Then you'll see more "unavailable" which means the hack or file wasn't found on the machine.
umbighouse
04-07-2008, 09:15 PM
Your instructions worked perfectly. Thanks very much for your help, and your quick replies.
petec
04-12-2008, 07:07 AM
Just installed Hackman V7.0.0.0 with newest TWP. It was actually easier to install than earlier versions. Picked up all of the Hacks. Kind of missed Hackman after installing TWP development version.
Anything specific that I should be testing.
Just checked - and found something related to an earlier issue that involved some hands on stuff.
Historically was running TivoWebPlus on port 8086. Looking at my log during install and noticed that as TivoWebPlus was rebooting it tried and saw WEB services running on port 8086 and it also installed itself on port 8080. Still have original Tivo port 80 running (congratulations page from Tivo).
In conclusion I have web services running on port 80, 8080 and 8086. Is there a way to clean up a bit?
ColinYounger
05-06-2008, 10:48 AM
Like petec, I've just started trying Hackman V7.0.0 & TWP development version 2.1.b3. I'm trying to edit rc.sysinit.author. When I click 'Save', I get this rather cryptic message:error copying "": no such file or directoryI thought maybe I needed to make the filesystem RW before editing, but that made no difference.
What information can I gather to get a better idea of what's going wrong?
PortlandPaw
05-07-2008, 01:29 PM
Hmm. I'm unable to re-create the error. Would you please try re-building the hackman.cfg file -- from the Preference page, click View Paths and Pathnames and then Rebuild configuration file.
ColinYounger
05-09-2008, 10:30 AM
David - apologies for the delay and thanks for the reply.
I rebuilt the hackman.cfg file and managed to edit my rc.sysinit.author. The weird thing is that a diff on the before and after of hackman.cfg showed no differences.
Must have been cosmic rays or something. <shrug>
KyooMac
05-09-2008, 11:15 PM
I've just started using Hackman V7.0.0 & TWP development version 2.1.b3. and am trying to set up vserver. On the instructions I've used before I've followed the same instructions over and over again. But this time I can't find the manual to RTF to figure out where to do the following:
# Under "File to be edited" (again), choose "/ptvupgrade/tivowebplus/modules/hackman.cfg," and click the "Edit a file" button (again).
In the "set vserverpathname" line, replace "--unavailable--" with "/ptvupgrade/bin/vserver".
hackman.cfg does not have the same look as it did in version 4.x.x
Thanks in advance.
PortlandPaw
05-10-2008, 05:16 PM
Lots of water under the bridge since V. 4.x.x! And I think you must be reading the PTV docs, not hackmans, which are still included in the download bundle and on the website.
It should be automatic. When you first start hackman, it scans your TiVo for about 32 supported hacks, vserver included. The supported hacks should show up on the main hackman page, including "mPlayer (vserver)."
mclevenger
06-06-2008, 07:05 PM
I have Hackman 7.0.0 installed along with TivoWebPlus 2.0.
I can't find this preferences page everyone speaks of. It is not in the commands page. Any ideas??
djl25
06-06-2008, 10:22 PM
There's a link toward the bottom of the main Hackman page that says one of the following:
March, 2008 (or whatever date)
Really Cool Stuff
The Meaning of Life
The New Millennium
Edit Files and set preferences
Just click that. Your password the first time will be "password".
I have Hackman 7.0.0 installed along with TivoWebPlus 2.0.
I can't find this preferences page everyone speaks of. It is not in the commands page. Any ideas??
PortlandPaw
06-07-2008, 08:39 AM
It's all in the ReadMe if you forget what djl25 so kindly provided.
mclevenger
06-07-2008, 11:38 PM
Sorry for posting such a trivial question. I can't find the readme file anywhere for 7.0.0 and the link on www.tivohackman.com is broken.
bengalfreak
06-08-2008, 06:35 AM
Sorry for posting such a trivial question. I can't find the readme file anywhere for 7.0.0 and the link on www.tivohackman.com is broken.
Until the link is fixed, just go to the readme for 4.2.8 and replace the numbers 4 and 2 in the url with 7 and 0. Or just click here.
hackman readme 7.0.x (http://169.244.187.60/DRH/hackman/ReadMe7.0.htm)
PortlandPaw
06-08-2008, 09:06 AM
The ReadMe is (and always has been) included in the packages available here (http://www.tivohackman.com/) in the TivoWebPlus/docs directory. To my knowledge, the website hasn't been down recently.
mjstehn
06-24-2008, 10:42 PM
I am using the newest TWP and I tried to install Hackman v7.0. It does not show up on the TWP menus? When I did the Gzip I got a message that said 2348 block
Broken pipe
So I don't know if it worked or not. Can someone help me. Thanks,
unclemoosh
06-26-2008, 10:27 AM
I am using the newest TWP and I tried to install Hackman v7.0. It does not show up on the TWP menus? When I did the Gzip I got a message that said 2348 block
Broken pipe
So I don't know if it worked or not. Can someone help me. Thanks,
The package must not have unpacked completely. I would use the tar xzvf command to unpack the package. Try that and see if it completes successfully.
Running version:
Hackman 7.0.0
TivoWebPlus v2.1.b3
Tivo SW 6.2a-01-2-151
superpatch-6.2a.tcl
all on a Series 2 DirecTivo HDVR2
I use PTVnet 62-1.10 todo most of the work, then FTP & Telnet to add TWP and Hackman. Noticed on reboot that TWP reverted back to old version (1.3 IIRC) so edited /etc/rc.d/rc.sysinit.author to comment out PTVnet's entry on TWP and pointed it towards /var/hack/TivoWebPlus/tivoweb.
Installed superpatch-6.2a.tcl, and while I can see HMO options on Tivo, I don't see details of the hacks under Hackman.
Any thoughts on where to star debugging?
edit:
looking at rc.sysinit.author some more, I'm assuming that it is it that starts the hacks, I don't see mention of other hacks...
bed time me thinks
unclemoosh
07-05-2008, 09:38 AM
I don't see details of the hacks under Hackman.
What hacks did you install and where did you install them? If all you ran was PTVnet and superpatch, I don't think any hacks are installed.
IIRC, PTVnet only enables USB port, telnet, networking and FTP. It doesn't install any hacks.
The easiest way to install the most common hacks and enhancements is to run Zipper and tweak. Although it is best to thoroughly research what these scripts do so you can troubleshoot better if something goes BOOM!:D
Good question, I was under the impression that Superpatch installed more then it apparently did. Will read more. And will readup on Zipper.
Thanks
55tbird
08-02-2008, 03:30 AM
I am using the newest TWP and I tried to install Hackman v7.0. It does not show up on the TWP menus? When I did the Gzip I got a message that said 2348 block
Broken pipe
So I don't know if it worked or not. Can someone help me. Thanks,
I followed Hackman instructions about copying tgz file to existing TWP 2.0 directory, successfully ran tar, it installed, ran chmods on bin_ppc/* and bin_mips/* then did restart of TWP, no change, restarted Tivo, no difference. Any ideas of what's happening.
unclemoosh
08-03-2008, 07:18 PM
I followed Hackman instructions about copying tgz file to existing TWP 2.0 directory, successfully ran tar, it installed, ran chmods on bin_ppc/* and bin_mips/* then did restart of TWP, no change, restarted Tivo, no difference. Any ideas of what's happening.
The instructions state:
Use tivoftp to copy the file to your /var/hack directory (or the directory containing TivoWebPlus)
It sounds like you put it in the TivoWebPlus directory, not the directory where the TivoWebPlus directory is located.
jporter12
08-17-2008, 07:49 PM
I followed Hackman instructions about copying tgz file to existing TWP 2.0 directory, successfully ran tar, it installed, ran chmods on bin_ppc/* and bin_mips/* then did restart of TWP, no change, restarted Tivo, no difference. Any ideas of what's happening.
I'm having the same issue. I went to the TivoWebPlus/modules directory and the hackman.cfg is not there. Any ideas why? I had tried both methods of unzipping.
jporter12
08-17-2008, 08:01 PM
Fixed. For some reason, I had to put the tgz file in the root folder, then extract it. Was it typing in the command wrong?
Anyway, it's up and running, so now I have to go check it out!
55tbird
08-25-2008, 10:16 AM
The instructions state:
Use tivoftp to copy the file to your /var/hack directory (or the directory containing TivoWebPlus)
It sounds like you put it in the TivoWebPlus directory, not the directory where the TivoWebPlus directory is located.
I had copied it to the hack directory itself, not into TivoWebPlus directory. Not sure why it wasn't working but did it a 2nd time, restart and it's working now.
lawrny
10-26-2008, 11:31 AM
I've added file utilities (view, edit, rename, copy, chmod, delete) to hackman on the Preferences page, along with a shortcut menu module that goes straight to the file utilities.
Tools such as these are very powerful and can render your TiVo temporarily useless. For example, don't go deleting tivoapp just because you don't think it's necessary.
So, be careful and if you mess up, don't blame the tool, blame the carpenter.
PortlandPaw,
I have the latest TivoWebPlus csv loaded with your new Hackman 7 loaded and working but when I select FileUtilities I get this 404 message. What am I missing?
Not Found
Now it is such a bizarrely improbable coincidence that anything so mindboggingly useful as this 404 page could have evolved purely by chance that some thinkers have chosen to see it as the final and clinching proof of the non-existance of tivoweb programmers.
The argument goes something like this: `I refuse to prove that we exist,' said one tivoweb programmer, 'for proof denies deniability and without deniability there'd be bug reports.'
'But,' says Man, 'Surely the 404 page is a dead giveaway isn't it? It could not have evolved by chance. It proves you exist, and so therefore, by your own arguments, you don't. QED.'
'Oh dear,' said the tivoweb programmer, 'I hadn't thought of that,' and the tivoweb programmers promptly vanished under a flood of bug reports
Great job on Hackman 7 thanks!!!
David_NC
10-26-2008, 12:58 PM
PortlandPaw,
I have the latest csv loaded with your new Hackman loaded and working but when I select FileUtilities I get this 404 message. What am I missing?
Not Found
Now it is such a bizarrely improbable coincidence that anything so mindboggingly useful as this 404 page could have evolved purely by chance that some thinkers have chosen to see it as the final and clinching proof of the non-existance of tivoweb programmers.
The argument goes something like this: `I refuse to prove that we exist,' said one tivoweb programmer, 'for proof denies deniability and without deniability there'd be bug reports.'
'But,' says Man, 'Surely the 404 page is a dead giveaway isn't it? It could not have evolved by chance. It proves you exist, and so therefore, by your own arguments, you don't. QED.'
'Oh dear,' said the tivoweb programmer, 'I hadn't thought of that,' and the tivoweb programmers promptly vanished under a flood of bug reports
Don't Panic
PortlandPaw
10-27-2008, 06:11 AM
cvs doesn't update hackman -- that has to be done manually or using the update feature in hackman itself. The utilities menu item is a separate module that has to be copied to the /modules directory.
hec1152
01-30-2009, 10:38 PM
I'm trying to setup latest Hackman with latest version of TivoWebPlus. I installed Hackman by copying (via FTP to TiVo) the files in the Hackman zip to their appropriate directory in TivoWebPlus. When I start TiVoWeb I observe the following in the Telnet window:
TiVo: {/var/hack/TivoWebPlus} %
TiVo: {/var/hack/TivoWebPlus} % ./tivoweb console
Warning: An http server was already running
Using data dir ./
TiVo: {/var/hack/TivoWebPlus} %
TiVo: {/var/hack/TivoWebPlus} % Starting TWP pid=401
------============------ Loading ------============------
TivoWebPlus - v2.1.b3 2.1.b3 (oztivo-090121)
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files for copyright and credit in
formation.
Loading libs...
btutils,html,http,index,rec,sendkey,sendkeyavail=1
timezone,ui,util,TimeZone: US
-running init_channelList--- completed in 0 seconds
-running init_logoindex--- completed in 1 seconds
-running init_sp_cache--- completed in 0 seconds
hackman_util,
-- Loading hackman Version 7.0.4 --
-Friday, January 30, 2009, 10:26 PM, local time
-hackman comes with ABSOLUTELY NO WARRANTY.
-This program is licensed under the GPL.
-See the 'docs/Hackman -- LICENSES.txt' file for copyright and credit informatio
n.
-- creating config file for hackman --
- running ppc find -- mips version of find selected.
-SendKey not functional -- SendKey functions disabled
-Searching for TiVo hacks...(takes about a minute)
CHILDSTATUS 414 126 /var/hack/TivoWebPlus/bin_mips/find: /var/hack/TivoWebPlus/b
in_mips/find: cannot execute binary file
while executing
"exec $hm::find / -path /proc -prune -o -path /dev -prune -o -path /tvlib -prune
-o -name $filex \! -name *.log -type d"
(procedure "CreateHackmanConfig" line 100)
invoked from within
"CreateHackmanConfig"
("uplevel" body line 419)
invoked from within
"uplevel 1 "$s" "
POSIX ENOENT {no such file or directory} couldn't read file ".//config/hackman.c
fg": no such file or directory
while executing
"source $::data_dir/config/hackman.cfg"
(in namespace eval "::" script line 683)
invoked from within
"namespace eval $ns "$s""
Loading modules...
Building menus...
Loading completed in 16 seconds
Attempting to open port 80
Accepting Connections
- [31/Jan/2009:03:26:25] saving dyncfg.cfg
Preload Favs done
Amoung other things that result in no Hackman menu in TivoWebPlus via Browser, I note the Hackman seems to be using MIPS versions of commands. The Tivo I have is a Phillips HDR612 which is PPC. I'd appreciate any suggestions on what I might have done wrong that may be indicated in the startup messages above.
Thanks,
HEC1152
PortlandPaw
01-31-2009, 11:34 AM
You've identified the problem. Somehow the mips and ppc versions of find and sendkey didn't find their way into the appropriate directories. Even though yours is a ppc machine, the mips versions have to be there, too, as they're used to test what kind of machine hackman is running on.
However, it could also be a permissions problem. Be sure to chmod 755 the contents of both the bin_mips and bin_ppc directories.
Try ftp'ing the contents of the bin_mips and bin_ppc directories and trying again. And another tip...before starting TWP be sure to shut down any running instances...look on the Restart menu and select Quit.
Please report back your results and/or any other problems.
hec1152
01-31-2009, 11:59 AM
YES!!!! That did it. I don't know which of the two suggestions you made about recopying bin_ppc and bin_mips and then chmod'ing them was the key but between those two actions, I now have Hackman menu in TivoWebPlus. Now I can move onto installing/upgrading the hacks and utilities. BTW - is there any consolidated site that references hacks, etc that are compatible w TWP 2.1.x and Hackman 7.x?
Thanks again for your prompt response.
ronsch
01-31-2009, 08:35 PM
David,
Have you ever attempted to be able to set the Sort Now Playing on a S1 DirecTivo via Hackman?
djl25
01-31-2009, 11:31 PM
TWP 2.1 won't load older modules without modification - the code is substantially different. It comes with quite a few built-in, though.
BTW - is there any consolidated site that references hacks, etc that are compatible w TWP 2.1.x and Hackman 7.x?
Thanks again for your prompt response.
PortlandPaw
02-01-2009, 09:45 AM
David,
Have you ever attempted to be able to set the Sort Now Playing on a S1 DirecTivo via Hackman?
I have that feature in hackman which, to the best of my knowledge, is limited to version 3.0 and up, but I haven't tested/refined it with 3.5, as I don't have any machines with that version loaded.
PortlandPaw
02-01-2009, 10:11 AM
TWP 2.1 won't load older modules without modification - the code is substantially different. It comes with quite a few built-in, though.djl is right regarding TivoWeb modules. In fact, I think hackman may be the only non-standard module that plays well with TWP 2.1, though there may be others I don't know about.
But other hacks, such as mfs_ftp, autospace, endpad, etc. are totally independent of TWP and work just fine. dvrpedia (http://dvrpedia.com/Main_Page) is a good source of information about other hacks and TiVo hacking in general.
ronsch
02-01-2009, 10:38 AM
I have that feature in hackman which, to the best of my knowledge, is limited to version 3.0 and up, but I haven't tested/refined it with 3.5, as I don't have any machines with that version loaded.
I've tried occasionally but without any success.
hec1152
02-01-2009, 03:51 PM
I've been using Hackman with no problem since completing setup/install yesterday. WOW - what an improvement over the previous versions I used years ago. Anyway, I think I might have messed up. I ask Hackman to rebuild it's file (I forget the menu title exactly) and after saying something to the effect that it would be right back, I've not seen it since on the TWP menu. I'm starting to re-read documents and look at logs, but I hope I didn't mess something up. Reason I did this was that it was showing mfs_ftp and running (i.e. no STOP icon) and I couldn't figure out why not since everything with mfs_ftp was okay via telnet.
Can someone advise what I need to do to get Hackman back on TWP menu?
P.S. I tried the procedure in the hackman documentation which states:
"If hackman will not load for some reason, delete any prior /config/hackman.cfg file. This causes hackman to reset the default settings and should allow hackman to load properly.
Procedure:
1. From ftp or telnet, delete the old /config/hackman.cfg file
2. Do a Quit and Restart from TivoWebPlus"
and I note (with concern) that there is no hackman.cfg file in the (TWP) config directory. So, there's nothing to delete to follow the procedure above. Also, a reboot of the tivo does not result in Hackman appearing on TWP menu. i.e. it seems to be gone! And I can't find info in logs (still looking for right log) on what might have happened. As far as the TWP log goes, hackman seems to have vanished (no mention of it in that log).
djl25
02-01-2009, 05:24 PM
Which version of TWP are you using? With later versions, you'll usually find the active config files in /var/TWP/config. If it exists, that's the hackman.cfg that you need to remove.
I've been using Hackman with no problem since completing setup/install yesterday. WOW - what an improvement over the previous versions I used years ago. Anyway, I think I might have messed up. I ask Hackman to rebuild it's file (I forget the menu title exactly) and after saying something to the effect that it would be right back, I've not seen it since on the TWP menu. I'm starting to re-read documents and look at logs, but I hope I didn't mess something up. Reason I did this was that it was showing mfs_ftp and running (i.e. no STOP icon) and I couldn't figure out why not since everything with mfs_ftp was okay via telnet.
Can someone advise what I need to do to get Hackman back on TWP menu?
P.S. I tried the procedure in the hackman documentation which states:
"If hackman will not load for some reason, delete any prior /config/hackman.cfg file. This causes hackman to reset the default settings and should allow hackman to load properly.
Procedure:
1. From ftp or telnet, delete the old /config/hackman.cfg file
2. Do a Quit and Restart from TivoWebPlus"
and I note (with concern) that there is no hackman.cfg file in the (TWP) config directory. So, there's nothing to delete to follow the procedure above. Also, a reboot of the tivo does not result in Hackman appearing on TWP menu. i.e. it seems to be gone! And I can't find info in logs (still looking for right log) on what might have happened. As far as the TWP log goes, hackman seems to have vanished (no mention of it in that log).
hec1152
02-01-2009, 05:31 PM
Found my error after finding the location in the Kernal log where Hackman reports what's going on as it tries to startup. For some reason my ppc_bin files were corrupted. Don't know why but it was apparent from error messages like those in earlier post. So, now I've recopied the appropriate ppc files back into the right place, restarted TWP, and all seems to be well.
I feel really stupid. But I did learn a few things while searching for messages.
ronsch
02-03-2009, 05:46 PM
I have that feature in hackman which, to the best of my knowledge, is limited to version 3.0 and up, but I haven't tested/refined it with 3.5, as I don't have any machines with that version loaded.
It looks like sendkey is the crucial element along with having TWP start asap after the boot?
I have a 3.5c DTiVO and have a sendkey.tcl in /tvlib/tcl/tv that has a lot of code that resembles what you have in hackman_util.tcl. Not being a real tcl coder, what should I be looking for?
ronsch
02-07-2009, 03:16 PM
When I try sorting as is with 3.5c I end up without sorting on and one tuner on channel 4 and the other tuner on channel 9.
hec1152
02-08-2009, 08:36 AM
I discovered the Dailymail function (now deprecated by Dailmail_jazz?). Anyway, the forum for that is huge but I tried to look for compatibility entries with TWP 2.x. There were quite a few and the opinions seemed mixed. It was hard for me to draw a conclusion as to whether either of these two versions could be made to work with TWP 2.x. It seemed that there was some indications that it could be done by referring some of the Dailymail references back to an installation of TivoWeb1.2.x (or TiwoWebPlus 1.9.x?). I was hoping for "sticky" about this but haven't found one yet. Can anyone advise as to what might work or could be made to work with TWP 2.1.x? I'd really like to try Dailymail_jazz (or it's predecessor) but I don't want to screw up my working (really NICE!) TWP 2.1.x installation. Thanks in advance.
PortlandPaw
02-09-2009, 09:44 AM
ronsch, I can't help with the sendkey question, since I don't have 3.5 available to me. I did copy the sendkey code to avoid compatibility problems, but I have no way of testing/debugging on 3.5.
As for Dailymail, I run it on my TiVos by having an installation of the old TivoWeb 1.9.4 (not running) on my machines. I edit the Dailymail cfg to point to the appropriate 1.9.4 files. The e-mail settings are a bit tricky, but once it's set up right, it works fine.
I even wrote a little script (attached) to send e-mail on startup. Put a reference to it in your rc.sysinit.author file and you'll get an apologetic e-mail when the TiVo reboots. It runs off the same cfg file as dailymail.
ronsch
02-10-2009, 12:56 PM
David,
I was hoping for some hints about how to go about trying to see what was happening? Now that football season is over I will have some time to play on the weekend. I intentionally reboot my DTiVo almost every night via the cron script that checks to make sure that no scheduled recordings are in progress.
It would be nice to be able to automatically set the Sort Now Playing each time.
unclemoosh
02-10-2009, 08:40 PM
[hijack thread]
Didn't know about dailymail. It is way cool. Installed it. I Like it!
[/hijack thread]
PortlandPaw
02-15-2009, 06:28 PM
See my signature for the latest hackman version which fixes a couple of bugs and adds a feature to clean up the main TiVo menu and get rid of the promo and showcase items.
drewbp
03-06-2009, 05:41 PM
The Hackman site seems to be down. Is there anywhere else to download. My last version was 4.0 and would very much like to update.
halfempty
03-06-2009, 06:09 PM
The Hackman site (http://www.tivohackman.com/) is working fine for me. Try it again, it was probably just a momentary thing.
drewbp
03-06-2009, 06:12 PM
I tried yesterday and today on several computers connecting directly for Portland Paw's signature and never connected, but you are right it is working now. Thanks.
Nidisa
03-15-2009, 10:31 AM
I new to working on my tivo, but have had some help from a local brain. I have one fully functional Zippered series 2 tivo working...able to run tytools and tivoserver just fine, no issues. I recently set up another unit in my living room. Ran the same zipper on it. I have mrv working between the two units, which is great. I can telnet and ftp to the second unit just fine. I can access the second unit via tivowebplus. I followed the instructions for Hackman, ftp'd the .tgz file to /var/hack and ran it. I restarted TWP. Hackman is not showing up. Here is the log from TWP and my telnet session from running Hackman.
Please help me get Hackman running!!
den-bash# cd /var/hack
den-bash# ls
TivoWebPlus doc hackman-V7.1.0.tgz
bin etc share
den-bash# tar xvzf hackman-V7.1.0.tgz
TivoWebPlus/
TivoWebPlus/.dist/
TivoWebPlus/.dist/update.sh
TivoWebPlus/bin_mips/
TivoWebPlus/bin_mips/find
TivoWebPlus/bin_mips/sendkey
TivoWebPlus/bin_ppc/
TivoWebPlus/bin_ppc/find
TivoWebPlus/bin_ppc/SendKey
TivoWebPlus/docs/
TivoWebPlus/docs/Hackman -- LICENSES.txt
TivoWebPlus/docs/hackman_changes.txt
TivoWebPlus/docs/hackman_README.txt
TivoWebPlus/docs/hackman_ReadMe7.1.htm
TivoWebPlus/docs/reloadmode
TivoWebPlus/images/
TivoWebPlus/images/altbootbutton.png
TivoWebPlus/images/backdoorbutton.png
TivoWebPlus/images/bootbutton.png
TivoWebPlus/images/brownbutton.png
TivoWebPlus/images/bufferbutton.png
TivoWebPlus/images/conflictbootbutton.png
TivoWebPlus/images/greenbutton.png
TivoWebPlus/images/helpbutton.png
TivoWebPlus/images/killbutton.png
TivoWebPlus/images/nobootbutton.png
TivoWebPlus/images/rebootbutton.png
TivoWebPlus/images/redbutton.png
TivoWebPlus/images/xPluszbutton.png
TivoWebPlus/modules/
TivoWebPlus/modules/fileutilities.itcl
TivoWebPlus/modules/hackman.cfg
TivoWebPlus/modules/hackman.itcl
TivoWebPlus/modules/hackman.pia
TivoWebPlus/modules/hackman_create_cfg.tcl
TivoWebPlus/modules/hackman_util.tcl
TivoWebPlus/modules/varbackup
TivoWebPlus/modules/xPlusz.itcl
TivoWebPlus/themes/
TivoWebPlus/themes/hackman.css
den-bash#
Using data dir /var/TWP
Starting TWP pid=288
TivoWebPlus - v2.1.b2 (2.1.b2 (oztivo-071217))
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files
for copyright and credit information.
Loading libs...
btutils
html
http
index
rec
sendkey
timezone
ui
util
TimeZone: US
-running init_channelList--- completed in 0 seconds
-running init_logoindex--- completed in 0 seconds
-running init_sp_cache--- completed in 0 seconds
rss_util
Loading modules...Building menus...
Loading completed in 7 seconds
Opening port 80
Accepting Connections
Preload Favs done
xxx.xxx.x.xxx - - [14/Mar/2009 10:05:36] /
- [14/Mar/2009:14:20:33] running CleanupGlobals
xxx.xxx.x.xxx - - [14/Mar/2009 17:00:35] /
xxx.xxx.x.xxx - - [14/Mar/2009 17:00:44] /quit/m
xxx.xxx.x.xxx - - [14/Mar/2009 17:00:46] /quit/r
Using data dir /var/TWP
Starting TWP pid=745
TivoWebPlus - v2.1.b2 (2.1.b2 (oztivo-071217))
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files
for copyright and credit information.
Loading libs...
btutils
html
http
index
rec
sendkey
timezone
ui
util
TimeZone: US
-running init_channelList--- completed in 0 seconds
-running init_logoindex--- completed in 0 seconds
-running init_sp_cache--- completed in 1 seconds
rss_util
Loading modules...ChannelMap,backup,channelgrid,channelprefs,confirm ,confresManual,extract,folders,gallery,gdchecker,higuide,inf o,logos,logs,mail,manrec,menus,
--Info: merge won't be loaded: it may rely on an unavailable feature (e.g. events or sendkey)
mfsbrowser,mrv,netconfig,
--Info: phone won't be loaded: it may rely on an unavailable feature (e.g. events or sendkey)
preferences,reorder,
--Info: resources won't be loaded: it may rely on an unavailable feature (e.g. events or sendkey)
rowformat,rss,
--Info: screen won't be loaded: it may rely on an unavailable feature (e.g. events or sendkey)
search,sysadmin,theme,thumbs,ui_channel,ui_compat,ui_deleted shows,ui_history,ui_listings,ui_nowshowing,ui_record,ui_sear ch,ui_season_pass,ui_series,ui_showing,ui_todo,update,
--Info: webremote won't be loaded: it may rely on an unavailable feature (e.g. events or sendkey)
whatson,wishlists, - [14/Mar/2009:21:00:57] saving module_cache.cfg
Building menus...
Loading completed in 6 seconds
Opening port 80
Accepting Connections
Preload Favs done
xxx.xxx.x.xxx - - [14/Mar/2009 17:02:58] /
xxx.xxx.x.xxx - - [14/Mar/2009 17:03:40] /logs
loading module logs (707936)
xxx.xxx.x.xxx - - [14/Mar/2009 17:03:45] /mfs
loading module mfsbrowser (733680)
xxx.xxx.x.xxx- - [14/Mar/2009 17:04:06] /logs/
thanks!!
additional info: I deleted the hackman.cfg file and had it rebuild, still no joy :( Awaiting your wisdom!
PortlandPaw
03-15-2009, 11:34 AM
Are you sure hackman is in the same directory as TWP? I think zipper puts it in root (which I don't like myself). You have to find the TivoWebPlus directory with ffind TivoWebPlus put the hackman.tgz file in the directory above it and then install it. Make sure the drive is set to read/write before doing this.
Nidisa
03-15-2009, 01:08 PM
den-bash# ffind TivoWebPlus
/var/hack/TivoWebPlus
/TivoWebPlus
den-bash#
That is what I found....so are you saying put it in /var ?
And I'm unclear what you mean by "Make sure the drive is set to read/write before doing this."
Thank you for the assistance! I really am trying to become more competent. I've read this entire thread, the read me on the hackman site....I have some holes in my understanding of dos and how it works. But I was proud that I was able to buy a drive, make the zipper cd...install it, open up the tivo and put a new drive it and get it working to this point!! I just need a little more hand holding through this, thanks again for any and all assistance :)
PortlandPaw
03-15-2009, 01:28 PM
You're getting there...there is a TivoWebPlus directory under /var/hack (it was created when you installed hackman there), but there is also one in your root directory, and that's the real one. So try copying the hackman.tgz to / (the root directory) and installing from there.
Because the root drive should be left read-only, it won't let you copy anything to it, much less install hackman. So from the bash prompt enter "rw" and that should open it up. This is a command added by the zipper, so it should be available to you.
Nidisa
03-15-2009, 01:49 PM
den-bash# cd
den-bash# ls
TivoWebPlus enhancements install platform tvlib
bin etc lib proc var
busybox etccombo lost+found sbin
dev hacks mnt tmp
dist initrd opt tvbin
den-bash#
So is this the root directory? So I ftp the hackman.tgz file to this area? Or to the TivoWebPlus folder?
Do I have to delete the wrong installation of hackman in the /var/hack directory, or can I leave the mess that I made there without it interferring with the new?
Again, thank you so much for the patient and quick assistance :)
PortlandPaw
03-15-2009, 02:01 PM
Here's what I'd dorm -r /var/hack/TivoWebPlus
That gets rid of your old hackman installation -- you don't need it
mv /var/hack/hackman-V7.1.0.tgz /hackman-V7.1.0.tgz
That moves your file to a new location. Then cd /
tar xvzf hackman-V7.1.0.tgz
That should do it! Good luck!
Nidisa
03-15-2009, 02:27 PM
WOOOHOO!! That did it!!! *happy dance*
Thank you so much PortlandPaw!!! This has been 2 years of trying to be able to do this :) And now, I've been able to start from buying a used tivo and get to this point! I'm so happy!!! *hugs*
arich57
03-16-2009, 02:00 AM
yep
derekbuck
01-10-2010, 08:53 AM
Sorry to take you back in time to when 4.2.8 was an ongoing concern...
I had a disk go out and have rebuilt but trying to get hackman on is proving to be a little awkward...
ftp'd the files (using Binary) to my tivoweb-tcl dir and subs, then ./hackman.itcl gives me this:
./hackman.itcl
./hackman.itcl: proc: command not found
./hackman.itcl: global: command not found
./hackman.itcl: line 34: syntax error near unexpected token `}'
./hackman.itcl: line 34: `}'
where am I going wrong?
Thanks,
Del.
mark33swm
01-12-2010, 02:33 AM
I need a little help decrypting a 6.4a HR10-250. I would like to know first if there is any way to enable networking and preserve my recordings. Second if not how do I disable encryption on my working drive that I am practicing on. I have used PTVNet and InstantCake, and have your Hackman utility working. I'm still not able to download a file that I can open however. Do you have a utility to accomplish the decryption or could you add that?
Thanks,
Mark
PortlandPaw
02-03-2010, 04:51 PM
Sorry, my first hand knowledge stops at version 6.2. I hope to graduate to HD some day, but it won't be soon.
Sunapee
02-23-2010, 10:21 AM
I have a series 2 and am having a problem getting Hackman to start with TWP.
Software System: 6.2-01-2-321
TWP Version 2.1.b3 (oztivo-091208)T
Hackman version 7.1.0
TWP is in \TivoWebPlus with config files in \var\TWP\configs
I removed all Hackman files on the box by referencing the files in the Hackman -V7.1.0.tgz file. Then followed the instructions in the Read-Me file. Now I see the proper Hackman files in the modules folder under TivoWebPlus.
When I reboot the TiVo TWP launches and seems fine, except I have no Hackman.
The only reference to Hackman in the TWP log file is:
hackman_util,
-- Loading hackman Version 7.1.0 --
-Tuesday, February 23, 2010, 09:20 AM, local time
-hackman comes with ABSOLUTELY NO WARRANTY.
-This program is licensed under the GPL.
-See the 'docs/Hackman -- LICENSES.txt' file for copyright and credit information.
-Checking TWP version number: newer TivoWebPlus version
-Root directory mounted read-only (recommended)
-hackman utility load completed
I know I am probably making a simple mistake, but after a couple of days searching I cannot figure it out. Any help would be appreciated.
PortlandPaw
07-02-2010, 06:41 PM
I know it's been a long time and I don't know how many old TiVos and old TiVo hackers are out there, but I found a bug or two in Hackman and fixed them. They've been there for almost a year and a half, so it's doubtful than anyone really cares, but if you do, click the link in my sig.
dlmcmurr
07-02-2010, 09:51 PM
Still using it! Thanks for all your hard work. :up:
Dave
StanSimmons
07-03-2010, 02:28 AM
Ditto
magnus
07-05-2010, 11:06 AM
Same here. I wish Tivo would allow for TWP and hackman without having to hack the box. It's a lot easier to use than some of the things that Tivo has out of the box.
KyooMac
07-07-2010, 10:44 AM
I'm still using it on two DSR 704's with dual 500gb seagate hard drives. thanks for your update and hard work!
Soapm
07-08-2010, 12:05 AM
Still working great for me. Thanks for the update!:up:
MontyL
09-30-2010, 10:08 AM
:up::up: :)
David, you keep doing what you do, we'll keep giving you kudos!
I thought I broke it unpacking 7.1.1 over 7.1.0, nearly panicked when I found that the only prior version I had backed up was 7.0.2, and breathed a sigh when it started working after chmod'ing the mips and ppc folders followed by a full restart of the TiVo and two full restarts of TWP... RTFM! :)
(yes, the join date and post count are correct... read and learn, grasshoppers!)
ToshTivo
11-29-2010, 02:09 AM
David, First of All...Thanks for all your work. I have tried to update my TWP with your hackmand 7.1.1 files and have been not been able to get it to load, however TWP loads fine. I have read this this forum for problems similar to mine and tried out the suggestions but have been unsucessful. If you have the time I would appreciate a pointer in looking over my log file for a potential fix. Thanks Again!
------============------ Loading ------============------
TivoWebPlus - v2.1.b3 2.1.b3 (oztivo-090121)
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files for copyright and credit information.
Loading libs...
btutils,html,http,index,rec,sendkey,sendkeyavail=0
timezone,ui,util,TimeZone: US
-running init_channelList--- completed in 1 seconds
-running init_logoindex--- completed in 0 seconds
-running init_sp_cache--- completed in 0 seconds
hackman_util,
-- Loading hackman Version 7.1.1 --
-Sunday, November 28, 2010, 11:00 PM, local time
-hackman comes with ABSOLUTELY NO WARRANTY.
-This program is licensed under the GPL.
-See the 'docs/Hackman -- LICENSES.txt' file for copyright and credit information.
-Checking TWP version number: newer TivoWebPlus version
-Root directory mounted read-only (recommended)
POSIX ENOENT {no such file or directory} couldn't execute "": no such file or directory
while executing
"exec $hm::find / -path /proc -prune -o -name freepages -type f -print"
(in namespace eval "::" script line 716)
invoked from within
"namespace eval $ns "$s""
Loading modules...
Building menus...
Loading completed in 11 seconds
Attempting to open port 80
Accepting Connections
- [29/Nov/2010:07:00:28] saving dyncfg.cfg
Preload Favs done
aleks
09-22-2011, 07:11 AM
Hi,
I'm struggling with switching between TivoWeb (1.9.4) and TWP (2.1.b3) on my UK TiVo.
I've followed the PortlandPaw 2007 guide and installed HackMan 7.1.1 running on TWP and Hackman 4.2.8 on TivoWeb
While I can switch from TWP to TivoWeb there is no option to switch back
As far as I could understand the guide I have the right version of Hackman for each TivoWeb. But have I misunderstood and should I have 7.1.1 on both? Can I just copy the TWP installation to the Tivoweb directory or do I need to reinstall (gulp)
Thanks
Aleks
djl25
09-22-2011, 12:24 PM
Just curious: when you say "switching between", do you have a need of both Tivoweb versions being installed? The easiest way to do that would be to have them in completely separate directories and on different ports. Then just install the different Hackman versions to the correct Tivoweb installation.
Hi,
I'm struggling with switching between TivoWeb (1.9.4) and TWP (2.1.b3) on my UK TiVo.
I've followed the PortlandPaw 2007 guide and installed HackMan 7.1.1 running on TWP and Hackman 4.2.8 on TivoWeb
While I can switch from TWP to TivoWeb there is no option to switch back
As far as I could understand the guide I have the right version of Hackman for each TivoWeb. But have I misunderstood and should I have 7.1.1 on both? Can I just copy the TWP installation to the Tivoweb directory or do I need to reinstall (gulp)
Thanks
Aleks
PortlandPaw
09-23-2011, 10:20 AM
The Brits do need both versions installed in separate directories, with redundant hackman installations.
aleks, try this. In the TivoWeb installation, go to the Preferences page (link at the bottom, the date unless you've changed it) and then the View paths and pathnames page. At the bottom is the option to rebuild the configuration file.
Doing that should find the TWP installation and enable switching between them.
Good luck!
aleks
09-26-2011, 01:03 PM
That's fantastic. It works. Thank you so much.
My poor Tivo may be 11 years old but I would get into such trouble if any of it stopped working and switching between the tivowebs is so useful. Being a mk1 with a 50Mhz processor it really struggles running both at the same time.
Aleks
Soapm
09-26-2011, 11:05 PM
That's fantastic. It works. Thank you so much.
My poor Tivo may be 11 years old but I would get into such trouble if any of it stopped working and switching between the tivowebs is so useful. Being a mk1 with a 50Mhz processor it really struggles running both at the same time.
Aleks
Wow, a 50Mhz processor. I forgot there ever made those. Until I bought my router I was using a DX4 100 box for a firewall. Kind of hated to retire it since it was stable as all heck.
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.