free web page maker download

Network attached storage (NAS)

collect data from sensors, cameras and distribute them when there is Internet or not

Mobirise

Main components:
- any single-board computer, in this case Odroid U3,
- any external USB HDD drive, in this case Apricorn,
- camper’s router.

OpenMediaVault was used here for the NAS. Because a large amount of traffic is normal for the NAS, it must connect directly to the router, not to the wireless network.

OpenMediaVault runs on Debian. Debian for Odroid U3 was flashed on eMMC. This is important for the NAS - the operating system must be installed on the eMMC. In the worst case, the OS for the NAS can be installed on the HDD (for example, the Armbian OS has a simple option to install on the HDD using the armbian-config command), but at any time the OS for the NAS cannot be installed on the SD card because the SD card does not have a long lifetime in this usage.

All settings were made via Windows PC. In some cases will need switch off the PC firewall while settings.

For NAS it is important to set a static IP. It is possible to set a static IP in the NAS, but it is more reliable to set up a static IP in the router settings.

When Odroid with the eMMC with Debian was connected to the LAN port of the router, it was available in the PC terminal via PuTTY over IP on port 22 with root user and odroid password.

Then was changed the password for the root user and was maked another normal user (here it is called ca-nas):

passwd root

# enter rootpass twice

adduser ca-nas

# enter ca-naspass twice

Then was changed the host name:

nano /etc/hostname

In the opened file was changes "odroid-wheezy" to" CA-NAS". Then:

Ctrl+O, Enter, Ctrl+X

nano /etc/hosts

In the opened file also was changes "odroid-wheezy" to" CA-NAS". Then:

Ctrl+O, Enter, Ctrl+X

reboot

The droid was rebooted. There was a root login after a while.

To install OpenMediaVaultit was entered in the PC terminal::

echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list

apt-get update

apt-get --allow-unauthenticated install openmediavault-keyring postfix

apt-get update

apt-get install openmediavault

omv-initsystem

Then the external USB HDD was connected to the NAS.

The web interface for OpenMediaVault was available on the IP address of the NAS with the username admin and password is openmediavault. In OpenMediaVault's web interface was makes settings (with Apply after each command):


Mobirise

1) external USB HDD mount,

Mobirise

2) share folder (CA-NAS-shfld in this case) on external USB HDD,

Mobirise

3) enable SMB/CIFS,

Mobirise

4) add shared folder for SMB/CIFS with allowed guests,

Mobirise

5) enable NFS,

Mobirise

6) add shared folder for NFS for all ( * ) clients,

Mobirise

7) enable SSH,

Mobirise

8) allow power management for external USB HDD.

The NAS was ready to collect and distribute data from this time.

With OpenMediaVault, possible to have many robust features, such as RAID and others, but not yet used in Camper assistant.

A software you can load here is free for a non-commercial use except for components for which their owners declared their own rights. Can be limited by local laws. All your data will be stored only locally with a software you can load here.

Get updates