Archives

April 2004 (7)
March 2004 (12)
February 2004 (12)
January 2004 (22)
December 2003 (19)
November 2003 (16)
October 2003 (26)
September 2003 (18)
August 2003 (38)
July 2003 (80)
June 2003 (13)
May 2003 (24)
April 2003 (76)
March 2003 (75)
February 2003 (51)
January 2003 (73)

Category

Family (5)
FYI (18)
Games (2)
Geek (88)
Geographic (3)
Hacks (13)
Home (15)
Humor (54)
Ideas (20)
Ideaspace (15)
Local (15)
Metadata (10)
Microsoft (2)
MovableType (5)
Nitwits (66)
PKI (2)
Politics (22)
Quotes (3)
RDF (15)
RSS (4)
Security (3)
Semantic Web (13)
Site Info (13)
Social Networks (1)
Spam (9)
Sysadmin (1)
Tips (2)
Tivo (2)
TMFTOTHD (1)
To Do (1)
Unlisted (1)
Web (3)
Windows (1)

Local

« MetroBlogs »
DC metroblogs
beltway bloggers

Links


Assorted bits

Blogroll Me!
GeoURL
Listed on BlogShares




December 11, 2003

Tivo rc.sysinit.author

I've hacked my RCA DVR39 DirecTivo to support using a Linksys USB ethernet connection. I use this in the /etc/rc.d/rc.sysinit.author file:
#!/bin/bash
echo "loading hacks"
PATH=/sbin:/bin:/tivobin:/tvbin:/var/hack/bin:.
TIVO_ROOT=
MFS_DEVICE=/dev/hda10
IGNOREEOF=1000
TERM=xterm
export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF TERM
insmod /lib/modules/usbcore.o
insmod /lib/modules/hcd.o
insmod /lib/modules/ehci-hcd.o
insmod /lib/modules/ax8817x.o
sleep 10
ifconfig eth0 192.168.13.100 broadcast 192.168.13.255 netmask 255.255.255.0
route add default gw 192.168.13.1
tivoftpd
/var/hack/tivoweb-tcl/tivoweb
/bin/bash /dev/ttyS2&
tnlited 23 /bin/bash -login &
I'll explain what each line provides.
  1. #!/bin/bash
  2. echo "loading hacks"
  3. PATH=/sbin:/bin:/tivobin:/tvbin:/var/hack/bin:.
  4. TIVO_ROOT=
  5. MFS_DEVICE=/dev/hda10
  6. IGNOREEOF=1000
  7. TERM=xterm
  8. export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF TERM
  9. insmod /lib/modules/usbcore.o
  10. insmod /lib/modules/hcd.o
  11. insmod /lib/modules/ehci-hcd.o
  12. insmod /lib/modules/ax8817x.o
  13. sleep 10
  14. ifconfig eth0 192.168.13.100 broadcast 192.168.13.255 netmask 255.255.255.0
  15. route add default gw 192.168.13.1
  16. tivoftpd
  17. /var/hack/tivoweb-tcl/tivoweb
  18. /bin/bash /dev/ttyS2&
  19. tnlited 23 /bin/bash -login &

1. Starts it as a shell script
2. Sends the message 'loading hacks' to the serial console. This is just to let me know the script is being loaded
3. This adds the '/var/hack/bin' directory to the usual path values
4-8 set and export some runtime environment variables
9-11 load USB subsystem modules.
12. load the USB driver for the Linksys device
13. sleep the script to allow the USB setup to complete
14. Give the USB device a fixed IP address
15. Define the default IP network route
16. Start the FTP daemon
17. Start the TivoWeb daemon
18. Activate the serial bash console
19. Load the telnet network daemon

Tivo
Perma  | TrackBack (0) | 02:32 PM  | xml

Navigation

Recent Entries

America and Europe: Vive la différence?
Server changes afoot
Diet behavior mod
Googling for sensitive info
Outlook 2003 and IMAP, a marriage made in Hell
Bike to Work Day, May 7th
Speakeasy rocks
Zippo USB?
When geographic data is nowhere 'near' correct
Local campaign contributions

User comments
Trackbacks

Contact

send me an e-mail E-mail
chat with me using MS messenger MSN Messenger
chat with me via AIM America Online
chat with me on ICQ ICQ
chat with me on Yahoo! Yahoo
Add my vCard to your electronic addressbook vCard
Friend of a Friend FoaF

Syndication

XML  RDF  CDF

Comments

XFML

Extra Stuff

foaf
vCard
pgp info
Linked In
Powered by
Movable Type 2.64