PDA

View Full Version : Problems with Linksys 200m


jquest1234
10-29-2003, 02:20 PM
I have the following drivers in my /var/hack/lib

usbcore.o
hcd.o
ehci-hcd.o
iax8817x.o

Here is copy of my hackinit

#!/bin/bash
date>>/var/hack/hackinit.log
PATH=/var/hack/bin:/sbin:/bin:/tivobin:/tvbin:.
echo "Starting Hackinit... " > /dev/ttyS2
TIVO_ROOT=
MFS_DEVICE=/dev/hda10
IGNOREEOF=1000
TERM=xterm
export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF

echo "Starting Bash... " > /dev/ttyS2
/bin/bash</dev/ttyS2&>/dev/ttyS2&

#insmod /diag/usbcore.o
#insmod /diag/usb-ohci.o
#insmod /diag/pegasus.o
insmod /var/hack/lib/usbcore.o
insmod /var/hack/lib/hcd.o
insmod /var/hack/lib/ehci-hcd.o
insmod /var/hack/lib/ax8817x.o
sleep 10


#Remove the software update script and backup to var
echo "Disable software update " > /dev/ttyS2
cp /tvlib/tcl/updateSoftware.tcl /var/hack
rm -rf /tvlib/tcl/updateSoftware.tcl
mount -o remount,ro /

ifconfig eth0 192.168.1.200 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
tnlited 23 /bin/bash -login &
tivoftpd
/var/hack/tivoweb-tcl/tivoweb console

#Disable Scramble
echo "Disable scramble " > /dev/ttyS2
/var/hack/kmem 800b23b4 00001021

#Fixes Subscription
sleep 60
echo "Calling FixSub " > /dev/ttyS2
/var/hack/31fixsub.tcl &

I have the usb adapter plugged into the lower usb port but I have tried both. Is it normal, if you unplug the usb adapter, while the unit is on and plug it into another slot that the tivo reboots itself?

From all the documentation and searches I have done, the above setting should work. I am missing something?

Thanks,

JQ

MiamiTV
10-29-2003, 03:52 PM
If so please hook a fellow TiVo user up. thanks

mmccurdy
10-29-2003, 04:17 PM
I found that the system automatically insmod'ed the usbcore from Tivo. This needs to be removed before you insmod your drivers so that the bundled usbcore runs with the exact libraries you mentioned. Your script looks good otherwise.

just add a "rmmod usbcore" before your insmod's.

Mark

jquest1234
10-29-2003, 04:21 PM
Thanks for the hint.

I added this to my hackinit, with no success....

rmmod usbcore
sleep 10

#insmod /diag/usbcore.o
#insmod /diag/usb-ohci.o
#insmod /diag/pegasus.o
insmod /var/hack/lib/usbcore.o
insmod /var/hack/lib/hcd.o
insmod /var/hack/lib/ehci-hcd.o
insmod /var/hack/lib/ax8817x.o
sleep 10



Thanks,

JQ

Sleeper
10-30-2003, 01:54 AM
Originally posted by jquest1234
I have the following drivers in my /var/hack/lib

usbcore.o
hcd.o
ehci-hcd.o
iax8817x.o



Do you really have a file called iax8817x.o

or is this just a type-o?

Sleeper
10-30-2003, 02:04 AM
Try commenting out all the networking lines in your hackinit.

Then, at bash prompt over serial connection, type them in one at a time. You will be able to see more clearly what is happening.

Also, FYI, I don't remember where I got them from, but once I had actually had some bad loadable modules. They would load fine but wouldn't work. I don't know where you downloded them from but you may want to try another source.

jquest1234
10-30-2003, 11:37 AM
OOPs... that was a type o....

I tried commenting out the modules in my hackinit and loading them manually.

They loaded manually(without errors) but still no success(link lights).

I used the modules from

http://hostfreedom.com/tivo/s2dtivo_files.zip

I extracted the files into a directory on the tivo called

/var/hack/ethernet

insmod /var/hack/ethernet/usbcore.o
insmod /var/hack/ethernet/hcd.o
insmod /var/hack/ethernet/ehci-hcd.o
insmod /var/hack/ethernet/ax8817x.o

ronnythunder
10-30-2003, 11:51 AM
sounds like you might have a defective 200m. all of your steps look correct, and i got my drivers from the same place. have you tried the 200m in a pc?

ronny

jquest1234
10-30-2003, 11:59 AM
I have tried it in the pc and it works fine. I am going to repeat the process another time and see what happens.

I just reloaded my tivo's hard drive, I will add everything to my hackinit again, copy over the drivers and see what happens.

Thanks.

JQ