Results 1 to 4 of 4

Thread: How to edit files on the Tivo

  1. #1
    Join Date
    Apr 2004
    Location
    Wellington
    Posts
    224

    How to edit files on the Tivo

    In the emulator instructions, it says to edit tclient.conf, but doesn't say how. This was actually intentional, as there's more than one way to skin a cat. Rather than edit those instructions, I've created this tread to document different methods of doing this. Feel free to add your own methods below. Here's how I do it.

    Firstly, you need the Tivo's IP address, and you need to telnet to that IP address. As this thread is about file editing, I will not document finding IPs, presumably this is documented elsewhere (links will be included here if someone points them out).

    Once you are on the Tivo, at the command line, you will want to set the filesystem to read/write mode. This is done by typing "rw" without the quotes, and hitting return. Next, use the joe editor to modify the file. Type "joe /etc/tclient.conf" without the quotes, and hit return. The joe editor has help available by pressing control-H, this should give you the info you need to edit and save the file. Once done, and back at the command line, you will want to set the filesystem back to read-only by typing "ro", again without the quotes. Then reboot the Tivo and continue the emulator setup instructions.

    Again, this post is intended to highlight the various methods of doing this, so if you have a different way or wish to comment further with tips, please do so...

  2. #2
    Join Date
    Apr 2004
    Location
    Auckland
    Posts
    32

    Other editors

    There's a bunch of editors installed with the Oztivo image; most people get familiar with one and then use that. Aside from joe, there's ed, elvis, nano, pico, vi/vim, and maybe others.

    ed is probably only there for programs that need it. pico and nano are possibly best for new users, because they have possible commands listed, avoiding research to find out what arcane key combinations are needed to perform some simple action.

    Emacs is missing. This is good ;-).

  3. #3
    Join Date
    Aug 2004
    Location
    Wellington
    Posts
    163

    For people that don't want to use any TiVo based interactive editor...

    tivo # rw
    tivo # cp /etc/tclient.conf /etc/tclient.conf.bak
    tivo # sed 's/131\.244\.9\.101/66\.238\.88\.163/' /etc/tclient.conf > /tmp/tclient.conf
    tivo # cp /tmp/tclient.conf /etc/tclient.conf
    tivo # ro

    Where 'tivo #' represents the prompt you are presented with on the Tivo command line.


    Thanks to Tuatara for supplying an IP address and corrections.
    Last edited by SeanOffShotgun; 16-08-2004 at 05:29 PM. Reason: Correction
    Meat, beer, ... what more could a kid ask for? Of course... a TiVo! What were my parents thinking?

  4. #4
    Join Date
    Apr 2004
    Location
    Christchurch
    Posts
    53
    FWIW
    Editing over serial using joe is painful, easier to send the file into pc do the edit and stick it back again, bonus is you get to keep a copy for that inevitable rebuild. Editpad lite on the pc to preserve linux formating

    sz filename -sends,
    move/rename/delete the original
    rz filename -recieves back again.
    rw & rw & chmod as necessary

Similar Threads

  1. Saving & converting TiVo files
    By belair_boy in forum Australian TiVoHD
    Replies: 22
    Last Post: 02-11-2010, 05:05 PM
  2. Copy PC Files to TiVo
    By Ray in forum New Zealand General Forum
    Replies: 7
    Last Post: 18-10-2008, 07:53 AM
  3. Files to Tivo from Mac
    By dminieri in forum General Chat
    Replies: 1
    Last Post: 30-05-2007, 12:11 PM
  4. Minnie down 17/7/5 ? Edit: resolved
    By segger in forum General Chat
    Replies: 14
    Last Post: 20-07-2005, 08:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •