View Full Version : Learning to use linex and fixups...can someone help?
dracoo
10-14-2001, 08:08 PM
I need some help.
I have two stand alone tivos that I have hacked and upgraded over a year ago. But I have now gone to a dtivo 6000. I do not care aobut the showcase or tivolotion. I just want the pvr to work. I was on the computer searching the form for 7 hours last night reading posts on how to do this with the fix up script. Here is my pproblem. I am good with dos/pc...but I know nothing about editing Linex. I have read the post http://dealdatabase.com/forum/showthread.php?s=&threadid=3966. This posting has all I need to run the fix up. The problem is ....I do not know were to put the info or how it should typed. Are these comands to be put in the boot up comand line of tivo? I just do not understand thing like...."Do a 'chattr +i DTivoFix'" or "Do a 'chmod 755 DTivoFix'" or where they should be put. I am not looking for anyone to hold my hand and walk me through.. I just need to understand a little more about what they are and were they go.. Would someone be willing to help me here or direct me to something I could read to learn more about placing this fix up script.
Thank you...
winter
10-14-2001, 09:59 PM
Linex?
chmod and chattr are done from a bash prompt (once), not placed in a script.
dracoo
10-15-2001, 01:39 AM
you can see how confused I am.
Hou do I get the fixup script into the DTivo's'/tvbin' drectory into a file I would creat and call DTivoFix.
I have booted with a linux boot disk with byte swapping enabled. How do I get to the dtivo dir.
I must sound very confused to those of you that know what you are doing. I am sorry for this. I am just trying to learn.
Here is the post I am going off of....
Remove Drive-A from DTivo & connect to a Linux system or any system booted with a Linux boot disk/cd with byte-swapping enabled.
Copy/create the following script file into the DTivo's '/tvbin' directory as a file named "DTivoFix"
#!/tvbin/tivosh
Do a 'chmod 755 DTivoFix' to mark the file as 'executable'.
Do a 'chattr +i DTivoFix' to mark the file as 'imutable'.
Edit the "TClient" file located in the same (/tvbin) directory and Insert the line: "/tvbin/DTivoFix" right before the line: "exit 0" (near the end of the file).
Do a 'chattr +i TClient' to mark the file as 'imutable'.
Change to the '/etc/rc.d' directory and edit the "rc.sysinit" file and insert the line: "/tvbin/DTivoFix" as the last line in the file. (If you're so inclined, you could
Do a 'chattr +i rc.sysinit' to mark the file as 'imutable'.
Thank you agian for your help
winter
10-15-2001, 01:12 PM
I'm not trying to be mean so please take this as constructive criticism : most if not all of the information you seek is readily available in recent threads. If you don't have even a basic understanding of how to do things in Linux (e.g. how to copy a file) then I would respectfully suggest that this isnt for you.
Anyway the short answer of getting the file to the dtivo hard drive is either (1) to mount the hard drive in a pc which is booted to Linux (which apparently you've done) and then copy the file to dtivo drive either from a regular dos (FAT) floppy or from a second hard drive (FAT) that you previously put a copy of the fixup script on. (2) Your other choice is to get to the bash prompt while running dtivo (without removing the hard drive). At that point you can simply transfer the file from your terminal program to the dtivo using zmodem.
Option 2 reguires a special serial cable (1/8 miniplug to 9-pin serial) but once you have it, it makes doing things much easier and quicker since you dont have to keep playing the drive swap game.
Read these links, if these dont make sense then this may be a bit too involved for you:
How to get shell prompt (http://pvrhack.sonnik.com/tivo/shell.asp)
Hacking DTivo FAQ (http://tivo.samba.org/index.cgi?req=all)
Good Luck
kspades
10-15-2001, 03:04 PM
>Remove Drive-A from DTivo & connect to a Linux system or any >system booted with a Linux boot disk/cd with byte-swapping >enabled.
Use the boot CD for this
>Copy/create the following script file into the DTivo's '/tvbin' >directory as a file named "DTivoFix"
cp DTivoFix /tvbin
Note: I would suggest against a few things here...I would use /var/tmp/hack to store my script and I would leave the name of the script alone fixup02c.tcl (just in case a newer version comes out you can redily know which is which
>Do a 'chmod 755 DTivoFix' to mark the file as 'executable'.
cd /tvbin (or whereever you put your fixup script) and type
chmod 755 DTivoFix
>Do a 'chattr +i DTivoFix' to mark the file as 'imutable'.
type chattr +i DTivoFix
NOTE: If you are using the boot CD you will need to follow the steps that came with the chattr binary to get it on the drive
quick & dirty steps however would look like this;
mount -t vfat /dev/fd0 /floppy <--mounts the floppy disk with chattr binary.
cp chattr /bin
cp lib* /lib
cp lib* /usr/lib
>Edit the "TClient" file located in the same (/tvbin) directory and >Insert the line: "/tvbin/DTivoFix" right before the line: "exit 0"
>(near the end of the file).
You've gotta read the docs on this part man, I cant/wont go over it.
>Do a 'chattr +i TClient' to mark the file as 'imutable'.
same as before
>Change to the '/etc/rc.d' directory and edit the "rc.sysinit" file
>and insert the line: "/tvbin/DTivoFix" as the last line in the file.
>(If you're so inclined, you could Do a 'chattr +i rc.sysinit' to mark
>the file as 'imutable'.
This step is not necessary if you are going to be running fixup from TClient.
Hope I answered it all..
But listen I have to agree with winter on this, you've gotta carefully read the docs. You said before the you have updaded 2 SA's before, basic linex (heheh) shouldn't be a problem.
Bob Balooga
10-16-2001, 12:11 AM
Is there a "fixup" script for v2.5 upgrade??
Mounting the drive in a Linux machine is not a problem, cause I understand that bash is locked out on v2.5.
Help!!!
dracoo
10-16-2001, 03:34 AM
Thank you for all your help guys.....This is killing me....but I wont give up untill I find the way.....
Thanks and Thanks agian......
visar
10-17-2001, 06:08 AM
[QUOTE]Originally posted by dracoo
[B]Thank you for all your help guys.....This is killing me....but I wont give up untill I find the way.....
I put this all together after successfully hacked the unit. Hope this would help you. Everything you would need to get this done.
Email me for the stuffs
ellephoto@mail.com
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.