PDA

View Full Version : Lost in Linux


smb56
12-23-2004, 01:28 AM
Hi all,

Ok, I am totally lost. I have a bash promt in Windows and can also connect to my tivo with FTP. I don't know how to "hack" the thing and create a hack file. I have tried so many things and have printed out about 200 pages including Steve Jenkins How To Guide. I have a Phillips HDR 112 with a 120gb Maxtor along with a cachecard. I can make daily calls with it and don't have a problem with that. Everytime I try to create the hack file, it tells me it is read only. When I try to make it read/write, it won't let me. Any help would be appreciated.

Thanks,
smb56 :confused:

eastwind
12-23-2004, 01:58 AM
Hi all,

Ok, I am totally lost. I have a bash promt in Windows and can also connect to my tivo with FTP. I don't know how to "hack" the thing and create a hack file. I have tried so many things and have printed out about 200 pages including Steve Jenkins How To Guide. I have a Phillips HDR 112 with a 120gb Maxtor along with a cachecard. I can make daily calls with it and don't have a problem with that. Everytime I try to create the hack file, it tells me it is read only. When I try to make it read/write, it won't let me. Any help would be appreciated.

Thanks,
smb56 :confused:
Need more info. Try cutting and pasting from your telnet session. If you have telnet working the TiVo is hacked. Just more hacking is availible. But before you hack it you don't have telnet or ftp.

ew

smb56
12-23-2004, 09:13 AM
bash-2.02# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15830 104528 13% /
/dev/hda9 126911 7215 113143 6% /var
bash-2.02#
This is using TerraTerm Pro and it is as far as I can get into the system. Root says bad command. I can also go through "start, run" and telnet that way.

Using FTP through "start, run" and I can't go to root that way either. I can get a comlete listing of the files that way but can't do anything with them.

The only way I can really get to the files is to hook the hd up to my pc. I can get into root that way but it won't allow me to "write" as it is only a "read" file. I have actually sent files by ftp but don't know where they went. I know for a fact I sent the right ones to telnet through as I wasn't able to do that before. Thanks for the help.

smb56

eastwind
12-23-2004, 12:50 PM
You didn't show how you tried to make a hack directory. Or how you tried to make it read/write.

ew

smb56
12-23-2004, 04:33 PM
This is what get when I try to create the hack file.
bash-2.02# cd /mnt9
bash-2.02# mkdir hack
mkdir: cannot make directory `hack': Read-only file system
bash-2.02# mount -o remount,rw
usage: mount [-hV]
mount -a [-nfFrsvw] [-t vfstypes]
mount [-nfrsvw] [-o options] special | node
mount [-nfrsvw] [-t vfstype] [-o options] special node
bash-2.02# mkdir hack
mkdir: cannot make directory `hack': Read-only file system
bash-2.02# cd /mnt9
bash-2.02# mkdir hack
mkdir: cannot make directory `hack': Read-only file system
bash-2.02#
I can actually "see more" when the hd is connected to my pc. I ran through as much of the Jenkins CD as I could and it seemed to load joe.tgz, tivobin.tgz and tivoftpd. However, when I go to ls -1, I don't see the hack file.

thanks,
smb56 :)

hayreass
12-23-2004, 04:50 PM
Try
mount -o remount,rw /
To make the system Read/Write
You were missing the /
the Jenkins walkthrough will show you how to do that, and how to create the hack file, etc...
Since you already have bash, you can do a lot through it
couple of hints /mnt9 is /var when in a telnet session, so your command would be cd /var instead of cd /mnt9.
pwd shows you what directory you are in
ls lists everything in your current directory (providing ls is installed in your path)
If you follow Jenkins guide, and make a .profile file in your root, adding PS1="\w\\$ " makes your telnet session show you your current working directory. For example bash-2.02# switches to /var/hack# if you are in your /var/hack directory, I'm a huge fan of that.
He's also got a real handy way for switching between Read Only, and Read/Write using real simple scripts, and a couple of alias' in your .profile

smb56
12-23-2004, 05:42 PM
Ok, I'm getting there. By the way, thanks for all the help and merry christmas. I obviously don't have ls (el-ess) in my path. How do I get it there. I have also created the hack file in /var as you can see below. What do I do next?


bash-2.02# pwd
/var/tmp
bash-2.02# cd
bash-2.02# pwr
bash: pwr: command not found
bash-2.02# PS1="\w\\$"
/#cd /var/hack#
bash: cd: /var/hack#: No such file or directory
/#cd /var
/var#mkdir /hack
mkdir: cannot make directory `/hack': Read-only file system
/var#mount -o remount,rw /
/var#mkdir /hack
/var#pwd
/var
/var#ls
bash: ls: command not found
/var#df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15836 104522 13% /
/dev/hda9 126911 2183 118175 2% /var
/var#ls -1
bash: ls: command not found
/var#mkdir /hack
mkdir: cannot make directory `/hack': File exists
/var#ls
bash: ls: command not found
/var#

Thanks,
smb56 :)

hayreass
12-23-2004, 06:45 PM
What do I do next?Thanks,
smb56 :)
I don't know what you do next, as far as I can tell you've never said what you are trying to accomplish beyond making a hack file.
The only goal I've seen set is making that hack directory, which we've now done.

smb56
12-23-2004, 07:47 PM
What I would like to do is be able to download the videos off of my tivo to my pc. I have also read something about being able to convert my tivo over to 720x480 capture which is something else I would like to do. I still can't connect via 9r18. It states, never recieved telnet, or failed to connect. I travel about 300 nights per year and would like to be able to watch something at the airport other than other people. Thanks for the help.

smb56 :)

hayreass
12-24-2004, 01:44 AM
I obviously don't have ls (el-ess) in my path. How do I get it there.
Thanks,
smb56 :)
I'd recommend step 2.11 in the Jenkins guide to get ls, and other useful binaries to your Tivo.
Then pretty much the rest of the stuff from 4.1 on...
you shouldn't need to do step 3 since you've said your network is up and running.
Once you get that stuff done you can move on to getting extraction running.
I'm not familiar with your model, so I don't know if shows are scrambled or not. If they are, you need to fix that. (I think they aren't since you have a stand alone)
IF All you are looking to do is extract video AND your shows aren't encrypted, you can send the 2 files, NowShowing.tcl and tserver from the series 1 folder in the 9r18 download to /var/hack, and download shows without going through all the other steps.
But, going through those other steps in the Jenkins guide are quite helpful, and make your tivo easier to hack in the long run. Sure wish that guide existed when I started this hobby.
You can go through the help in tytool to learn more about it, installing, running, etc...

smb56
12-24-2004, 02:25 AM
Thanks for all the help. I will try that tomorrow. Hopefully, tomorrow am I will be playing golf. I really appreciate the help and time you have put into this. I realize you probably have to do this 2-3 times a day with *****s like me. Sorry, but I just don't have the time for it. I only get about 2-3 days a month at home. Merry Christmas and Happ New Year. I will let you know if I have any problems. You guys have been great to deal with and I appreciate you puttting up with me.

Thanks,

smb56

:) :)