1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enhance Your Hacked Tivo With This Script

Discussion in 'TiVo Underground' started by rbautch, Jul 21, 2005.

  1. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Check to see if /sbin/dhclient is disabled. Are you loading drivers manually with insmod anywhere?

    If it's not any of those things, the most probable cause is that I screwed up the modifications to the /etc/hotplug/usb.map file for standalones. Take a look at the file in vi or joe. The script should have inserted some new entries under the "usbnet" heading to support the latest adapters in Jamie's backport. These include the USB200M, D-link dub-e, etc.. Check to see if the FA120 entry is still there under the proper heading.
     
  2. Throg

    Throg Experimental Member

    55
    0
    Feb 14, 2003
    USA
    No, I'm not insmod-ing and the FA120 is under wired/device usbnet/AX88172.
     
  3. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Did the uninstall script restore your original usb.map? If there is a usb.map.orig file in the hotplug directory, go ahead and restore it. I assume you are back to stock 6.2 drivers, right? No lights on the adapter, right? Next step, post your serial console output during a boot.
     
  4. Throg

    Throg Experimental Member

    55
    0
    Feb 14, 2003
    USA
    It would appear that the tweak.sh script didn't backup usb.map. There is no usb.map.orig file and the usb.map that is there is more than 16 hours old. That's about when I first ran the script. The uninstall script didn't restore my 'almost there' screen either, FYI.
    No lights on the adapter, right, Back to stock drivers? Doubtful.
    One good thing here is that I have 2 tivos same model (TCD24004A) same software version.
    I've attached my serial output but it wasn't formatted correctly for notepad. You'll need to use an ascii editor.
     

    Attached Files:

  5. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    The uninstall script looks for the backups and restores them. Sounds like some of the backups were not made during the initial script run, perhaps because of a ro filesystem issue. Did you get any errors when you ran the script initially? The original drivers are backed up in a directory called /lib/modules/backups-orig. If the directory is not there, it means that the uninstall script restored the drivers and then deleted the directory. If it is there, copy the files in there back to /lib/modules with cp -f. One way to quickly tell if the drivers were restored is if the ax8817x.o driver is still a symlink or not. One last thing to check is the size of your ehci-hcd.o driver. If the original drivers have NOT been restored, it should be only 2k in size. If they have been restored, it should be bigger.

    If all else fails, obviously you'll have to pull the drive. If you're willing to help me troubleshoot a bit, try first copying a virgin usb.map file to /etc/hotplug to see if that fixes it. If you know how to use zmodem over the serial connection, you won't have to pull the drive to do this. If that doesn't fix the issue, manually replace the drivers with ones you FTP off your other tivo. Sorry for the trouble...I do most of my testing on my DTivos since I have remote access to them.
     
  6. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    I noticed an error in the way usb.map was edited that is fixable without pulling the drive. The script would have tried to insert the new driver mappings right after the "usbnet" heading, but they should have gone in the "ax88772" and "ax88178" subheadings. These misplaced entries could possibly be interfering with the FA120 entry. To fix it, delete the entries that are directly under the usbnet header in usb.map. These include:
    Airlink ASOHOUSB
    Linksys USB200MV2
    DUB-E100, revision B1
    DUB-E100, revision B1 alternate vendor code
    Airlink AGIGAUSB
    Linksys usb1000

    Fixed this in the current version.
     
  7. Throg

    Throg Experimental Member

    55
    0
    Feb 14, 2003
    USA
    I don't mind helping you troubleshoot at all. I already have the box open. Had to take the drive out just to get bash back. I don't quite understand that, but there ya go. I already tried copying the usb.map from the other tivo and it didn't help. I'm going to try the other things now and I'll let you know.
     
  8. Throg

    Throg Experimental Member

    55
    0
    Feb 14, 2003
    USA
    I didn't *notice* any errors when the install script ran. And I typically do watch things as they happen. /lib/modules/backups-orig doesn't exist. ax8817x.o is a symlink to /lib/modules/usbnet.o. ehci-hcd.o shows up as 1500 bytes.
    The entries under usbnet didn't match what you said so I'm attaching my usb.map for your perusal.
     

    Attached Files:

    • usb.txt
      File size:
      6.7 KB
      Views:
      17
  9. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Thanks for the usb.map file. I just uploaded a new version that should modify it properly. Something's not right with the drivers. Let's take this to PM to avoid dilution of the thread.
     
  10. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Rbautch, I'm interested in the updated TWP. Ran your previous version of enhancement script a few weeks ago.

    Thanks by the way.

    Is it easiest to use Filezilla or similar to overwrite the existing script and then just run it?
     
  11. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    You dont have to FTP anything. Just run tweak.sh again, and it will go out and get the most current version.
     
  12. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    And because I have networking that's just handy dandy!

    Thanks.

    Me
     
  13. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Almost forgot,

    1. I should run uninstall first, right?

    2. Does uninstalling remove the usb drivers so that you have to use the serial cable to reinstall?

    Man I'm a doublechecker and probably a pain too!

    Thanks
     
  14. SteelersFan

    SteelersFan "On Welfare"

    819
    0
    Sep 6, 2004
    Saugus, CA
    1. Yes, otherwise it will error telling you it's already installed (or something along those lines).
    2. I believe it uninstalls USB 2.0 but you don't need serial. Telnet works fine after uninstall.
     
  15. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    I'm in the process of reinstalling now. I wanted the updated TWP, but I wonder when the script asks if TWP is already installed, if you say yes does it skip the update. If you say no will it update it.

    Obviously, I'll check to see if it's updated, but I'd like to know.
     
  16. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Now I'm curious about something else. I only have one cat5e cable run to the equipment rack and was connected to my HR10-250. By serial cable connection I watched the script remove usb drivers. Then it downloaded Rbautche's new script successfuly.

    How did it do this? The computer was not connected to the internet, but the HR10-250 was by way of USB/ethernet adapter.
     
  17. SteelersFan

    SteelersFan "On Welfare"

    819
    0
    Sep 6, 2004
    Saugus, CA
    Let's call it "rbautch Magic". :D
     
  18. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Magic indeed!

    Actually I watched the link usb activity light blinking, and the script reverts to old drivers, so...

    By answering yes TWP was already installed it did not update it to 1.3.

    I'll run it again and say no.
     
  19. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Applause!

    Rbautch, It's a testament to your skill. The script is well put together and so easy to run, it's never faultered once.

    I now have TWP 1.3 running.

    Thank you!
     
  20. Brillian1080p

    Brillian1080p New Member

    165
    0
    Apr 10, 2006
    Wet...
    Rbautch, the latest script doesn't change read/write permissions does it?

    This person had the same problem I'm having after running the latest script and I don't want to change the read/write permissions without learning a little more.

    Problem:
    INTERNAL SERVER ERROR
    --cut here--
    action_ui '/todo' ''
    couldn't open "/var/hack/etc/blocklist.txt": read-only file system

    Answer: This is because the filesystem is read-only so it cannot create the required blocklist file. I am guessing you have /var/hack symbolically linked to the root filesystem which boots into read-only mode. If TWP and /var/hack/etc do not reside on a writable filesystem then they will not be able to update their configurations file - meaning you will also get errors when setting filters, themes, higuide options, etc...

    Answer: Telnet in. Then to make read /write:

    mount -o remount,rw /

    To make read only:

    mount -o, remount,ro

    This sounds drastic. Is this dangerous?
     

Share This Page