How to: Install HDHomeRun DVR on a Synology NAS

The following tutorial describes in simple steps the process to install the HDHomeRun DVR record engine on a Synology NAS.

NAS Requirements:
* x86 or ARM based CPU
* 256MB RAM minimum
* Must be running Linux
* SSH access

Step 1. Purchase a compatible HDHomeRun digital tuner. For terrestrial broadcast you need either a Connect/2 or Extend, and for satellite/cable you need the HDHomeRun Prime

Step 2. Purchase a HDHomeRun DVR subscription and activate it. You need to follow the instructions in the e-mail to activate your account.

NT. Account activation is only available to Kickstarter supporters and direct customers who have purchased the DVR software from SiliconDust.

Step 3. Download and install the latest HDHomeRun software

NT: You must be on 20150701atest1 or later.

Step 4. Login to the Synology DSM web manager and navigate to:

Control Panel > Terminal & SNMP > Check the ‘Enable SSH service’ option, click ‘Apply’

Step 5. Create a new shared folder to store recordings, navigate to:

Control Panel > Shared Folder > Click ‘Create’, name the folder ‘HDHomeRun’, provide a custom description if you wish, then click ‘Ok’


Step 6. Run HDHomeRun Setup, go the the DVR tab, and click the NAS Install button. The setup will search for all available NAS devices on your network. Double click the one you wish to use as the DVR record engine. When prompted for SSH credentials use ‘root’ as the user, with your admin password. The NAS should now download and install the record engine and report success.

Now we need to configure the NAS to start the record engine automatically when the system boots.

Step 7. Download putty. Open Putty and type the IP address of your NAS, select the ‘SSH’ radio button. Click ‘Open’. When prompted enter your SSH credentials as before (Step 6.)

Step 8. At the command prompt paste the following commands (right click to paste, press return after each command):

cd /usr/local/etc/rc.d


Step 9. Press the ‘i’ key, and paste the following text:

cd $DIR
$EXE $1

Step 10. Press the ‘ESC’ key and type:


Step 11. At the command prompt paste the following commands (right click to paste, press return after each command):

chmod +x

./ status

You should now see the DVR status as running.

That’s it. You can now schedule recordings on your NAS and access recordings via the VIEW app.

All credit for the auto-start script goes to @jumpmanjay on the SiliconDust forums. He has also created an auto-update script to automate the DVR software updates on his Synology, i haven’t tried it yet myself but you can check it out here if you wish.

This tutorial was based on the generic NAS instructions written by @Nickk over on the SiliconDust forums, adapted for Synology.


9 thoughts on “How to: Install HDHomeRun DVR on a Synology NAS

  1. Thanks for the above info but keep getting: “E212: Can’t open file for writing” at step 10 – even though the syntax is correct in step 9…

    Any suggestions?

    This is a new DS216+II running DSm 6.1.1-15101 Update 2 (2017/05/05)


    • For those of you who aren’t UNIX savvy, on steps #8 & 11 you need to precede the commands with ‘sudo’:
      sudo vi
      sudo chmod +x


  2. When I get to step 6, I get a message SSH Failed Unable to Install
    I am entering “root” in the username box and the password for the Synology,

    I can login to DSM ok, but not the way described in Step 6

    Any suggestions


  3. I could not log in as “root” with putty, had to do use my usual “admin” and password for the password to be accepted. Then did the following
    login as: admin
    admin@‘s password:
    admin@ds216j:~$ cd /usr/local/etc/rc.d
    admin@ds216j:/usr/local/etc/rc.d$ sudo vi
    admin@ds216j:/usr/local/etc/rc.d$ sudo chmod +x
    admin@ds216j:/usr/local/etc/rc.d$ ./ status
    HDHomeRun RECORD running
    admin@ds216j:/usr/local/etc/rc.d$ login as: admin

    (hope that works)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s