Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dvr:nas:wd:single [2019/08/29 00:30] neds [Install to NAS using a Windows PC] |
dvr:nas:wd:single [2022/11/09 03:31] neds |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Requirements ===== | ===== Requirements ===== | ||
+ | <WRAP indent> | ||
**Before you continue, make sure you have the following:** | **Before you continue, make sure you have the following:** | ||
Line 12: | Line 13: | ||
* One or more compatible HDHomeRun device: see **[[:dvr tuners|List of DVR compatible HDHomeRun devices]]** | * 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** | ||
- | ===== Install to NAS using a Windows PC ===== | + | </WRAP> |
+ | |||
+ | ===== Install to NAS using a PC ===== | ||
+ | <WRAP indent> | ||
<panel type="success" title="Step 1"><image shape="thumbnail">{{ :step_2_-_installer_1_-_run_installer.png?direct&600|}}</image> | <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):** | **Download and install the latest HDHomeRun Windows Setup software (not the Windows 10 store App):** | ||
- | [[http://download.silicondust.com/hdhomerun/hdhomerun_windows.exe|hdhomerun_windows.exe]] | + | * **[[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> | <WRAP info>Be sure to download a fresh copy of the Windows Setup app, especially if you need to update an existing install.</WRAP> | ||
Line 29: | Line 34: | ||
<panel type="success" title="Step 3"><image shape="thumbnail">{{ :step_4_-_nas_install_1_-_select_nas.png?direct&600|}}</image> | <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:** | **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. | The application will auto-detect possible NAS devices on your network using UPnP. Double click on your NAS device to continue. | ||
Line 48: | Line 55: | ||
The install program will auto-detect when SSH has been enabled and then ask you to enter your username and password. | The install program will auto-detect when SSH has been enabled and then ask you to enter your username and password. | ||
- | <WRAP alert> | ||
- | 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 NAS when not using the NAS install tool. | ||
- | </WRAP> | ||
</panel> | </panel> | ||
- | |||
<panel type="success" title="Step 6"><image shape="thumbnail">{{ :step_4_-_nas_install_5_-_all_done.png?direct&600|}}</image> | <panel type="success" title="Step 6"><image shape="thumbnail">{{ :step_4_-_nas_install_5_-_all_done.png?direct&600|}}</image> | ||
**Success:** | **Success:** | ||
The NAS Install program should download and start the HDHomeRun DVR software and report 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> | </panel> | ||
+ | |||
+ | </WRAP> | ||
===== Manual installation ===== | ===== Manual installation ===== | ||
+ | <WRAP indent> | ||
These instructions are provided for users who cannot run the Windows install tool. | 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 alert> | + | - <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 needed. | + | <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. For Windows 10 **[[https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/|click here]]**) 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 https://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? | ||
Line 84: | Line 133: | ||
* **Q:** How do I uninstall this? | * **Q:** How do I uninstall this? | ||
* **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> | ||
+ | |||
+ | </WRAP> | ||
===== Next step: Using DVR in the HDHomeRun app ===== | ===== 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.\\ | 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> | <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}} |