TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 08-09-2004, 09:11 PM   #151
Porterx
Registered User
 
Join Date: Sep 2002
Location: NW Florida
Posts: 184
You could do it like steve jenkings guide does the read/write and read only. When hackman is closed, it automatically sets the system back to read only.
Porterx is offline   Reply With Quote
Old 08-09-2004, 09:31 PM   #152
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Good idea, but I don't know of any exit code that is automatically called when a module is exited. Control just jumps from module to module. I plan on putting this control on the "danger" page, so people can choose to not display it if they want to play it safe.
__________________
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 08-10-2004, 09:47 PM   #153
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
New release of hackman

Version 1.1 update includes support for EndPadPlus, elseed, and ccxstream as well as ability to set permissions for the TiVo root directory to read/write and back to read-only.
__________________
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 08-10-2004, 10:21 PM   #154
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
Awesome, great work PortlandPaw!

When I try to use HackMan to edit the hackman.cfg file (specifically to edit the password) however, I get this:
"error copying "./modules/hackman.cfg" to "./modules/hackman.cfg.old": read-only file system"

Even if I just go in to read the hackman.cfg file and make no changes, but click "Save," I get that error when I'm done.


Also, when I toggle to read/write and back to read only, there is an intermediary page that says "OK/Cancel" or just "OK" that seems to serve no purpose... there's no other text.


But EndPadPlus control seems to be working great!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!

Last edited by Fofer : 08-10-2004 at 10:29 PM.
Fofer is online now   Reply With Quote
Old 08-11-2004, 06:03 AM   #155
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
I can't seem to replicate these problems...all works fine here. Try another download/install, and I'll do the same here -- must be a file corruption issue.

Another thought -- what model/software are you running? Maybe /var has to be explicitly made r/w. I'm setting / to r-o when hackman starts.
__________________
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 : 08-11-2004 at 06:10 AM.
PortlandPaw is offline   Reply With Quote
Old 08-11-2004, 07:33 AM   #156
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
I'll try again. I am running OS 4.0 (Superpatch) on an HDVR2. All of my add-on software is in /hack.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is online now   Reply With Quote
Old 08-11-2004, 08:18 AM   #157
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Quote:
Originally posted by Fofer
All of my add-on software is in /hack.
I think maybe that's the problem. TiVo software locks down all the directories but /var. That might include your /hack. Did the problem with writing to the .cfg file exist in the last edition of hackman?

Typically, people keep their hacks in /var/hack to get around this problem.
__________________
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 08-11-2004, 08:45 AM   #158
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
Quote:
Originally posted by PortlandPaw
I think maybe that's the problem. TiVo software locks down all the directories but /var. That might include your /hack. Did the problem with writing to the .cfg file exist in the last edition of hackman?
No it didn't.

Quote:
Originally posted by PortlandPaw

Typically, people keep their hacks in /var/hack to get around this problem.
I used to as well, in my previous DirecTiVo. But then one day the contents of var/hack were cleared out:
http://www.tivocommunity.com/tivo-vb...hreadid=178966

so I thought I'd put them elsewhere this time around.
Fofer is online now   Reply With Quote
Old 08-11-2004, 09:47 AM   #159
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
OK, I did a little experimentation and by setting the root directory to be read-only, your /hack directory is also ro. I'm doing this when hackman loads, and that's why your edits are failing. So maybe I should add a variable to the .cfg file that allows for alternate locations for hacks, such as /hack. Then when I lock down the root directory, I can open up /hack. I'll work on that.

As to the other problem with the OK/Cancel screens, I have no clue at this point.
__________________
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 08-11-2004, 10:12 AM   #160
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
Quote:
Originally posted by PortlandPaw
OK, I did a little experimentation and by setting the root directory to be read-only, your /hack directory is also ro. I'm doing this when hackman loads, and that's why your edits are failing. So maybe I should add a variable to the .cfg file that allows for alternate locations for hacks, such as /hack. Then when I lock down the root directory, I can open up /hack. I'll work on that.
That would be great. As I mentioned earlier, this wasn't an issue with the previous version (I was able to edit both tivoweb.cf and hackman.cfg before on the same hacked box.) Yet with the new version, this glitch happens for me whether or not I even use the new RW/RO toggle at all. I understand that merely loading HackMan sets the dir to RO automatically. I guess the new variable would help out.

Take your time and I'll be happy to test v1.2 immediately when its ready.

Quote:
Originally posted by PortlandPaw

As to the other problem with the OK/Cancel screens, I have no clue at this point.
I'll check this out some more... it doesn't seem to impair any functionality, it's just a strange UI thing to have to click "OK" twice.

If you'd like me to open my box for outside access so you can check it out and see the behavior I am talking about, feel free to PM me and I can arrange that as well.

And thanks for all your great work on this, we all appreciate it.
Fofer is online now   Reply With Quote
Old 08-11-2004, 12:17 PM   #161
Porterx
Registered User
 
Join Date: Sep 2002
Location: NW Florida
Posts: 184
I just wanted to say thank you for a great hack. I love it, especially being able to edit inside hackman. Again, thanks.

Porter
Porterx is offline   Reply With Quote
Old 08-11-2004, 12:26 PM   #162
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Fofer, I'm trying to figure out why hackman editing worked before. Did you have the root directory set as read/write? If not, what did you do to /hack to allow access to it?


Quote:
Originally posted by Fofer
Also, when I toggle to read/write and back to read only, there is an intermediary page that says "OK/Cancel" or just "OK" that seems to serve no purpose... there's no other text.
Are you sure there's no other text? That's what's confusing me. One page consists of:

Are you sure you want to do this?...
You'll risk corrupting your files in the event of a disk malfunction.
OK
Cancel

And the other page has:
Now setting the root directory permissions to read/write (dangerous!)
--------------------------------------------------------------------------------
NOTE: It is dangerous to leave your TiVo file system with read/write permissions.
Be sure to return permissions to read-only when you're finished!
You have been duly warned!
OK

The page for returning to read-only says:
Now setting the root directory permissions to read only (safe)
OK

I don't know how only parts of those pages (the controls) could be displayed without the rest. Maybe I will have to see your box working over the 'net.

And Fofer and Porterx, thank you both for the kind words. It will be a few days before I can get back to the permissions question, but I think its a valid point.
__________________
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 08-11-2004, 12:33 PM   #163
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
Well I figured out the second part of the puzzle... I am using the schedule theme... it is the most elegant and understated IMHO, with light colors and easy on the eye. (all of the others were so glaring and obnoxious to my eye.) So the text you quoted didn't appear. When I switched to another theme the text was visible again.

As far as what I did before to /hack, I did nothing different. It's a relatively new box to me, recently hacked, but the previous HackMan worked fine to edit text but the new version doesn't. Nothing else has changed on this machine (or how I access it) whatsoever.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is online now   Reply With Quote
Old 08-11-2004, 12:38 PM   #164
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
I should have thought of the theme possibility. Now I can sleep tonight.

But do you run your box with the root directory in read/write? I'm trying to figure out how /hack would be accessible otherwise.
__________________
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 08-11-2004, 01:00 PM   #165
Fofer
\_(ツ)_/
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 59,605
TC CLUB MEMBER
On this particular HDVR2 I am using a pre-hacked image so I will have to check out the rc.sysinit file to see how it's configured. I am not sure if the root directory starts in read/write or not. Hopefully I'll be able to make heads or tails of it...

But I do know that before I can make any changes I have to do the remount R/W ... and then always remember to remount R/O when I am done.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is online now   Reply With Quote
Old 08-11-2004, 05:33 PM   #166
stevehaley
Registered User
 
Join Date: Feb 2002
Location: London
Posts: 65
Firstly great module - saved my life on more than one occasion.
But
I suddenly notice that your example screen had an FTP button and mine didnt. If this has the capability to restart the ftp service that would be great. Did a bit more investigation and found that my tivoftpd is installed in /sbin.
Do i simply change the line in the cfg file for ftp
from set ftppathname "/var/hack/bin/tivoftpd"
to set ftppathname "/sbin/tivoftpd"

rgds
Stephen
stevehaley is offline   Reply With Quote
Old 08-11-2004, 06:00 PM   #167
Prof. Yaffle
Registered User
 
Join Date: Aug 2002
Location: Nottingham
Posts: 255
Mine is also in /sbin and that's all I did. It's very handy when FTP crashes!
__________________
6020 upgraded with 300GB Samsung Spinpoint, Cachecard with 512mb, lots of hacks and lots of lovely logos.
DTT (Panasonic TUCT20)
Prof. Yaffle is offline   Reply With Quote
Old 08-12-2004, 02:59 AM   #168
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
Portland Paw,

Any chance you could add the ability to edit another Tivoweb module's config file? The module is 'whatson.itcl' and it has a text file called 'favchan' which is located in '/var/hack'. The file is used to list channel numbers that are designated as Top Favourites.

The thread is here but more info on LJ's site here.

Many thanks.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Old 08-12-2004, 05:45 AM   #169
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
It's already there.

By the way, this is one of the easier things to modify in hackman. To add a file the way Fozzie wants, just follow these steps:
1. In hackman.cfg, add the full pathname of the file to the list of "set filexx 'pathname'"
2. Find the following line in hackman.itcl:
set filelist "$file2 $file3 $file4 $file5 $file6 $file7 $file8 $file9 $file10 $file11 $file12 $file13 $file14 Other"
3. Add $filexx to the end of the list, before "other"

These instructions will be added to the next release of hackman.
__________________
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 : 08-12-2004 at 06:57 AM.
PortlandPaw is offline   Reply With Quote
Old 08-12-2004, 01:06 PM   #170
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
Quote:
Originally posted by PortlandPaw
It's already there.
So it is! How stupid do I feel?

Thanks.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Old 08-12-2004, 01:39 PM   #171
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Not to worry. I had to look at it and check to see if my memory was accurate!
__________________
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 08-23-2004, 11:21 AM   #172
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 484
Hey

This is a great module!

What are 'Resources', why would I want to stop or start them?

Also, does anyone have a link to 'autospace'?

Last edited by philhu : 08-23-2004 at 11:37 AM.
philhu is offline   Reply With Quote
Old 08-23-2004, 12:21 PM   #173
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
Thank you. Starting resources lists all the resources that can be edited with TivoWeb's Resource Editor. That button doesn't really work to start or stop hacks like the other ones -- it just displays the resources.

A search of this thread quickly brought up autospace .
__________________
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 : 08-23-2004 at 06:41 PM.
PortlandPaw is offline   Reply With Quote
Old 08-23-2004, 12:25 PM   #174
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 484
Thanks

I did a search, only saw items referencing autospace. Thanks for the link.

The resource stuff is very cool.

Now I have something new to play with!@
philhu is offline   Reply With Quote
Old 08-23-2004, 09:16 PM   #175
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
A minor update Version 1.2.1 improves the remount function by adding an automatic detection routine and makes default read-only mounting optional. Users who have their hacks in a directory other than /var/* may want to override the default read-only which hackman sets when it loads. Updaters should install both hackman.itcl and hackman.cfg.
__________________
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 : 08-23-2004 at 09:23 PM.
PortlandPaw is offline   Reply With Quote
Old 09-04-2004, 11:43 AM   #176
crow
Ub3r Techno Geek
 
Join Date: Jun 2004
Location: TN, USA
Posts: 425
Here's my error.. I just Sleepered my TiVo and DLd the latest version of TiVoWebPlus as well as Hackman.. what am I missing?

tivo:/usr/tivoweb-tcl/modules$ chmod 755 hackman.itcl
tivo:/usr/tivoweb-tcl/modules$ hackman.itcl
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: global: command not found
./hackman.itcl: /tv/sendkey.tcl: No such file or directory
./hackman.itcl: /modules/hackman.cfg: No such file or directory
./hackman.itcl: line 32: syntax error near unexpected token `}'
./hackman.itcl: line 32: ` }'
__________________
3 TiVo Brand Series 2 80 Hour Units.
1 Upgraded to 195 Hours.
1 Upgraded to 302 Hours.
1 Upgraded to 310 Hours.
All With JavaHMO.
All with TiVoWebPlus/Telnet/FTP/MRV/BackDoors Enabled and Encryption Disabled..

A life? What's that? I have this TiVo, see ... and its all-consuming and all-powerful. And all I can do is stare at the glorious results of its workings.
-- ashutoshsm
crow is offline   Reply With Quote
Old 09-04-2004, 12:11 PM   #177
Fozzie
Registered User
 
Fozzie's Avatar
 
Join Date: Sep 2001
Location: Alton, Hants, UK
Posts: 837
You shouldn't be running hackman.itcl. It's a module for Tivoweb/Tivowebplus.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Fozzie is offline   Reply With Quote
Old 09-04-2004, 01:16 PM   #178
crow
Ub3r Techno Geek
 
Join Date: Jun 2004
Location: TN, USA
Posts: 425
well, I copied the cfg file and the itcl file to the modules dir and the images to their location and I get nothing.. As I say, what am I missing?
__________________
3 TiVo Brand Series 2 80 Hour Units.
1 Upgraded to 195 Hours.
1 Upgraded to 302 Hours.
1 Upgraded to 310 Hours.
All With JavaHMO.
All with TiVoWebPlus/Telnet/FTP/MRV/BackDoors Enabled and Encryption Disabled..

A life? What's that? I have this TiVo, see ... and its all-consuming and all-powerful. And all I can do is stare at the glorious results of its workings.
-- ashutoshsm
crow is offline   Reply With Quote
Old 09-04-2004, 01:47 PM   #179
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
I'm betting you're trying to do all this without the benefit of assistance from the README file -- that's what I wrote if for and it's included in both .html and .txt format for your reading pleasure and technical edification.
__________________
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 09-04-2004, 01:57 PM   #180
crow
Ub3r Techno Geek
 
Join Date: Jun 2004
Location: TN, USA
Posts: 425
mk, currently running TivoWebPlus 1.0 from http://tivo.fp2000.org/twp/. .

I actually had the README open under my FTP and Telnet windows. I extract the files into a temp directory on my PC and then FTP them to their respective locations on the tivo. I then restart TivoWebPlus and get nothing new..

I just removed Tivoweb altogether and am redoing the whole thing since Sleeper put the initial install on there.


[EDIT] That seemed to do the trick, the Hackmanger now shows up.. I guess there were remnants of the old tivoweb software from Sleeper..
Looks like a great addition, Thanks.

[/EDIT]
__________________
3 TiVo Brand Series 2 80 Hour Units.
1 Upgraded to 195 Hours.
1 Upgraded to 302 Hours.
1 Upgraded to 310 Hours.
All With JavaHMO.
All with TiVoWebPlus/Telnet/FTP/MRV/BackDoors Enabled and Encryption Disabled..

A life? What's that? I have this TiVo, see ... and its all-consuming and all-powerful. And all I can do is stare at the glorious results of its workings.
-- ashutoshsm

Last edited by crow : 09-04-2004 at 02:04 PM.
crow 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 11:26 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |