====== Setting up DVR storage on Netgear ReadyNAS ====== [[:DVR|Go back to all DVR topics]] \\ Netgear ReadyNAS models can be used for the HDHomeRun DVR storage software. It will require manual installation (described below), as it does not work with our normal Windows NAS installer. ===== Requirements ===== **Before you continue, make sure you have the following:** * [[DVR:subscription|HDHomeRun DVR subscription]] * One or more compatible HDHomeRun device: see **[[:dvr tuners|List of DVR compatible HDHomeRun devices]]** ===== Manual installation ===== - Use the ReadyNAS UI to create an SMB/SAMBA file share called "HDHomeRun", accessible to "everyone". Disable snapshots for that volume. - Enable SSH (Settings -> Services -> SSH) and logging in as root. - Log into your ReadyNAS via SSH and issue the following commands. This will create an apps directory for the hdhomerun_record software and download it to that location. mkdir -p /apps/hdhomerun_record/bin cd /apps/hdhomerun_record/bin wget https://download.silicondust.com/hdhomerun/hdhomerun_record_linux chmod +x hdhomerun_record_linux ./hdhomerun_record_linux start mv /tmp/hdhomerun_record_* hdhomerun_record chmod 755 hdhomerun_record chown root:root hdhomerun_record rm hdhomerun_record_linux - Create the HDHomeRun DVR configuration file. Update the RecordPath to the record path you configured in your NAS. cd /apps/hdhomerun_record cat <hdhomerun.conf RecordPath=/data/HDHomeRun EOF - Start the HDHomeRun DVR software to see if it's working /apps/hdhomerun_record/bin/hdhomerun_record start --conf /apps/hdhomerun_record/hdhomerun.conf If it's working properly you should find a log file in /data/HDHomeRun, and a process in the process list. - Stop the process before setting up the start script. /apps/hdhomerun_record/bin/hdhomerun_record stop - Copy and paste the following to create the service file to automatically start the DVR software: cat < /lib/systemd/system/hdhomerun.service [Unit] Description=HDHomeRun DVR Service After=network-up.service [Service] Type=oneshot ExecStart=/apps/hdhomerun_record/bin/hdhomerun_record start --conf /apps/hdhomerun_record/hdhomerun.conf ExecStop=/apps/hdhomerun_record/bin/hdhomerun_record stop --conf /apps/hdhomerun_record/hdhomerun.conf RemainAfterExit=true Nice=-1 [Install] WantedBy=multi-user.target EOF - Now enable and start the DVR software: systemctl enable hdhomerun systemctl start hdhomerun - Restart the NAS and verify that the DVR remains available by checking the HDHomeRun app. - If everything is working, you can go and disable SSH (Settings -> Services -> SSH). ===== Next step: Using DVR in the HDHomeRun app ===== Once you finish setting up a DVR storage device, see our guide link below for instructions on using the DVR features in the HDHomeRun app.\\ [[:app|Instructions on using the DVR features in the HDHomeRun app]] {{tag>NAS DVR}}