PDA

View Full Version : cannot get telnet on HDR312 (daily calls over Ethernet OK)


horwitz
01-11-2005, 04:05 AM
First: I hope this is the appropriate forum (I think this is doesn't fall under the category of a newbie question, but I could be wrong ... if so, please tell me and I'll apologize and move along to that forum).



MY SETUP:

HDR312
160Gb HD
TiVoNET (not TurboNET -- I wonder if that's an issue ...)
software v3.0



MY SITUATION:

Daily calls via Ethernet: YES
telnet (ftp, etc.): NO



HISTORY:

I had a 120Gb HD that crashed 3 months ago (but telnet was working on that).

I installed the 160Gb HD -- upgraded from my original TiVo drives -- using the Hinsdale How-to (http://www.newreleasesvideo.com/hinsdale-how-to/index9.html) and followed the TiVoNET instructions that were here: http://www.jsprod.net/tivo30script.htm (linked to from here: http://www.9thtee.com/tivonet.htm). After a kickstart 52, daily calls finally work over Ethernet*, but no telnet.

I've been busy, so I didn't have time to fool around with this until now.

I tried the instructions in section 2 (Gaining Telnet Access to your TiVo) of Steve Jenkins guide v5.0 (http://tivo.stevejenkins.com/network_cd.html), but that didn't make telnet work.

I tried the silicondust nic_install script (http://www.silicondust.com/forum/viewtopic.php?t=2; pointed to here: http://www.tivocommunity.com/tivo-vb/showthread.php?s=&threadid=214627) and telnet still didn't work. http://www.tivocommunity.com/tivo-vb/showthread.php?s=&threadid=214627 suggested running kill_initrd on the Jenkins CD after the silicondust nic_install script, so I did that. Still no telnet.

Kickstart 52 brought my daily calls over Ethernet back, but I am telnet-less.

nmap from a linux box on my network shows all the ports closed on what must be the TiVo (it's the only new device).

Please help!

What can I do to make it easier for people to help me? Log files (where do I find them)? Any further details I can give?

Thanks a lot,
Jeremy



*a must, since my modem (apparently) doesn't work

eastwind
01-11-2005, 04:28 AM
HDR312 is a SAS1...no need for kill initrd. What is the brand/model of your router? Does it show an IP assigned to the TiVo? Do you have a serial cable and bash on serial? (This is a must for troubleshooting.) Post a copy of your rc.sysinit.author and the last ten lines of rc.sysinit. If you have bash on serial, try starting the telnet daemon manually and not the results.

ew

horwitz
01-11-2005, 04:51 AM
HDR312 is a SAS1...no need for kill initrd. What is the brand/model of your router? Does it show an IP assigned to the TiVo? Do you have a serial cable and bash on serial? (This is a must for troubleshooting.) Post a copy of your rc.sysinit.author and the last ten lines of rc.sysinit. If you have bash on serial, try starting the telnet daemon manually and not the results.

ew
First: thanks so much for responding.

The router is a Linksys BEFSR41.

I deleted most of the entries in the DHCP active IP table, then plugged the TiVo into the router; a new entry was then added (with no hostname). (Also, I can account for everything else in the nmap scan.)

BTW, this TiVo (with this TiVoNET card, etc. -- the only change is the hard drive (and the software installation of the HD & Ethernet upgrade)) worked with this exact router previously.

I do not have a serial cable (nor, obviously, bash over serial).

I will post rc.sysinit.author, the last ten lines of rc.sysinit, as well as a link to a file containing my entire rc.sysinit tomorrow (when I can get at a desktop machine without waking up anyone in the house).

Thanks again!

eastwind
01-11-2005, 01:15 PM
First: thanks so much for responding.

<SNIP>
I do not have a serial cable (nor, obviously, bash over serial).

I will post rc.sysinit.author, the last ten lines of rc.sysinit, as well as a link to a file containing my entire rc.sysinit tomorrow (when I can get at a desktop machine without waking up anyone in the house).

Thanks again!
Time to build/buy a serial cable. You need to get in there and see if the daemon is running, or why it isn't if it's not. Lots of ways to do it with parts from you local electronics store--Radio Shack or otherwise.

ew

horwitz
01-12-2005, 01:18 AM
Well, I'm going to try to get rc.sysinit & rc.sysinit.author off in about 45 minutes (when the TiVo isn't recording). For now:

I got the parts for a serial cable and am getting "Verify password:" I tried "factory" (7 characters -- no quotes) and it doesn't work (I tried several times, verified that caps lock was off, etc.) This page makes it sound like I'm a Catch-22: http://tivo.samba.org/index.cgi?req=all#4.8 -- I need serial access to fix telnet, but I need telnet to get a bash prompt (to change the password).

(I'll hopefully still be able to mount my floppy drive and just copy rc.sysinit & rc.sysinit.author off soon ...)

eastwind
01-12-2005, 07:59 AM
/bin/bash </dev/ttyS3>& /dev/ttyS3 &
Add this line to the end of your rc.sysinit (just before the call to rc.sysinit.author. Then, don't hit enter on your serial cable, but wait for the TiVo to boot and you should have bash access on the TiVo (9600 bps unless you change it).

ew

horwitz
01-13-2005, 12:44 AM
/bin/bash </dev/ttyS3>& /dev/ttyS3 &
Add this line to the end of your rc.sysinit (just before the call to rc.sysinit.author. Then, don't hit enter on your serial cable, but wait for the TiVo to boot and you should have bash access on the TiVo (9600 bps unless you change it).

ew
I've got shell access. (Of course, there's no ls.)

horwitz
01-13-2005, 01:01 AM
Neither /mnt4/etc/rc.d/ nor /mnt7/etc/rc.d/ have rc.sysinit.author files (/mnt4 is the mount of /dev/hdc4 and /mnt7 is from /dev/hdc7, of course).

Both had (slightly different) rc.sysinit files.

Here's a link to a copy of /mnt7/etc/rc.d/rc.sysint
http://www.rawbw.com/~horwitz/mnt7/etc/rc.d/rc.sysinit

For some reason I can't fathom, my cat-ing of both rc.sysinit files (into different dirs) on a floppy wasn't successful (I sync-ed).

Edit: I'll get the rc.sysinit off /mnt4 tomorrow (when I can do it without waking anyone).

horwitz
01-17-2005, 10:46 PM
Here (http://www.rawbw.com/~horwitz/mnt4/etc/rc.d/rc.sysinit)'s rc.sysinit from /mnt4/etc/rc.d/rc.sysinit

According to diff, the only difference between the mnt7 and mnt4 copies is that the mnt4 version has these two additional lines at the end:
/sbin/tnlited 23 /bin/bash -login &
/sbin/tivoftpd



Aside from hoping mnt7 is the active partition and adding those two lines to the end of the mnt7 version of rc.sysinit, I have no idea anything to try. Suggestions / help please ...

horwitz
01-18-2005, 07:36 AM
I ran "/sbin/tnlited 23 /bin/bash -login &" (without the quotes) in my serial window and now I can telnet in. However, there is no ftp daemon ("/sbin/tivoftpd" isn't there) nor is there a version of ls. It'd be nice if there's a solution to this that works over serial (though I'm guessing with no ftp client and no ftp server on the TiVo that might be tough ...)

Suggestions now? Thanks!

eastwind
01-18-2005, 12:57 PM
I ran "/sbin/tnlited 23 /bin/bash -login &" (without the quotes) in my serial window and now I can telnet in. However, there is no ftp daemon ("/sbin/tivoftpd" isn't there) nor is there a version of ls. It'd be nice if there's a solution to this that works over serial (though I'm guessing with no ftp client and no ftp server on the TiVo that might be tough ...)

Suggestions now? Thanks!
Don't have a link to the ftp daemon right now (look in the files section), but you can tranfer it to your TiVo over the serial link using zmodem. Once you get it over there it should be a snap. Make root R/W and move it to /sbin and restart.

mount <CR> will tell you which startup partition you are using. If /dev/hda4 isn't mounted and /dev/hda7 is you'll need to copy those two lines just like you thought.

ew

horwitz
01-19-2005, 05:51 AM
eastwind, you're a saint! telnet and ftp are back working and now I can move on to bigger and better TiVo things. Thanks a lot for your patience and your clear explanations!