View Full Version : No IP Address on DSR6K Problem
tinman
07-24-2003, 09:59 PM
I was working with a friend on trying to get video extraction on his DSR6K runing xtreme25 but we never could come up with an ip address for the tserver. Does xtreme25 contain networking files that activate automatically? I know 2.5.2 allows networking with DHCP but didn't know what's allowed under 25. Also, how do we assign a static IP addy to the DSR6K so we don't have to guess. BTW: we ran print ROUTE from a win2k box on the router but failed to see the TIVO so I'm not sure if his turbonet card is connected properly. Anyway to check this? Thanks.
captain_video
07-24-2003, 10:50 PM
2.5Xtreme doesn't contain any networking files or capabilities on its own. You'd need to manually install the Turbonet drivers, tivoftp, and any other communications hacks to talk to your DTivo and/or transfer files. Kraven's original upgrade included most of these additional hacks.
Superzap's 2.5.2 upgrade includes the Turbonet drivers and other communication hacks so you don't need to install them. You do need to activate the ones you want via the xPlusz commands.
The Turbonet software sets up your DTivo as a DHCP client by default. If you do not have a router or other device that acts as a DHCP server in your home network then you must assign a static IP to your DTivo.
If you do not have OS version 2.5.2 or later installed it is highly recommended that you upgrade to either 2.5.2 or 3.1 using one of the upgrades from Superzap or Kraven posted in the main DirecTV Tivo Hacking Forum. To set up a static IP with either 2.5.2 or 3.1 you need to make the following changes to the /etc/rc.d/rc.net file:
# mkdir -p /var/state/dhcp
/sbin/ifconfig net0 192.168.1.100 netmask 255.255.255.0 up
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
Note that the two lines preceded by the "#" sign are pre-existing and the "#" signs are used to comment them out. All you need to add is the line in between them. Change the IP address to suit your network setup.
bugsshadow
10-02-2003, 02:31 AM
Is there a step by to set up static ip?
Iam not very knowledgeable with linux op system.
TRILIGHT
10-02-2003, 10:38 PM
Originally posted by bugsshadow
Is there a step by to set up static ip?
Iam not very knowledgeable with linux op system.
First, definitely upgrade to 2.5.2! Not only do you get the NIC drivers installed, you get other hacks made available (not enabled by default) and I found it to be a LOT more stable than 2.5. Once you're up on 2.5.2, you only need to edit the rc.net file like Cap'n told you.
Go to the /etc/rc.d/ directory and then type...
joe rc.net
Once in the editor, you will see all the lines in the file. I set mine up to look like this...
#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
# THE FOLLOWING LINES ARE FOR DHCP
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
# THE FOLLOWING LINES SET UP STATIC IP
detectDynamicNet
ifconfig net0 192.168.1.100 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &
Anything with a "#" before it is a commented out line. They are not processed. Mine sets a static IP on the unit. Change this to an IP and subnet mask appropriate for your network. If you mess anything up and are worried about it, simply press CTRL-C and it will exit without saving the file. If you've made the changes you want, then save the file. Type "reboot" to reboot the unit and you're done! Mine took a while to get up and running. I think it was because there was so much the system was still doing since I had just set it up. If it doesn't seem to work at first, give it a few minutes (might be as long as 30. who knows! ;) ) and then test it again. Even though mine took a while, it DID start working with this setting. Good luck!
bugsshadow
10-26-2003, 02:21 PM
every time I try to acess the ect/rc.d dir is says dir not found.
not sure how to get their.
bugsshadow
10-27-2003, 04:26 PM
ok, I figured out how to get and edit my rc.net file and changed to
as follows.
code:--------------------------------------------------------------------------------#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
# THE FOLLOWING LINES ARE FOR DHCP
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
# THE FOLLOWING LINES SET UP STATIC IP
detectDynamicNet
ifconfig net0 196.168.0.6 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &
ran ifconfig and got
inet addr:196.168.0.6 Bcast: 196.168.0.255 mask:255.255.255.0
still no reply, hub interface light is constanly blinking.
anyone got any ideas??
bugsshadow
10-27-2003, 04:49 PM
ok, I figured out how to get and edit my rc.net file and changed to
as follows.
code:--------------------------------------------------------------------------------#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
# THE FOLLOWING LINES ARE FOR DHCP
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
# THE FOLLOWING LINES SET UP STATIC IP
detectDynamicNet
ifconfig net0 196.168.0.6 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &
ran ifconfig and got
inet addr:196.168.0.6 Bcast: 196.168.0.255 mask:255.255.255.0
still no reply, hub interface light is constanly blinking.
anyone got any ideas??
BubbleLamp
10-27-2003, 05:17 PM
Originally posted by bugsshadow
ran ifconfig and got
inet addr:196.168.0.6 Bcast: 196.168.0.255 mask:255.255.255.0
still no reply, hub interface light is constanly blinking.
anyone got any ideas??
Where did you come up with that IP address? Does it match the numbering used on your network? You can't just pull a number out of the air and expect it to work.
bugsshadow
10-27-2003, 08:54 PM
yes this ip is in conjuction with my home network, other three
computers.
bugsshadow
10-29-2003, 05:34 AM
This ip is part of my home network, do you have any ideas on my problem?Checked my connections again repositioned my cables
from pushing on my turbonet. Still not having anyluck. turbonet
just sits their blinking about once every sec.
BubbleLamp
10-29-2003, 01:03 PM
Originally posted by bugsshadow
This ip is part of my home network, do you have any ideas on my problem?Checked my connections again repositioned my cables
from pushing on my turbonet. Still not having anyluck. turbonet
just sits their blinking about once every sec.
Get an Ethernet crossover cable. Hook your PC directly to the Tivo with the cable. If you still can't ping it, it sounds like a defective board.
bugsshadow
11-02-2003, 02:31 PM
Tried a crossover and worked fine, it appears to be my cable.
downloaded via tytool noprob's access via teraterm no prob's.
Thanks for the help!!
quantum_3
11-02-2003, 05:28 PM
hello,
question please- i have a DSR6000 with 3.1 w/ xplusz on it. i wanted to make the tivo a static ip so i telneted over and made the exact changes Trilight made in the earier post except i used 192.168.1.104 (instead of 192.168.1.100) rebooted and now i cant telnet nor can i ping the tivo. becase the serial port is fried that only leaves me with one option that i'm aware of. put the drives back on the pc. my question is how do you mount with with xtreme25 boot disk so i can go back into the rc.net file a fix what i screwed up please.
ps what is the difference between superzaps and trilights suggested changes? if trilights didnt work for me maybe superzaps will? (no offence trilight i'm not saying your rc.net is wrong i'm just saying it didnt work for me)
Thanks again,
Q_3
TRILIGHT
11-02-2003, 06:29 PM
Sounds like it was given a DHCP address before, quantum. Is that correct? Look at what your network address is. Many home routers will assign DHCP addresses using the 192.168.0.0 network instead of the 192.168.1.0 I use on my own. The 255 numbers designate what part of the IP address is the network. If you set your TiVo to 192.168.1.xxx and your system you're trying to connect from is not on the same "network", you'll never connect.
quantum_3
11-02-2003, 09:33 PM
hi Trilight,
yes sir you are correct, i have a 4 port linksys router @ 192.168.1.1
i was sick of trying to find the ip addy so i put this in the rc.net
#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
# THE FOLLOWING LINES ARE FOR DHCP
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
# THE FOLLOWING LINES SET UP STATIC IP
detectDynamicNet
ifconfig net0 192.168.1.104 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &
word for word line for line, rebooted the dtivo and BOOM...nothing.
i cant check ifconfig because the serial port is toast. i have a 2nd dtivo downstairs that is set up static for 192.168.1.105 w/ no problems.
any ideas?
thanks!
Q_3
TRILIGHT
11-02-2003, 09:42 PM
Originally posted by quantum_3
i cant check ifconfig because the serial port is toast. i have a 2nd dtivo downstairs that is set up static for 192.168.1.105 w/ no problems. any ideas?
Ah! I'll bet your problem is a MAC address conflict with the other unit. Take the other unit off the network and try again to test. Many people have run into this problem when trying to run more than one TiVo on their network. I forget where the thread is but there's a thread (more than one I believe) on this exact problem. They describe what to change in order to set different MAC addresses on the units.
BubbleLamp
11-02-2003, 10:24 PM
The MAC address is set in the line that loads the NIC driver, usually something like
insmod -f ax88796.o macaddr=12345
change the number to something else.
quantum_3
11-02-2003, 11:00 PM
ok...i tried to just pull the tivo (192.168.1.105) off of the network and rebooted the one upstairs (192.168.1.104) waited 15 mins then tried to ping 104. no go. i am thinking i might just pull the drives from 104 and put them in 105 so i can used its serial port to check ifconfig and see if i might need to rename the dhcpclient to something else?? i'm just grasping at straws here. what do you think?
Q_3
quantum_3
11-03-2003, 06:53 PM
ok i put the drives in the downstairs dtivo and used the serial port to make the changes listed HERE (http://www.dealdatabase.com/forum/showthread.php?s=&threadid=21407)
and it works right as rain. funny thing the "search" button. its been awaile and i forgot how i did it last time. thanks for all the help! now AND the 1st time :D
Q_3
rpongett
11-10-2003, 04:18 AM
Alright, I think I have the same linksys router, but not a problem with a 2nd Tivo MAC to worry about. Well, I have a 2nd Tivo, but I don't really mess with it anymore so I unplugged it from my router.
Here is my rc.net file as changed:
#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
ifconfig net0 192.168.1.100 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &Now I can't get into it at all.
First, I moronically left out the line "detectDynamicNet."
There is no conflict at the IP 192.168.100. I have my router set up to start assigning DHCP IPs at 102, and my computer is static at 101. So 192.168.100 is wide open.
However, the lights on my router still indicate that it is connecting with my DTivo(DSR 6000).
But I can't telnet, FTP or do anything else with it at any address. And I've tried to test for it on other IP addresses(no go).
Any ideas for fixes?
quantum_3
11-10-2003, 08:11 AM
at this point you have to do one of two things,
either make a bash cable(look in the "how to" stickys) and use tera term pro to serial into the tivo or pull the drives and use your pc to "mount" the drive and change it that way.
good luck,
Q_3
rpongett
11-10-2003, 05:19 PM
OK, I'll try entering with the serial port bash tonight.
Just to be clear, should the following rc.net file work (Linksys 4 port router at 192.168.1.1 and that doesn't start DHCP assignments until 192.168.1.102 so that I hopefully can permantly set my DTivo Static IP to 192.168.1.100)?
#!/bin/bash
# Copyright (c) 2001-2002 TiVo Inc.
#
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# fi
#fi
detectDynamicNet
ifconfig net0 192.168.1.100 netmask 255.255.255.0 up
/etc/rc.d/rc.remote-login &So the line in bold is the only thing I'm adding to the file at all, and I'm changing nothing else. Then just copying it to the Dtivo via serial bash.
quantum_3
11-10-2003, 06:13 PM
if you read up a few posts you will see a link to another thread discribing what i did to get a static ip. the easiest thing to do is try your changes, then reboot, then do a "ifconfig" in bash and see if they took.
let me know,
Q_3
rpongett
11-11-2003, 03:55 AM
I am so mad at myself for even trying to switch to a static IP.
In trying to repair my now turbonet inaccessible DTivo, I have an SA Tivo serial cable that I know works (changes channels on a standalone DirecTV tuner just fine).
I hooked it up (to the serial, NOT the IR, port), hooked the serial end of the cable to the serial port on my cmputer and power cycled.
Loaded Terra Term Pro, with the settings:
115200 (Xtreme 3.1 already on DTivo)
8 bits
none for parity
1 stop bit
flow control none
Nada. Not a damn thing. Doesn't even move the cursor when I hit enter. I have reset terminal on Terra Term Pro, disconnected, reconnected. Nothing.
I tried the same thing with 9600 Baud. Nothing. I tried in on different computers. I tried it with every COM setting.
That pretty much covers everything I found in searching this forum.
I don't know what to do at this point. Some kind of setting for Terra Term Pro on both computers i should be changing? I don't know.
rpongett
11-12-2003, 08:37 PM
Tying up loose ends (in case someone hits this in a future search), I solved my serial bash and static IP problems with a complete explanation on this thread:
http://www.dealdatabase.com/forum/showthread.php?s=&threadid=29265
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.