PDA

View Full Version : Can't Telnet or FTP - HMO is working


imBSanders
11-09-2006, 01:59 PM
My Hacked (BASH, FTP and Telnet) DSRV40 (Linux version 2.4.4-TiVo-3.0)w/120Gb was filling up, and I had never gotten around to completing the hacks.... TiVoWebPlus, Disabling Incryption, Extraction... etc. I didn't want to take any chances of destroying my saved programs, so I finally bit the bullet and bought a couple of TiVo's on E-Bay. Wanted to have 2 active units and be able to access the Now Playing for each over the network, and have a spare/experimental unit. I upgraded a DSR708 with a 320Gb drive. It had already upgraded to 6.2. I installed a hacked kernel (2.4.20). BASH, Telnet, FTP, and superpatch, USB200m adapter. Couldn't get networking to work. Found the posts on the USB200m V2 and realized that was my problem. I took the USB200m from my old TiVo and got connectivity. I know I have network connectivity, because the HMO options work and I can access Music and Photos on my TiVo Desktop. I assigned a "Permanent" Address thru my DHCP server, and I can ping it. I notice in the console logs, that it is poking holes in the firewall for ports 2190 and 2191. Do I need to poke holes for Telnet & FTP, and how is that done. I have searched the threads, but can't seem to find any references to this, and haven't seen anything in the rc.sysinit.author files that have been referenced. Once I can get FTP access, the next step will be to install the USB backport drivers, and get the V2 adapter working. Then I can install TiVoWebPlus, busybox, etc.

Once I get this unit complete, I want to work on my old unit. To preserve my recordings and be able to extact them, I think I need to use UnScramble, which from what I have read, will require a monte'd kernel. Any suggestions on the best approach to this would be appreciated.

I appreciate all the efforts and contributions of the members of DealDatabase. I have learned a lot about linux and hacking TiVos, but still have a lot to learn. Simple mistakes, like specifying the "root=" in the bootpage command as the device it will be on in the TiVo, not where it is attached while hacking, can occupy hours upon hours of tearing your hair out. My background is in Network and Windows Server management and some programming, so most of the concepts required here are similar. It's mainly a manner of getting the syntax right.

Thanks,
Bob

justdoit
11-09-2006, 06:51 PM
Did you do the following?
1) break the chain of trust by installing a killhdinitrd kernel
2) add sysinitrd.author file to start the telnet daemon (tnlited)
3) Optionally put FTP daemon too so that you can get future updates onto Tivo easily.

imBSanders
11-09-2006, 07:41 PM
1) I used the killhdinitrd kernel from PTVUpgrades.
2) This is from my rc.sysinit.author file....

echo "Starting BASH"
#Start BASH
/bin/bash</dev/ttyS2&>/dev/ttyS2&
sleep 10
echo " "
echo " "

#Load telnet daemon and ftp daemon
echo "Loading Telnet"
tnlited 23 /bin/bash -login &
echo "Loading FTP"
tivoftpd
cd /

3) I copied tivoftpd into the /tivo/bin directory

imBSanders
11-09-2006, 07:48 PM
As additional information, here is the end of my console log from the boot. It doesn't show any errors after the comments when loading Telnet and FTP.

Running boot Stage G_PostApplication scripts
Loading Hacks
Setting Environment Variables
Starting BASH
bash: no job control in this shell
bash-2.02# ApgManager Transition from state BOOT to FAST_LOAD


Loading Telnet
Loading FTP
rc.sysinit is complete
ApgManager Transition from state FAST_LOAD to FAST_LOAD
ApgManager Transition from state FAST_LOAD to FAST_LOAD
ApgManager Transition from state FAST_LOAD to FAST_LOAD
ApgManager Transition from state FAST_LOAD to FAST_LOAD
ApgManager Transition from state FAST_LOAD to FAST_LOAD
ApgManager Transition from state FAST_LOAD to STEADY_STATE
....sending Done event
....sending Done event
Removing local market config
ApgManager Transition from state STEADY_STATE to INIT

bash-2.02#


I can enter commands from the serial console, which is how i installed superpatch (I had loaded the files while I had the drive in my PC), but can't FTP to copy other hacks to the system.

PlainBill
11-09-2006, 08:55 PM
You also have to disable the TiVo firewall. I suggest skimming the contents of this thread (http://www.dealdatabase.com/forum/showthread.php?t=42325) for information on 6.2.

PlainBill