Introduction
The Wisenet Wave Server application is a lightweight application designed to run on both high and low-power computing hardware - including the Raspberry Pi and various other ARM-based Single Board Computers (SBC).
Which ARM-based SBC's are currently supported?
You may want to read our Arm Support Policy for more information. Additionally, most well-known Single Board Computers (SBC) like Raspberry Pi are not designed for tasks such as constant video recording/streaming, so they should be modified to be able to run the Wisenet Wave Server application without any issues. See "Building Linux-based NVRs".
Installation
Below you will find the instructions on how to install the Wave Server application onto your ARM-based SBC.
Note: When the *.deb package is installed on the Raspbian Stretch Lite version (aka headless version) instead of the desktop version, the user needs to install additional dependencies called 'cifs-utils'.
Step 1: Install the Wave Server Server application
- Log into your ARM-based device and launch the terminal application on your device with Ctrl+Alt+T if you are using a graphical interface. If you installed the operating system headless, you are in the terminal after booting up.
- Switch to root.
$ sudo su
- navigate to the "/" folder.
$ cd /
- Download the latest Wisenet Wave Pi installation package on your Raspberry Pi/Banana Pi with the following command.
$ wget https://updates.wavevms.com/hanwha/31948/arm/wave-server-4.1.0.31948-linux_arm32.deb
- Install the Wisenet Wave Mediaserver via dpkg command
$ dpkg -i ./wave-server-4.1.0.31948-linux_arm32.deb
Step 2: Mount the storage
- Connect the storage to the ARM-based SBC. (FAT32 file format) See How to Format USB drive in Linux
- Find the universally unique identifier (UUID) of the drive:
$ ls -l /dev/disk/by-uuid/
- Note the output for ../../sda1 (USB devices are often /sda1, but it could be different).
- Create a directory for the storage drive.
$ sudo mkdir /media/usb
- Change the owner for the storage:
$ sudo chown -R pi:pi /media/usb
- Mount the storage:
$ sudo mount /dev/sda1 /media/usb -o uid=pi,gid=pi
- Open the file systems table configuration file:
$ sudo nano /etc/fstab
and add the following line to the file:
UUID=<THE NOTED OUTPUT> /media/usb ext4 auto,nofail,noatime,users,rw,uid=pi,gid=pi 0 0
- Press Ctrl+X and select (Y)es.
Step 3: Doing a clean uninstall (optional)
In case you want to do a clean uninstall of the application on your ARM-based device, please follow the next steps.
- Log into your ARM-based device and launch the terminal application on your device with Ctrl+Alt+T if you are using a graphical interface. If you installed the operating system headless, you are in the terminal after booting up.
- Remove the hanwha directory.
$ sudo rm -rf /opt/hanwha/
- Remove the mediaserver directory.
$ sudo rm /etc/init.d/mediaserver
Take into account that these commands will not remove the video data that was recorded by the server to added storage.
If necessary, please locate the directory with the data and clean it up. With the rm command, in this example, this would be:
- Remove the video data directory.
$ sudo rm -r /media/usb