Pi-NAS Quick Start Guide

This quick guide helps you how to start using your open source Pi-NAS from OpenTUX in few basic steps.


The software that runs our Pi-NAS user interface controls and settings is called the Open Media Vault (OMV). The current installed version for Raspberry Pi single computers board is OMV5. See https://docs.openmediavault.org/ for full documentation.


1) Unpack the box and put your NAS on the table.

Hint: Skip to point 2) for the version with pre-installed disks


For the non-disk version, remove the two screws at the top of the back of the NAS and raise the top cover.

 

  

You can generally use 2.5" internal or external drives. If you have older internal drives, you'll need extra SATA to USB3.0 adapter. We recommend choosing the most compact product, which also supports UASP and S.M.A.R.T. We have good experience with SATA to USB3 by UGREEN. External drives connect directly to the powered USB HUB.

  • To connect one to two internal 2.5" disks, you can attach the disks directly with the included screws (imbus H2) or via the included disks adapters
  • To connect one to four external  2.5" disks use included strapping tapes to attach the disks
  • To connect three to four internal 2.5" disks, use included disks adapters

 

Try connect power connector and start NAS. Ensure that the LEDs on USB HUB are enable. If not, press the appropriate button to turn them on if applicable.


Hint: If you hate blue LED indicates run on the front of the NAS, you can easily turn it off just by pulling off the dupont cables from the GPIO on the Raspberry Pi board.



Turn off the NAS by disconnecting the power connector and reassemble the NAS.


2) Connect the NAS to your home network and plug in the power connector. After a while, you should see NAS on your router. The default network address assignment setting is set to DHCP, so your router automatically assigns the address. Address discovery can vary depending on the router brand. It is recommended that you look up the instructions online. Use the search query as "dhcp client list your router brand" In our demonstration, we use the MikroTik router. The address list is under IP->DHCP Server->Leases. We find a device with a pinas hostname and remember the IP address.

3) We enter the IP address into the browser as: http://x.x.x.x

Log in with default login: admin and password openmediavault

As a first step, we will change the default password in General Settings -> Web Administrator Password. We can also change the time zone settings in Date & Time settings.

 

4) In the Disks section you will see the SD card as well as your connected disks. You can delete (format) the added disks with the Wipe button.


!Warning: All data on the selected disks will be deleted!

Next, on the File Systems tab, you will see which partitions are available. For the Open Media Vault, we need the Linux ext4 format. If your disks are new, choose Create, then select the desired disk and give the new partition any name/label. If the disk already contains a partition, delete that partition and create a new one with the ext4 format. The goal is to create something similar to the image below. This picture applies for two disks.

Hint: When you go to the Edit settings on your HDD, you can set up Advanced Power Management from the following image. The disks will suspend when idle. It will reduce the noise from the revolving discs (night) and reduce power consumption even more.

Craete a new user on the Users tab. As an example, we will add a kodi user that will be used to play multimedia from our NAS.

And, of course, we have to create some shared folders in Shared Folders tab. Typical of home NAS are multimedia, i.e. folders such as Movies, Music, Photos, etc.

Finally, we need to set up how to access these folders from other devices. There are a number of standard protocols available, such as SMB, FTP, NFS, etc. For example, for TV or Kodi's mutimedia center, a simple SMB will easily suffice on our home network. We choose the SMB tab and activate the service.

In Shares, then choose which shared folder you want to share via SMB and what permissions there should be for users.

After saving, open File Explorer in Windows and type your RPi address, in my case \\192.168.4.30\ After entering the user's kodi and the correct password, you should see the contents of the folder and you can happily start filling it. Then, on smart TV or KODI, add this shared folder as a media source in a similar way.

Add comment

Nejlepší články z blogu

Centrální tablet pro chytrý dům
Wall tablet to controll your smart homeRating: 
100%

Wall tablet or older smartphone is perfectly suited as a central indicator of the state of the home, as well as controlling it. It usually replaces the video doorbell and as example, you can play your favorite music or read recipes on it during cooking in your kitchen. In the article, we describe a functional example of such a "wall" tablet and its settings in so-called kiosk mode so, display doesn't run at night and only reacts when someone is nearby.

Jablotron and smarthome synchronization
Connecting Jablotron with OpenHABRating: 
0%

In this article we will show you how to install Jablotron binding in OpenHAB. This binding helps us to synchronize states from Jablotron alarm to OpenHAB. Typically, you can force to switch off lights, close water pipe and circulation, switch off sockets or whatever you want to do when you leave home and set alarm.

Advanced disk cloningRating: 
0%

The classic disk cloning tool in linux is the dd command. This command creates a image of disk or extracts the contents from the image to disk. The dd tool needs to be handled carefully and you need to understand its use. We'll show a more advanced technique of creating a disc image that contains unallocated space. A classic example is when I have a Raspbian operating system installed on a 250 GB disc, but there's only a tiny boot partition (e.g. sda1) and my own operating system partition (sda2) which together have 15 GB. Instead of saving a 250 GB image, I would like to save only two partitions with 15 GB, so that the image is smaller and can be expanded to 16 or 32 GB flash.

iOS OpenVPN Connection SettingsRating: 
0%

In this article you will find detailed instructions on how to connect to OpenVPN from iOS devices.

Android OpenVPN Connection SettingsRating: 
40%

In this article you will find detailed instructions on how to connect to OpenVPN on Android.

OpenVPN on MikroTik routersRating: 
100%

If you have a smart-home, NAS, etc., it's a good idea to think about safe access to your network when you are not at home. Currently I recommend commercial router like Turris or a cheaper option of MikroTik routers. In the other hand, Raspberry Pi can be used as OpenVPN server too. In this article, we will show how to set up secure access to your home network from the internet using OpenVPN on MikroTik routers.

Video intercom Doorbird in OpenHABRating: 
0%

Native support for OpenHAB is provided by video intercom by Doorbird company. The solution is powered and connected by a UTP cable and has its own IP address to make it easier for you to install at the gate. OpenHAB is then able to import images from the intercom, visit history, manage gate opening on the button and by the phone, do not disturb feature during night, alarm feature etc. In the instructions we guide you how to use OpenHAB with Doorbird D101.

Advanced PIR sensors features in OpenHABRating: 
0%

The HC-SR501 PIR sensor contains mechanical adjustement for detect range and time. But in an intelligent house, we want to be able change time how long the light will be active and change whether the light will be controlled by PIR or not. Below it's shown how to program the PIR sensor to enable this features.

Measure tank level water OpenHAB
Measuring the water volume in reservoirRating: 
100%

In this article, you can find how to solve the measuring the water level in the reservoir (e.g. rainwater reservoir). The values are converted into the volume in liters. This enables you to fill the volume tank when needed or predict any other situations.