Both sides previous revisionPrevious revisionNext revision | Previous revision |
dvr:nas:wd:single [2019/06/16 04:41] – neds | dvr:nas:wd:single [2022/11/09 03:31] (current) – neds |
---|
====== Setting up DVR storage on a WD My Cloud NAS ====== | ====== Setting up DVR storage on a single-drive WD My Cloud NAS ====== |
How to install the DVR storage software on a single-disk Western Digital My Cloud NAS. | <lead>How to install the DVR storage software on a single-disk Western Digital My Cloud NAS.</lead> |
| |
<WRAP center round info 80%> | <WRAP center info 60%> |
Users of multi-disk My Cloud devices should install the appropriate package via the **[[:dvr:nas:wd:multiple|WD My Cloud multiple-disk install instructions]]**. | Users of multi-disk My Cloud devices should install the appropriate package via the **[[:dvr:nas:wd:multiple|WD My Cloud multiple-disk install instructions]]**. |
</WRAP> | </WRAP> |
| |
===== Requirements ===== | ===== Requirements ===== |
| <WRAP indent> |
| **Before you continue, make sure you have the following:** |
| |
* [[DVR:subscription|HDHomeRun DVR subscription ($35 per year with 2 free month trial)]] | * [[DVR:subscription|HDHomeRun DVR subscription]] |
* Compatible HDHomeRun device: SCRIBE [[:SCRIBE Duo|Duo]]/[[:SCRIBE Quatro|Quatro]], [[:SERVIO]], CONNECT [[:CONNECT Duo|Duo]]/[[:CONNECT Quatro|Quatro]], [[:EXTEND]], [[:CONNECT]](4th gen), [[:PRIME]], [[:PRIME 6]] | * One or more compatible HDHomeRun device: see **[[:dvr tuners|List of DVR compatible HDHomeRun devices]]** |
* **A non-"Home" WD My Cloud NAS** | * **A non-"Home" WD My Cloud NAS** |
| </WRAP> |
| |
===== Install to NAS using a Windows PC ===== | ===== Install to NAS using a PC ===== |
If you have a Windows PC, you can use our HDHomeRun setup application to install the DVR storage software to your NAS device. **See: [[DVR:NAS:Install from Windows PC]]** | <WRAP indent> |
| <panel type="success" title="Step 1"><image shape="thumbnail">{{ :step_2_-_installer_1_-_run_installer.png?direct&600|}}</image> |
| **Download and install the latest HDHomeRun Windows Setup software (not the Windows 10 store App):** |
| |
===== Manual installation ===== | * **[[http://download.silicondust.com/hdhomerun/hdhomerun_windows.exe|Normal version]]** |
| * **[[https://download.silicondust.com/hdhomerun/hdhomerun_windows_beta.exe|Beta version]]** |
| |
| <WRAP info>Be sure to download a fresh copy of the Windows Setup app, especially if you need to update an existing install.</WRAP> |
| </panel> |
| |
These instructions are provided for users who cannot run the Windows install tool. | <panel type="success" title="Step 2"><image shape="thumbnail">{{ :step_3_-_setup_app_3_-_nas_install_button.png?direct&600|}}</image> |
| **Launch the HDHomeRun NAS install program:** |
| |
| Run HDHomeRun Setup, go the the DVR tab, and click the NAS Install button. |
| </panel> |
| |
| <panel type="success" title="Step 3"><image shape="thumbnail">{{ :step_4_-_nas_install_1_-_select_nas.png?direct&600|}}</image> |
| **Select your NAS from detected devices:** |
| |
| <wrap tip>Western Digital now uses "sshd" instead of "root" for the ssh username.</wrap> |
| |
| The application will auto-detect possible NAS devices on your network using UPnP. Double click on your NAS device to continue. |
| </panel> |
| |
| <panel type="success" title="Step 4"><image shape="thumbnail">{{ :step_4_-_nas_install_4_-_create_hdhr_file_share.png?direct&600|}}</image> |
| **Create a share named "HDHomeRun":** |
| |
| If there is not already a share named HDHomeRun you will see the message "Please create a share named HDHomeRun". |
| |
| The install program will auto-detect when the share has been created and continue to the next step. |
| </panel> |
| |
| <panel type="success" title="Step 5"><image shape="thumbnail">{{ :step_4_-_nas_install_3_-_log-in_ssh.png?direct&600|}}</image> |
| **Enable SSH access and log in:** |
| |
| If SSH access is not enabled you will see the message "Please enable SSH access". |
| |
| The install program will auto-detect when SSH has been enabled and then ask you to enter your username and password. |
| |
| </panel> |
| <panel type="success" title="Step 6"><image shape="thumbnail">{{ :step_4_-_nas_install_5_-_all_done.png?direct&600|}}</image> |
| **Success:** |
| |
| The NAS Install program should download and start the HDHomeRun DVR software and report SUCCESS. |
| |
| Don't forget to turn SSH back off when you are done. |
| </panel> |
| |
<WRAP center round important 80%> | |
Users of multi-disk My Cloud devices should not install use these instructions. Please follow the instructions **[[DVR/WD|here]]** instead. | |
</WRAP> | </WRAP> |
| ===== Manual installation ===== |
| <WRAP indent> |
| |
| These instructions are provided for users who cannot run the Windows install tool. |
| |
- Go to the NAS webpage. This is usually available at http://wdmycloud/ or http://wdmycloud.local/. If you know the IP address of your My Cloud you can also enter that in your browser's address bar. Log in once you arrive at the page. | - Go to the NAS webpage. This is usually available at http://wdmycloud/ or http://wdmycloud.local/. If you know the IP address of your My Cloud you can also enter that in your browser's address bar. Log in once you arrive at the page. |
- Enable SSH support. Go to the Settings page, Network, and set SSH to ON. <WRAP center round alert 80%> | - <wrapper>Enable SSH support. Go to the Settings page, Network, and set SSH to ON. |
Security: Some NAS products use a default username and password for SSH. If this is the case for you, the NAS should be on a home network firewalled by a home router. It may also be a good idea to disable SSH on your WD My Cloud when not using the NAS install tool. | <WRAP tip>Western Digital now uses "sshd" instead of "root" for the ssh username.</WRAP></wrapper> |
</WRAP> | - <wrapper>Open a terminal window (on Mac OS, open Terminal.app. For Windows 10 **[[https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/|click here]]**) and type "ssh sshd@wdmycloud" or "ssh sshd@<ip address of My Cloud>", e.g. "ssh sshd@192.168.0.102" |
- <wrapper>Open a terminal window (on Mac OS, open Terminal.app) and type "ssh root@wdmycloud" or "ssh root@<ip address of My Cloud>", e.g. "ssh root@192.168.0.102" | |
| |
Log in with the same password you use to access the web interface.</wrapper> | Log in with the same password you use to access the web interface.</wrapper> |
- Download the HDHomeRun DVR software package. Run the following command:<code>wget -O /tmp/hdhomerun_dvr.apkg http://download.silicondust.com/hdhomerun/hdhomerun_record_wdc_WDMyCloud.apkg</code> | - Download the HDHomeRun DVR software package by running one of the following (just choose one): <WRAP> |
| |
| ^ Version ^ Command ^ |
| | OS 5 - Stable | <code>wget -O /tmp/hdhomerun_dvr.apkg https://download.silicondust.com/hdhomerun/hdhomerun_record_wdc_WDMyCloud_os5.apkg</code> | |
| | OS 5 - Beta | <code>wget -O /tmp/hdhomerun_dvr.apkg https://download.silicondust.com/hdhomerun/hdhomerun_record_wdc_WDMyCloud_os5_beta.apkg</code> | |
| </WRAP> |
- Install the HDHomeRun DVR software package. Run the following command: <code>upload_apkg -d -s 1 -p ../../../../../tmp/hdhomerun_dvr.apkg</code> | - Install the HDHomeRun DVR software package. Run the following command: <code>upload_apkg -d -s 1 -p ../../../../../tmp/hdhomerun_dvr.apkg</code> |
- Start the DVR. Run the following command: <code>/mnt/HD/HD_a2/Nas_Prog/hdhomerun_dvr/start.sh</code> | - Start the DVR. Run the following command: <code>/mnt/HD/HD_a2/Nas_Prog/hdhomerun_dvr/start.sh</code> |
| - Disable SSH support. Go to the Settings page, Network, and set SSH to OFF. |
| |
| </WRAP> |
| |
| ===== Older WD NAS models ===== |
| <WRAP indent> |
| |
| Manual installation for older WD NAS models that don't support install packages: |
| |
| - Go to the NAS webpage. This is usually available at http://wdmycloud/ or http://wdmycloud.local/. If you know the IP address of your My Cloud you can also enter that in your browser's address bar. Log in once you arrive at the page. |
| - <wrapper>Enable SSH support. Go to the Settings page, Network, and set SSH to ON. |
| <WRAP tip>Western Digital now uses "sshd" instead of "root" for the ssh username.</WRAP></wrapper> |
| - <wrapper>Open a terminal window (on Mac OS, open Terminal.app. For Windows 10 **[[https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/|click here]]**) and type "ssh sshd@wdmycloud" or "ssh sshd@<ip address of My Cloud>", e.g. "ssh sshd@192.168.0.102" |
| |
| Log in with the same password you use to access the web interface.</wrapper> |
| - <wrapper>Copy and paste the following commands one by one, pressing return/enter after each line: |
| |
| <code>cd /shares/HDHomeRun |
| |
| wget -O hdhomerun_record http://download.silicondust.com/hdhomerun/hdhomerun_record_linux |
| |
| dd if=hdhomerun_record bs=4096 skip=1 | tar -xz hdhomerun_record_arm |
| |
| sudo chmod +x hdhomerun_record_arm |
| |
| echo -e \#\!/bin/sh\\n/shares/HDHomeRun/hdhomerun_record_arm \$1 --conf /shares/HDHomeRun/hdhomerun.conf | sudo tee /etc/init.d/hdhomerun_record |
| |
| sudo chmod +x /etc/init.d/hdhomerun_record |
| |
| sudo ln -sf /etc/init.d/hdhomerun_record /etc/rc2.d/S99HDHomeRun |
| |
| echo RecordPath=/shares/HDHomeRun/ | sudo tee /shares/HDHomeRun/hdhomerun.conf |
| |
| sudo /etc/init.d/hdhomerun_record start</code></wrapper> |
| - Disable SSH support. Go to the Settings page, Network, and set SSH to OFF. |
| |
| |
| </WRAP> |
=====FAQ===== | =====FAQ===== |
| <WRAP indent> |
| |
* **Q:** If the NAS loses power or reboots will the Record Engine autostart? | * **Q:** If the NAS loses power or reboots will the Record Engine autostart? |
* **A:** SSH in (see step 3 above) and run: <code>del_apkg hdhomerun_dvr</code> | * **A:** SSH in (see step 3 above) and run: <code>del_apkg hdhomerun_dvr</code> |
| |
===== Using DVR ===== | </WRAP> |
Now that everything is set up, see our page **[[:using_the_app]]** for instructions on the DVR features. | |
| ===== Next step: Using DVR in the HDHomeRun app ===== |
| <WRAP indent> |
| |
| 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.\\ |
| <btn type="success" size="lg" icon="fa fa-book">[[:app|Instructions on using the DVR features in the HDHomeRun app]]</btn> |
| |
| </WRAP> |
| |
{{tag>NAS_DVR}} | {{tag>NAS DVR}} |