sueby
03-13-2005, 02:21 PM
Totally messed up old sleeprd drive, restored backup image and ran killhdintrd... reset bootpage and all is well... i used info from below to write my rc.sysinit.author..... the problem i am having is that i cannot use ls commands at bash, second i cannot seem to execute scripts from the bash even after chmod
chmod 755 superpatch-4all-NutKase-0.7.1.tcl
bash-2.02# chmod 755 set_mrv_name_ADH.tcl
bash-2.02# superpatch-4all-NutKase-0.7.1.tcl
bash: superpatch-4all-NutKase-0.7.1.tcl: command not found
the post below is what i did in addition to above
Next I changed directories to my TiVo drive mount and created the rc.sysinit.author file, pressing <enter> after each line:
borrowed below from SMACKS POST
cd /mnt/tivo/etc/rc.d
cat > rc.sysinit.author
#rc.sysinit.author
echo “Loading bash“
#ENABLE BASH PROMPT
/bin/bash </dev/ttyS2&> /dev/ttyS2&
#ENABLE TIVOTOOLS
export PATH=$PATH:/hack/bin
#ENABLE USB AND ETHERNET MODULES
insmod /lib/modules/usbcore.o
insmod /lib/modules/usb-ohci.o
insmod /lib/modules/usbnet.o
sleep 10
lsmod
#ENABLE LINKSYS USB200M ADAPTER
ifconfig eth0 192.168.1.11 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1 netmask 0.0.0.0 metric 1
sleep 60
ifconfg -s
#START TELNET AND FTP
tnlited 23 /bin/bash –login &
/hack/tivoftpd.mips
echo “End of rc.sysinit.author”
#END of rc.sysinit.author
I ended the concatenation by pressing CTRL-D and then after checking for completeness in the vi editor I made the file read, write and executable with chmod:
chmod 777 rc.sysinit.author
17) Since none of the driver files or the tivoftpd program were in their soon-to-be-called locations I then changed directory to my TiVo’s var directory and created the hack directory and some subdirectories to store junk.
cd /mnt/tivo
mkdir hack
cd hack
mkdir lib
mkdir bin
mkdir log
cd ../
chmod 777 hack -R
18) I copied the tivoftpd.mips file and the tivotools.tar files to my /var/hack and /var/hack/bin directories respectively.
cp tivoftpd.mips /mnt/tivo/hack/
cp tivotools.tar /mnt/tivo/hack/bin/
19) extracted the files by changing directories to their respective folders and calling the extract commands
cd /mnt/tivo/hack
chmod 777 tifoftpd.mips
cd bin
tar –x –f tivotools.tar
cd ../
chmod 777 bin - R
chmod 755 superpatch-4all-NutKase-0.7.1.tcl
bash-2.02# chmod 755 set_mrv_name_ADH.tcl
bash-2.02# superpatch-4all-NutKase-0.7.1.tcl
bash: superpatch-4all-NutKase-0.7.1.tcl: command not found
the post below is what i did in addition to above
Next I changed directories to my TiVo drive mount and created the rc.sysinit.author file, pressing <enter> after each line:
borrowed below from SMACKS POST
cd /mnt/tivo/etc/rc.d
cat > rc.sysinit.author
#rc.sysinit.author
echo “Loading bash“
#ENABLE BASH PROMPT
/bin/bash </dev/ttyS2&> /dev/ttyS2&
#ENABLE TIVOTOOLS
export PATH=$PATH:/hack/bin
#ENABLE USB AND ETHERNET MODULES
insmod /lib/modules/usbcore.o
insmod /lib/modules/usb-ohci.o
insmod /lib/modules/usbnet.o
sleep 10
lsmod
#ENABLE LINKSYS USB200M ADAPTER
ifconfig eth0 192.168.1.11 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1 netmask 0.0.0.0 metric 1
sleep 60
ifconfg -s
#START TELNET AND FTP
tnlited 23 /bin/bash –login &
/hack/tivoftpd.mips
echo “End of rc.sysinit.author”
#END of rc.sysinit.author
I ended the concatenation by pressing CTRL-D and then after checking for completeness in the vi editor I made the file read, write and executable with chmod:
chmod 777 rc.sysinit.author
17) Since none of the driver files or the tivoftpd program were in their soon-to-be-called locations I then changed directory to my TiVo’s var directory and created the hack directory and some subdirectories to store junk.
cd /mnt/tivo
mkdir hack
cd hack
mkdir lib
mkdir bin
mkdir log
cd ../
chmod 777 hack -R
18) I copied the tivoftpd.mips file and the tivotools.tar files to my /var/hack and /var/hack/bin directories respectively.
cp tivoftpd.mips /mnt/tivo/hack/
cp tivotools.tar /mnt/tivo/hack/bin/
19) extracted the files by changing directories to their respective folders and calling the extract commands
cd /mnt/tivo/hack
chmod 777 tifoftpd.mips
cd bin
tar –x –f tivotools.tar
cd ../
chmod 777 bin - R