Difference between revisions of "1-bay NAS Dock v1.2 for NanoPi NEO/NEO2"

From FriendlyELEC WiKi
Jump to: navigation, search
(硬件组装步骤)
Line 3: Line 3:
 
==Introduction==
 
==Introduction==
 
[[File:1-bay NAS Dock v1.2.jpg|thumb|1-bay NAS Dock v1.2 for NanoPi NEO/NEO2]]
 
[[File:1-bay NAS Dock v1.2.jpg|thumb|1-bay NAS Dock v1.2 for NanoPi NEO/NEO2]]
* The 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2 is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO/Air/NEO2. Together with FriendlyElec's customized aluminum case and NanoPi NEO/Air/NEO2 you can quickly assemble a storage server.
+
* The 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2 is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO/NEO2. Together with FriendlyElec's customized aluminum case and NanoPi NEO/NEO2 you can quickly assemble a storage server.
* It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO/Air/NEO2 via USB interface.
+
* It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO/NEO2 via USB interface.
 
* It works with a 2.5" SATA hard disk or SSD.
 
* It works with a 2.5" SATA hard disk or SSD.
 
* 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.
Line 28: Line 28:
 
(2) Screw set;<br>
 
(2) Screw set;<br>
 
(3) 2.5" HDD hard disk;<br>
 
(3) 2.5" HDD hard disk;<br>
(4) NanoPi NEO/Air/NEO2 with heat sink<br>
+
(4) NanoPi NEO/NEO2 with heat sink<br>
 
[[File:step0-v1.2.png | frameless|500px| List]]<br>
 
[[File:step0-v1.2.png | frameless|500px| List]]<br>
 
Steps to Assemble a NAS Device:<br>
 
Steps to Assemble a NAS Device:<br>
 
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws<br>
 
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws<br>
 
[[File:step1-v1.2.png | frameless|500px| Step (1)]] [[File:step2-v1.2.png | frameless|500px| Step (2)]] <br>
 
[[File:step1-v1.2.png | frameless|500px| Step (1)]] [[File:step2-v1.2.png | frameless|500px| Step (2)]] <br>
(2) Connect a NanoPi NEO/Air/NEO2 with pin-headers to the NAS Dock<br>
+
(2) Connect a NanoPi NEO/NEO2 with pin-headers to the NAS Dock<br>
 
[[File:step3-v1.2.png | frameless|500px| Step (3)]]<br>
 
[[File:step3-v1.2.png | frameless|500px| Step (3)]]<br>
 
(3) Connect a 12V power to the NAS Dock and all done<br>
 
(3) Connect a 12V power to the NAS Dock and all done<br>
 
[[File:step4-v1.2.png | frameless|500px| Step(4)]]<br>
 
[[File:step4-v1.2.png | frameless|500px| Step(4)]]<br>
  
==1-bay NAS Dock v1.2 for NanoPi NEO/NEO2软件系统==
+
==Introduction to 1-bay NAS Dock V1.2 for NanoPi NEO/NEO2's Software==
 
+
The software system for the 1-bay NAS Dock V1.2 is based on Debian8 Jessie but has OpenMediaVault and its plugins.
1-bay NAS Dock v1.2 for NanoPi NEO/NEO2的软件系统是一个基于 Debian8 Jessie构建,并预装 OpenMediaVault 的集成系统,OpenMediaVault丰富的功能插件也集成其中,开箱即用。
+
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是Linux下目前最为流行的开源网络附加存储(NAS)解决方案,它包含众多服务,如SSH,(S)FTP,SMB / CIFS,DAAP媒体服务器,RSync,BitTorrent客户机等,并且支持插件扩展。
+
 
+
==软件系统安装==
+
===制作可直接启动的TF卡===
+
====下载Debian for NAS固件====
+
请根据开发板型号,下载对应的固件文件和工具,固件文件位于officail-ROMs目录,工具位于tools目录: <br />
+
  
 +
==Software Installation==
 +
===Make a Bootable TF Card===
 +
====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:<br />
 
::{| class="wikitable"
 
::{| class="wikitable"
 
|-
 
|-
|开发板型号||固件文件名||下载地址
+
|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 点击进入]
+
|NanoPi NEO|| nanopi-neo_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip||[http://pan.baidu.com/s/1boQFxN5 Download Link]
 
|-
 
|-
|NanoPi NEO2|| nanopi-neo2_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1eRDbeG6 点击进入]       
+
|NanoPi NEO2|| nanopi-neo2_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1eRDbeG6 Download Link]       
 
|-
 
|-
|colspan=3|烧写工具:  
+
|colspan=3| Flash Utility:  
 
|-
 
|-
|win32diskimager.rar ||colspan=2|Windows平台下的系统烧写工具,Linux平台下可以用dd命令烧写系统
+
|win32diskimager.rar ||colspan=2| Windows utility. Under Linux users can use "dd"
 
|-  
 
|-  
 
|}
 
|}
为Nas所提供的系统基于Debian构建,并预装了OpenMediaVault软件。
+
This system is based on Debian but has OpenMediaVault .
  
====制作TF卡====
+
====Make TF Card====
将固件Debian-for-nas-YYYYMMDD.img.zip和烧写工具win32diskimager.rar分别解压,在Windows下插入TF卡(限4G及以上的卡),以管理员身份运行 win32diskimager 工具,
+
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 />
在win32diskimager工具的界面上,选择你的TF卡盘符,选择系统固件,点击 Write 按钮烧写即可。<br />
+
 
<br />
 
<br />
烧写完成后,将制作好TF卡插入NanoPi NEO,使用12V电源给1-Bay NAS供电,
+
Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock V1.2 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 />
打开1-Bay NAS开关,看到NanoPi NEO上的蓝色LED闪烁,这说明系统已经开始启动了。<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==
 
+
* [Schematic]([http://wik 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2.pdf])
===2017-04-05 ===
+
* OpenMediaVault's home site: http://www.openmediavault.org/。
* 升级Linux内核至版本为4.11,使用主线内核
+
  
==相关资料==
+
==Update Log==
*[Schematic]([http://wik 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2.pdf])
+
===April-28-2017===
OpenMediaVault官方网站:http://www.openmediavault.org/。
+
* Released English Version

Revision as of 09:42, 28 April 2017

查看中文

1 Introduction

1-bay NAS Dock v1.2 for NanoPi NEO/NEO2
  • The 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2 is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO/NEO2. Together with FriendlyElec's customized aluminum case and NanoPi NEO/NEO2 you can quickly assemble a storage server.
  • It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO/NEO2 via USB interface.
  • It works with a 2.5" SATA hard disk or SSD.
  • 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.
  • The onboard DS1307 RTC IC can provide precise clock for the board. A button cell can be used to power the RTC when the board is disconnected from power supply.
  • It has an I2C interface.

2 Hardware Spec

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

1-bay NAS Dock v1.2 for NanoPi NEO/NEO2.PCB

3 Hardware Setup

Essentials You Need for a Complete NAS Solution:
(1) 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2;
(2) Screw set;
(3) 2.5" HDD hard disk;
(4) NanoPi NEO/NEO2 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/NEO2 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 V1.2 for NanoPi NEO/NEO2's Software

The software system for the 1-bay NAS Dock V1.2 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 nanopi-neo_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip Download Link
NanoPi NEO2 nanopi-neo2_debian-nas-jessie_4.11.0_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 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.

Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock V1.2 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-28-2017

  • Released English Version