PDA

View Full Version : I want to change my Ip address


devicemanager
02-19-2005, 10:01 PM
I have search high and low and have not been able to find an answer. i have the tivoweb+ softare and can not, for the life of me, find the file that contains my ip. I have found one that contains the user name and password fields for over the net login. I did see an ethernet field, but it was blank, was that what I needed to update and save to the tivo? Please help - thanks!!!

captain_video
02-19-2005, 11:44 PM
What model Tivo do you have and what OS version? The IP address is found in different places and we won't have a clue how to help without more info.

devicemanager
02-20-2005, 01:37 PM
it is a svr-2000 with software version 3.01-1-010.

Thanks

snowman
02-21-2005, 09:56 PM
Check rc.sysinit.author. It's in /etc/rc.d

You'll probably have to use "mount -o rw,remount /" so you can save the file after editing it. It could also be in test.conf, rc.sysinit, or any file called by rc.sysinit. Test.conf is in / (if it exists) and rc.sysinit is in /etc/rc.d

devicemanager
03-04-2005, 08:43 PM
I have check all of those directories, I guess i will just copy the tivo files to the pc and then go through each one - thanks man!

eastwind
03-04-2005, 08:58 PM
If you have an IP in the range for your router's DHCP, you won't find that number in any of your files because it is assigned by the router. This command:[bash DTiVo(4): /etc/rc.d] $cat * | grep ifconfig executed from the /etc/rc.d dircetory will look at all the files for the ifconfig command and show you if it finds it. Mine is static so it doesn't show what the ifconfig command for DHCP looks like, but you'll likely recognized it if it is there. At that point you'll need to change it to what you want and comment out the command for getting a DHCP address.

ew

devicemanager
03-04-2005, 09:54 PM
Mine is set up static as well. Does this change things?

eastwind
03-05-2005, 09:39 AM
Mine is set up static as well. Does this change things?
No, have you figured out where it gets set? Is the SVR-2000 a Series 1 DTiVo? Do you have a network card installed? If so, you can probably run the nic_install program to reset your static IP.

Did you cat all the files in /etc/rc.d to grep ifconfig? If so, did you find the line that sets your IP?

ew

devicemanager
03-05-2005, 12:34 PM
Ok, good news, I found the file in the directory you specified. The file is called re.net - in there there are 2 lines of data that go like 5 screens to the right (if you know what I mean) - I saw the ip address and the gate way in there. I could not over write the file with the changes, so I copied to my pc and made the change, then copied it back, then the ftp connection hangs, have to reboot the tivo. Then I tried to delete the file, but it wont let me, I guess that is a good thing. Can you think of another way rather than ftp. I do have the telnet ability, but I do not know what to write in there.

The pat to the files is as follows..

etc\fc.r\rc.net

Would you be so kind to help me through this?

eastwind
03-05-2005, 02:34 PM
Ok, good news, I found the file in the directory you specified. The file is called re.net - in there there are 2 lines of data that go like 5 screens to the right (if you know what I mean) - I saw the ip address and the gate way in there. I could not over write the file with the changes, so I copied to my pc and made the change, then copied it back, then the ftp connection hangs, have to reboot the tivo. Then I tried to delete the file, but it wont let me, I guess that is a good thing. Can you think of another way rather than ftp. I do have the telnet ability, but I do not know what to write in there.

The pat to the files is as follows..

etc\fc.r\rc.net

Would you be so kind to help me through this?After you telnet in you'll need to mount -o remount,rw / to mount the root read-write. Then you can ftp your new version in (make sure you used a UNIX-aware editor or run the file through DOS2UNIX to fix it for use on the TiVo). Then you'll need to chmod +x rc.net to make the file eXecutable (otherwise it will hang your system). Then mount -o remount,ro / and sync to get the root back to read-only state and restart (or use the MyWorld Menu to restart your system).

ew

P.S. Spelling, case, and 'slash direction' count. When posting information from your system you should definitely check your spelling.

devicemanager
03-05-2005, 02:39 PM
Do I type that command at the bash# mount -o remount,rw /

Then ftp the new file over?

then at the bash#mount -o remount,ro /

Do I have this right?



After you telnet in you'll need to mount -o remount,rw / to mount the root read-write. Then you can ftp your new version in (make sure you used a UNIX-aware editor or run the file through DOS2UNIX to fix it for use on the TiVo). Then you'll need to chmod +x rc.net to make the file eXecutable (otherwise it will hang your system). Then mount -o remount,ro / and sync to get the root back to read-only state and restart (or use the MyWorld Menu to restart your system).

ew

P.S. Spelling, case, and 'slash direction' count. When posting information from your system you should definitely check your spelling.

eastwind
03-05-2005, 02:42 PM
Do I type that command at the bash# mount -o remount,rw /

Then ftp the new file over?

then at the bash#mount -o remount,ro /

Do I have this right?
Yes, but you seem to be in need of some basic Linux knowledge. Try a tutorial so you'll understand what it is you're doing to that if you mess it up you might have a chance to fix it.

ew

devicemanager
03-05-2005, 03:04 PM
Thanks - that worked! I really appreciate your patience.

I have been meaning to learn Linux, but never really committed to it. I understand what we did.

Basically we removed the read only attributes so i could replace that file and then turned them back on.

Pretty neat! Thanks again!

devicemanager
05-15-2005, 08:36 PM
Hey you guys, I had to change the ip again! So I telnet into the tivo, removed the ro and copied the new file over with the updated ip and did the rw command. Now i can not access the tivo at all and it will not dial out. I did try to the chmod command but it did not like it.

Where do i go from here?

PlainBill
05-15-2005, 08:45 PM
Hey you guys, I had to change the ip again! So I telnet into the tivo, removed the ro and copied the new file over with the updated ip and did the rw command. Now i can not access the tivo at all and it will not dial out. I did try to the chmod command but it did not like it.

Where do i go from here?
If it happened to me, I would put on a dunce cap and go sit in the corner. You will have to pull the drive and chmod the file. Consider it a learning experience.

PlainBill

devicemanager
05-15-2005, 08:51 PM
I tried to run the chmod command but it didn't like it, any clue?

Well the cap is on, is there a chmod how to around?

PlainBill
05-15-2005, 09:58 PM
I tried to run the chmod command but it didn't like it, any clue?

Well the cap is on, is there a chmod how to around?

Mount the appropriate partition.

Change to the /etc/rc.d directory

chmod 755 rc.sysinit.author

PlainBill

devicemanager
05-15-2005, 10:42 PM
It has been a while since I did this. If I remember correctly the drive is configured to me the primary slave. So I would just connected in that place on the chain and boot to the mfs tools disk? This will allow me to change to the appropriate directory and change the permissions to that file? Will this restore the ports I had open 23 and 8080? Thanks!

devicemanager
05-18-2005, 07:46 PM
OK, I am getting ready to take the plundge. I connected the drive to my pc but the disk I have to boot with has a scratch and the machine can't read it. Can you post a link to so I can create this disk again? I believe it is the Linux boot disk that I am trying to make. Also just to make sure I have got this right, the tivo drive gets placed in my pc as the primary slave or is cable select good enough?

PlainBill
05-18-2005, 08:20 PM
Jumper it as slave - I don't know if the cable you are using supports Cable Select. PTVupgrade and 9th Tee both have links to boot cds. There is also a knoppix lite cd posted on this board.

PlainBill

devicemanager
05-18-2005, 08:47 PM
I will look for the knoppix - thank you!

devicemanager
05-19-2005, 08:34 PM
Well I had a hard time getting knoppix, not quite sure I understand how to make the cd - I will keep trying because I really want to learn - seems like there is so much more control in the long run.

However, I did create the floppy boot disk and I am at a # prompt. Could you guide me to changing to the appropriate directory and the commands to restore things the way they should be.

Thank you for you patience!

devicemanager
05-19-2005, 08:51 PM
OK, you will be proud of me, I did some research on changing the directory.

I did a
cd etc
cd rc.d

I tried the

chmod rc.sysinit.author command but it said no such file in the directory.

Thanks.

PlainBill
05-19-2005, 09:38 PM
We'll be REALLY proud when you report you got it working. Did you use bootpage -p /dev/hdb to determine the active partition?

PlainBill

devicemanager
05-19-2005, 09:45 PM
I did the command you said, it comes back with:

bootpage not found.

Please don't go anywhere - I need your help! I don't mind if you make me think, but I would like toresolve this tonight...

PlainBill
05-19-2005, 09:49 PM
Bootpage probably isn't on the boot floppy. Here's (http://dealdatabase.com/forum/attachment.php?attachmentid=3963) alldeadhomiez improved version of bootpage. Either shoehorn it onto the floppy, or put it on another floppy. In either case, chmod it before you try to run it.

PlainBill

devicemanager
05-19-2005, 09:54 PM
Can you elaborate on the chmod command? I had to put those files on another disk - can I just pop it in there and enter that command you told me - or do I have to boot to it? Or do I have to copy those files to a directory?

devicemanager
05-19-2005, 10:28 PM
I found a site that explaind the chmod command, but I do not know how to chmod the disk? or what I am suppose to chmod before I begin? Also what kind of permissions am I going to apply - I heard 777 is the admin priv's? Sorry to be a little paranoid, but I should have been this way earlier and I wouldn't have been in this situation. Dunce cap still on!

devicemanager
05-19-2005, 10:50 PM
OK, here is some more information. I rebooted to my 1st floppy. It says that the partition is unknown. Come to think of it I do not think I created any partitions. It also referenced hdc if that means anything to you...

AhoyMatey
05-19-2005, 10:54 PM
*sigh*

Everything you do on the TiVo is with root ("admin") privilege. You chmod files, not drives. You can chmod every file with 777, even if they aren't really executables.

The easiest way to find out about a *nix command is to search for "man <command>" on google. You'll get links for man pages which will explain the commands. "man chmod" will give you everything you always wanted to know about chmod.

devicemanager
05-19-2005, 11:20 PM
you guys dont understand, I am very new at this but I have the guts to attempt it. I am so afraid to do the wrong thing, escpecially when you are going into this blind. I think it is a very fascinating, and I do want to learn, but I do not understand any of the sites I have visited. I get it in theory, but the application is what scares me. Am I suppose to run the chmod on the disk? Do I copy the files to the hdd? What do I chmod - LOL!

alldeadhomiez
05-19-2005, 11:34 PM
I think it is a very fascinating, and I do want to learn, but I do not understand any of the sites I have visited. I get it in theory, but the application is what scares me. Am I suppose to run the chmod on the disk? Do I copy the files to the hdd? What do I chmod - LOL!

No, you don't get it in theory. You don't understand what chmod does. And you need to learn it before you continue posting here.

Come back after you've read and completely understood a good Linux tutorial. You're not going to get anywhere in this hobby until you know the basics.

NutKase
05-20-2005, 12:02 AM
you guys dont understand, I am very new at this but I have the guts to attempt it. I am so afraid to do the wrong thing, escpecially when you are going into this blind. I think it is a very fascinating, and I do want to learn, but I do not understand any of the sites I have visited. I get it in theory, but the application is what scares me. Am I suppose to run the chmod on the disk? Do I copy the files to the hdd? What do I chmod - LOL!

I liked your web site. I'm starting a home project fixing up a basement area too.

Use the dedication you showed, doing your HT room, to learn how to hack a tivo.

Read, experiment, and be meticulous in your typing just like you were in your measuring, chill out, don't be afraid to make a mistake, be inventive, don't "be afraid to do the wrong thing", don't "go into anything blind" just learn "how to understand the sites I have visited" first and stop asking so many questions... READ.

I'll make you a deal, pm me with some questions that show you're TRYING to read and learn, clean up your typing/spelling (web site needs some help too...) and I'll be as patient as I can with you (I'm looking for a new project) and you can reciprocate when I start my home mod this winter.


NutKase