Rob the Geek
Technology, Online Communities, Open Source Thinking – Musings from the web and how it affects our lives…

Tricks for the TiVo

March 21st, 2005

As part of the on-going duplication of data around the interweb, this page is more for my reference than anything else, but if you find this page (and find it useful, then good on you. The TiVo sites I frequent the most are NZ Tivo – The NZ TiVo Community and Oz Tivo which, despite it’s name – has a lot of valuable resources for us Kiwis too!

  • 30 Second Skip
  • Setting the Time
  • Forcing a Re-index
  • Loading a Manual Slice
  • 30 Second Skip
    The most used feature on our TiVo, great for skipping the lead-in / lead-out of recordings and all that stuff inbetween.

    Grab your TiVo remote.
    Bring up any recorded program.
    On your TiVo remote, key in the following sequence:
    <SELECT> <PLAY> <SELECT <3> <0> <SELECT>

    If you’ve successfully entered the code, you should hear three “bings” in succession to let you know that you’ve successfully enabled the 30 second skip feature.
    The skip-to-hash button on your remote will now skip forward 30 seconds during playback.

    Setting the Time
    When the TiVo drops the last few minutes of my Wifes favorite home-grown soap opera Shortland Street then I’m in trouble – while it’s great that she has grown to depend on the TiVo over the short time that we’ve had it, I still find sleeping on the couch uncomfortable and, thus – it’s essential that the TiVo keeps it’s time as accuratly as possible (the broadcasters keeping to their advertised schedules is another arguement – and one which I never win). The following details the steps required to get your NZ TiVo keeping itself in sync with the regions NTP time sources. To do this, you need to:

    Check your ntpdate file

    #cat /bin/ntpdate

    #!/bin/sh
    # Stop time warp messages
    touch /var/timestamp
    # Set the time to time server with appropriate timezone offset
    /tvbin/settime `rtimetz 207.126.98.204 207.126.98.204 129.6.15.28 131.107.1.10`

    # Now set hardware clock
    /tvbin/settime -rtc

    # A list of public time servers in case the ones above stops working:
    # …
    # [A list of alternate NTP Servers]
    # …
    # Not a good place to run this, but it might be necessary.
    #checkgsstate.sh &
    exit 0

    Change the Postcodes file

    Make the TiVo Read/Write
    rw
    Edit /etc/postcodezones to add the code 02113 and Pacific/Auckland – these columns *MUST* be separated by a Tab
    vi /etc/postcodezones

    # A list of TiVo postcodes and the timezones that they represent
    # Two columns, separated by one tab only.
    #
    02113 Pacific/Auckland
    00800 Australia/Darwin
    02000 Australia/Sydney
    02600 Australia/Sydney
    03000 Australia/Melbourne
    04000 Australia/Brisbane
    05000 Australia/Adelaide
    06000 Australia/Perth
    07000 Australia/Hobart

    Save the file
    :wq
    Set the TiVo to be Read Only again
    ro
    Create the Postcode directory in /hack/zoneinfo

    mkdir /hack/zoneinfo/Pacific

    Drop the Auckland Timezone file into /hack/zoneinfo/Pacific

    Get the Auckland Time zone file from here
    Make the filesystem read write
    rw

    FTP the file in binary mode to your TiVo using your favorite FTP client
    $ftp [Your TiVos IP]

    Connected to [Your TiVos IP].
    220 You are in TiVo Mode.
    220 Login isn’t necessary.
    220 Please hit ENTER at the login/password prompts.
    Name ([Your TiVos IP]):
    331 No Auth required for TiVo Mode.
    Password:
    230 Running in TiVo Mode.
    Remote system type is UNIX.
    ftp> bin
    200 Type set to I.
    ftp> cd /hack/zoneinfo/Pacific
    250 Directory change successful.
    ftp> put Auckland
    local: Auckland remote: Auckland
    200 PORT command successful.
    150 Opening BINARY mode data connection for Auckland.
    226 File transfer complete.
    870 bytes sent in 0.00 secs (13275.1 kB/s)

    Make the filesystem read only
    ro
    Check that the system understands the NTP server addresses, the post codes, and will generate the correct format date/time string

    rtimetz 207.126.98.204 207.126.98.204 129.6.15.28 131.107.1.10
    should return something like: 20050321090327

    Run the settime command
    /tvbin/settime `rtimetz 207.126.98.204 207.126.98.204 129.6.15.28 131.107.1.10`

    Time set to: Mon Mar 21 09:04:33 2005
    Have a nice day.

    That’s it, if you’re getting something like the above then all should be well in TiVo land. Don’t forget to set your TiVo back to read only mode with a ro

    Forcing a Re-index
    Every so often, my TiVo gurks and it gets the guide all FUBARed. Occasionally just getting the TiVo do make a daily call (by browsing to http://[Your TiVo IP]/Phone/) will fix it, but in some cases it’s still feked and the only thing which seems to work for me is to force a re-index – this can put a heck of a load on the box, so use with caution, but what you need to do is:

    Telnet to your TiVo using your favorite client (but, I’d suggest steering clear of the Windows native telnet client as it seems to disagree with the TiVo and can cause crashes).
    Enter the following command to force a reindex
    /hack/bin/force_index30.tcl
    or
    /hack/bin/force_index.tcl
    Be patient, the re-index can take minutes or hours, go outside and look at some trees or something, there’s life beyond the screen, honest!

    Loading a Manual Slice
    On rare occasions, the daily call will fail and no guide data will be avalible- in these situations, it’s possible to load the slice manually by following thise steps:

    Telnet to your TiVo using your favorite client (but, I’d suggest steering clear of the Windows native telnet client as it seems to disagree with the TiVo and can cause crashes).
    Enter the following command to manually load a slice
    wget http://216.58.174.222/tjvinfo/nztivo.slice dbload30.tcl nztivo.slice
    Be patient, this can take quite awhile.


    Filed under: HOWTO, Media Centers and PVR | No Tag
    No Tag
    March 21st, 2005 14:07:02

    HOWTO: Upgrading the Firmware on your Nokia M1122 / MW1122

    March 04th, 2005

    It’s a frightening prospect, knowingly starting a process which you KNOW could result in you losing you beloved connection to the Internet – but when you’ve got an old, old Nokia MW1122 which needs a firmware update, it’s just one of those things which needs to be done. After all, if it all goes pear-shaped, you may just be able to get away with getting a nicer, newer modem and separating out your Wireless Access point

    And so it came to pass that I decided it was high time to update my firmware and I have a few of the guys at work who are waiting on the results of my attempt before doing the same to theirs – hence this HOWTO of sorts.

    I have a Nokia MW1122 which I use for both my DSL access and, with a C110 card, to provide my wireless network. I’m doing some of the standard pinholing things to let ’stuff’ through to my network and, as my home network grows in complexity, I’m finding the modem is limiting my ability to provide the kind of control I’m now needing. I’ve also heard (and can now confirm) that the latest firmware exposes more of the modem/routers functionality for your networking pleasure… hence this update :)

    In the beginning:
    Now, being a cautious lad, I took screen shots of all of the pertinent pages of the web interface. This meant that if I lost my settings for whatever reason, I could just re-enter all my pinholes and rules and stuff from the hard copy.

    Prior to the update, the modem was running:
    SW appl. Version: Gx1×2210.R09

    Getting the files, and a few clues:
    I did a bunch of googling before I started on this, as did a colleague from work, who was flicking me through links via IM in support of the ‘Rob the Guinea Pig’ theory.
    The Internet is an interesting place, and – with a couple of cross checks, you can sort the wheat from the chaff and, applying this process, I gathered enough information to do my upgrade. The interesting thing is, it appears that New Zealand is one of the few places in the world with any degree of Nokia Nokia M1122 / MW1122 modem market penetration (mainly due to Telecom picking them up on the cheap and providing them as pretty much the only option for DSL modems for the first few years of ‘broadband’ in New Zealand.
    In terms of places to hunt for info, I would recommend the Waikato Linux Users Group site, paying close attention to their WiKi and also the New Zealand ADSL mailing list
    Now I *do* have all the pertinent files and stuff archived in case they disappear into the ether, but make an effort to grab the ones from the WLUG site as the documentation there is probably going to stay a lot more upto date than this page will.

    Getting Ready:
    If you have the same experience as I did, you will need:

    • The latest firmware file [ Gx1x2230.R04 ]
    • A stable network connection
    • A Telnet Client
    • A TFTP server
    • The ‘Admin’ password to your modem
    • Some good Karma

    There are a few TFTP servers available for no cost (with a bit of googling) the WLUG site also has one amongst its files – I ended up using one from SolarWinds.net.
    PuTTy is a great client which I use for SSH, Telnet and generally frightening my network, you can use whatever Telnet client spins your wheels – I just figured you may appreciate a recommendation ;)

    The fun trick for young players will be finding the admin password to your modem. Now you can buy some non-Telecom modems so if you’re doing this upgrade I’ll assume you do in fact own the modem and it’s not an ex-rental/Telecom owned unit. If it is then you will need to do some digging to get the admin password – it is out there, but I can’t help you by telling you what it is – sorry.

    Make sure you’re all configured and ready to go, next up we’re going to do the update

    Updating the Firmware:

    • Start your TFTP server running and pointed to a directory containing the firmware file [ Gx1x2230.R04 was the latest at the time of writing ]
    • Start your Telnet client and point it to the Nokia M[W]1122, you will be prompted for your username and password. It is important that you use an ADMINISTRATIVE login (‘admin’ or ‘Telecom’ are defaults for the Nokia, but in saying that, I’ve also read that the username is moot if the admin password is presented – I didn’t bother confirming this so YMMV) as a non-admin login will be unable to run the ‘copy’ command which is coming up next.

    login-id: admin
    password: *********

    MW1122>copy tftp:/[THE IP ADDRESS OF YOUR TFTP SERVER]/Gx1x2230.R04 image.exe

    • The file will start copying down to your modem at this point – it takes a while (5 minutes for me via my 802.11b connection) then you will see

    blocks received 1778
    transfer status SUCCESSFUL

    Congratulations, you’re over the hard stuff – at this point, it is safe to take one last look at your internet connection, cross everything that will cross, say a prayer and then do a FULL restart from the web interface of your modem.

    If all went well, your surfing away happily and your Nokia will now read:
    SW appl. version: Gx1x2230.R04

    You’re on your own from here on out – good luck, give things a few minutes and then try accessing the internet

    ——————————————————————————–


    Filed under: Geek Stuff, HOWTO, Home Network | No Tag
    No Tag
    March 04th, 2005 08:00:51