View Full Version : Network dies every day
hayreass
12-20-2004, 11:29 PM
Allright, I give up...
For 2 weeks now I've been trying to figure out my networking problems on an HDVR2 @ 4.0.1b
Hacked with killhdinitrd, kernel is 2.4.18 according to Tivoweb
Every day, my networking dies. As best as I can tell it does it real near 24hrs of uptime.
I've tried the updated drivers from http://www.dealdatabase.com/forum/showpost.php?p=187485&postcount=4
My rc.sysinit.author file only starts telnet, tivoftpd, and tivowebplus, it used to start more stuff, but I've been systematically commenting them out, figuring it was something I started on a loop that was killing me.
I've added nothing to rc.sysinit
netfilter-enable has been renamed netfilter-enable.old
I've tried everything a relativly simple minded fellow such as myself can think of, but I'm stumped.
I'll attach my .author file to see if maybe I'm messing up somewhere in there.
I've got 2 tivo's networked, the other is a T60 with a cachecard, and I have no problems with it at all.
If I reboot the tivo, I'm good for another day, then she dies again.
Jamie
12-20-2004, 11:38 PM
Every day, my networking dies. As best as I can tell it does it real near 24hrs of uptime.
Can you explain exactly what "my network dies" means? What do you see on the serial console? In /var/log?
The only thing I noticed in your rc.sysinit.author is that you are doing network setup there. You don't need to, since the tivo 4.X software will set it up for you.
RavenStL
12-20-2004, 11:43 PM
dies as in connection light on adapter is dead?
can you ping the tivo?
I use DHCP and no settings with 4.0.1b with my HDVR2's.
hayreass
12-21-2004, 12:46 AM
Can you explain exactly what "my network dies" means? What do you see on the serial console? In /var/log?
The only thing I noticed in your rc.sysinit.author is that you are doing network setup there. You don't need to, since the tivo 4.X software will set it up for you.
Sorry, guess I slipped.
I lose all networking capability, ftp, tivoweb, and telnet. Seems like last time I tried, I had lost serial as well, but I'll have to wait until tomorrow to try again, since I rebooted today.
Which log should I be should I be looking at in /var/log? I have 4 in there... Otivoweb.log, svclog, tivolog.prv, tivolog.pub, tivoweb.log I see nothing obvious in any of them.
Light stays on on my USB200m, and the router which is a Linksys BEFSR41 V3
Since I don't need to start up the network in author, is there an example somewhere of how to set the address instead of using DHCP?
Jamie
12-21-2004, 01:11 AM
Sorry, guess I slipped.
I lose all networking capability, ftp, tivoweb, and telnet. Seems like last time I tried, I had lost serial as well, but I'll have to wait until tomorrow to try again, since I rebooted today.So networking and serial is hung, but the tivo UI is still functional? Does it respond to ping?
Leave it connected with a serial console for a full day so you can see the console output when the network seems to hang.
Which log should I be should I be looking at in /var/log? I have 4 in there... Otivoweb.log, svclog, tivolog.prv, tivolog.pub, tivoweb.log I see nothing obvious in any of them.
all of them ;-)
Actually, /var/log/messages is usually the most interesting for kernel messages.
Light stays on on my USB200m, and the router which is a Linksys BEFSR41 V3
Since I don't need to start up the network in author, is there an example somewhere of how to set the address instead of using DHCP?From the TiVo UI: TiVo Central/TiVo Messages & Setup/Settings/Phone & Network Setup/Edit phone or network settings/TCP/IP Settings.
Just guessing here, but have you applied the vwait patch? link (http://www.dealdatabase.com/forum/showthread.php?t=35542&highlight=vwait). A high priority tivosh spinning in a busywait could starve telnet/ftp/etc servers.
hayreass
12-21-2004, 02:33 AM
I have indeed applied the vwait patch
I'll hook up the serial cable tomorrow before it hangs, is there anything I need to do to see console output? Like type console or something. I know when it boots up it automatically outputs info, but I never use serial, so I'm not sure if always does. Guess I can just test it.
Next thing I notice is that I have no file called messages, just the 4 that I mentioned earlier.
And yes, the tivo UI is still responsive. I'll try to ping it next time. I tried that a week ago, and had no ping. That's one of the reasons my mind was saying it died. I will check again though.
I'll give the Tivo UI network setup a try, never even occurred to me, and I don't think I've read it either. Once I do that, can I delete the stuff from my .author file? I would have to imagine that I can since it would be redundant.
newbie
12-21-2004, 12:56 PM
When does fakecall schedule the next phone call? Is your network dying when your unit tries to make a phone call?
hayreass
12-21-2004, 01:10 PM
When does fakecall schedule the next phone call? Is your network dying when your unit tries to make a phone call?
It doesn't, at least not right now.
That was my 1st suspect, and if you look at the .author file, you can see it has been commented out.
My suspicion is that this will be resolved by the very simple (and very obvious now) task of setting network parameters through the Tivo UI instead of in my .author file.
Hmm.. now that I think about it though, the tivo probably does try to make a call out via the phone every day.
This requires more investigation.
Edit:
System information screen tells me that the last Service Connection was this morning at 7:45 and was successful (I manually ran FakeCall40.tcl around that time)
When I go to the Phone and Network Setup screen, I have connect via Phone, Last status succeeded, Thursday Dec 16 @ 8:14 am. Next attempt Dec 22 @ 7:28 Pm
I would think that these 2 times should be the same. That they should both say this morning at 7:45. The phone call is the service connection right? I figure since I ran the fakecall script this morning that the times will straighten themselves out with a reboot.
eastwind
12-21-2004, 03:21 PM
Does the problem persist if TWP is not running? I've read in another thread about someone that had TWP restarting at a certain time every day (using a cron job I think) to prevent it from becoming unresponsive.
Do you use TWP daily? If so, try restarting it after each use.
http://tivo/restart/0
ew
hayreass
12-21-2004, 05:25 PM
Does the problem persist if TWP is not running? I've read in another thread about someone that had TWP restarting at a certain time every day (using a cron job I think) to prevent it from becoming unresponsive.
Do you use TWP daily? If so, try restarting it after each use.
http://tivo/restart/0
ew
If it continues to be a problem, I'll try turning off TWP.
Currently, I do restart it daily due to it not picking up the UI module when it boots from the .author file.
hayreass
12-22-2004, 12:32 PM
Looks like Jamie wins the prize...
Setup my network through the Tivo UI, and I'm still up at over 36 hours
I've never been able to manage that before
A simple fix, for a simple person, I like it.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.