how to create your own web page

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 Hardkernel Odroid U3,
- any external USB HDD drive, in this case Apricorn,
- the camper’s router.

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

OpenMediaVault runs on Debian. Debian for Hardkernel Odroid U3 (used in this case) 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 setup a static IP in the camper's router settings.

When Odroid with the Debian eMMC was connected to the LAN port of the camper's 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 changed "odroid-wheezy" to" CA-NAS". Then:

Ctrl+O, Enter, Ctrl+X

nano /etc/hosts

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

Ctrl+O, Enter, Ctrl+X

reboot

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

To install OpenMediaVault, this strings was entered from PC via PuTTY 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.

From this point, the NAS was ready to collect and distribute data.

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

 

A software you can load from this site is free for a non-commercial use except for components for which their owners declared their own rights. Can be limited by local laws.

No your data will be collected with a software you can load from this site.

 

Get updates