Difference between revisions of "User talk:Amblinn"

From XMLTV
Jump to: navigation, search
(Set up the FreeSCO virtual machine)
(Overview)
Line 10: Line 10:
 
You will need (in addition to your Replay):
 
You will need (in addition to your Replay):
 
* A Windows-based PC (running Windows98 or later) with always-on internet access (like cable or DSL), which can stay on overnight
 
* A Windows-based PC (running Windows98 or later) with always-on internet access (like cable or DSL), which can stay on overnight
 +
* An internal-to-your-own-home static IP address for your Windows-based PC.  Most routers support the ability to assign an internal IP address to a particular PC.  You will also need to know the internal IP address for your router
 
* An unused dial-up modem, 28.8K or better (for use with phonelines, not cable or DSL)
 
* An unused dial-up modem, 28.8K or better (for use with phonelines, not cable or DSL)
 
* A phone cord long enough to connect the Replay to the PC modem
 
* A phone cord long enough to connect the Replay to the PC modem
* (maybe) A device (such as a chat cord) to provide power for the phone line (chatcord requires a line splitter and an open USB port)
+
* (maybe) A device (such as a chat cord) to provide power for the phone line (chatcord requires a phone line splitter and an open USB port)
 
* A subscription to SchedulesDirect (non-profit group providing listings for personal use for $20/year).  Wait until you have everything else working before signing up for this
 
* A subscription to SchedulesDirect (non-profit group providing listings for personal use for $20/year).  Wait until you have everything else working before signing up for this
  
Line 24: Line 25:
 
# Set up the WiRNS software (using the data from FreeSCO, replaces the functionality of the servers your Replay used to dial)
 
# Set up the WiRNS software (using the data from FreeSCO, replaces the functionality of the servers your Replay used to dial)
 
# Set up SchedulesDirect (which WiRNS uses to get guide data)
 
# Set up SchedulesDirect (which WiRNS uses to get guide data)
 
  
 
== Before You Begin ==
 
== Before You Begin ==

Revision as of 03:08, 5 July 2011

With help from the experts, I'm creating a detailed set of instructions (expanding on the info at http://wiki.xmltv.org/index.php/ReplayTV-FreeSCO), learning as I go, for getting a modem-based ReplayTV (2000, 3000, Showstopper) to get guide listings once the Replay service is turned off on 7/31/2011.

These have NOT been reviewed by the experts, and are still draft form, so use at your own risk. If you are one of the aforementioned experts, please feel free to comment and correct. If you are in the same slightly-confused place that I am, you may want to wait until the set has been fully reviewed, corrected, and published.

Overview

In the ReplayTV 2000, ReplayTV 3000, and Panasonic Showstoppers (referred to here as "Replay"), there's a modem that dials out each night to retrieve guide listings, syncronize the clock, and do a few other odds and ends (like create service notifications and change the graphic on the pause screen). After 7/31/2011, this will no longer be happening.

This set of step-by-step instructions will help you create your own replacement for the guide listings and clock synchronization features. (It also means that if Replay was the only reason you were keeping your home phone / landline, you can now get rid of it.) These instructions are not the only way to get a working solution, but were designed with the goal of keeping additional costs to a minimum.

You will need (in addition to your Replay):

  • A Windows-based PC (running Windows98 or later) with always-on internet access (like cable or DSL), which can stay on overnight
  • An internal-to-your-own-home static IP address for your Windows-based PC. Most routers support the ability to assign an internal IP address to a particular PC. You will also need to know the internal IP address for your router
  • An unused dial-up modem, 28.8K or better (for use with phonelines, not cable or DSL)
  • A phone cord long enough to connect the Replay to the PC modem
  • (maybe) A device (such as a chat cord) to provide power for the phone line (chatcord requires a phone line splitter and an open USB port)
  • A subscription to SchedulesDirect (non-profit group providing listings for personal use for $20/year). Wait until you have everything else working before signing up for this

A note about the modem: your desktop or laptop may already have a built-in dial-up modem (look for a phone port - it's a little smaller than your ethernet port), you may have to dust off an old external modem, or you may need to buy a modem. If your modem is not capable of direct modem-to-modem communication (as is the case with many internal modems), you will also need a device to provide power to the phone line / phone cord. An active phone line has a small amount of power on it (which is why most corded phones don't need a power supply and continue to work during power outages), but you'll be connecting your PC directly to the Replay, bypassing an active phone line. Some modems can compensate for this (such as the US Robotics v. Everything), but many can't (such as most laptop modems). There's no easy way to tell the difference, but it will become clear very early in this process whether you will need a chat cord or not.

There are several stages required to getting everything working. It is recommended that you complete these in order, and that you get each one working before moving on to the next. Each of the following sections provide the step-by-step instructions for that stage. If you run into any problems not described here or have any other questions, the folks at http://www.planetreplay.com and http://www.avsforum.com/avs-vb/forumdisplay.php?f=27 (the ReplayTV and Showstopper PVRs forum at AVS) may be able to help.

  1. Check your modem access (how do you access it, and does it work?)
  2. Make sure your modem is compatible with your Replay (and whether you'll need a chatcord)
  3. Set up the FreeSCO virtual machine (converts your dial-up modem into a ethernet connection)
  4. Set up the WiRNS software (using the data from FreeSCO, replaces the functionality of the servers your Replay used to dial)
  5. Set up SchedulesDirect (which WiRNS uses to get guide data)

Before You Begin

On 7/31/11, it is recommended that you DISCONNECT your phone line from the ReplayTV box, and keep it disconnected, even if you haven't gotten this solution working yet. It's not clear when the ability to dial-out will be disabled entirely. If it happens on 7/31 (or if your Replay has already received the message to stop doing this on 7/31), then it's likely going to be a bit more complicated to get everything working again.


Check your modem access

  1. If you have an external modem, set it up. Otherwise, double-check that you actually have an internal modem by finding the phone or line port on your PC (the phone / line ports are narrower than the ethernet port)
  2. On your PC, open a connection to the modem with HyperTERM or (TODO: figure out how to use PuTTY to talk to the modem) PUTTY if your version of windows doesn't have HyperTERM
    1. In Windows XP, you can find HyperTerm through Start -> All Programs -> Accessories -> Communications
    2. When it prompts you for a name for the New Connection, hit "Cancel"
  3. Type "AT" followed by <ENTER>. The modem should respond "OK".
    1. If you don't see "OK", you're not talking to your modem. It might be the modem is bad, or you might be pointing to the wrong COM port. You can try step #5 in this section (setting up "New Connections") to see if you can find a working COM port
    2. If you don't see "AT" on the screen, but you do see "OK", it means the modem is fine, but characters aren't echo-ing. If you type "ATE1" followed by <ENTER> (tells the modem to echo characters), all subsequent commands will appear on the screen
    3. Alternately, you can also echo characters by going to File -> Properties -> [Settings] tab -> [ASCII Setup] button -> click "Echo typed characters locally". Depending on your modem, and modem commands, this may also cause to you see "double" characters (you type "AT", "AATT" appears on screen). This won't cause any problems, other than making it a little more difficult to read
  4. Type "ATA" <ENTER> on the modem. You should hear a high pitched tone, which sounds like a fax machine. If you don't, check your speaker setup. Remember what this tone sounds like. When ready, press a key and you should get "NO CARRIER"
  5. Determine which COM port your modem is on
    1. Start -> Control Panel -> Phone and Modem Options -> [Modems] tab. If there are multiple listed, note all of the COM ports, then try the next option
    2. In HyperTerm, choose "New Connection". Type in a name, click "OK". On the next screen, where it says "Connect Using:", select the first COM port on your list from the above step, and click "OK". Click "OK" on the next screen. Type "AT". If it says "OK", then you have a good COM port. If it doesn't seem to do anything, then click the "Disconnect" button and repeat this process for each of the COM ports until you get the "OK" and can test ATA. Make note of this COM port (you'll need it later). When you close HyperTerm (or choose to create a new connection), you do not need to save the previous connection when it prompts you.


Make sure your modem is compatible with your Replay

  1. Connect a phone cord from your Replay to the "LINE" port of your PC modem (not the "PHONE" port, if you have more than one port)
  2. Open up a HyperTerm (or PuTTY) connection to the modem on your PC using the working COM port; type AT <ENTER> and get the "OK"
  3. On the Replay, turn off dial-tone detection
    1. The "LINE" port on your PC does not generate a dial tone. Therefore, the "Wait for dial tone" setting on the Replay, which defaults to "Yes", must be configured to "No."
    2. On the Replay, navigate from Menu -> Setup -> Change Telephone through a series of screens to the "Dialing Prefix" screen, and then press the "Zones" button on your remote. A special screen should appear which will allow you to change the "Wait for dial tone" option to "No."
    3. It's fine to leave it on "No", even if you go back to the normal way that Replay dials out each night, it just means that if you're calling someone on the same phone line as Replay, and Replay dials out in the middle of the night, you'll have unpleasant noises in your ear and the Replay connection will likely fail for that attempt.
  4. Have the Replay initiate a network connection
    1. From just about any screen on your Replay, press 2-4-3-Zones on the remote control
    2. This brings up a menu -- arrow down to option 4 ("Net Connect"), and press SELECT
  5. When the Replay says "Dialing", type "ATA" <ENTER> on the PC Terminal
  6. You should hear the high pitched "Answer Tone" (from when you tested the modem), followed by the Replay trying to sync up.
  7. You should get a "CONNECT" message, followed by short periodic bursts of data. That means your PC is compatible.
  8. If you don't get a CONNECT, troubleshoot the problem before spending any time moving forward.
    1. First suggestion is to provide "talk battery" to the Replay to PC connection. A 9 volt battery in series with a 330 to 1000 ohm resistor should work. You may need to connect two phone jacks back to back to access the two wires, red and green at the jacks, carrying signal. Polarity is not important. This is not a permanent solution because the 9 volt battery will deplete fairly quickly.
    2. A chatcord is another alternative, and will provide a permanent solution. Chatcord requires a line splitter and an open USB port


Set up the FreeSCO virtual machine

VMWare: Free for personal, non-commercial use. You wlil have to register.

  1. Download and install VMware Player http://www.vmware.com/products/player/
    1. Note that you will have to register in order to download the player
  2. Download and unzip the FreeSCO Virt Machine: http://xmltv.org/alpha/FreeSCO_vmware.zip
    1. In more recent versions of Windows (including XP), you can "unzip" by right-clicking on the folder and choosing "Extract All..."
    2. Remember where you put the unzip'd / extracted folder
    3. If you want to learn a little more about FreeSCO (including a lot of stuff that's already been taken care of for you), you can find it at http://www.livinitnaturalstate.com/rtv/FreescoRTV/README.TXT
  3. Open the FreeSCO config file in VMWare Player
    1. Start VMware Player
    2. Under "File", choose "Open a Virtual Machine...",
    3. Navigate into your extracted / unzipped folder from above
    4. Choose "FreeSCO.vmx" and click "Open"
  4. If your modem is NOT on COM1, then click "Edit Virtual Machine Settings"
    1. Click "Serial Port", then choose the actual COM from the drop-down list under "Use physical serial port:"
    2. Click "OK"
  5. Make sure your modem is turned on (if there's an on/off switch)
  6. Click "Play virtual machine"
    1. Keep track of the IP addresses when it starts (the virtual machine "boots") -- there will be one for "DHCPOFFER" and one for "default route"
    2. The VMWare player will capture your mouse and keyboard when you click in it or press <CTRL><G>. <CTRL><ALT> will release it.
    3. You should hear the modem attempt to dial every 30 seconds or so
  7. Click in the FreeSCO process and log in as root, password root
  8. Type "killall mgetty"
    1. This TURNS OFF the modem trying to dial every 30 seconds
    2. During "normal" ongoing operation (not when you're setting things up), you do not want to type this command
  9. Type "setup" <ENTER> to enter setup mode.
  10. <ENTER> to accept the default color mode.
  11. <a> <ENTER> to enter advanced settings
  12. <62> <ENTER> to enter "Local networks"
    1. <628> <ENTER> to get to "Set DNS via DHCP"
    2. <n> <ENTER> to set it to "n"
    3. <x> <ENTER> to return to the previous screen (advanced menu)
  13. <71> <ENTER> to get to modem settings
    1. <713> <ENTER> to change the init string to an appropriate modem init string, if needed. AT&F1 should work for most modems; ATZ should work also
    2. <714> <ENTER> to change the dial-in IP address. This needs to have the same three numbers from the two IP addresses that you saw in the boot sequence. The fourth number can be pretty much any number EXCEPT the fourth number from the two IP addresses. 100, 101, or 102 are fine choices
    3. <x> <ENTER> to return to the previous screen (advanced menu)
  14. <41> <ENTER> to enter "DNS Server"
    1. <n> <ENTER> to disable DNS caching
    2. Primary DNS Address will EVENTUALLY be set to the IP Address of your WiRNS machine (below). If you are following these instructions prior to 7/31/2011, though, it's a good idea to test that you have FreeSCO working by connection to the main ReplayTV servers first. For this, you should set the primary DNS address to match the IP address of your router
    3. leave secondary DNS address blank
  15. <x> <ENTER> to exit Advanced settings
  16. < s> <ENTER> to save current config and exit
  17. Type "reboot" to reboot the FreeSCO machine
  18. You should hear your modem try and answer every minute or so
  19. PRIOR TO 7/31/2011: To test that your FreeSCO is correct, you can now try a 2-4-3-Zones, arrow down to "4 Net Connect", press SELECT. You should hear the modems sync up. Then, it will likely take a bit longer than what you are used to, but the ReplayTV should now be able to pull down all of the usual information, but running through FreeSCO

Set up the WiRNS software : TODO

  1. Download and install WiRNS
  2. someone should copy or link to relevant WiRNS setup instructions, noting that dialup machines can only use a subset of it's functions.


Set up SchedulesDirect : TODO

TODO