ReplayTV-FREESCO
With help from the experts, I've created a detailed set of instructions (expanding on the info HERE ), learning as I go, for getting a modem-based ReplayTV (1000, 2000, 3000, Showstopper) to get guide listings without requiring the DNNA-based Replay service (originally created in preparation for the deactivation originally scheduled for 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.
If you just want brief and probably less correct instructions, go HERE
Contents
Overview
In the ReplayTV 1000, 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). At some point, the service, currently run by DNNA, may be turned off (originally scheduled for 7/31/2011, but received an indefinite stay-of-execution).
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, recommended 28.8K, but 14.4 has also been confirmed to work
- A phone cord long enough to connect the Replay to the PC modem
- (maybe) A device (such as a chat cord or the magicJack hardware) to provide power for the phone line (chatcord / magicJack requires a phone line splitter and an open USB port). If you happen to have a phone line emulator lying around, you could use this too, but these instructions assume you don't...
- 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.
The following table lists modems that have been confirmed to work:
Modem | Type | Chatcord required? |
---|---|---|
Robotics v. Everything | External | No |
Creative Modem Blaster V.92 model DE5621 | External | No |
Rockwell/Phoebe V1456VQE-R1 | External | No |
Conexant | Internal, laptop | Yes |
Prometheus ProModem 14.4 | External | No |
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.
- Check your modem access (how do you access it, and does it work?)
- Make sure your modem is compatible with your Replay (and whether you'll need a chatcord)
- Set up the FREESCO virtual machine (converts your dial-up modem into a ethernet connection)
- Set up SchedulesDirect (which WiRNS uses to get guide data)
- Set up the WiRNS software (using the data from FREESCO, replaces the functionality of the servers your Replay used to dial)
- Some "finishing touches", to save wear and tear on your modem (and your ears)
Before You Begin
A number of these instructions involve forcing the Replay to dial-out. When this dial out is happening, viewing and recording shows or live TV will not be possible (scheduled recordings will not occur, for instance), so you should plan accordingly.
Check your modem access
- 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)
- On your PC, open a connection to the modem with HyperTERM. (If your version of windows doesn't have HyperTERM, you can download a recent version of PUTTY, start PuTTY.exe, choose the "Serial" radiobutton, and type the correct COM port in the Hostname entry field -- if you're not sure, check step #5 below for how to find this)
- In Windows XP, you can find HyperTerm through Start -> All Programs -> Accessories -> Communications
- When it prompts you for a name for the New Connection, hit "Cancel"
- Type "AT" followed by <ENTER>. The modem should respond "OK".
- 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
- 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
- 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
- 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"
- Determine which COM port your modem is on
- 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
- 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
- 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)
- 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"
- On the Replay, turn off dial-tone detection
- 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."
- 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."
- 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.
- Have the Replay initiate a network connection
- From just about any screen on your Replay, press 2-4-3-Zones on the remote control
- This brings up a menu -- arrow down to option 4 ("Net Connect"), and press SELECT
- When the Replay says "Dialing", type "ATA" <ENTER> on the PC Terminal
- You should hear the high pitched "Answer Tone" (from when you tested the modem), followed by the Replay trying to sync up.
- You should get a "CONNECT" message on HyperTerm/PuTTY, followed by short periodic bursts of data (about a third of a line long, with a lot of brackets). On the Replay, the message should change from "Dialing..." to "Connecting...". That means your PC modem is compatible. Once you receive this message, you can disconnect in HyperTerm and STOP (exit) on Replay.
- If you don't get a CONNECT, troubleshoot the problem before spending any time moving forward.
- 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.
- A chatcord (or magicJack hardware only) is another alternative, and will provide a permanent solution. Chatcord / magicJack requires a phone line splitter and an open USB port
- To install the chatcord / magicJack, connect the "main" / single side of the phone line splitter to the "line" modem port, then plug the chatcord/magicJack and the Replay phone cords into the "split" / double side of the phone line splitter. Finally, plug in the USB into a free USB port on the PC. The other plugs on the device should be left unplugged
Set up the FREESCO virtual machine
- Download and install VMware Player http://www.vmware.com/products/player/
- Note that you will have to register in order to download the player
- If you get a lot of errors during installation about missing hardware on your, install an earlier version of VMPlayer instead. Version 2.5 has been shown to work in this case
- Download and unzip the FREESCO Virt Machine: http://xmltv.org/alpha/FREESCO_vmware.zip
- In more recent versions of Windows (including XP), you can "unzip" by right-clicking on the folder and choosing "Extract All..."
- Remember where you put the unzip'd / extracted folder
- If you want to learn a little more about FREESCO (including a lot of stuff that's already been taken care of for you, and also the instructions for what to do if you're using a phone line simulator), you can find it at http://www.livinitnaturalstate.com/rtv/FreescoRTV/README.TXT
- Open the FREESCO config file in VMWare Player
- Start VMware Player
- Under "File", choose "Open a Virtual Machine...",
- Navigate into your extracted / unzipped folder from above
- Choose "FREESCO.vmx" and click "Open"
- Change the Network Adaptor from NAT to Bridged
- Click "Edit Virtual Machine Settings"
- On the "Hardware" tab, click on "Network Adaptor"
- Change the radio button in the Network Connection section to the right to "Bridged". You can leave the checkbox unchecked
- Click "OK"
- If your modem is NOT on COM1, then click "Edit Virtual Machine Settings"
- Click "Serial Port", then choose the actual COM from the drop-down list under "Use physical serial port:"
- Click "OK"
- If you don't have an "Edit Virtual Machine Settings" option (which may be the case if you're using an earlier version of VMPlayer), and your modem is NOT on COM1:
- Close VMPlayer
- Navigate to the FREESCO.vmx file in your file system
- Right-click on "FREESCO.vmx", scroll down the pop-up menu and choose "Open with..."
- Choose Notepad (if it's listed) or choose "Choose Program..." and select Notepad from the list
- Once the FREESCO.vmx file is open, scroll to the section that has "/# First serial port, physical COM1 is available"
- Change the COM port shown in "serial0.fileName = "COM1" " to match your COM port
- Save and close notepad
- Restart VMPlayer
- Make sure your modem is turned on (if there's an on/off switch)
- Click "Play virtual machine"
- Keep track of the IP addresses when it starts (the virtual machine "boots") -- there will be one for "DHCPOFFER" and one for "default route"
- The VMWare player will capture your mouse and keyboard when you click in it or press <CTRL><G>. <CTRL><ALT> will release it.
- You should hear the modem attempt to dial every 30 seconds or so
- Click in the FREESCO process and log in as root, password root
- Type "killall mgetty" <ENTER>
- This TURNS OFF the modem trying to dial every 30 seconds
- During "normal" ongoing operation (not when you're setting things up), you do not want to type this command. We're only doing it here to save wear & tear on the modem, and on your ears
- If you ever type "killall mgetty", and realize you need the modem running again, typing "reboot" <ENTER> is an easy way to start everything up again
- Type "setup" <ENTER> to enter setup mode.
- <ENTER> to accept the default color mode.
- <a> <ENTER> to enter advanced settings
- <62> <ENTER> to enter "Local networks"
- <628> <ENTER> to get to "Set DNS via DHCP"
- <n> <ENTER> to set it to "n"
- <x> <ENTER> to return to the previous screen (advanced menu)
- <71> <ENTER> to get to modem settings
- <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
- <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. 200, 201, or 202 are fine choices. You want to choose a dial-in IP address that is NOT used by any other device on your internal network
- <x> <ENTER> to return to the previous screen (advanced menu)
- <41> <ENTER> to enter "DNS Server"
- <n> <ENTER> to disable DNS caching
- Primary DNS Address will EVENTUALLY be set to the IP Address of your WiRNS machine (below). If you are following these instructions when the main ReplayTV servers are available, 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. As an FYI, the IP address in this field tells FREESCO where to redirect the modem data -- it'll eventually be to FREESCO, but if you set it to the IP address of your router, your router will automatically send the to where the Replay thinks it should go
- leave secondary DNS address blank
- <x> <ENTER> to exit Advanced settings
- < s> <ENTER> to save current config and exit
- Type "reboot" to reboot the FREESCO machine
- You should hear your modem try and answer every minute or so. If you don't, your modem may not be compatible
- PRIOR TO SERVICE BEING TURNED OFF: 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, the ReplayTV should now be able to pull down all of the usual information, but running through FREESCO
- After confirmation of above, you should change your Primary DNS (as described earlier in this section) to match the IP address of your Windows PC, where you will be running WiRNS
Set up SchedulesDirect
- Go to http://www.schedulesdirect.org
- Sign up for an account (there's a free 7 day trial -- it's highly recommended that you get this working first, before spending money on it)
- Add the channel lineup you want to use in your Replay to your account
- In the SchedulesDirect (aka "SD"), you can can customize which channels the Replay will receive from the channel lineup
- It's recommended that you perform this channel reduction; less channels means less data that has to be downloaded
- Keep track of your username and password (you'll need it for WiRNS next)
Set up the WiRNS software : MOSTLY DONE
This set of instructions got me to the point where I can download channel and guide data into my ShowStopper, see what shows I've recorded and have scheduled to record, AND set up recording request on WiRNS which will appear in the ShowStopper after the next connection. These instructions do not cover how to set a custom local phone number; if this causes problems after the main ReplayTV service is turned off, these instructions can be updated appropriately.
Also, these instructions assumed WiRNS 2.x. The latest version is WiRNS 3.x. It's recommended that you use the latest version of WiRNS, but I'm not sure what the differences are (as I haven't installed it myself). If you have, please update this Wiki appropriately.
- Download WiRNS
- Go to http://www.wirns.com
- Click on the "Installation" menu on the left
- Scroll down and click on "Alternate WiRNS Installer"
- When prompted, save onto the PC where you plan to install WiRNS, in a directory you can find later
- Begin the installation process. In addition to the high-level instructions on the WiRNS Installation page, a very helpful step-by-step document on google docs (I'm not sure who wrote it, but it's quite helpful) can be found here:
- Our dial-up machines can only use a subset of the WiRNS functions (for instance, we can't upload our recorded shows onto our PCs). At some point, those will get documented
- Also, these detailed instructions are targeted to non-dial-up users. Much of the work is still relevant, so is referenced here. At some point, when everything is working smoothly, I may put together a clean PDF with step-by-step for dial-up, including screenshots. For now, there will be some referring back & forth between the Google Doc and this Wiki page
- Use the Alternate Installer, as described on the WiRNS Installation page
- Follow the instructions in the Google Doc UNTIL step #25 (which is the same as the "Configure your ReplayTV to work with WiRNS" step on the WiRNS installation screen). WiRNS doesn't know what Replays you have, since they aren't on the network
- NEW/DIFFERENT Step #26: Because the our Replays dial in, you probably won't see anything here other than the "WiRNS" Type in the upper portion of the window. So, to enter a new Replay, use the lower half of the new window:
- Give it a name (nothing fancy, and doesn't really mean anything)
- Enter the serial number (you can get this from your Replay by pressing 4-1-1-Zones on your remote control from just about any screen - it's 18 characters, and may include a "-")
- Choose the type (the dial-ins are at the bottom of the list -- if you're not sure, you can look at the back of your ReplayTV unit for "model number")
- Click "Update". After a bright red confirmation screen, the screen you get next will be tailored for features that your unit can handle (so isn't as complex as the screenshot in the PDF file)
- Next to "Lineup 1 (Offset 0):", choose the lineup you created in SchedulesDirect (lines up with step #27)
- Click Update (step #28)
- SKIP steps #31 and #32 for now. Because your Replay isn't on the network, you won't be able to get the guide for it (yet)
- If you do end up in Channel Guide or in Current Channel Guide, and it "hangs" while loading, you will need to Restart WiRNS
- Do steps #33 & #34. It's recommended that you use north-america.pool.ntp.org
Steps #35 and on are targeted to non-dial-up users. There are some helpful screen captures that will referenced later here, but the remaining instructions are in this list
- Right click on the WiRNS system tray icon and choose "Refresh all Components". This will update WiRNS to the very latest version
- Once it's finished, you may need to restart "WiRNSMon". You can do this through the Windows Start Menu; navigate to WiRNS; click on WiRNSMon
- Right click on the WiRNS system tray icon if it's green; choose "Stop"; wait until it turns red
- Once it's red, then go to your WiRNS installation directory (default is C:\WiRNS), go into the "PlugIns" folder, and rename "NoPhoneNumbers.dll" to "NoPhoneNumbers.dll.DISABLED" AND rename "NoReplayZones.dll" to "NoReplayZones.dll.DISABLED"
- Right click on the WiRNS system tray icon (which should be red); choose "Start"; wait until it turns green
- Right click on the WiRNS system tray icon (which should be green); choose "Live Logfile Viewer" (you can see samples of what might appear here in step #43 of the Google Doc)
At this point, we're just about ready for the "big step"! First, though, it's HIGHLY recommended that you write down what your current Replay setup is. On your Replay, go to Menu -> Setup -> Change Input & Dialing Settings:
- Choose Telephone : Note the settings on each screen (don't make changes yet!)
- Choose Line 1 : Note the settings on each screen
- Choose Line 2 : Note the settings on each screen
- Choose ANT/CATV : Note the settings on each screen, PARTICULARLY any IR Blaster codes that might be set up
Once you have your settings noted, we move on to getting the end-to-end solution working:
- Reboot your Replay (this will clear out any cached IP addresses)
- This will clear out any cached IP addresses
- Easiest way is to turn off your Replay, wait for 15 seconds, unplug the Replay, wait for 30 seconds, plug the Replay back in and wait for the "Please wait..." screen to finish and turn the Replay off again
- Turn on the the Replay
- On your Replay, go to Menu -> Setup -> Change Input & Dialing Settings -> Change Telephone
- Navigate through the screens; when you get to the ZIP CODE screen, change the zip code to another zip code in your timezone that you haven't used before
- Press "NEXT" to get to the dialing prefix screen. STAY HERE FOR NOW
The "NEXT BIG STEP":
- Start the Virtual Machine running FREESCO
- At this point, "DNS Server" setting (41) needs to be the WiRNS PC IP address
- You should here the modem try to pick up every minute or so
- Go back to the Replay, click the "Continue" button to take you to the next screen
- It should tell you that it's going to dial the network to get local phone numbers and tv channels, and will start the dial
- You should hear the modem negotiating the connection. Don't worry if it takes what seems like an extra high-pitch cycle
- On the WiRNS PC, in the live log viewer, you should start seeing status messages, including at least one for [NTP] Proxying request to... (your time provider, set up up earlier). The last status message will tell you that it's "Proxying Logout"
- Once it's done, your PC modem will start its high-pitched squealing cycle again
- Return to the Replay, and continue through the navigation screens as you would before. Refer to your previous setting notes to help you navigate this quickly - particularly the IR Blaster codes, which don't always stay "set". ONE IMPORTANT CHANGE: When you are presented with a screen asking you to choose your Cable Provider / Channel Lineup, scroll until you find the provider "Wirns: <Schedules Direct Channel Lineup Name Here>", and select that one
- Once you have finished this setup, the Replay will dial out again, to get the detailed guide data.
- Again, you'll here the modem negotiatng the connection, and it may take a cycle or two
- The Replay will show you its download status (for example, downloading guide data, 7%).
- The WiRNS Live Logfile viewer will show you what it's working on. It's an excellent sign when it says "hijacking headend request", then says "Serving guide data for... <date> <IP address>", then says "Loaded ### shows for ## channels in #.### second(s)".
- Once the Replay is done, it will disconnect. You can shut down the VMPlayer at this point
- Go to your ReplayTV -- check the guide -- do you see data? If you had recordings already set up, are they still there?
- if yes, congrats!
- if no, the good folks at planetreplay (WiRNS forum) may be able to help.
- Go to your PC -- Right click on the WiRNS system tray icon and choose to Update the ReplayGuide and update the TODO list
- You should now be able to use WiRNS to view your channel guide, a list of your upcoming recordings, and a list of your existing recordings
- Note that "Recording Channels" option in the Channel Guide drop-down just shows you the channels you're recording things on, provided you're looking at a time period during which recordings are scheduled
If all is good, you'll want to set this up for ongoing unattended operation (or, alternately, you can manually start your VM Player each day and force an update using 243-Zones). See "Finishing Touches" below.
Finishing touches : TODO
- change the "net connect" time in WiRNS (wherever that field lives) to a time that you won't be using the Replay
- change the parameters in the mgetty script (or wherever they live) so that the modem is only trying to answer for a short time period
- change the init string in FREESCO so that the modem stays quiet. ATM0.
- MAYBE (if someone is clever) how to get the PC in & out of standby automatically, to save electricity