TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 02-08-2005, 05:17 AM   #661
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Although I suppose anything is possible, the only time hackman does anything is at boottime when it sends keycodes for any requested backdoor startup codes and later when the user initiates an action (start, stop, file edit, etc.) directly. Otherwise, it just sits there waiting for a command.

I've never had any unexpected boot problems with either the S1 SA or DTivo that couldn't be traced to corrupted program data, which hackman doesn't touch.

Other hacks, such as tserver, vserver, tyindex, etc. are doing things in the background while TiVo is running and are probably more likely suspects.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.

Last edited by PortlandPaw : 02-08-2005 at 07:08 AM.
PortlandPaw is offline   Reply With Quote
Old 02-08-2005, 10:53 AM   #662
ThurstonX
Registered User
 
Join Date: Jan 2005
Location: VA
Posts: 70
Re: Beta for the weekend

Quote:
Originally posted by PortlandPaw
OK, here's the beta for the weekend. Nothing new in terms of features, but I hope to have addressed the issues that have been raised and, therefore, move this closer to 4.0.0 (no more beta, the outcries have started).

I've added a requirement that if the hackman.cfg file was not created by the most recent version then both the hackman.cfg and hackman.ini files will be re-generated. This should eliminate migration problems but obviously requires resetting your preferences...just don't be surprised.

Everyone knows the drill -- please let me know how this works for you.
Installed the new beta, and while the error caused by setting the password is gone, and the new password appears to take, it does not. I tried something like:
Abc!123
where the only non-alphanumeric is the '!' When I try to use it to login to Preferences it fails, but the default works. Is a TWP restart required? Are NO non-alphanumerics supported?

FWIW, i tried one using only alphanumerics, with the same result.

BTW, I'm using Opera 7.54u2 (the latest). Haven't tried using IE.

[edit]: Seems to be an Opera issue. Grrr. I used IE and it set it correctly, both alphanumeric only and using 'special' characters.

Now a new issue:
I accidentally clicked the yellow button next to "TiVo Telnet" which I reckon edits /etc/rc.d/rc.sysinit.author. A backup was ceated, but it's zero size:

-rwxr-xr-x 1 root root 0 Feb 8 16:05 rc.sysinit.author.ORIG
-rwxr-xr-x 1 root root 634 Feb 8 16:05 rc.sysinit.author

I got a nice warning from hackman that telnet was set in both
/etc/rc.d/rc.sysinit.author
&
/etc/rc.d/rc.sysinit
which is what tipped me off to my mistake (so, thanks for that!). I just commented out the .author telnet lines you added, but one thing is missing from my original .author file. It had a line to initiate fakecall.tcl. Since I have that cron'd, that's not a big deal. I assume it was added when I first hacked the box. What is worrying is that the backup seems to have failed.

TIA.
__________________
Samsung SIR-S4040R Series 2 D*TiVo (6.2)
250 GB WD2500JB
Netgear FA-120
TWP 1.1-pre2 w/too many mods ;-)
ThurstonX is offline   Reply With Quote
Old 02-08-2005, 11:10 AM   #663
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
OK, that's the second report I've had of a zero-byte .ORIG file. I thought at first it was because the original rc.sysinit.author file didn't exist, but that's obviously not the case. I'll look into it. Thanks for the heads-up.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-08-2005, 12:10 PM   #664
zeddock
Registered User
 
Join Date: Jan 2005
Location: MD
Posts: 4
Could this have something to do with my loss of my .author file? I had just turned on 30second skip inside of hackman.

Just an FYI.

-zeddock

PS. I am getting some help in the newbie forums, but it looks like I will recover my stuff. When I get back in I will let you know what I find with the .author file, etc. You can follow things here if you want.

/forum/showpost.php?p=209012&postcount=1
zeddock is offline   Reply With Quote
Old 02-08-2005, 07:48 PM   #665
ThurstonX
Registered User
 
Join Date: Jan 2005
Location: VA
Posts: 70
Thumbs up

Quote:
Originally Posted by PortlandPaw
OK, that's the second report I've had of a zero-byte .ORIG file. I thought at first it was because the original rc.sysinit.author file didn't exist, but that's obviously not the case. I'll look into it. Thanks for the heads-up.
NP. Thanks for a truly great tool. Now that I've ... *cough cough* *ahem* ... managed to RTFM, I'm learning to utilize it better, not to mention taking your good advice about backing up scripts, etc.

I do have a question about how to get an app recognized and thus under hackman's control. I'm running lshd for those rare times I need to connect from work. Maybe I missed it in the README (and if so, just point me back there and I'll have another go), but I'm not sure how to make hackman find, e.g.,
/var/hack/lsh-1.5.5/sbin/lshd
and how to make sure it would use the following startup cmd:
${LSH}/sbin/lshd -h ${LSH}/lsh_host_key --daemonic --root-login --no-password --subsystems sftp=${LSH}/sbin/sftp-server
(where LSH is set to var/hack/lsh-1.5.5)

I started to edit hackman.cfg to 'set' everything, but then got paranoid, went back to the README and realized you've allowed for control in the user's section of .author.

Thanks again for a great meta-hack :-)
__________________
Samsung SIR-S4040R Series 2 D*TiVo (6.2)
250 GB WD2500JB
Netgear FA-120
TWP 1.1-pre2 w/too many mods ;-)
ThurstonX is offline   Reply With Quote
Old 02-08-2005, 08:30 PM   #666
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Quote:
Originally Posted by zeddock
Could this have something to do with my loss of my .author file? I had just turned on 30second skip inside of hackman.
Highly unlikely. It's a whole different area of code.
Quote:
Originally Posted by zeddock
PS. I am getting some help in the newbie forums, but it looks like I will recover my stuff.
The repartee is as expected. Please look for my PM to you.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-08-2005, 08:33 PM   #667
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Quote:
Originally Posted by ThurstonX
I do have a question about how to get an app recognized and thus under hackman's control.
Do-it-yourself additions to hackman have become really unmanageable. You're doing the right thing putting that command in the "users section." If there's a great outcry for adding lsh I'll do it. And thanks for the kind words.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-08-2005, 08:34 PM   #668
Gunnyman
Peekols
 
Gunnyman's Avatar
 
Join Date: Jul 2003
Location: Greenville SC
Posts: 27,724
I have been tweaking Hackman off and on today and FINALLY got the hang of things!
Thanks PP for such a USEFUL tool.
__________________
It's a sociological cornucopia of silliness.
Gamertag: GGwallen
Gunnyman is offline   Reply With Quote
Old 02-09-2005, 08:32 AM   #669
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Quote:
Originally Posted by Gunnyman2k3
I have been tweaking Hackman off and on today and FINALLY got the hang of things!
Thanks PP for such a USEFUL tool.
Cool! And you're welcome!
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 08:41 AM   #670
Gunnyman
Peekols
 
Gunnyman's Avatar
 
Join Date: Jul 2003
Location: Greenville SC
Posts: 27,724
one stupid question
I have fakecall set up to run as a cron job. Is there a way within hackman to see that it actually ran? Or is there an easier way to get fakecall run within hackman.
I am typing it in the "commandline box" every day because I am having a hard time verifying that my cron job is setup correctly.
Thanks
G
__________________
It's a sociological cornucopia of silliness.
Gamertag: GGwallen
Gunnyman is offline   Reply With Quote
Old 02-09-2005, 09:03 AM   #671
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
You can check the cronlog to see if the cron job at least tried to run fakecall, but your best bet is to set up fakecall to write its own log where any errors will show up. For example, I use the following cron entry to do the moviesort hack:
Code:
# Fifteen after three a.m.(EST) or four a.m. (DST), Maine time, every night, update moviesearch
15 8 * * * /var/hack/bin/moviesort.tcl > /var/hack/log/moviesort 2>&1
The stuff after the first ">" specifies where the log should be created.

Then you can use hackman's edit file capabilities (select "other", and put in the filename) to see what it says. Or, if you get ambitious, you can add the file name to the list that comes up in the drop-down menu -- see the very end of hackman.itcl for directions how to do it.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 09:21 AM   #672
ThurstonX
Registered User
 
Join Date: Jan 2005
Location: VA
Posts: 70
cron jobs

Quote:
Originally Posted by Gunnyman2k3
one stupid question
I have fakecall set up to run as a cron job. Is there a way within hackman to see that it actually ran? Or is there an easier way to get fakecall run within hackman.
I am typing it in the "commandline box" every day because I am having a hard time verifying that my cron job is setup correctly.
Thanks
G
Gunny, run this cmd (hackman or telnet) and see if yours looks like mine:

bash-2.02# cat /var/spool/cron/crontabs/root
0 0 * * * fakecall.tcl
0 0 * * * wipelogs

wipelogs is optional, of course. If you're worried about a PATH issue, do this:
bash-2.02# which fakecall.tcl
/busybox/fakecall.tcl

and change root's crontab to:
0 0 * * * /busybox/fakecall.tcl

yours might not be in /busybox, so set the path accordingly. Just make sure the structure of the entry matches the above (five fields: MIN HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK)

When in doubt, look it up ;-)
http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5

PortlandPaw,
any idea where cron logs? I checked in /var/log, grepping for 'cron' and 'fake' but only found the following:

bash-2.02# grep -i cron *
messages:Feb 9 03:09:51 (none) crond[228]: crond 2.3.2 dillon, started, log level 8
messages:Feb 9 05:30:44 (none) crond[229]: crond 2.3.2 dillon, started, log level 8

claims to be logging.

Hope that eases your mind, Gunny.
__________________
Samsung SIR-S4040R Series 2 D*TiVo (6.2)
250 GB WD2500JB
Netgear FA-120
TWP 1.1-pre2 w/too many mods ;-)
ThurstonX is offline   Reply With Quote
Old 02-09-2005, 09:32 AM   #673
ThurstonX
Registered User
 
Join Date: Jan 2005
Location: VA
Posts: 70
Feature Request

PortlandPaw,
would it be possible to have hackman return to the Preferences page after editing a file and clicking OK? Well, I'm sure it's possible, but would you consider it. It's kind of a pain to have to enter the password again to get back in there.

TIA.
__________________
Samsung SIR-S4040R Series 2 D*TiVo (6.2)
250 GB WD2500JB
Netgear FA-120
TWP 1.1-pre2 w/too many mods ;-)
ThurstonX is offline   Reply With Quote
Old 02-09-2005, 09:34 AM   #674
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
I'm using the Series 1, non-BusyBox version of cron, so I really don't know how BusyBox log works. For Series 1, the logs will be found in /var/hack/cron/, which is a hard-coded path. Nice, for consistencies sake.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 09:58 AM   #675
Gunnyman
Peekols
 
Gunnyman's Avatar
 
Join Date: Jul 2003
Location: Greenville SC
Posts: 27,724
Thanks Thurston
everything seems to be running fine
__________________
It's a sociological cornucopia of silliness.
Gamertag: GGwallen
Gunnyman is offline   Reply With Quote
Old 02-09-2005, 11:45 AM   #676
taw123
Registered User
 
Join Date: Feb 2005
Posts: 7
Cool I feel like an idiot....

I hacked my S2 DTiVo (killininitHD), installed a collection of OSD hacks, 4.0.1b software, BusyBox (Alpha's post), superpatched, installed MFS_FTP, TiVoFTPd.mips, created start up script to run various process listed, added Telnet deamon to startup, installed TWP 1.1pre2, hexedited the kernel to reset the backdoor code, chron'd FakeCall and log clean, installed updated USB 2.0 ethernet drivers, set the default login directory to /var/hack, set telnet login prompt to display current dir, installed a new version of sendkey posted on the net, installed elseed (Caller-ID, with local address book), and the following TivoWeb modules (Backup, Channel Grid, New Episodes, Web Remote, What's on?).

All those TivoWeb modules work and one would assume I am not TOTALLY incompetent BUT.....

I can't for the life of me get HackMan to show up in the module list in TWP 1.1 pre2. If I try to launch it manually by just typing the url for the module I get a msg that not surprisingly no .cfg file exists (since one have never been created/module started normally).

What I did
I copied the find command to the TWP binary dir, and linked the copy of sendkey I had both as SendKey and sendkey. Here is my directory.

ls -la /var/hack/tivowebplus/bin_mips
total 152
drwxr-xr-x 2 0 0 1024 Feb 9 17:30 .
drwxr-xr-x 9 0 0 1024 Feb 8 10:32 ..
lrwxrwxrwx 1 0 0 12 Feb 9 17:30 SendKey -> /bin/sendkey
-rwxr-xr-x 1 0 0 118 Feb 9 01:17 SendKey-alt
-rwxr-xr-x 1 0 0 9848 Dec 21 2003 bsearch
-rw-r--r-- 1 0 0 134564 Feb 9 01:19 find
-rwxr-xr-x 1 0 0 5684 Dec 21 2003 get_space
lrwxrwxrwx 1 0 0 12 Feb 9 01:19 sendkey -> /bin/sendkey


Copied all the images to TWP images.
/var/hack/hackman# ls -la /var/hack/tivowebplus/images/
total 76
drwxr-xr-x 2 0 0 1024 Feb 9 01:21 .
drwxr-xr-x 9 0 0 1024 Feb 8 10:32 ..
-rw-r--r-- 1 0 0 1575 Sep 22 20:27 SelectIcon-256.10.png
-rw-r--r-- 1 0 0 1236 Feb 9 01:21 altbootbutton.png
-rw-r--r-- 1 0 0 1202 Feb 9 01:21 backdoorbutton.png
-rw-r--r-- 1 0 0 1249 Feb 9 01:21 bootbutton.png
-rw-r--r-- 1 0 0 545 Feb 9 01:21 brownbutton.png
-rw-r--r-- 1 0 0 1164 Feb 9 01:21 bufferbutton.png
-rw-r--r-- 1 0 0 1257 Dec 13 2003 conflict1.png
-rw-r--r-- 1 0 0 1257 Dec 13 2003 conflict2.png
-rw-r--r-- 1 0 0 1257 Dec 13 2003 conflict3.png
-rw-r--r-- 1 0 0 1265 Dec 13 2003 conflict4.png
-rw-r--r-- 1 0 0 1223 Feb 9 01:21 conflictbootbutton.png
-rw-r--r-- 1 0 0 1406 Jan 9 2004 favicon.ico
-rw-r--r-- 1 0 0 383 Feb 9 01:21 greenbutton.png
-rw-r--r-- 1 0 0 38539 Mar 29 2004 hdvr2.png
-rw-r--r-- 1 0 0 468 Feb 9 01:21 killbutton.png
-rw-r--r-- 1 0 0 1236 Feb 9 01:21 nobootbutton.png
-rw-r--r-- 1 0 0 530 Feb 9 01:21 rebootbutton.png
-rw-r--r-- 1 0 0 1685 Dec 6 2001 recycle1.png
-rw-r--r-- 1 0 0 343 Feb 9 01:21 redbutton.png
-rw-r--r-- 1 0 0 1251 Dec 13 2003 slotfree.png
-rw-r--r-- 1 0 0 1189 Feb 9 01:21 xPluszbutton.png

Finally I copied the hackman module to the TWP modules dir:
/var/hack/hackman# ls -la /var/hack/tivowebplus/modules/
total 775
drwxr-xr-x 3 0 0 1024 Feb 9 01:21 .
drwxr-xr-x 9 0 0 1024 Feb 8 10:32 ..
drwxr-xr-x 2 0 0 1024 Feb 8 10:14 backup
-rw-r--r-- 1 0 0 109585 Dec 31 15:41 backup.itcl
-rw-r--r-- 1 0 0 15516 Jan 28 00:03 channelgrid.itcl
-rw-r--r-- 1 0 0 28330 Feb 3 17:12 channelprefs.itcl
-rw-r--r-- 1 0 0 4328 Dec 13 2002 displaytext.itcl
-rw-r--r-- 1 0 0 1017 Jan 31 2004 favicon.itcl
-rw-r--r-- 1 0 0 32493 Feb 8 09:24 folders.itcl
-rw-r--r-- 1 0 0 154957 Feb 9 01:21 hackman.itcl
-rw-r--r-- 1 0 0 23648 Feb 1 11:44 index.itcl
-rw-r--r-- 1 0 0 18252 Oct 23 18:11 info.itcl
-rw-r--r-- 1 0 0 12666 Oct 23 18:11 lj_utils.itcl
-rw-r--r-- 1 0 0 23349 Sep 22 20:24 logos.itcl
-rw-r--r-- 1 0 0 2433 Oct 23 18:11 logs.itcl
-rw-r--r-- 1 0 0 8035 Oct 23 18:11 mail.itcl
-rw-r--r-- 1 0 0 3958 Oct 23 18:11 mfsbrowser.itcl
-rw-rw-rw- 1 0 0 7456 Nov 17 2003 newepisodes.itcl
-rw-r--r-- 1 0 0 11622 Oct 23 18:11 phone.itcl
-rw-r--r-- 1 0 0 8244 Oct 23 18:11 resources.itcl
-rw-r--r-- 1 0 0 19188 Jan 31 2004 sched.itcl
-rw-r--r-- 1 0 0 19598 Sep 22 20:25 search.itcl
-rw-r--r-- 1 0 0 1107 Jan 31 2004 theme.itcl
-rw-r--r-- 1 0 0 18922 Dec 31 16:09 tivoweb-backup-readme.htm
-rw-r--r-- 1 0 0 2435 Jan 31 2004 tvres-2.0.res
-rw-r--r-- 1 0 0 3440 Jun 10 2002 tvres-2.5.res
-rw-r--r-- 1 0 0 3440 Jan 31 2004 tvres-3.0.res
-rw-r--r-- 1 0 0 166244 Oct 23 18:11 ui.itcl
-rw-r--r-- 1 0 0 23218 Aug 7 2004 webremote.itcl
-rw-r--r-- 1 0 0 19219 Oct 23 18:11 whatson.itcl
-rw-r--r-- 1 0 0 15526 Sep 22 20:25 wishlists.itcl

After all that I still don't see HackMan in my list of modules. As I mentioned if I manually try to launch it by typing
Code:
http://tivo-office.e-weyer.com/hackman
I get:



Code:
INTERNAL SERVER ERROR
--cut here--
action_hackman '' ''
couldn't read file "/var/hack/tivowebplus/modules/hackman.cfg": no such file or directory
    while executing
"source $source_dir/modules/hackman.cfg"
    (procedure "::action_hackman" line 12)
    invoked from within
"::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
As I said, saying that cfg file is not there as the module never correctly inited.....

Any help for a hacker who think's he is losing his mind? I only have this tivostudio to install and then I clone the drive to my 3 DTivos!

Thanks for any help you can offer

Tom
taw123 is offline   Reply With Quote
Old 02-09-2005, 12:19 PM   #677
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Tom, I suspect you've taken a few too many liberties with the /bin_mips directory. Hackman tests both "find" and "sendkey" to be sure they work OK and I bet the dynamic links don't perform as expected. Just a theory. Shut down TivoWebPlus with Restart | Quit and then get to a bash prompt. cd to your TWP directory and start with ./tivoweb console. Then observe the load errors.

If it looks like something is happening with find or sendkey, then clean out both the /bin_mips and /bin_ppc directories leaving bsearch and get_space and copy the files that came with hackman to their respective directories. Yes, you'll have duplicates but what's a few bytes out of however many gigabytes you have?

Then do a Restart | Quick Reload of TWP and again watch your telnet session for error messages. Let me know how it turns out.

PLUS: I just noticed that your find is not executable. You should do this first before the steps I outlined above:

cd /var/hack/tivowebplus/bin_mips
chmod +x find

and I bet it will work. That plus my stand admonition: Be sure to study the ReadMe!
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.

Last edited by PortlandPaw : 02-09-2005 at 12:25 PM.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 01:22 PM   #678
taw123
Registered User
 
Join Date: Feb 2005
Posts: 7
The plot thickens

Sendkey isn't the culprit....

I replaced with the distribution version and still get the same error about not being able to find tivoweb plus (not the location and version mismatch)

Code:
/var/hack/tivowebplus# ./tivoweb console
/var/hack/tivowebplus# TivoWebPlus Project - v1.1-pre2
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'copyright' and 'README' files for copyright and credit information.
Loading modules...
backup
channelgrid
channelprefs
displaytext
favicon
folders
hackman
--hackman Version 3.3.15 beta--
-Creating or re-writing hackman.cfg...
-No problem running mips find -- mips version of find selected.
-No problem running mips sendkey -- mips sendkey selected.
POSIX ENOENT {no such file or directory} couldn't stat "/var/hack/S2utils/tivowebplus-1.0-final/tivoweb": no such file or directory
    while executing
"file size $file/tivoweb"
    (procedure "CreateConfig" line 52)
    invoked from within
"CreateConfig"
    (file "./modules/hackman.itcl" line 3271)
    invoked from within
"source $module "
index
-initializing logo index
-initializing channel table
--caching 660 channels for source of type=6 (DirecTV)
-initializing genre table
-initializing now showing cache
-initializing season pass cache
info
lj_utils
logos
logs
mail
mfsbrowser
newepisodes
phone
resources
Loaded 0 resource definitions
sched
search
theme
ui
webremote
whatson
wishlists
Accepting Connections
Web Server Terminated
I recopied find and sendkey from the hackman-V3.3.15.beta.zip distribution I had on my disk. And tied again. Still won't load. I looked in both my bin_mips and it looks correct. Even checked it on my mac with the FILE command:
Code:
find: ELF 32-bit MSB MIPS-I executable, MIPS, version 1 (SYSV), for GNU/Linux 2.2.15, dynamically linked (uses shared libs), stripped
The console shows that hackman is looking for /var/hack/S2utils/tivowebplus-1.0-final/tivoweb this is incorrect. tivowebplus is actually located at /var/hack/tivowebplus

Where is this location being set? I think I should be all set if I can get hackman looking at the right location.

Thanks again for the help (getting there). BTW looks like the symbolic links should work in case anyone else asks.
taw123 is offline   Reply With Quote
Old 02-09-2005, 01:24 PM   #679
taw123
Registered User
 
Join Date: Feb 2005
Posts: 7
one quick addition. As mentioned above I am running TivoWebPlus Project - v1.1-pre2
taw123 is offline   Reply With Quote
Old 02-09-2005, 02:05 PM   #680
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
What's happening is this: hackman is looking for any and all TivoWeb directories. It's finding /var/hack/S2utils/tivowebplus-1.0-final/, which is probably where you put the old TWP file. It's then looking at the tivoweb file in that directory to see how big it is and determine if it's 1.9.4 or TWP. But it's not finding that file and thus the error.

I need to put a condition on that last file size command. In the meantime, you can simply rename that directory and things should go more smoothly.
mv /var/hack/S2utils/tivowebplus-1.0-final/ /var/hack/S2utils/OLDtivowebplus-1.0-final/

Sorry about the initial false direction, but I was right about the permission on find, wasn't I?
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 04:58 PM   #681
taw123
Registered User
 
Join Date: Feb 2005
Posts: 7
Had to delete a couple other false files that hackman found (can't believe I forgot about the twp console option, makes debugging MUCH easier....).

Only one issue remaining. Actually 2 if you count my ui suggestion.

First the UI suggestion. I am colorblind (aren't more geeks given our clothing selections....) it would be great to have an option that changes the colors on the "gumdrop" status bubbles to another color (I know I probably could hack the images dir files), or at the very least change the color to a char/symbol. Just a though for your next version. Working for Apple here it's all about the UI

Second, and more pressing I think I have determined that hackman sees all my hacks and they are all marked as enabled and under control of my /etc/rc.d/rc.sysinit.author. Unfortunately though it claims that Telnet ISN'T, though I can clearly see it. Any thought?

/var/hack# more /etc/rc.d/rc.sysinit.author
#!/bin/bash

PATH=/bin:/sbin:/usr/local/bin:/var/hack:/var/hack/bin:/var/hack/etc:/tivobin:/t
vbin
# /busybox:
TIVO_ROOT=
MFS_DEVICE=/dev/hda10
IGNOREEOF=1000
export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF
export LD_LIBRARY_PATH=/usr/local/lib
export TERMINFO=/usr/local
export TERM=xterm

echo Turning off firewall ... >& /dev/console
[ -x /etc/netfilter-disable ] && /etc/netfilter-disable

echo Enabling telnet daemon ... >& /dev/console
tnlited 23 /bin/bash -login >& /dev/console &

# start ftp
# /busybox tivoftpd
/var/hack/tivoftpd.mips

# make fake daily call & clear log at 12am every day by cron job
/busybox/crond

# Start MFS_ftp
/var/hack/mfs_ftp/mfs_ftp.tcl

# ELSEED Caller ID
# echo "Elseed Caller ID"
sleep 200
/var/hack/bin/elseed &
sleep 100
echo "Elseed started"
cd /

# Start TiVoWeb Plus
/var/hack/tivowebplus/tivoweb


# Call the Tivo Package Manager Startup Scripts
/etc/rc.d/rc.sysinit.tpm


Thanks again almost got it.
taw123 is offline   Reply With Quote
Old 02-09-2005, 05:51 PM   #682
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Quote:
Originally Posted by taw123
it would be great to have an option that changes the colors on the "gumdrop" status bubbles to another color
If you're using Internet Explorer, there are hover labels that identify the gumdrops (great name, BTW). Or, Eric Dixon has created skins for hackman. Finally, you're free to put whatever .png files you choose in the /images directory. I've gotta leave something for others to hack!

Quote:
Originally Posted by taw123
It claims that Telnet ISN'T, though I can clearly see it.
The problem here is that there are several ways to start telnet and it's difficult to find a common element that works under all conditions for identification purposes. Plus, there's a command in rc.sysinit that looks like it starts telnet, but doesn't. I think I've solved this one. We'll see.

So you're at Apple? I'm sorry, but I soured on the company when they orphaned the //GS. But can I throw away my Woz Edition //GS? No way. After all, it's got two external hard drives, one 20 meg (not gig, meg) and the other 30 meg.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-09-2005, 10:26 PM   #683
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Hackman Version 3.3.16 Beta

Here's the latest hackman beta. Nothing new, but I hope that the bugs have been exterminated. Please let me know. As if I have to ask.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-10-2005, 01:00 PM   #684
ronsch
Registered User
 
Join Date: Sep 2001
Location: Tallahassee, FL, USA
Posts: 1,976
Quote:
Originally Posted by SeanC
Ron,

I haven't seen someone mentioning TWP hanging and the Tivo stops responding to the remote in this thread before. I have been having this issue for quite sometime and have always assumed that it was a minor glitch from using the LBA48 kernel. I also tried to find the cause by minimizing hacks and scripts loading. I considered TWP and Hackman critical so I have never tried not running both of those. I have to reboot my Tivo because of this lockup every 3 days or so, though as you mentioned I've had to do 2 manual reboots within hours of eachother. I'm not sure what is the root cause, whether TWP or hackman have anything to do with it. I just wanted to say that I have those exact same symptoms. Though from my perspective I always notice the lockup because the Tivo stops responding to my remote. I always use telnet to reboot, not hackman, so I didn't notice until recently that TWP was hanging at the same time.
Sean,

I'm not running the LBA48 kernel so I don't think it's that. I dropped off movie-search and channelmap and altered Hackman to not do Backdoor code, 30 second skip or initiate the sort in Now Playing. I've even been running an occasional tserver session and have not had any hangs. I wonder if there were just too many modules loaded for a Series 1 to handle cleanly?
ronsch is offline   Reply With Quote
Old 02-10-2005, 01:03 PM   #685
SeanC
ECT
 
SeanC's Avatar
 
Join Date: Dec 2003
Location: Someplace
Posts: 8,887
I only have tserver and vserver running when I need them so I was sure they weren't doing my tivo in. Since my last post I've had to telnet in and reboot because of a hang 4 times, last time was last night. So just for sh*ts and giggles I shutdown TWP, which I hadn't tried before.

Oh yeah and after this last TWP hang I telnetted in and executed this command:
/tvbin/http_get -U http://127.0.0.1:80/quit -D /tmp -T 0 -C 0 >/dev/null 2>&1

Didn't help. TWP was still frozen, Tivo wouldn't respond to the remote.

EDIT: Now that I think about it after executing that command I never tried to load TWP after that, which is silly because if the command did what it was supposed to do I would have had to load TWP manually.

ahhhhh crap. I'll try it again on the next hang.

For the record PP, I don't think hackman has anything to do with this.

Last edited by SeanC : 02-10-2005 at 01:09 PM.
SeanC is online now   Reply With Quote
Old 02-10-2005, 01:08 PM   #686
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
I run only what I feel necessary -- for me, that's telnet, ftp, TWP, cron, YAC, endpad and autospace. At boot, hackman runs backdoors, now playing sort, on-screen clock, and double over-shoot value. The DTivo has run for months on end and the SA boots more often because that's the one I'm using for development, but I haven't noticed any spontaneous re-boots.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-10-2005, 05:05 PM   #687
ronsch
Registered User
 
Join Date: Sep 2001
Location: Tallahassee, FL, USA
Posts: 1,976
Quote:
Originally Posted by PortlandPaw
I run only what I feel necessary -- for me, that's telnet, ftp, TWP, cron, YAC, endpad and autospace. At boot, hackman runs backdoors, now playing sort, on-screen clock, and double over-shoot value. The DTivo has run for months on end and the SA boots more often because that's the one I'm using for development, but I haven't noticed any spontaneous re-boots.

How many modules do you have in the TWP modules directory? I was thinking that just the mere fact of having too many in there might be causing an issue. Don't they all get loaded when TWP runs or is the module listing in the log just an acknowledgement of their availability?
ronsch is offline   Reply With Quote
Old 02-10-2005, 05:21 PM   #688
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
If the module has a .itcl suffix it gets loaded when TivoWebPlus starts. Most modules just load and sit in memory until called upon to do something. I have a total of 23 right now, which is only four more than the 19 (I think) that are currently included in the beta TWP package.
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 02-10-2005, 05:39 PM   #689
taw123
Registered User
 
Join Date: Feb 2005
Posts: 7
Suggestion/Enhancement and possible bug/problem

Now that I have hackman running (even got it set to automatically enable backdoor on boot) ona my S2 DTiVo running 4.0.1b, I have a suggestion.

I don't see any way to have hackman send an arbitrary series of keys AFTER Backdoor is enabled. This would be a get addition. I personally would like to see an option added to Enable display of suggestions in the ToDo List. If this isn't going to happen then I could do it myself if you add the ability to send user defined data string(s).

That said I did have one outstanding bug issue with hackman V3.3.15. Looks like hackman found a TiVo supplied telnet in /sbin but is not under hackman control. I know this is the one it found as I looked at the .init file.

My questions, how do I "bring it under control" as shown by the gumdrop/icon. Hackman can start and stop it w/o problem.

Second, I am just finishing my TiVo (way to many hacks) and in all the mess somewhere I lost the version of tnlited that was in color on my S2 DTiVo. I have the one that came with my installed 4.0.1b in /sbin but could swear some set of utils I had at one time provided me a version that was in color (showing file/directories/etc in diff colors).

So the question where can I find the best/most modern version of a telnet daemon for my S2 TiVo.

Thanks for the help.......
taw123 is offline   Reply With Quote
Old 02-10-2005, 06:20 PM   #690
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Wouldn't it be easier just to add a simple short-cut module? I wrote the two attached last summer. Just change the .txt extension to .itcl and put in the /modules directory.

I'm still working on the tnlited issue -- there are many ways to start it and some are invalid though appear valid. Check the next beta, maybe later tonight.

In the meantime, the ways to bring it "under control" are mentioned in the readme -- you basically change the commands in the startup files to match what's being found by hackman. So if rc.sysinit is starting telnet (like it is on mine), make the command look like the tnlited /bin/bash -login > /dev/console & that is more or less standard.
Attached Files
File Type: txt todo.txt (286 Bytes, 21 views)
File Type: txt allshowing.txt (319 Bytes, 18 views)
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 09:24 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |