Difference between revisions of "1-bay NAS Dock"

From FriendlyELEC WiKi
Jump to: navigation, search
(Software Installation)
(Download Debian for NAS Image)
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
==Introduction==
 
==Introduction==
 
[[File:1-bay NAS Dock.jpg|thumb|1-bay NAS Dock]]
 
[[File:1-bay NAS Dock.jpg|thumb|1-bay NAS Dock]]
* The 1-bay NAS Dock is an expansion board which can be used to connect an external hard disk to a FriendlyElec’s NanoPi NEO. Together with FriendlyElec's customized aluminum case and NanoPi NEO you can quickly assemble a storage server.  
+
* The 1-bay NAS Dock is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO. Together with FriendlyElec's customized aluminum case and NanoPi NEO you can quickly assemble a storage server.  
 
* It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO via USB interface.
 
* It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO via USB interface.
 
* It works with a 2.5" SATA hard disk.
 
* It works with a 2.5" SATA hard disk.
* It uses TI’s DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
+
* It uses TI's DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
 
* Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.
 
* Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.
  
Line 38: Line 38:
 
The software system for the 1-bay NAS Dock is based on Debian8 Jessie but has OpenMediaVault and its plugins.
 
The software system for the 1-bay NAS Dock is based on Debian8 Jessie but has OpenMediaVault and its plugins.
 
OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.
 
OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.
 
 
 
==Software Installation==
 
===Make a TF Card with OpenMediaVault===
 
====Download Image====
 
Visit this [https://www.mediafire.com/folder/n5o8ihvqhnf6s/Nanopi-NEO download link] to download the firmware files(under the "officail-ROMs" directory) and flash utility(under the "tools" directory):<br />
 
 
::{| class="wikitable"
 
|-
 
|colspan=2|Image Files:
 
|-
 
|Debian-for-nas-YYYYMMDD.img.zip      || Debian with OpenMediaVault                 
 
|-
 
|colspan=2|Flash Utility: 
 
|-
 
|win32diskimager.rar || Windows utility. Under Linux users can use "dd"
 
|-
 
|}
 
 
====Make a Bootable TF Card====
 
Extract the "Debian-for-nas-YYYYMMDD.img.zip" and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.<br />
 
<br />
 
Insert this card into your NanoPi NEO and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on the NEO is blinking this indicates your NanoPi NEO has successfully booted.<br />
 
 
===Start OpenMediaVault===
 
 
<syntaxhighlight lang="bash">
 
test
 
</syntaxhighlight>
 
 
 
 
  
  
Line 81: Line 48:
 
|Master Device||Image File||Download Link
 
|Master Device||Image File||Download Link
 
|-
 
|-
|NanoPi NEO|| nanopi-neo_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip||[http://pan.baidu.com/s/1boQFxN5 Download Link]
+
|NanoPi NEO||H3/NanoPi-NEO/official-ROMs/accessory-ROMs/nanopi-neo_sd_debian-nas-jessie_4.14_armhf_YYYYMMDD.img.zip||[http://dl.friendlyarm.com/nanopineo Download Link]
 
|-
 
|-
|NanoPi NEO2|| nanopi-neo2_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1eRDbeG6 Download Link]      
+
|NanoPi NEO2||H5/NanoPi-NEO2/official-ROMs/accessory-ROMs/nanopi-neo2_sd_debian-nas-jessie_4.14_arm64_YYYYMMDD.img.zip||[http://dl.friendlyarm.com/nanopineo2 Download Link]
 
|-
 
|-
 
|colspan=3| Flash Utility:   
 
|colspan=3| Flash Utility:   
Line 93: Line 60:
  
 
====Make TF Card====
 
====Make TF Card====
Extract the "Debian-for-nas-YYYYMMDD.img.zip" and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.<br />
+
Extract an image file and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.<br />
 
<br />
 
<br />
 
Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.<br />
 
Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.<br />
  
== NAS的配置 ==
+
==Configure NAS==
 
+
Visit the router your NEO/NEO2 is connected to and check your NEO/NEO2's IP address (in our case the Hostname was "FriendlyELEC"). Open a browser and type this IP address in the browser's address bar. The default user name and password for OpenMediaVault are:<br />
访问你的路由器管理页面,在连接主机列表中找到 NanoPi NEO 的IP地址 (Hostname显示为FriendlyELEC),然后在电脑游览器上,直接访问该IP地址即可进入 OpenMediaVault 界面,OpenMediaVault默认的帐号为:<br />
+
User Name: admin<br />
用户名:admin<br />
+
Password: openmediavault<br >
密码:openmediavault<br >
+
 
<br />
 
<br />
OpenMediaVault登录后的首页如下图所示:<br />
+
Here is what OpenMediaVault looks like after a user logs in:<br />
 
[[File:Omv version411.jpg|frameless|824px|OpenMediaVault]]
 
[[File:Omv version411.jpg|frameless|824px|OpenMediaVault]]
  
 
==Resources==
 
==Resources==
*[Schematic]([http://wiki.friendlyarm.com/wiki/index.php/File:SCHEMATIC1_1-bay_NAS_Dock.pdf Matrix - 1-bay NAS Dock.pdf])
+
* [Schematic]([http://wiki.friendlyarm.com/wiki/index.php/File:SCHEMATIC1_1-bay_NAS_Dock.pdf Matrix - 1-bay NAS Dock.pdf])
 +
* OpenMediaVault's home site: http://www.openmediavault.org/。
  
 
==Update Log==
 
==Update Log==
===April-01-2016===
+
===April-01-2017===
 
* Released English Version
 
* Released English Version
 +
 +
===April-28-2017===
 +
* Updated sections 5 and 6 by adding details for installing Debian and adding support for NEO2
 +
 +
===May-05-2017===
 +
* Updated section 5.1.2 by correcting a typo

Latest revision as of 02:25, 24 April 2020

查看中文

1 Introduction

1-bay NAS Dock
  • The 1-bay NAS Dock is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO. Together with FriendlyElec's customized aluminum case and NanoPi NEO you can quickly assemble a storage server.
  • It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO via USB interface.
  • It works with a 2.5" SATA hard disk.
  • It uses TI's DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
  • Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.

2 Hardware Spec

  • High-speed USB2SATA IC JM20329
  • Supply voltage:12V
  • Onboard switch
  • Dual-color status LED
  • USB Host
  • Customized aluminum case
  • Ready-to-go software system
  • PCB dimension(mm): 151 x 89.7

NAS Dock-01.PCB

3 Hardware Setup

Essentials You Need for a Complete NAS Solution:
(1) 1-bay NAS Dock;
(2) Screw set;
(3) 2.5" HDD hard disk
(4) NanoPi NEO with heat sink
List
Steps to Assemble a NAS Device:
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws
Step 1 Step 2
(2) Connect a NanoPi NEO with pin-headers to the NAS Dock
Step 3
(3) Connect a 12V power to the NAS Dock and all done
Step 4

4 Introduction to 1-bay NAS Dock's Software

The software system for the 1-bay NAS Dock is based on Debian8 Jessie but has OpenMediaVault and its plugins. OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.


5 Software Installation

5.1 Make a Bootable TF Card

5.1.1 Download Debian for NAS Image

Download a proper image file for your Dock based on your master device(NEO/NEO2). The image file is under the "officail-ROMs" directory and the utility is under the "tools" directory:

Master Device Image File Download Link
NanoPi NEO H3/NanoPi-NEO/official-ROMs/accessory-ROMs/nanopi-neo_sd_debian-nas-jessie_4.14_armhf_YYYYMMDD.img.zip Download Link
NanoPi NEO2 H5/NanoPi-NEO2/official-ROMs/accessory-ROMs/nanopi-neo2_sd_debian-nas-jessie_4.14_arm64_YYYYMMDD.img.zip Download Link
Flash Utility:
win32diskimager.rar Windows utility. Under Linux users can use "dd"

This system is based on Debian but has OpenMediaVault .

5.1.2 Make TF Card

Extract an image file and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.

Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.

6 Configure NAS

Visit the router your NEO/NEO2 is connected to and check your NEO/NEO2's IP address (in our case the Hostname was "FriendlyELEC"). Open a browser and type this IP address in the browser's address bar. The default user name and password for OpenMediaVault are:
User Name: admin
Password: openmediavault

Here is what OpenMediaVault looks like after a user logs in:
OpenMediaVault

7 Resources

8 Update Log

8.1 April-01-2017

  • Released English Version

8.2 April-28-2017

  • Updated sections 5 and 6 by adding details for installing Debian and adding support for NEO2

8.3 May-05-2017

  • Updated section 5.1.2 by correcting a typo