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

Install - Easy download and install of hacks

Discussion in 'TiVo Series 1 - UK' started by mikerr, Aug 25, 2010.

  1. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Install - a script to simplify hack download & install.
    v.1.3

    We're all used to the longwinded way of installing hacks:
    download to pc, ftp to tivo, extract on tivo....

    This hack reduces all that to simply typing "install tivoweb"

    To install, ftp the attached script over to your tivo as usual, or
    copy and paste the following lines directly at a telnet prompt and press enter


    Usage:


    Version 1.3
    Now adds the program to tivo startup (in the case of tivoweb and supported programs) and/or runs an install script (altepg)
    1.2
    Deletes temporary files from /tmp after download (tivo does this on reboot anyway)
    1.1
    - Now auto creates the hack directory if necessary
    - sets up a profile if you don't have one with standard paths,
    and adds shortcuts like rw and ro (make filesystem writable)
    1.0
    - Initial release
     

    Attached Files:

  2. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    ...and the beginnings of a matching tivoweb module:

    [​IMG]

    Usage:

    select an .itcl file on your PC (a tivo web module) and click upload
    it will upload it direct to your tivoweb directory,
    it will automatically reload tivoweb for you as well. (no more need for ftp!)

    Clicking any of the filenames will view that file, and you have the option of editing the file too.

    A direct link to edit the startup file (rc.sysint.author) is at the bottom.


    [edit] Oh, you can of course install this by using the install script in the first post :

    % install install-module

    ;)
    ===============
    Tivoweb install module
    1.2
    - download and install common hacks
    1.1
    - Can now upload hacks or tivoweb modules
    - Added option to edit the startup file (rc.sysinit.author)
    - Auto-reloads tivoweb for new modules
    - Can view and edit any module/hack in tivoweb (I developed this release using its own editor!)
    - Show all file and folders - lets you navigate tivo's filesystem

    1.0 - initial release
    -upload tivoweb modules without needing ftp
    -list & view currently installed modules
     

    Attached Files:

  3. speedyrite

    speedyrite New Member

    143
    0
    May 18, 2002
    Droitwich,...
    Great idea Mike! I'm interested in trying out SortNP, so I'll probably have a go at installing it with this.

    Just checking, I presume SortNP works ok with UK software version 2.5.5a (not just 2.5.5)?
     
  4. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Yes, everything works with both 255 and 255a

    255a is just 255 with the teletext functions turned off
     
  5. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Just uploaded a new version:

    Version 1.1
    - Can now upload hacks or tivoweb modules
    - Added option to edit the startup file (rc.sysinit.author)
    - Auto-reloads tivoweb for new modules
    - Can view and edit any module/hack in tivoweb (I developed this release using its own editor!)
    - Show all file and folders - lets you navigate tivo's filesystem
     
  6. cwaring

    cwaring VM Tivo User

    9,015
    0
    Feb 11, 2002
    Knaresboroug...
    Too late for me but I do like the look of that :) The module, that is, not the colour-scheme of the screen-shot! Yuk :p
     
  7. dieselnutjob

    dieselnutjob New Member

    48
    0
    Apr 6, 2005
    Ruislip, UK
    for a freshly built TiVo with cachecard just installed you need to do this

    mkdir /var/hack
    http_get -T 0 -C 0 -D /var/hack -U http://64.235.229.106:80/install
    cd /var/hack
    chmod a+x install

    because there is no /var/hack otherwise

    also a question
    do I need the ui.itcl that is recommended for UK TiVos at http://www.steveconrad.co.uk/tivo/tivoweb.html ?
    or have you already included the updated file?
     
  8. dieselnutjob

    dieselnutjob New Member

    48
    0
    Apr 6, 2005
    Ruislip, UK
    Next..
    to install and run tivoweb I did this

    ./install tivoweb
    mount -o remount,rw /
    echo "/var/hack/tivoweb-tcl/tivoweb" >> /etc/rc.d/rc.sysinit.author
    chmod 700 /etc/rc.d/rc.sysinit.author
    mount -o remount,ro /

    because mikerrs install program doesn't do that stuff for you
    I was about to reboot the TiVo to see if it has actually worked but it's started recording something interesting so I'll have to wait an hour....
    Edit: okay it rebooted and Tivoweb comes straight up, telnet and ftp still work :)
     
  9. dieselnutjob

    dieselnutjob New Member

    48
    0
    Apr 6, 2005
    Ruislip, UK
    Next..
    to install tivobin I did this

    cd /var/hack
    ./install tivobin
    mount -o remount,rw /
    echo "export PATH=$PATH:/var/hack:/var/hack/bin" >> /.profile
    mount -o remount,ro /
    sync

    then logout and telnet back in
    now I have some proper unix commands :)
     
  10. dieselnutjob

    dieselnutjob New Member

    48
    0
    Apr 6, 2005
    Ruislip, UK
    request time
    please can we have an "install joe"?
    otherwise I can't edit config files very easily
    also how about tserver or vserver, or whatever is currently considered best for use tytool ?
    thanks
     
  11. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Thanks for the walkthroughs, dieselnutjob !

    Yes, that's already included (but otherwise standard 1.9.4)
    It's easier to edit them with the tivoweb module above, directly in your web browser...
    e.g. http://192.168.1.200/edit?file=/var/hack/tivoweb-tcl/tivoweb.cfg


    but I'll add joe and a few more things on there.


    Will look into adding a setup script for each package as needed,
    ultimately the tivoweb module will eventually the focus though - for easy point & click installs ;)
     
  12. dieselnutjob

    dieselnutjob New Member

    48
    0
    Apr 6, 2005
    Ruislip, UK
    personally I'm not very keen to put an ability to edit config files through the web interface.
    okay the web interface is only available on my internal network but it only takes one of my kids to discover it and start clicking on stuff..
    I think that they're less likely to discover the telnet interface and learn unix commands
    I might even firewall off the TiVo and block telnet and then just open it when I need it
     
  13. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Your wish is my command ;)

    install joe
    install vserver for streaming
    install tserver for tytool
    install mfs_ftp for downloading shows to pc

    alll now work.
     
  14. Richard42

    Richard42 New Member

    60
    0
    Dec 27, 2000
    Oxford,Oxfor...
    :up:
    What a wonderful thing - it works a treat

    thanks mikerr
     
  15. Automan

    Automan Ex TiVo User

    4,184
    0
    Oct 29, 2000
    South...
    Now my old Tivo is going I thought I would give this a try but I am getting...

    Is this because my card has no ram or am I not logged in?

    Automan.
     
  16. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    A cachecard without ram just works as a standard network card.

    Can you ping 64.235.229.106 on the tivo ?
     
  17. Automan

    Automan Ex TiVo User

    4,184
    0
    Oct 29, 2000
    South...
    I think my SDRAM is now working but missed watching the boot so not 100% sure.

    The Red LED is however now flashing away.

    Tivoweb info page says

    Memory Statistics:
    total: used: free: shared: buffers: cached:
    Mem: 14151680 14016512 135168 44445696 49152 4177920
    Swap: 209707008 577536 209129472
    MemTotal: 13820 kB
    MemFree: 132 kB
    MemShared: 43404 kB
    Buffers: 48 kB
    Cached: 4080 kB
    SwapTotal: 204792 kB
    SwapFree: 204228 kB

    EDIT: Kernel log says

    Jan 1 00:03:14 (none) kernel: cachectl: 512MB database detected
    Jan 1 00:03:14 (none) kernel: cachectl: Writing.... 0% .... 25% .... 50% .... 75% .... 100% cachectl:
    Jan 1 00:03:14 (none) kernel: cachectl: Verifying... 0% .... 25% .... 50% .... 75% .... 100% cachectl:
    Jan 1 00:03:14 (none) kernel: cachecard: zone[0] = 0:10 (512MB)
    Jan 1 00:03:14 (none) kernel: cachecard: zone[1] = 0:12 (0MB)
    Jan 1 00:03:14 (none) kernel: cachectl: Caching.... 0% .... 25% .... 50% .... 75% .... 100% cachectl:


    Still however get the same message....

    Automan.
     
  18. Milhouse

    Milhouse New Member

    981
    0
    Sep 15, 2001
    South...
    Just tried it here on O2 broadband and I'm also getting "connection refused" on the TiVo when using http_get, although I can successfully ping 64.235.229.106 from the TiVo.

    In a web browser (Firefox) on a PC I can view the source code for the install file as text, so it seems to be a problem between http_get and the remote web server.
     
  19. mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Aha! After reading your post a little closer, the problem is the missing port number after the ip address:

    http_get -T 0 -C 0 -D . -U http://64.235.229.106:80/install

    That :80 is important for http_get to work on TiVo.

    It all works fine if you copy and paste the lines from the first post
    (in windows telnet you right click and select paste, ctrl+v doesn't work)
     
  20. Milhouse

    Milhouse New Member

    981
    0
    Sep 15, 2001
    South...
    Confirmed working here! :)
     

Share This Page