PDA

View Full Version : Help setting static IP PLZ!


Govnah
01-04-2003, 04:49 PM
I have Extreme installed w/ Kraven's update and everytime I reboot I have to serial in and run ifconfig to set an ip. I have read and read and tried a few things to set tthe ip, with no luck. CAn some kind sould please tell me what fine needds to be edited and what need to be added for a static ip, so I want have to serial in everytime.

TIA

defsrg
01-04-2003, 05:11 PM
if can please post some more info about your setup like what does it say when you put in ifconfig,post the output also after typing route -n at the bash prompt. also what are your setup settings ip address,gateway etc...... believe me ive been in a quandry myself the past few days and have read alot of things so if i cant help you im sure someone else can

Govnah
01-04-2003, 05:24 PM
My tivo is working fine, I need to know what file I need to edit to add the static ip. Here is my info..see below, after I added my static ip..

lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0

net0 Link encap:Ethernet HWaddr 00:0B:AD:34:31:78
inet addr:10.0.0.6 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16790 errors:0 dropped:0 overruns:0 frame:0
TX packets:74569 errors:0 dropped:0 overruns:0 carrier:0 coll:0
Interrupt:29

Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 32767 0 0 net0
bash-2.02#
Keep in mind I do not need to set a gateway sine it is on the same segment as my PC.

defsrg
01-04-2003, 05:29 PM
did you edit the rc.remote-login like it said in the kraven readme??cuz u got a pretty funky ip address going on there... thsi part here
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.

Govnah
01-04-2003, 06:31 PM
Great I will try that. Is there a line to edit to disble DHCP as well?


TIA

Govnah
01-04-2003, 06:47 PM
Well I added those three lines and no luck! Of course I added the correct ip information. This is driving me crazy!!!!!

Update it is picking up an IP from my DHCP server! How do I disable DHCP on the TIVO w/ turbo net card?

DarkWing
01-04-2003, 09:35 PM
mv /sbin/dhclient /sbin/dhclient.bak

zabs
01-04-2003, 10:43 PM
You know I have been having a problem where on a reboot my tivo comes up with no ip addy.

I have the 3 lines in rc.remote-login, (and am able to configure the card manually using said 3 lines) but I have not disabled the DHCP client either.....i'll have to remember to try that. Anybody else have any suggestions?

Govnah
01-04-2003, 11:14 PM
I will let you know shortly.......Yep that worked!!!!! THANKS DARKWING!!!!!!