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

tivo remote access tool - pre BETA

Discussion in 'TiVo Underground' started by tivoupgrade, Aug 22, 2006.

I am testing the tool on the following platforms:

  1. Series1 Standalone Unit

    13.1%
  2. Series1 DirecTV Unit

    3.4%
  3. Series2 DirecTV SD Unit

    48.0%
  4. Series2 DirecTV HD Unit

    20.4%
  5. Series2 Standalone Unit

    25.6%
Multiple votes are allowed.
  1. Oct 5, 2006 #241 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    For those of you with Series2 Standalone units running 7.X of the software, or HR10-250 units running 6.3a... I'm sure you are all aware that the client won't install/run properly.

    What I've determined is that the problem is with http_get in the TiVo software distro; its broken, and I can't figure out a way to run it without it causing problems.

    So... the easiest way to fix this is by replacing it. Best way to do it is by first opening a telnet session to your TiVo and renaming the existing one:

    mv /tvbin/http_get /tvbin/http_get.old

    Then, ftp the attached (unzip it first) one to /tvbin

    You should then be able to run the install scripts, as documented.

    Now, there is one other problem, the recently released "watchdog" uses a version of netcat (nc) which also causes some ugliness (if you have a serial cable hooked up and you are getting console messages, you will see them every 30 seconds), but the watchdog still works.

    I am currently running 6.3a on a test system, with the watchdog, have bounced the network several times and things seem to be working just fine.

    Have at it...

    Lou

    PS This is a workaround for now - if/when we come up with a better solution, I will let you know - but with so many HR10-250 units registered, and a few Series2 SA units, I wanted to let you all know ASAP.
     

    Attached Files:

  2. Oct 5, 2006 #242 of 498
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Interesting. Earlier in the thread a couple of reported that http_get was indeed broken, but that it was possible to use wget to load it... but it didn't work anyway. Has the new version been written to work with the new 6.3/7.x code?
     
  3. Oct 5, 2006 #243 of 498
    tall1

    tall1 New Member

    207
    0
    Oct 12, 2004
    twin cities
    Hi Lou, I am running 6.3a. I installed after replacing http_get and everything works on gotmydvr.com but I get the following error messages displaying in bash:

    DTivo3-TiVo# /gotomydvr/etc/rc.gotomydvr &
    [1] 21003
    HDTivo3-TiVo# /gotomydvr/etc/rc.gotomydvr: line 46: 21010 Terminated
    $TARGETPREFIX/bin/dbclient -T -p $SERVERPORT -i $TARGETPREFIX/etc/$USERKEY $US
    ER@$SERVER -R $TUNNELPORT:127.0.0.1:$CLIENTPORT -L 7:127.0.0.1:7

    HDTivo3-TiVo# /gotomydvr/etc/rc.gotomydvr: line 46: 21044 Terminated
    $TARGETPREFIX/bin/dbclient -T -p $SERVERPORT -i $TARGETPREFIX/etc/$USERKEY $US
    ER@$SERVER -R $TUNNELPORT:127.0.0.1:$CLIENTPORT -L 7:127.0.0.1:7
    /gotomydvr/etc/rc.gotomydvr: line 46: 21078 Terminated $TARGETPREFI
    X/bin/dbclient -T -p $SERVERPORT -i $TARGETPREFIX/etc/$USERKEY $USER@$SERVER -R
    $TUNNELPORT:127.0.0.1:$CLIENTPORT -L 7:127.0.0.1:7

    HDTivo3-TiVo# /gotomydvr/etc/rc.gotomydvr: line 46: 21123 Terminated
    $TARGETPREFIX/bin/dbclient -T -p $SERVERPORT -i $TARGETPREFIX/etc/$USERKEY $US
    ER@$SERVER -R $TUNNELPORT:127.0.0.1:$CLIENTPORT -L 7:127.0.0.1:7
     
  4. Oct 5, 2006 #244 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Francesco -

    Sorry, I was not clear in my previous post. NOTHING has changed with the new version of the client, other than the introduction of the watchdog process. We have known, for some time, that http_get was broken. Fudging the install with wget only gets you halfway there -- the client that is run (dbclient) also depends on http_get and that is why it still won't run.

    With that said, IF you replace http_get with the one I attached, dbclient should run just fine. At least it does on 6.3a, so I'm hoping it will on 7.X.

    Tall 1 --

    What you are seeing is this... the watchdog process requires the use of netcat, and netcat is ALSO broken on 6.3a (and 7.X I would presume); so the error messages you are seeing is the watchdog FAILING every 30 seconds, killing the dbclient and starting it up again. Its ugly, and although it doesn't appear to affect performance, I can't guarantee that it won't.

    What you might want to do is go in and fiddle with the file, /gotomydvr/etc/watchdog.sh

    You should be able to play with the intervals, or just comment out the code that invokes the watchdog, altogether. I can't give you specifics on this because I am remote right now.

    One thing we could do is give you access to the older version of the client, the one without the watchdog (or you could just strip out the watchdog from this one); it should work fine as long as you replace http_get.

    Obviously, these are all workarounds for now, we'll come up with something more elegant, longer term.

    Lastly, I am travelling tomorrow - back in the Bay area for the week. Don't expect to see a lot of me on this thread, but I will duck in every now and then.

    Have fun.

    Lou
     
  5. Oct 5, 2006 #245 of 498
    tall1

    tall1 New Member

    207
    0
    Oct 12, 2004
    twin cities
    Thanks Lou, I think I got watchdog turned off; no more messages. I am still connected and playing around with TWP 1.4. All seems ok. I will post any unusual behavior. The HDTivo I am testing with is in the bedroom and non-mission critical so I'm not worried if it gets wiggy.
     
  6. Oct 5, 2006 #246 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Cool. I just got home and took another look at the code. For anyone else who is trying this - if you want to disable the watcher, you have a couple of simple options:

    option 1: edit the file /gotomydvr/etc/rc.gotomydvr, and comment out the lines that look like this:

    # Starts watchdog process (if exist)
    if [ -x /gotomydvr/etc/watchdog.sh ]; then
    /gotomydvr/etc/watchdog.sh > /dev/null 2>&1 &
    fi

    option 2: rename or remove the file called /gotomydvr/etc/watchdog.sh

    That's it...
     
  7. Oct 5, 2006 #247 of 498
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    I can confirm that it works the same way and generates the same "ugliness" ;) on a Series 2.5 running 7.3.1...

    Thanks! :up:
     
  8. Oct 6, 2006 #248 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    That's good to know... you might try disabling the watchdog as things may work fine for you without it...

    Lou
     
  9. Oct 6, 2006 #249 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Here's another little tidbit:

    Ok, here is something REALLY weird.

    NC misbehaves if I run it from a telnet session to the box - ie if I telnet in from an xterm I get page_faults on the console and the program seg_faults.

    BUT, if I run NC from the console, itself, it runs FINE.

    This is not the case with http_get, but the bottom line is that NC works ok when invoked by the watchdog, as long as the watchdog is invoked from the console window (serial port) or from the startup files, themselves.


    Bottom line: If you are running 6.3a, or 7.X on a Series2 SA; install the client, as discussed above (replace your http_get). Then reboot after installing, as opposed to starting the client manually. If you have a serial port, you can try starting the client manually from there, as an alternative. Use PS to verify that your watchdog is running. Things might run smoother, that way.
     
  10. Oct 7, 2006 #250 of 498
    kimsan

    kimsan underling

    732
    0
    Jan 23, 2002
    Greenbackvil...
    Just a quick input.

    Finally installed on 2 HR10-250s: one instant cake/zippered, one mfs restored original/zippered, both 3.1.5f

    Both on fixed IPs
    Dynamic IP DSL router

    ZERO problems whatsoever! Install was flawless on both. Accessing from a laptop on the same network->GoToMyDVR page->TiVo works great.

    Nice job on this one! :up:
     
  11. Oct 7, 2006 #251 of 498
    alwayscool

    alwayscool Former P3 Tester

    44
    0
    May 10, 2005
    Fort...
    I tried to install it last night and got the same "Segmentation fault" as he did. So I managed to install the files manually by editing the b_install.sh file and ftp'ing the files to the proper directories, but no go. I guess it's because I'm running 6.3a.

    Here is my setup:
    Hr10-250 with a FA120 adapter hardwired - Static IP
    Fast ethernet switch
    Linksys router
    Bellsouth Westell modem @ 6 mb down and 348 kb up -DSL

    It seems that my Hr10-250 won't connect to the Internet. :eek:
    Any suggestions? And do you have this software working on 6.3a yet?
    Thank you.

    ***** UPDATE *****
    I edited b_install.sh to use wget instead of http_get and the files downloaded and installed fine, however when I ran the program I got this error:

    bash-2.02# /gotomydvr/etc/rc.gotomydvr &
    [1] 7451
    bash-2.02# Internal error #R
    /gotomydvr/etc/rc.gotomydvr: .: filename argument required
    .: usage: . filename
    *** Empty KNOWN_HOST configuration ***

    ***** UPDATE *****
    Read the entire thread (took an hour) :eek: and replaced http_get and it finally works great on my HR10-250!!! Great work guys! However, there was NO watchdog.sh to edit or rename. :cool:
     
  12. Oct 9, 2006 #252 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    We'll be updating the installation again in a couple of days; unfortunately, http_get will still need to be replaced on 6.3a systems and on Series2 SA units, however that will be it - the watchdog will still run fine in the updated version as we've gotten a fixed version of netcat (thx rbautch!!!) that will do the trick.

    More soon....
     
  13. Oct 9, 2006 #253 of 498
    bishop05

    bishop05 New Member

    9
    0
    Feb 9, 2004
    i'm really into this but new the the scene, how would i have to do to get this installed?
     
  14. Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    First off, is your TiVo hacked and running TiVoweb or TivoWeb Plus?
     
  15. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Please see the first two posts of the thread. I've just updated them with some more information related to supported platforms, client status, etc. BTW, we have about 400 units registered with the site now; if you haven't responded to the survey, please do so!

    Thx
     
  16. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Anyone having problems with connectivity on Series1 boxes? I just found a bug, thx to one tester. Anyone else seen it?
     
  17. cassos

    cassos New Member

    23
    0
    Jan 11, 2003
    Hi Lou,

    It works for both my old Sony SAT T-60 DirectTV Tivo 1 and my newer Hughes HR10-250 DirectTV Tivo 2 recently upgraded to 6.3a. The only thing I noticed on the Tivo 1 is that the automatic install did not work to start the service automatically, I edited the rc.sysinit.author to remove the if statement and directly start /gotomydvr/etc/rc.gotomydvr & (although I don't understand why...)

    Anyway, many thanks to you for setting this up, I was about to setup my home with a dmz, and a proxy server, you saved me a lot of time! and it works great!
     
  18. chezpaul

    chezpaul New Member

    106
    0
    Feb 28, 2002
    Los Angeles
    So I got the email from gotomydvr.com and went to the site, registered my Tivo.
    Teleneted to my HDR10-250 running 6.3a with PTVnet and TWP 1.3.1 (meaning it's hacked yes)

    When I enter the first command:
    http_get -T 0 -C 0 -D /var/tmp -U http://68.178.174.173:80/b_install.sh
    Then I get this error:
    Segmentation fault

    Me not know what this means... :D
     
  19. chezpaul

    chezpaul New Member

    106
    0
    Feb 28, 2002
    Los Angeles
    I just read you second post and replaced the http_get file et voilĂ .. Hapiness... :D
     
  20. chezpaul

    chezpaul New Member

    106
    0
    Feb 28, 2002
    Los Angeles
    Okay so when I try to select my Tivo in gotomydvr.com, I'm asked for a username and password.
    I thought they wanted again the one I use to login to gotomydvr.com but I guess not.
    Which password do you guys want ?
    Did I miss a step ?
     

Share This Page