PDA

View Full Version : After sending: Update.tar.gz to root directory?


jwmghf
12-05-2002, 08:35 PM
Once this is in my root directory, do I mark the file as "Executable" before continueing to the next step??

I actually aready did. If I am not supposed to make it an executable, how can I change it back to its original state in my root directory???

Thanks,

jwmghf

rpongett
12-05-2002, 08:48 PM
I did this last night and I didn't make it executable with chmod

I just used rz to get it over, then used gzip and cpio, as the .txt file included with the upgrade stated.

If you didn't get the text file, here is what it says:This is an upgrade for 2.5 extreme to all the latest hacks and utilities plus a few bug fixes.

1) rz send the upgrade.tar.gz archive to your tivo / (root) directory
2) rm -rf /var/hack
3) rm /bin/joe /bin/joerc
4) gzip -d upgrade.tar.gz
5) cpio -i -H tar -d -F upgrade.tar

!!!NOTE!!
If you see that any file did not get overwritten, manually delete
the file or files and do step 5 again

6) /tvbin/reboot
7) mount -o remount,rw /
8) /tvbin/noppv.tcl dump
9) sync
10) mount -o remount,ro /

That's all there is to it. After reboot your tivonet or turbonet will be installed and looking to a DHCP server for their ip address. Noppv, logsnull, and fixsub run daily. Tivoweb, telnet, smbfs.o, nfs.o, bash on ttyS3 at 115200, noscramble, and sc are loaded during bootup. Vi and joe will work over serial or telnet. Finally there is full compatibility with tivoapp using netcat and a renamed mfs_stream. Root is also remounted readonly during boot. There are no longer any essential files on the var partition, so if the tivo decides to format and rebuild, no problem. There may be some other helpfull stuff in here, but I can't remember right now.

If you want use a static address on their turbonet or tivonet just needs to add the following line to the top of rc.remote-login:

ifconfig net0 192.168.1.99 netmask 255.255.255.0
route.tivonet delete default 2> /dev/null
route.tivonet add default gw 192.168.1.1 netmask 0.0.0.0 dev net0

of course replacing the ip, subnet mask, and default gateway with whatever your using. No worries about it making the daily call over ethernet because it's now net0 and the daily call uses eth0

Not much of the actual work here was done by me except some editing of files and putting all the pieces together. A huge thanks goes out to all the contributors on the DealDatabase forum and elsewhere.

-KRavENNote the bolded line above. It kills your Tivo's ability to get daily updates via turbonet, and I haven't figured out yet how to get it back without a full turbonet installation (if that works).

BubbleLamp
12-05-2002, 09:19 PM
Originally posted by rpongett
I did this last night and I didn't make it executable with chmod

I just used rz to get it over, then used gzip and cpio, as the .txt file included with the upgrade stated.

If you didn't get the text file, here is what it says:Note the bolded line above. It kills your Tivo's ability to get daily updates via turbonet, and I haven't figured out yet how to get it back without a full turbonet installation (if that works).


You answered your own question rpongett. Change the net0 to eth0 in both places, and assign the correct gateway address and you'll be fine.

rpongett
12-05-2002, 10:10 PM
I almost did that last night, but am now afraid of just trynig something out like that, else I'll kill my bash access via turbonet and have to bring the whole thing back in.

Here is the code again:ifconfig net0 192.168.1.99 netmask 255.255.255.0
route.tivonet delete default 2> /dev/null
route.tivonet add default gw 192.168.1.1 netmask 0.0.0.0 dev net0The problem is that I know even less about network protocol than Linux.

I've got that we should change this: net0 to this: eth0

I'm speculating that 192.168.1.1 is the default gatweay, which should here be the addresss of the router (e.g., for a basic Linksys, 192,168.1.1)?

I'm guessing that 192.168.1.99 should be the static address of my Tivo.

I'm guessing 255.255.255.0 is the "subnet mask" and should probably stay at 255.255.255.0?

I have no idea what 0.0.0.0 is. Should that stay at 0.0.0.0?

Does all of this go in rc.remote-login?

Also, is this the only change that needs to be made?

Thanks in advance for any answers.

BubbleLamp
12-05-2002, 10:37 PM
Originally posted by rpongett
I almost did that last night, but am now afraid of just trynig something out like that, else I'll kill my bash access via turbonet and have to bring the whole thing back in.

Here is the code again:The problem is that I know even less about network protocol than Linux.

I've got that we should change this: net0 to this: eth0

I'm speculating that 192.168.1.1 is the default gatweay, which should here be the addresss of the router (e.g., for a basic Linksys, 192,168.1.1)?
Yes, if your Linksys is the default gateway, set it to that.

I'm guessing that 192.168.1.99 should be the static address of my Tivo.
Correct

I'm guessing 255.255.255.0 is the "subnet mask" and should probably stay at 255.255.255.0?
Correct

I have no idea what 0.0.0.0 is. Should that stay at 0.0.0.0?
No, it to should be set to 255.255.255.0

Does all of this go in rc.remote-login?
If that's where the settings are currently, yes.

Also, is this the only change that needs to be made?
Should be

Thanks in advance for any answers.

rpongett
12-05-2002, 10:40 PM
I really appreciate you taking the time to help on this. I knew zero about Linux or network protocol before and am slowly learning a few bits here and there for DTivo hacking. Kinda fun.

I'm about to go home and give it a whirl.

jwmghf
12-06-2002, 12:14 AM
I completed step #5 and:

Lost the bash, but, Tivo never rebooted itself. I tried changing the serial port speed to 11520 and that didn't work either (still no bash). So then I reset the Tivo manually through the Menu. Still no bash. What do think?

jwmghf

(My last Tivo unit I did this to, rebooted itself at step 5, then it lost bash until I reset the port to 11520. If memory serves, I beleive this is normal.)

BubbleLamp
12-06-2002, 12:21 AM
Originally posted by jwmghf
I completed step #5 and:

Lost the bash, but, Tivo never rebooted itself. I tried changing the serial port speed to 11520 and that didn't work either (still no bash). So then I reset the Tivo manually through the Menu. Still no bash. What do think?

jwmghf

(My last Tivo unit I did this to, rebooted itself at step 5, then it lost bash until I reset the port to 11520. If memory serves, I beleive this is normal.)

That's 115200, not 11520.

jwmghf
12-06-2002, 12:27 AM
Hey BubbleLamp:

That's what I meant, but still no bash. I'll try rebooting the computer now? New update:

I rebooted the computer, changed serial port to 9600 and got the bash back. The last step I completed was #5. Should I go the the root directory and continue with step #6 or do you think something is messed up and I should start over by re-installing 25Xtreme???

jwmghf

zabs
12-06-2002, 12:47 AM
I screwed up my DSR6000 a little bit too. My serial connection profile is totally hosed. (Even after kraven's it is only 9600 and that PATH is wrong) My Turbonet card is working, so it is not a big concern right now, so I probably won't mess with it right now.

Its funny because I installed Kraven's on both my tivo's in the same night and the steps are not hard to follow. The Sony first, then the Philips. The sony went fine and I think that is because I had not messed with anything after installing Xtreme on it. With the Philips I have messed with the several things before installing kraven's update (installed vi, noscramble, and messed with the terminal settings.) I haven't figured out what the deal is, but my hunch is that something is screwed up in /etc/bashrc and /etc/profile??? If/when I get around to fixing it, I'll let you know what I did (maybe a week or two from now...going on vacation tomorrow.)

jwmghf
12-06-2002, 12:59 AM
Sounds good Zabs:

I'll try re-Xtreme-ing and post back. Something's didn't take. I didn't mess with anything prior to Kraven's update. I think this stuff is just tempermental and you need to provide ENORMOUS amounts of patients until you really know what your doing.

Back to the drawing board!!! SEE YA,

jwmghf

jwmghf
12-06-2002, 01:46 AM
The drive I am using is the original Tivo "A" drive (40 gig).

Once I re-install Xtreme... Do I need to run TivoMad??? It said to run it if the drive I was installing Xtreme to was larger than a 40 gig.

I answered no to the question. Is that correct???

Thanks,

jwmghf

CRD2002
12-06-2002, 01:53 AM
I believe you have to answer yes to expand the drive to full capacity

jwmghf
12-06-2002, 02:35 AM
even though it's only a 40 gig hard drive?

jwmghf:confused:

zabs
12-06-2002, 03:40 AM
It shouldn't hurt to say yes.
Plus there is that whole....one manufacturer'r 40gigs does not equal anothers. So by saying yes, you are sure to squeeze every last available byte out of it.

CRD2002
12-06-2002, 08:42 AM
jwmghf I always say yes to any hard drive I extreme like zabs said why not use all avaliable space

jwmghf
12-06-2002, 09:57 AM
Then I'll go back and say, "YES". I'll post back in a little while.

Thanks,

jwmghf

KRavEN
12-06-2002, 12:13 PM
Originally posted by BubbleLamp
You answered your own question rpongett. Change the net0 to eth0 in both places, and assign the correct gateway address and you'll be fine.

Actually, no, that alone won't work. The modules will only load as net0. If you want to load them as eth0, open the modules up in a hex editor and search and replace net0 with eth0.

BubbleLamp
12-06-2002, 12:59 PM
Originally posted by KRavEN
Actually, no, that alone won't work. The modules will only load as net0. If you want to load them as eth0, open the modules up in a hex editor and search and replace net0 with eth0.

Wait a sec, are you saying the driver in your update is hardcoded for net0? That would answer a lot of questions. In that case, people will need to get the latest version from Nick's site and use that one, since it will take the devicename= parameter.

jwmghf
12-06-2002, 02:14 PM
Ok,

I got it done with a slight variation: (don't know if it worked because I added this command or because I ran TivoMad?)

I installed Xtreme again and answered "YES" to TivoMad, then at the bash# I typed:

touch /etc/SubTest

Then forced Tivo to make the phone call. Succeeded.

Then Transfered upgrade.tar.gz to the root directory.

Then followed the Kraven install up to:

rm /bin/joe /bin/joerc

Then I entered this command:

****rm /etc/SubTest****

after that all the commands were entered exactly the same and the receiver lost bash at step #6. I changed the serial port speed while the receiver was rebooting and got bash back.

Did step #7:
Did step #8: which created some kind of pool. I then saw a whole bunch of channel numbers go by. Then:

Fixed 0 showings.
Process took 55 seconds.

Finished steps 9 and 10.

_____________________________________________________

Does this sound right?

2 questions:

Did the command:

rm /etc/SubTest remove anything substantial from /SubTest that I may need in the future???(I did'nt check the directory before I executed the command. I know I should have, in hindsight.)


Was the receiver supposed to reboot after I executed step #10(it didn't)???


jwmghf

theplunger
12-10-2002, 10:17 AM
If by steps 9 & 10 you mean:
9) sync
10) mount -o remount,ro /


No it should not reboot. Step 10 just makes the drive read only again.


I am confused why you:
rm /etc/SubTest

that just deleted the empty file SubTest in the /etc directory?

I did not see where that was part of the instructions.
It will cause you problems later if your not connected to the phone line.


(or maybe I am joining this thread late and did not read all the posts carefully enough)

jwmghf
12-10-2002, 06:42 PM
Hey there plunger:

I deleted it because it was part of someonelse's directions on how to install the Kraven Upgrade.

The drive I was updating was a 40 gig drive so I answered "no" to running TivoMad.

I think I should have followed the standard Kraven upgrade and ran TivoMad (which I have currently done(I ran TivoMad), but still with the command, "rm /etc/SubTest")

Thats probably the part of this thread that you missed.

Can I just put the empty directory/file back on the drive so I don't incur any problems later???

Is SubTest just an empty file or a directory???

Thanks,

jwmghf