Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
User Journal

Journal gwyrdd benyw's Journal: Tivo Log: network hacking

(This entry actually describes events that occurred weeks ago; I was lazy and didn't update my journal as new and more fun stuff happened.)

Finally my turbonet card arrived. I followed the network hacking instructions pretty faithfully (I actually did this stuff ages ago, at the same time as installing the operating system onto my new drive) and everything was raring to go on the software side.

To install the card, I cut away (with pocket knife) some of the rubber under the motherboard, and cut away (with hacksaw) the tab covering the hole for the ethernet cable. I plugged in the tivo into the router, powered everything up, and saw that an IP address was allocated via DHCP. I can successfully telnet into the tivo!

Now it's time to do guided setup and install a headend!!! oh boy!

Time to switch to point form mode.


        Start the process of guided setup, answering all the questions, just
        don't let it phone home. Then load the slices, run SetupComplete and
        after about 30 minutes reboot. This should make it happy.

bellini:ether [~]% telnet 192.168.1.104
bash-2.02# cd /var
bash-2.02# mkdir slice
bash-2.02# cd slice
bash-2.02# mkdir packages
bash-2.02#

crap, cannot ftp into tivo -- clearly ftpd is not running.
http://tivo.stevejenkins.com/network.html#_Toc43127457

Hey, no, maybe joe and ftpd ARE there, just uninstalled..
bash-2.02# cd /var/hack
bash-2.02# gzip -d joe.tar.gz
bash-2.02# cpio -idu -H tar < joe.tar
499 blocks
bash-2.02# chmod 755 joe
bash-2.02# ./joe foo
YAY!!!

bash-2.02# gzip -d tbin.tar.gz
bash-2.02# cpio -idu -H tar < tbin.tar
5244 blocks
bash-2.02# mv tivo-bin /var/hack/bin
bash-2.02# pwd /var/hack
bash-2.02# cd /var/hack/bin
bash-2.02# pwd /var/hack/bin
bash-2.02# chmod 755 *
bash-2.02# ./ls
arp dd fold ls paste su uname
chgrp depmod gdbserver ls-lR pathchk sum unexpand
chown dir head md5sum pr tac uniq
chroot ed hostname mkfifo rarp tail uptime
cksum egrep id modprobe rmdir tee wc
comm expand join nice sort touch
csplit fgrep kerneld nl split tr
cut fmt logname od strace tty

bash-2.02# mv tivoftpd /var/hack/bin
bash-2.02# cd bin
bash-2.02# chmod 755 tivoftpd
bash-2.02# ./tivoftpd

bellini:tivo [~/tivo-utils]% ftp 192.168.1.104
Connected to 192.168.1.104.
220 You are in TiVo Mode.
220 Login isn't necessary.
220 Please hit ENTER at the login/password prompts.
Name (192.168.1.104:ether):
331 No Auth required for TiVo Mode.
Password:
230 Running in TiVo Mode.
Remote system type is UNIX.
ftp> bye
221 Service closing control connection.

bash-2.02# http_get
  required args missing
Usage: http_get [-sd] -U <url> -D <dest_dir> -T <tcd_id>
                                -C <call_id> [-H <host_ip>] [-P <port>]
                              [-r <rate> -t <timeout>]

bash-2.02# http_get -T 0 -C 0 -D /var/hack -U http://199.240.141.102:80/tivoweb-tcl-1.9.4.tar.gz
bash-2.02# gzip -d tivoweb-tcl-1.9.4.tar.gz
bash-2.02# cpio -H tar -i < tivoweb-tcl-1.9.4.tar
968 blocks
bash-2.02# /var/hack/tivoweb-tcl/tivoweb console
bash-2.02# TiVo Web Project - TCL - v1.9.4
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'copyright' and 'README' files for copyright and credit information.
Loading modules...
index
errNmNameNotFound object not found (errNmNameNotFound)

        while executing
"mfs find $guideindexdir/ChannelTable"
        ("uplevel" body line 2)
        invoked from within
"uplevel $body"
        invoked from within
"transaction {uplevel $body}"
        (procedure "RetryTransaction" line 5)
        invoked from within
"RetryTransaction {
            set channeltablefsid [lindex [mfs find $guideindexdir/ChannelTable] 0]
            set channeltabledata [mfs get $channeltablefsid]..."
        (procedure "init_channelindex" line 58)
        invoked from within
"init_channelindex"
        (file "/var/hack/tivoweb-tcl/modules/index.itcl" line 658)
        invoked from within
"source $module "
info
logos
logs
mail
mfsbrowser
phone
resources
Loaded 89 resource definitions
sched
screen
search
theme
ui
errDbNotFound can't open object (errDbNotFound)

        while executing
"db $db open /DataSet/GenreVersion"
        ("uplevel" body line 2)
        invoked from within
"uplevel $body"
        invoked from within
"transaction {uplevel $body}"
        (procedure "RetryTransaction" line 5)
        invoked from within
"RetryTransaction {
                                set dataset [db $db open /DataSet/GenreVersion]
                                set genres [dbobj $dataset gettarget Data]
                }"
        (procedure "GetSAGenres" line 5)
        invoked from within
"GetSAGenres"
        (procedure "init_db" line 71)
        invoked from within
"init_db"
        (file "/var/hack/tivoweb-tcl/modules/ui.itcl" line 4025)
        invoked from within
"source $module "
webremote
Accepting Connections

Trying to ftp:
bellini:tivo [~/tivo-utils]% ftp 192.168.1.104
Connected to 192.168.1.104.
220 You are in TiVo Mode.
220 Login isn't necessary.
220 Please hit ENTER at the login/password prompts.
Name (192.168.1.104:ether):
331 No Auth required for TiVo Mode.
Password:
230 Running in TiVo Mode.
Remote system type is UNIX.
ftp> put add-station.tcl
local: add-station.tcl remote: add-station.tcl
500 Syntax error, command unrecognized.
227 Entering Passive Mode (192,168,1,104,4,20).
503 Only ASCII and binary modes are supported

Solution: use binary. All tcl files transferred to /var/hack.

This discussion has been archived. No new comments can be posted.

Tivo Log: network hacking

Comments Filter:

What is research but a blind date with knowledge? -- Will Harvey

Working...