Change 25
Change 25 by packetrat@packetrat-thinkpad on 2002/06/09 15:55:02
TurboNet card arrived! eth0 + telnet + ftp. no more sneakernet.
Affected files ...| //depot/projects/tivo/README.hacks#3 | text | |
| //depot/projects/tivo/rc.sysinit.author#2 | xtext |
==== //depot/projects/tivo/README.hacks#3 (text) ====
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | ========================================= |
| 3 | 3 | |
| 4 | 4 | Unit: Philips HDR312 (Series 1, 30hr), software 2.5 |
| 5 | Status: hacked, bash prompt over serial | |
| 5 | Status: hacked, bash over serial AND telnet (TurboNet!) | |
| 6 | 6 | |
| 7 | 7 | What I did |
| 8 | 8 | ---------- |
| @@ -17,6 +17,8 @@ | ||
| 17 | 17 | bootpage -P "root=/dev/hda7 BASH_ENV=/etc/rc.d/rc.sysinit.author" -C /dev/hdc |
| 18 | 18 | 5. Copied rc.sysinit.author into /etc/rc.d on the active root. chmod 755. |
| 19 | 19 | 6. Serial cable: 3.5mm stereo plug -> DB9, 9600 8N1. |
| 20 | 7. TurboNet card in the slot. eth0 is 192.168.1.42. | |
| 21 | telnet 192.168.1.42 / ftp 192.168.1.42 (tivoftpd, anonymous) | |
| 20 | 22 | |
| 21 | 23 | Phoning home |
| 22 | 24 | ------------ |
| @@ -26,6 +28,4 @@ | ||
| 26 | 28 | |
| 27 | 29 | TODO |
| 28 | 30 | ---- |
| 29 | - TurboNet card (ebay, $$$) | |
| 30 | - tivoftpd so I can stop sneakernetting | |
| 31 | 31 | - figure out why it still dials home at 2am |
==== //depot/projects/tivo/rc.sysinit.author#2 (xtext) ====
| @@ -8,6 +8,15 @@ | ||
| 8 | 8 | # bash on the serial port, 9600 baud |
| 9 | 9 | /bin/bash </dev/ttyS3 >&/dev/ttyS3 & |
| 10 | 10 | |
| 11 | # TurboNet: bring up eth0 | |
| 12 | insmod /lib/modules/turbonet.o | |
| 13 | ifconfig eth0 192.168.1.42 netmask 255.255.255.0 up | |
| 14 | route add default gw 192.168.1.1 | |
| 15 | ||
| 16 | # telnet + ftp. no passwords. it is a TiVo behind a NAT, relax. | |
| 17 | tnlited 23 /bin/bash -login & | |
| 18 | /var/hack/bin/tivoftpd & | |
| 19 | ||
| 11 | 20 | # remount root rw so I can actually change things (remember to put it back!) |
| 12 | 21 | # mount -o remount,rw / |
| 13 | 22 | |