FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow file textShow revision historyShow/hide recent activityInformation
Recent activity in //depot/projects/tivo/rc.sysinit.author/...
252002/06/09packetratTurboNet card arrived! eth0 + telnet + ftp. no more sneakernet.
212002/01/19packetrattivo hacking notes. it lives. bash prompt on the serial port.
//depot/projects/tivo/rc.sysinit.author#2

//depot/projects/tivo/rc.sysinit.author#2 – edit change 25 (xtext) ·revision history

1#!/bin/bash
2# rc.sysinit.author -- runs at the end of rc.sysinit on the TiVo
3# packetrat, jan 2002
4
5export PATH=/bin:/sbin:/tvbin:/devbin:/var/hack/bin
6export TIVO_ROOT=
7
8# bash on the serial port, 9600 baud
9/bin/bash </dev/ttyS3 >&/dev/ttyS3 &
10
11# TurboNet: bring up eth0
12insmod /lib/modules/turbonet.o
13ifconfig eth0 192.168.1.42 netmask 255.255.255.0 up
14route add default gw 192.168.1.1
15
16# telnet + ftp. no passwords. it is a TiVo behind a NAT, relax.
17tnlited 23 /bin/bash -login &
18/var/hack/bin/tivoftpd &
19
20# remount root rw so I can actually change things (remember to put it back!)
21# mount -o remount,rw /
22
23echo "rc.sysinit.author: done" > /dev/ttyS3

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org