PDA

View Full Version : Editing rc.sysinit so noscramble will stay after reboot?


atomicfireball
08-27-2002, 10:18 AM
Hi all, I've been reading the forums here with great interest. I have my T60 with TurboNet all setup, I'm able to FTP, telnet into it, everything is peachy.

Noscramble originally threw me for a loop, but now I have noscramble loaded in, and I'm able to get tytool5 working to extract the clips. I'm able to get things working with my 2.5.2 system, after entering in:
insmod noscramble.o

However, when I reboot, noscramble is gone.

I read a post from a far more experienced user than me who said that in order to keep noscramble intact after a reboot, the following line had to be added to my rc.sysinit:

insmod /lib/modules/noscramble.o

How exactly do I do this?

Could someone please give me a step-by-step on exactly what to type in, and where to upload any necessary files in order to update my rc.sysinit?

I've read through a lot of threads, but couldn't find any info on this specifically, thanks.

johnny
08-27-2002, 03:25 PM
This is what I did to disable encryption without any new software:

dd if=/dev/hda6 of=/dev/hda6 bs=1 skip=468 seek=549788 count=2

it will take a few seconds to work. Reboot the Tivo when done. To verify type:

readbytes /dev/hda6 549788 2 ( that's 549788 space 2 )

You should see an output of 0x48 0x00. If you see 0x40 0x86 then scrambling is still on.

(thanks to alphawolf for this info)

rpongett
08-27-2002, 03:27 PM
I'm in the same situation. DSR 60000 (not T-60) running 2.5.2 and noscramble is working (haven't tried ripping yet, but I'll bet it works).

But I want to make noscramble permanent, which requires a Kernal patch, I believe.

On another thread, Alpha Wolf seemed to incdate that performing the command line would make the no scramble permanent. It was this for 2.5.2 systems:

dd if=/dev/hda6 of=/dev/hda6 bs=1 skip=468 seek=549788 count=2

That is supposed to patch the kernal.

We are to use the following readbytes command to find out if it worked:

readbytes /dev/hda6 549788 2

(returns 0x48 0x00 if Kernal patched, 0x40 0x86 if not patched)

But I don't seem to have readbytes in my Tivo drives, so I can't check.

The thread is here: Thread where Alpha Wolf gives above instructions (http://www.dealdatabase.com/forum/showthread.php?s=&postid=58513&highlight=readbytes#post58513)

Any help would be greatly appreciated on this subject. Even just getting a copy of readbytes to put in one of my directories to use would be helpful.

rpongett
08-27-2002, 03:29 PM
johnny beat me to it. I hope that works.

However, I don't have a copy of readbytes on my TIVO to verify if it worked.

Can someone attach a copy so that I can throw it in a directory (maybe /sbin ?) to use?

captain_video
08-27-2002, 04:38 PM
The info is contained in the DTivo Video Extraction HowTos thread, third post down. Upload the noscramble.o file to the /lib/modules directory using either telnet or serial connection. To edit your rc.sysinit file, navigate to the directory where its located (i.e. cd /etc/rc.d). Then type "cp rc.sysinit rc.sysinit.bak" to create a backup of the file. Type "joe rc.sysinit" to open the file for editing. Scroll to the end of the file using the cursor keys and insert the line "insmod /lib/modules/noscramble.o" being very careful about case and spacing (no quotes). When finished, press ctrl+K and X to save changes and exit joe. Type in the same line you just added to the rc.sysinit file to run noscramble manually. The line in rc.sysinit allows the noscramble program to be run automatically when the DTivo reboots. Read the HowTos thread for additional info for turning noscramble on and off, as desired.

atomicfireball
08-27-2002, 10:00 PM
captain_video, thanks for your assistance.

However, when I typed "joe rc.sysinit" (no quotes) at the bash prompt, I got the following reply:
bash: joe: command not found

I'm running 2.5.2 for a T60. I don't have extreme or Tivolator running. I have a legitimate Lifetime Subscription (I paid for), so I wanted to alter the TiVo as little as possible.
Is there some way I need to add some more files to get the joe command to work?

Please help, thanks again.

P.S. I also tried the "dd" command, from the thread where Alpha Wolf explained this, but unfortunately, nothing happened on my machine. It just listed the +2 sectors in, +2 sectors out (I'm doing this from memory), and there was no change to the scrambling.

genericuser
08-28-2002, 04:07 PM
readbytes is in Kraven's update.

atomicfireball
08-28-2002, 07:53 PM
genericuser, could you provide any help with getting the joe command to work? thanks!

Torg
08-28-2002, 08:51 PM
find / -name joe

Then either add that to your path (probably /var/hack/bin) or run it absolute /var/hack/bin/joe

I would HIGHLY suggest you learn to use vi however.

as for dd, it worked. Its SUPOSED to tell you it read in 2 records and out 2 records, thats what the count=2 means. What it told you was this:

2+0 records in
2+0 records out


In case your wondering thats 2 complete records, 0 partial. It would be rather hard since your records are one byte in length (the bs, or blocksize) to get partial records.

genericuser
08-29-2002, 04:47 PM
Sorry, I dont use joe. I am a vi user through and through.

atomicfireball
08-31-2002, 03:15 AM
as for dd, it worked. Its SUPOSED to tell you it read in 2 records and out 2 records, thats what the count=2 means. What it told you was this:

2+0 records in
2+0 records out

Torg, that's exactly the info I see displayed, but the scramble is still there. I followed the steps in Alpha Wolf's thread, and even though I see the correct info as you say, it doesn't have the nocramble kick in.

I should point out that I'm getting noscamble to work just fine, but only the fact that it clears itself out after a reboot. that's the only problem. So I guess I can just make sure not to reboot, or reconfig the noscamble after every reboot, but it would be nice to get it cleared up and loaded in for good.