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

    PJO1966 Legally Married

    9,795
    0
    Mar 5, 2002
    Los Angeles, CA

    Sorry if I've been unclear. I connect from GoToMyDVR.com. All is well. Once I get a disconnect message, the only way to reconnect is to open up a telnet session and re-enter the codes in the above message. Once I've done that, I can go back to GoToMyDVR.com and connect.
     
  2. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Ok; that is my point. You are starting (and restarting) the client from a telnet session. That is what this command is:

    Code:
    /gotomydvr/etc/rc.gotomydvr &
    
    You are manually starting the client.

    And if you do that, and exit the telnet session, you will kill the client process.

    My recommendation: Restart your unit; you should then not need to manually start the client as the startup commands are in your /etc/rc.d/rc.sysinit.author file (you can doublecheck to see if they are there), and things should work ok from there... If you still get 'disconnect' messages it is because of a router or possibly an ISP issue (causing the loss of connectivity), OR the client on your unit is crashing for some reason. If its the latter situation, the watchdog process should automatically restart the client.

    Again, all of this is null and void if you are manually starting the client and then exiting the session you are using to start the client.
     
  3. benallenuk

    benallenuk New Member

    198
    0
    Aug 1, 2005
    Southampton
    Not working for me, It installed ok from the script, but hasnt made changes to .author, so i have to run it from a telnet window.

    type: /gotomydvr/etc/rc.gotomydvr &
    and get a reply of:
    [1] 317

    Unit disconnected! message every time on the webpage.

    have maual gateway in rc.sysinit of:

    /sbin/route.tivo add default gw 192.168.2.1

    I can ping my router ok, and can ping google.com from tivo ok,

    can access my tivo using my normal http://WANIP:5000

    Any ideas?


    1. UNIT TYPE: Thompson Series 1 (UK) (2.5.5)
    2. BROADBAND TYPE: Cable (transparent Proxy - I think. NTL)
    3. STATIC IP OR DYNAMIC IP - Dynamic IP, but the cable modem is never turned off
    4. NETWORK ADAPTER: Turbonet set to 192.168.2.100

    Do i need any port forwards in the router, I have removed the port map 5000 to tivo, still doesnt work. Have tried mapping port 80 to tivo, not working either.

    HELP

    cheers
     
  4. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    There is some conflicting information in your post; can you please attempt to reinstall the client and post the output here, as well as the contents of your /etc/rc.d/rc.sysinit.author file? That might reveal something.

    You don't need to make ANY configuration changes to your router, but you do need to ensure that whatever port TiVoWeb is running on is the port your register your unit with on our server.
     
  5. benallenuk

    benallenuk New Member

    198
    0
    Aug 1, 2005
    Southampton
    Ok, I have re-installed the client, have set the port on the website to 5000, which is the port used by TIVOWEB.

    Code:
    bash-2.02#
    < 0 -D /var/tmp -U http://68.178.174.173:80/b_install.sh
    bash-2.02#
    bash-2.02# sh /var/tmp/b_install.sh
    
    
    ********************************************************
    *****************  DVRupgrade, Inc.    *****************
    *****************  gotomydvr beta 1.2  *****************
    ********************************************************
    
    Preparing to install client software...
    
    Creating temporary install directory /var/tmp/inst...
    
    Removing older/alpha gotomydvr files from /ptvupgrade directory...
    
    Removing beta gotomydvr files from /gotomydvr directory...
    
    Downloading client install files from server...
    
    Unpacking files...
    
    Running installer...
    
    ./install.sh: touch: command not found
    Downloading watchdog install files from server...
    
    Unpacking files...
    
    Running installer...
    
    
    ********************************************************
    Startup commands have been inserted into /etc/rc.d/rc.sysinit.author which
    is a startup file that is automatically run when your TiVo is rebooted.
    
    If you want to manually startup the gotomydvr client, you can do so by
    typing the following command:
    
    /gotomydvr/etc/rc.gotomydvr &
    
    Or to restart your unit, you can use your TiVo remote, or simply type the
    following command:
    
    sync ; reboot
    
    If you received any errors during the installation of these tools, then it is
    likely that your TiVo is not seeing the Internet properly.  You should check
    your router and also check to ensure a route is added to that your gateway can
    be used to access the Internet.  If you are using DVRupgrade kits or DIY
    software tools, this is unlikely to be a problem.
    
    If you receive errors when starting up the client, please ensure your unit is
    registered at gotomydvr.com.  Your system service ID is:
    
    0230000******EC
    
    Please proceed to http://www.gotomydvr.com for details and links to support
    resources.
    
    Installation completed!
    
    bash-2.02#


    rc.stsinit.author:

    Code:
    #!/bin/bash
    if [ -f /var/hack/rc.sysinit.author.edit ]; then
    . /var/hack/rc.sysinit.author.edit
    fi
    # Connect to the gotomydvr server:
      if [ -f /gotomydvr/etc/rc.gotomydvr ]; then
       /gotomydvr/etc/rc.gotomydvr &
      fi
    
    rc.sysinit: - last part only

    Code:
    [ ! -f /etc/rc.d/rc.sysinit.author ] || /etc/rc.d/rc.sysinit.author
    
    echo "rc.sysinit is complete"
    source /etc/rc.d/rc.net
    /sbin/tnlited 23 /bin/bash -login &
    /sbin/tivoftpd &
    /sbin/route.tivo add default gw 192.168.2.1
    
    after a restart, and looking in ps -aux, looks like the client didnt start. see below:

    Code:
    bash-2.02# ps -aux
    warning: `-' deprecated; use `ps aux', not `ps -aux'
    USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
    root         1 99.9  0.0     0     0  ?  SW   11:59   0:00 init
    root         2  0.0  0.0     0     0  ?  SW   11:59   0:00 (kflushd)
    root         3 99.9  0.0     0     0  ?  SW   11:59   0:01 (kswapd)
    root        90  0.0  2.4  1096   336  ?  S    12:00   0:00 update (bdflush)
    root        98 99.9  4.1  1164   576  ?  S    12:00   0:01 syslogd -p /var/dev/l
    root       100 99.9  0.0     0     0  ?  SW   11:59   0:00 klogd
    root       108 99.9  0.0     0     0  ?  SW   11:59   0:00 EventSwitcher
    root       109 99.9  5.3  5968   740  ?  S    12:00   0:03 MfsDaemon
    root       110 99.9  2.0  1092   288  ?  S    12:00   0:00 fancontrol
    root       137 99.9  0.0     0     0  ?  SW   11:59   0:00 Sark (mcp)
    root       145 99.9 13.2  8828  1828  ?  R    12:00   0:19 tivosh /var/hack/tivo
    root       148  0.0  3.4  1136   472  ?  S    12:00   0:00 /var/hack/bin/cron
    root       149 99.9 11.4  7396  1588  ?  S    12:00   0:01 tivosh /var/hack/util
    root       153  0.0  4.2  6132   588  ?  S    12:00   0:00 Sark (mcp)
    root       154 99.9  0.0     0     0  ?  SW   11:59   0:00 PipeListen
    root       155 99.9  0.0     0     0  ?  SW   11:59   0:00 Mcp event
    root       156 99.9  0.0     0     0  ?  SW   11:59   0:00 tcphonehome
    root       158 99.9  0.0     0     0  ?  SW   11:59   0:00 tcphonehome
    root       159  0.0  0.0     0     0  ?  SW   11:59   0:00 PipeListener
    root       163  0.0  0.0     0     0  ?  SW   11:59   0:00 FsMpStream
    root       164 99.9  0.0     0     0  ?  SW   11:59   0:00 PhoneHome event hd
    root       174 99.9  0.0     0     0  ?  SW   11:59   0:00 /sbin/tnlited 23 /bin
    root       176  0.0  0.0     0     0  ?  SW   11:59   0:00 /sbin/tivoftpd
    root       179 99.9  0.0     0     0  ?  SW   11:59   0:00 dbgc-mcp
    root       180 99.9  5.6 10064   780  ?  S    12:00   0:00 dbgc-mcp
    root       181 99.9  0.0     0     0  ?  SW   11:59   0:00 PipeListener
    root       182 99.9  0.0     0     0  ?  SW   11:59   0:00 MyWorld
    root       183 99.9 23.8 16060  3300  ?  S    12:00   0:06 MyWorld
    root       184  0.0  0.0     0     0  ?  SW   11:59   0:00 PipeListener
    root       185  0.0  0.0     0     0  ?  SW   11:59   0:00 FsMpStream
    root       186 99.9  0.0     0     0  ?  SW   11:59   0:00 EventLog event
    root       187  0.0  0.0     0     0  ?  SW   11:59   0:00 TmkSinkMixAud
    root       188  0.0  8.5 14644  1180  ?  R    12:01   0:00 UI Timer Heart
    root       189 99.9  0.0     0     0  ?  SW   11:59   0:00 TmkClipCache0
    root       190  0.0  8.7 16060  1208  ?  S    12:01   0:00 TmkClipCache1
    root       191 99.9 10.4 16060  1444  ?  R    12:01   0:02 TvMomMpegSink
    root       192  0.0  0.0     0     0  ?  SW   11:59   0:00 TvMomMpegSink
    root       193 99.9 11.1 16068  1540  ?  R    12:01   0:00 Mediaswitch0
    root       194 99.9  0.0     0     0  ?  SW   11:59   0:00 TvRecorder
    root       195 99.9 14.4 16060  1992  ?  S    12:01   0:00 TmkTaskManager
    root       196 99.9 19.5 16060  2696  ?  R    12:01   1:17 Scheduler
    root       197 99.9 17.0 16060  2356  ?  S    12:01   0:09 Prioritizer
    root       198 99.9  0.0     0     0  ?  SW   11:59   0:02 ContextMgr eve
    root       200 99.9  0.0     0     0  ?  SW   11:59   0:00 /sbin/tivoftpd
    root       201 99.9  0.0     0     0  p0 SW   11:59   0:00 /bin/bash -login
    root       202 99.9  0.0     0     0  p0 RW   11:59   0:00 ps -aux
    bash-2.02#
    bash-2.02# /gotomydvr/etc/rc.gotomydvr &
    [1] 203
    bash-2.02#
    bash-2.02#



    *****I'll be dammed, it now works from the website. But still has to be started manually, any suggestions? cheers ********
     
  6. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Take a look at your rc.sysinit file -- you are running rc.sysinit.author prior to starting up your network. I've never seen an rc.sysinit file where the "source rc.net" is at the end - did you put it there? If that is a requirement, then you'll need to put the startup commands for gotomydvr AFTER you've started up your network (and you can then remove them from your rc.sysinit.author file).

    Point is this: You have to startup the gotomydvr client AFTER you've started your network.
     
  7. fsck!

    fsck! New Member

    25
    0
    Jun 20, 2006
    Weston, Florida
    Hi - I have been trying your gotomydvr service today and, although an interesting concept, I found it to be rather sluggish. Browsing through the tivowebplus menus was pretty slow on a 5Mbit connection. I can see how this would make sense for users with multiple DVRs, but even so, you could simply run tivowebplus on a different port for each DVR, forwarding each respective port on your router accordingly and just access the DVRs directly from the outside by their respective IP’s/Hostnames.

    It is not my intention to bash the project (as I said, I think it is a great concept) I just feel TivoWebPlus is a bit sluggish as it is, so the extra latency added by your service makes it a bit too unpleasant for an everyday solution (IMHO).

    Thanks
     
  8. Fofer

    Fofer XenForo Rocks! TCF Club

    82,092
    287
    Oct 29, 2000
    That's not all that secure, though. The TiVoWeb password is very basic authentication, no encryption, and I'd be kinda bummed to come home and see someone's gone in and mucked with my TiVo!

    Chance of that happening? Slim to none, I'm sure.

    But at least this tool provides one simple layer of protection, if only for peace of mind. Something to consider, at least.
     
  9. benallenuk

    benallenuk New Member

    198
    0
    Aug 1, 2005
    Southampton

    OK, I changed it all at the bottom of rc.sysinit, moving the rc.sysinit.author IF statement to the bottom, this caused my Tivo to hang on 'almost there'. I had to pull the drive and undo what i did using a bootcd as didnt have telnet access.

    I have deleted the gotomydvr comments from .author, and have put right at the bottom of rc.sysinit .

    It now works.

    Cheers
     
  10. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Thx for the feedback; a few thoughts and comments:

    1) the bandwidth of your connection won't (shouldn't) make a difference unless there is a problem or bottleneck on our server. latency is the issue and i'd suggest that its not related to the latency of your network connection, but the speed at which your client returns the information; ie - unfortunately, TiVoWebPlus runs slowly in some implementations and that is a problem - would be great to have a lighter weight / faster version of TiVoWebPlus or an alternative http-based interface that was a little less clunky in this scenario

    2) 'simply' using different ports is exactly what we were trying to eliminate with gotomydvr. the idea was to design and deploy a solution which required ZERO knowledge of ones home network to utilize. this is now beyond the concept stage as we've begun to embed the gotomydvr client in select kits and products, which means installation of the client (ie knowledge of your TiVo IP address is not necessary) no longer requires any technical ability, nor does one ever need to touch their router

    3) as fofer said, its inherently more secure. to add to that, even if you argue that one can securely configure multiple TiVo units (albeit a more technical process) using a port forwarding scheme, it means you need to have administrative access to the router, and that leads to other security issues.

    I do understand what you are saying, though -- personally, I think the *issue* is performance. With the newer version of TiVoWebPlus, I think there is some promise there. 6.2 and 6.3 are definitely better than older versions of the software. Series1 units with CacheCards are definitely peppy But still, TiVoWebPlus is a monster of an app to run on these units, either remotely or non-remotely - its a great app though. I do think there is room for something lighter-weight, and more conducive to say, a true mobile device and that would play well with gotomydvr.

    So, to point out, we are well beyond the concept phase wrt to the TiVo platform here. There are over 1000 users registered and about 700 TiVo units registered with the site now and we are seeing decent activity. Thats good. The real concept here is to extend beyond the TiVoWebPlus world, though -- either to another http-based management interface (anyone game for that?) or even a new platform altogether; I think *that* would be cool.

    Happy New Year!
     
  11. tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    The IF-THEN should never cause a problem, unless you had a syntax error or managed to get some ^M characters in there; you might want to double check that (carefully) as there is nothing inherently wrong with using a conditional anywhere in the startup files.

    Good that you ultimately got it working. Have fun!
     
  12. fsck!

    fsck! New Member

    25
    0
    Jun 20, 2006
    Weston, Florida
    Thanks for taking the time to address my comments. You're absolutely right in that it is a much more transparent and easier approach for most users; I realize TivoWebPlus is mostly the cause of the latency many of us seem to experience, which is why I look forward to testing it again on my Tivos once TivoWebPlus 1.4 leaves beta stage (I hear it is a lot faster than the present releases); from what I have been reading, 1.4 will mark the beginning of this transition towards the more mobile, less bloated approach you mention.
     
  13. Jan 1, 2007 #333 of 498
    unclemoosh

    unclemoosh I Wish I knew Then..

    368
    0
    Sep 11, 2004
    Gulf South
    I am running an HDVR2. 6.2, Zippered and enhanced with rbautch's script. I am able to access my boxes via the internet through XP remote desktop and via orenosp. My ISP is Hughesnet and my router is a Linksys WRT54GS.

    I got the error "Bad H*TTP response: H*TTP/1.0 400 Bad Request" when tring to run the b_install.sh script. So, I modified the script to use wget and everything installed correctly. When trying to run rc.gotomydvr I get:

    Bad H*TTP response: H*TTP/1.0 400 Bad Request
    *** No response from connection server ***

    I checked my router settings, etc and don't see anything that should interfere. The fact that I can access via the other methods makes me believe my network is okay.

    Accessing through remote desktop and orenosp use a PC to interface to the web. h*ttp_get goes directly. I am guessing wget goes directly, also.

    What am I missing? Is in something in my Tivos, modem router?

    Any help is greatly appreciated.

    (The * in H*TTP was necessary so they weren't recognized as links.)
     
  14. Jan 3, 2007 #334 of 498
    likesjx

    likesjx New Member

    2
    0
    Jan 1, 2007
    I am sure I am just a dumb novice but when I click on a TiVo to "go to" it asks for authentication. I am unsure what I am authenticating against.

    Also, is there a way to uninstall as well?
     
  15. Jan 3, 2007 #335 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Are you sure that isn't TiVoWebPlus on YOUR TiVo asking you for the username and password?
     
  16. Jan 3, 2007 #336 of 498
    likesjx

    likesjx New Member

    2
    0
    Jan 1, 2007
    I don't need to login to TiVoWebPlus when I am on my local network. I suppose it could be my router (linksys-g) that is prompting me... but I tried that password and it didn't seem to work.

    It says, "Server gotomydvr*com at TivoWebPlus v.1.3.1 requires a username/password"

    Using IE7/Vista...
     
  17. Jan 3, 2007 #337 of 498
    slydog75

    slydog75 Not all that sly

    9,199
    0
    Jul 8, 2004
    Warminster, PA
    TWP version 1.3.0 and above can have different authentication requirements depending on if you are accessing it from within or without your LAN.
     
  18. Jan 5, 2007 #338 of 498
    tivoupgrade

    tivoupgrade Sponsor

    2,494
    0
    Sep 27, 2000
    Chicago, IL...
    Will any of you folks be at CES next week?

    I will be there all week, and if there are any users of the site that will be around during the week and want to meet for a brief discussion, please PM me and we'll coordinate a meeting place and time. My thought is just to have an open discussion about the usefullness / uselessness of what you've been exposed to so far, and talk a bit about the direction of things.
     
  19. Jan 7, 2007 #339 of 498
    TimTrace

    TimTrace Join the TiVolution!

    138
    0
    Aug 24, 2001
    St. Louis...
    Wow, I can't believe I missed this until just now.

    Installed PERFECTLY on 3 HDVR2.

    What will this cost once it leaves beta?
     
  20. Jan 8, 2007 #340 of 498
    slydog75

    slydog75 Not all that sly

    9,199
    0
    Jul 8, 2004
    Warminster, PA
    Just thought I should jump in here quick and let everyone know that for whatever reason, wget (the service used to download te remote access tool) does not work over HughesNet satellite service. I tried for a couple of weeks to get it to work. Then a few weeks ago I switched to DSL when it finally became available and without touching anything else, it worked instantly.
     

Share This Page