Categories: DVRupgrade Support Area
WARNING: Do not attempt to change the IP address of your unit unless you are 100% comfortable with the steps involved. Editing your system startup file improperly can cause unexpected and unhappy results! PTVupgrade is not responsible if you mess up your pre-configured kit. Be forewarned!
PTVnet kits come with a DHCP IP address so they will work on most any network that has a DHCP server. If you really MUST have a static IP address, you can certainly set one. If you decide to do this, we highly recommend you use a serial cable, just in case you lose network connectivity, but you can do it by simply change/set you IP address by using 'telnet' or TeraTerm pro to connect to your unit and then doing a few simple things.
The first step is to tell your unit not to use DHCP and to use STATIC, instead. Open a terminal session to your unit and type the following at the bash-2.02# prompt:
Code:
and you will see a response similar to this (the first line will not be present if you are not connected with a serial cable)
Code:
This is just a simple acknowledgement that you are setting a 'flag' to tell the unit to use a STATIC IP address instead of a DHCP one.
Now, there is already a default STATIC IP information that has already been set in the /etc/rc.d/rc.sysinit.author file. This is the information:
Code:
If you want a different IP address than is already specified, you will need to use the vi editor to change the values in the file. Type:
Code:
(note that there is a backup of this file in /ptvupgrade/etc/rc.sysinit.author and also note that the rootread and rootwrite commands make the root directory of your TiVo read-only and read-write in order to protect files and/or allow you to change them).
Now you will need to edit the file, which is not necessarily very intuitive. Use the "j" key to go down a line until you get to the first line you want to edit. Use the "l" key to go right, use the "x" key to delete a character, and use the "i" key to go into "insert" mode and actually type the information into the file. Use the "esc" key to exit "insert" mode and go back to navigational mode.
Once you have the file looking as it should you can write and quit the file by hitting "escape" followed by the ":x" command (just hit colon, and then "x"). If you get screwed up before writing the file, don't panic, just his "esc" and then hit ":quit" and you can then start over again. If things get really messed up, you can restore the file by typing:
Code:
and you will restore the old file.
When you are done, type:
Code:
With all of that said, you must be VERY careful when editing this file and not change anything that you don't understand. If you mess it up, you could create some real problems for the other modifications on your unit. If you do mess it up, you should still be able to communicate with your unit using a serial cable.
Well, if you've gotten this far, then you are good to go! Double check everything you did.
If you are running the 6.2 version of PTVnet, also type the following:
Code:
and now, for all versions (311e and 6.2) type
Code:
and your unit should start up with no problems and a new IP address!
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread


RSS
WARNING: Do not attempt to change the IP address of your unit unless you are 100% comfortable with the steps involved. Editing your system startup file improperly can cause unexpected and unhappy results! PTVupgrade is not responsible if you mess up your pre-configured kit. Be forewarned!
If you know your IP address and you've got TiVoWebPlus running, here is an easy way to change your IP address. If you don't know your IP address yet, use your router's admin screens, or go get yourself angry IP scanner and you'll find your TiVo (and anything else) existing on your network.
Open up a browser window and go to your TiVoWebPlus window by typing your current IP address into the address bar of your browser. When you get to the main TiVoWebPlus window, select the HackMan link from the main menu.
In the bottom center of the window, you will see a white space and a prompt to "Enter shell command:" (If you do not, click on the "edit files and set preferences" at the bottom of the page, and at the top of the rightmost column, you'll need to check the box that says "Show Bash Command Line" -- save your settings).
Type the following in the white box labeled "Enter Shell Command"
Code:
and press the "execute" button. This will flip the status of your unit from DHCP to STATIC (or vice versa if you are already in static mode); you should see a confirmation of this in the next window displayed.
Now, there is already a default STATIC IP information that has already been set in the /etc/rc.d/rc.sysinit.author file. This is the information:
Code:
If you want to change this information, you will need to edit the startup file. Click on the "preferences" link in the bottom center of the screen and enter your password (the default we've provided is "ptvupgrade").
Now, on the top line of the screen, you will see a "files to be edited" line along with a pull-down menu. Just select rc.sysinit.author from there, and then select the "edit a file" button in the upper right hand corner.
Carefully make the desired changes to the STATIC IP information listed a few lines from the top of the page; do not change anything else unless you are completely sure of what you are doing, and then click "save" when you are done.
For PTVnet 6.2 users only, also type the following:
Code:
Once you are all done, you can go back to the main HackMan window and press the "reboot" button on the bottom left side of the screen.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread