TiVoCommunity.com
(c)opyright 1995-2005 All rights reserved
indexcheckTC
This area is a static history of posts in the TiVo Community Forum Archive.
This archive history was made for the simple indexing of search sites like
Google.
Pages:1
Tivonet files needed?
(Click here to view the original thread with full colors/images)
Posted by: Oscar
I noticed that on the 9th tee's tivofloppy page that it has a list of downlaodable files and that it has a few files like 8390-2.5x.o that says required for tivonet operation. Has the tivonet script already been updated to call these files?
I used the tivo boot cd and ran the tivonet script and my unit will not come up on my network. I don't know if these files that I mentioned above were included in the tivo boot CD or not.
Posted by: rudes
Here's what I did (BTW I *enjoy* making modifications to scripts to customize them to my envronment so look at them and make the necessary changes)
* Make TiVoNet floppy (9thTee or wherever)
* Substitute the appropriate 2.5 objects (in your case).
If they are in some tar/gz file make the changes there (recompress the objects into a tgz file with same name or you can always manually cp them to the correct location /lib/modules/ after the script has run).
* Make modifications to "your script"
You can do this on a windows box, but remember to use the DOS2UNIX.exe convertor
* Don't forget that if you are running a DTiVo, you only can mount hdX7 (but hdX4 also needs to be modified for SA TiVos)
--------------------
<FONT face="Courier New">
#!/bin/sh
#
# THIS IS A SUBSTITUTE FOR THE RELEASED SCRIPT ON TiVoNET FLOPPY
# EVERYTHING ELSE IS THE SAME
#
# 1) TiVo should be attached to secondary master
#
DRIVE=/dev/hdc
#
# 2) FILL IN the IP address you want for your TiVo.
#
IP=
#
# 3) What subnetmask do you use for machines on your LAN?
#
MASK=255.255.255.0
#
# 4) What is the default route ? (The IP address of the device/server that is
# the gateway to the internet?
#
DEFROUTE=
#
# 6) Where you want partition 7 mounted (safe to leave as default)
#
PART7=/mnt/tivo
#
#
# 7) Where will you mount the floppy drive before running the script?
#
FLOPPY=/floppy
#
#
# ONCE COMPLETED AND SAVED, RUN THE FOLLOWING COMMANDS WITH THE
# FLOPPY IN THE DRIVE -- THIS ALSO ASSUMES YOU ARE USINF THE BOOT CD
#
# mount /dev/fd0 /floppy
# /floppy/tivonet-rudes
#
#******************************************************
***********
# Is /floppy mounted?
#
if \[ -f /$FLOPPY/kmods.tgz -a -f /$FLOPPY/profile \
-a -f /$FLOPPY/tar.gz -a -f /$FLOPPY/tivobin.tgz \
-a -f /$FLOPPY/tkptools.tgz \]
then echo found necessary files on /$FLOPPY
else echo Expecting mounted floppy on /$FLOPPY... aborting
exit 1
fi
#
echo getting archive utility...
gzip -dc /$FLOPPY/tar.gz >/bin/split
#
# Make mount directories, if they don't exist:
#
if \[ \! -d /$PART7 \]; then mkdir /$PART7; fi
# Untar files...
#
# IF YOU ARE RUNNING THIS ON A SA TiVo YOU SHOULD RERUN SCRIPT *AFTER*
# COMMENTING OUT THE TWO LINES AFTER THIS COMMENT AND UNCOMMENTING THE
# FOLLOWING TWO LINES -- THEY CHANGE THE PARTITION FROM 7 TO 4
# echo mounting /$DRIVE"4" on /$PART7
# if `(mount /$DRIVE"4" /$PART7 )`
echo mounting /$DRIVE"7" on /$PART7
if `(mount /$DRIVE"7" /$PART7 )`
then
for i in /$PART7
do
echo unarchiving files on $i
if `((cd $i/lib/modules && split -xzf /$FLOPPY/kmods.tgz) &&
(cd $i && split -xzf /$FLOPPY/tivobin.tgz) &&
(cd $i && split -xzf /$FLOPPY/tkptools.tgz) &&
cp /$FLOPPY/profile $i/.profile)`
then
echo renaming \"route\" command
if \[ \! -f $i/sbin/route.tivo \]
then
cp $i/sbin/route $i/sbin/route.tivo
echo '#!/bin/bash' > $i/sbin/route
else
echo route.tivo found -- assuming it has already been copied
fi
cd /
mf=rc.sysinit
echo modifying $i/etc/rc.d/$mf
cd $i/etc/rc.d
if \[ \! -f ./$mf".bak" \]
then
cp $mf $mf".bak"
else
echo found an $mf".bak" -- using it instead
cp $mf".bak" $mf
fi
# un comment the appropriate lines to "activate" TiVoNet
# THESE LINES MODIFY rc.sysinit
# I USUALLY MANUALLY MODIFY MY rc.sysinit file
# I don't even trust my own scripts http://www.avsforum.com/ubb/smile.gif
#
# this line gets bash running on your serial port (YOU MAY HAVE ALREADY DONE THIS)
# echo '/bin/bash </dev/ttyS3 >& /dev/ttyS3 &' >> $mf
#
# these lines get bash running over telnet
# echo 'tnlited 23 /bin/bash -login &' >> $mf
#
# these lines activate the IP stack
# echo '(insmod -f /lib/modules/8390.o && insmod -f /lib/modules/tivone.o)' >> $mf
# echo "(ifconfig eth0 $IP netmask $MASK up && route.tivo add default gw $DEFROUTE)" >> $mf
#
else
echo Unable to dearchive floppy -- aborting
umount /$PART7
exit 1
fi
done
else
echo Unable to mount partitions -- aborting
umount /$PART7
exit 1
fi
cd /
echo DON'T FORGET TO chattr +i THE FILES
echo $PART7 still mounted to /mnt/tivo
echo IF RUNNING THIS SCRIPT AGAIN REMEMBER TO umount /mnt/tivo
</FONT f>
------------------
-- rudes
Sony DTiVo (106HRS)
vBulletin Copyright ©2000 - 2009,
Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009
- Created by Stefan "Xenon" Kaeser
Modified by Adam J. de Jaray