NAS Setup - Manual Install (Advanced)

Downloads & Instructions
nickk
Silicondust
Posts: 13989
Joined: Tue Jan 13, 2004 9:39 am

NAS Setup - Manual Install (Advanced)

Postby nickk » Fri Jun 26, 2015 3:15 pm

The following instructions are for manual install and configuration of the HDHomeRun RECORD engine on a NAS. These instructions are intended for experienced users who want to experiment with a NAS not supported by the HDHomeRun NAS Install program.

HDHomeRun NAS Install program (recommended): https://www.silicondust.com/forum/viewt ... 93&t=20595

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

1) Go to the NAS webpage
Windows: Open Windows Explorer, select Network, then double clicking on the icon for your NAS device.

2) Create a Share named "HDHomeRun" (exact capitalization)
MyCloud: Go to the Shares page and create a new share named "HDHomeRun" (exact capitalization).
Synology NAS: Launch Disk Station Manager (DSM), go to Control Panel > Shared Folder, Create a new share named “HDHomeRun” (exact capitalization).

3) Enable SSH support
MyCloud: Go to the Settings page, Network, and set SSH to ON. On multi-drive models you will be prompted to select and enter a password for SSH
Synology NAS: Control Panel > Terminal & SNMP > check the “Enable SSH service” option, then click Apply

Security: Some NAS products use a default username and password for SSH. The NAS should be on a home network firewalled by a home router.

4) Download the latest HDHomeRun RECORD for NAS release
http://download.silicondust.com/hdhomer ... cord_linux
Right click on the link and choose the option to save or download.
Copy to the HDHomeRun share and rename "hdhomerun_record".

5) SSH into the NAS box
Windows: PuTTY can be used to SSH into the NAS box.
Mac/Linux: Open a terminal window and type "ssh <username>@<ip address of NAS>"
See the documentation for your NAS for the SSH username and password.
MyCloud (single drive): Username = root, password = welc0me
MyCloud (multi-drive): Username = sshd, password is set when enabling ssh.

6) Create configuration file hdhomerun.conf
Locate the local/Linux path to the share, then create a configuration file named hdhomerun.conf in the HDHomeRun share.
Add the line:
RecordPath=<Linux path to HDHomeRun share>

7) Start the HDHomeRun RECORD engine:
cd /<path to shares>/HDHomeRun
./hdhomerun_record start
./hdhomerun_record status

To start from a different directory:
/<path to shares>/HDHomeRun/hdhomerun_record start --conf /<path to shares>/HDHomeRun/hdhomerun.conf
/<path to shares>/HDHomeRun/hdhomerun_record status

Error "Text file busy" - Samba needs some time to close the file after writing it to disk - wait 15 seconds then run the command again.
Error "Permission denied" - run "chmod +x hdhomerun_record" to make the file executable.

8) Check the log file
The progress release builds of the record engine generate detailed log files by default. The log files are placed in the HDHomeRun directory and are named YYYYMMDD.log (UTC time). Note that all timestamps in the log files are in UTC time, not local time.

No log file - this usually means the record engine was not able to find the config file, was not able to find RecordPath in the config file, or the path specified doesn't exist.

Success:
Please post a thread and include your hints and notes. We are looking to improve coverage for automatically setting up NAS hardware - with your help we may be able to help everyone who has your model of NAS.

Getting help:
IRC channel: http://webchat.freenode.net/?channels=hdhomerun
Forum: Create a new thread - include the DeviceID of your HDHomeRun and a description of the problem/symptom.

nickk
Silicondust
Posts: 13989
Joined: Tue Jan 13, 2004 9:39 am

Re: NAS Setup - Manual Install (Advanced)

Postby nickk » Wed Jul 01, 2015 3:47 pm

Updated


Return to “Downloads & Instructions”

Who is online

Users browsing this forum: Google [Bot] and 0 guests