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. MasterOfPuppets

    MasterOfPuppets TCF Bookie

    9,629
    0
    Jul 12, 2005
    East Hell
    It is now set to 8080, which is how I got TWP to show up the first time.
    Since installing Hackman, I can't get it back up.

    I should probably take this over to the Hackman thread...I'm just not sure if installing TWP manually is going to have made things different than installing TWP through this script.
     
  2. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    Naw, gotcha beat!

    In trying to get my long-hacked system from last September to dial in to get the 6.3d upgrade file, I found a message thread (after hours and hours of reading over multiple days and trying various options that all failed to get the dial in to work) that seemed to be a solution to my problem.

    Following that thread's info, I edited rc.sysinit (changed Debug_Board from =false to =true), then rebooted, and that now apparently prevents my TiVo from booting past the "Welcome. Powering up..." message. Self inflicted pain, that's for sure. It's been stuck for more than an hour, so I am pretty sure I'm hosed but good.

    I think I am going to have to pull the hard drive and stick it into a pc, ( don't have any laptops anymore with a serial port<G>) and boot on my old linux boot CD that I have (I think I still have it) (from Sep 06) in order to get to a point where I can edit that file back to Debug-board=false .

    Anyone care to laugh, jeer, whatever, as long as they maybe help me out by cluing me in on the series of commands once I get to a prompt on that PC?
    I'll have to mount it rw, I think, then navigate to where the file is - rc.sys ? , then use a linux editor (joe, vi?) to edit =false, then save the file, mount ro , then hopefully back to normal 3.1.5f ?
     
  3. Carlton Bale

    Carlton Bale New Member

    168
    0
    Dec 17, 2001
    Indianapolis...
    I would recommend getting a USB-to-serial adapter and a TiVo serial cable to connect that way.

    If you pull the drive, you have to mount the correct partition on that drive. From memory, I think rc.sysinit.author is in the root partition, which is either /dev/hda4 or /dev/hda7 on the mounted tivo drive (assuming the drive is connected to the PC as primary master). Mount and look at both partitions to find which one contains the file you edited. Then use Joe to re-edit the file and save it.
     
  4. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    The drive is currently in a pc booted with a linux boot cd.
    I started a dd to make a copy of the entire 750 gig to a new 750gig as a backup, last night around 11pm. I used the dma commands first, but it is still chugging away this morning.
    When I get home tonite from work I'll try to fix the permissions and the cr/lf that apparently I introduced into the rc.sysint files, and see if that fixes my self-inflicted problem.
    THEN, I will go back to trying to get the &#$)( thang to get the 6.3d upgrade file so I can upgrade the system. <sigh>
    :D
     
  5. juanian

    juanian New Member

    483
    0
    Oct 1, 2002
    Chandler, AZ
    Interestingly enough, I get much quicker dd copy results when I use the raw drive devices (on my OS X Mac via firewire & USB); I can't do much PC-wise, since the (old) desktop PC I have won't access more than 137GB. Is there a problem using the /dev/r* devices?
     
  6. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    No idea what that means... :)

    I am reluctant to power down and start some other means from scratch - the ne hard drive will undoubtedly be hosed, and I don't know what it would do to my TiVo drive.
     
  7. Jun 1, 2007 #2427 of 2880
    ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    FWIF- copying the entire 750 gig drive to another 750 gig identical drive using dd took around 36 hours.
     
  8. Jun 2, 2007 #2428 of 2880
    juanian

    juanian New Member

    483
    0
    Oct 1, 2002
    Chandler, AZ
    I understand -- what I had meant is using something like /dev/rhda4 instead of /dev/hda4 -- when I was copying a drive, it sped up the copy significantly (under Mac OS X) from a USB-connected drive to a FireWire-connected drive; I would suspect that it should also work with strictly IDE drives (but I can't test it myself). Maybe someone else has more experience with this.

    I think the speed-up factor was like about 10 times faster. (Thinking back using my 'grand' memory,) I seem to recall initially starting the copy and estimating that it would take well over 30 hours (to copy a 200 GB drive); I stopped the copy and tried using the raw devices, and it took like 3 or 4 hours. (Sorry - I didn't save my terminal logs from that time, just the dd commands I had determined that I needed to use.)

    EDIT: FYI: The commands I have noted are:
    date; time dd if=/dev/rdisk1 of=/dev/rdisk4 bs=1024k
    and
    date; time dd if=/dev/rdisk1 of=/dev/rdisk4 bs=128M

    I don't recall if they were considerably different in their execution times.
     
  9. Jun 9, 2007 #2429 of 2880
    technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    Sometime ago I Zippered my HR10-250, which included "This Script" . For the most part it runs just fine. After 6.3D was released I checked, but my Zippered unit did not receive the download. Not via satellite anyway. Checking MFS I do not see the download. I was told by D that in order to receive the upgrade I would have to make a daily call. So I disabled Fakecall in RC Sysinet by comenting "#" out the line to run Fakecall.tcl. Now when I try to make a test call or make the daily call the unit reboots. Where did I go wrong?
     
  10. Jun 9, 2007 #2430 of 2880
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Check the first post of the "upgrading your hacked hr10-250 to 6.3" thread for links to threads on how to get the download. If you're going to force a call, you have to remove a few "dead routes" from your author file.
     
  11. Jun 9, 2007 #2431 of 2880
    technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    Rbautch, Thanks for the response. I found the thread and ended up with directions to comment out the following

    route add -host 204.176.49.2 gw 127.0.0.1
    route add -net 204.176.49.0 gw 127.0.0.1 netmask 255.255.255.0


    Needs to be
    #route add -host 204.176.49.2 gw 127.0.0.1
    #route add -net 204.176.49.0 gw 127.0.0.1 netmask 255.255.255.0


    The trouble is the 2 lines do no exist in my RC.Sysinit file. Though like I mentioned previously there is one for fakecall.tcl that I already commented out.

    Perhaps I missed the directions you intended. Any help in getting me to the right page would be appreciated.
     
  12. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    They're not in rc.sysinit, they're in rc.sysinit.author.
     
  13. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    This on a HR10-250 that slicer ran but I failed to enter a correct router IP address.
    after downloading the latest zipper and boot, making an iso copy CD, booting in my pc with the cdrom as hdc and the 6.3 HR10-250 drive as hdd, and running the zipper, I saw:

    copying busybox
    copying author file
    copying hacks to tivo drive
    cp: read error: Input/output error
    copying hacked kernel to tivo device
    vmlinux.px.gz 40.4% - - replaced with vmlinux.px
    1+1 records in
    1+1 records out
    kernel copied successfully

    I answered no to wireless, and responded wth 192.168.1.121 for my static IP, a router IP of 192.168.1.1
    and answer Y to the question "Are they correct".
    back to a prompt,
    Powered off the PC and installed the drive (with jumper set to Master) into the TiVo.

    I readily get telnet to work wth the 121 address, but it is as if there is no path after powering up/rebooting.

    I try to follow the instructions:
    cd /hacks
    then
    sh tweak.sh
    and it does a carriage return to a new line, but nothing happens. I wait for 5 minutes, then hit Ctrl-C, get a bash prompt, and try ls . sae carriage return to a new line and nothing happens. no path?

    so I cannot get tweak.sh to run. typing sh tweak.sh does nothing but a carriage return to a new line.

    The Tivo is running ok and I can telnet in. Folders? yes. Faster menus? yes. TivoWebPlus, which was working ok, is toast. I have rebooted several times. Funny enough, issuing a RW command evokes a response "mounting read write, but no other unix commands respond - it is as if there is no path.

    Trying a /enhancements/joe /etc/rc.d/rc.sysinit.author command fails as well, with a message:
    750gig-TiVo# /enhancements/joe /etc/rc.d/rc.sysinit.author
    Couldn't open '/tivo-bin/etc/joerc'
     
  14. technojunkie

    technojunkie New Member

    172
    0
    Mar 15, 2000
    Charlotte
    Rbautch I meant the author file. Can you help?
     
  15. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    Further symptomology on the inability to run tweak.sh

    I issue a cd /hacks, and then a chmod, and get "some" results:
    750gig-TiVo# chmod -c 755 *
    mode of hacked_with_zipper_version_3.3 changed to 0755 (rwxr-xr-x)
    mode of mfs_network changed to 0755 (rwxr-xr-x)
    mode of rbautch_files.tgz changed to 0755 (rwxr-xr-x)
    mode of set_mrv_name_67.tcl changed to 0755 (rwxr-xr-x)
    mode of superpatch-67all-NutKase-1.1.tcl changed to 0755 (rwxr-xr-x)
    mode of superpatch-67all-NutKase-1.1.txt changed to 0755 (rwxr-xr-x)
    mode of tweak_uninstall.sh changed to 0755 (rwxr-xr-x)
    mode of usbmap_script.sh changed to 0755 (rwxr-xr-x)
    750gig-TiVo#

    it doesn't show tweak.sh , although I can see it using WS FTP Pro. Why would chmod not "see" the tweak file in the folder along with all the other files that it does see and manage to set to 755?

    RW does result in a message: "mounting read write", RO also works. ls will not work, just goes to next line when I enter the command and waits forever. Ctrl-C gives me back a prompt.

    WS FTP Pro shows there is an rbautch_files.tgz file of 3,316KB set so Tweak would/should find that if sh was functioning. ??
     
  16. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    Out of curiosity and even though I can telnet in, I ran this:
    750gig-TiVo# cd /enhancements
    750gig-TiVo# tivosh net-status.tcl

    The following IP parameters are now set in MFS:
    IP address is currently set to: 192.168.1.121
    Default gateway is currently set to: 192.168.1.1
    Subnet Mask is currently set to: 255.255.255.0
    DNS Server is currently set to: 4.2.2.2
    DHCP is off
    NO WIRELESS PARAMETERS ARE SET IN MFS



    why is DNS server set to 4.2.2.2 and is this correct ?????
     
  17. ttodd1

    ttodd1 Proud Computer Geek

    1,516
    0
    Nov 5, 2003
    SC
    That is what is in the script.
     
  18. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    ? :confused:
     
  19. ttodd1

    ttodd1 Proud Computer Geek

    1,516
    0
    Nov 5, 2003
    SC
    You asked:


    I answered:

    If you have another DNS server you'd like to use instead you can change it to that.
     
  20. ARC

    ARC New Member

    118
    0
    Dec 16, 2001
    Lago Vista
    :rolleyes:
     

Share This Page