Categories
Knowledge Support Support exacqVision Server Categories Products

Archiving continually says “Disconnected” on Linux systems 12.04 and Older

When connecting an NVR running Ubuntu 12.04 or older to a newer S-series you may have issues with it connecting and displaying the “Disconnected” message on the archiving page; even thou everything is correct and systems running Ubuntu 14.04 or newer DO NOT have this issue.

When you search the logs, you will see a message stating it failed to connect.

There is a combination of configuration defaults that prevent an Ubuntu 12.04 server (or older) establishing an SMB connection to an Ubuntu 18.04+ (S-Series) server.

Samba changed their “allow ntlm” default from yes to no in version 4.5.0 The version of Samba available for Ubuntu 16.04 is ​4.3.11 (still allows ntlm, no connection issue), and Ubuntu 18.04 is ​4.7.6 (does not allow ntlm by default, so can’t connect).

The workaround used at the customer is to re-allow ntlm on the S-Series by adding ntlm auth = yes to the /etc/samba/smb.conf on the S-Series server and restarting smbd service.

You will need to either be right on the S-series or SSH in to it.

Run the following command in terminal from the S-series

sudo nano /etc/samba/smb.conf

Add the following in to it right above domains….. ntlm auth = yes

Make sure you save it when finished.

Next, restart the SMB service…

From terminal type the following sudo /etc/init.d/samba restart

Now, go back in to the Exacq Client>Archiving and disable archiving and re-enable it and it should connect.

Trac#22991

Categories
Knowledge Support Support Categories Products exacqVision Integrations

Measuring Bandwidth Usage in Ubuntu 10.04

To measure bandwidth usage in Ubuntu 10.04, install nload. It is preinstalled on Ubuntu, but it is not in the exacqVision image. Customers with custom installations of Ubuntu 10.04 or 12.04 likely already have nload.

Run the following command to install:

$ sudo apt-get install nload


To use nload, just run nload in a terminal. Alternatively, you can specify an interface, which is a more likely use-case:

$ nload eth0

You can also nload multiple interfaces. This is useful for a number of reasons, such as if a customer is not clear which interface is designated for the camera network; nload will quickly show the interface with the biggest load. To do this, use the ‘-m’ flag and specify the interfaces you want to analyze:

$ nload -m eth0 eth1

By default, nload will show data in bits. You can easily change this by using a switch. For instance, use a “k” (for kBits/s) or an “m” (for mBits/s) preceding the interfaces you want to watch.

$ nload -m k eth0 eth1

Here is an example output of a multiple-interface analyzation:



Here is an example output of a single interface in nload:

Categories
Knowledge Support Support Categories Products exacqVision Integrations

Upgrading the CIFS Module on Ubuntu 10.04 System Running Kernel 3.0

The CIFS module enables asynchronous I/O, and it increases archiving speed when combined with a version of archivepi that uses sendfile. (This is not necessary on Ubuntu 12.04 and later, which already supports asynchronous I/O.)

To upgrade the CIFS module, complete the following steps:

  1. Disable all archive targets and unmount any cifs/smb share.
  2. Remove the CIFS module using rmmod cifs. If you see “Module cifs is in use,” make sure all cifs/smb shares are unmounted. Use the mount | grep cifs command to list all mounted shares.
  3. Download the attached cifs.tar.gz file.
  4. Compile and install the new CIFS module:
tar zxvf cifs.tar.gz 
cd cifs
make install
modprobe cifs
  1. Enable the archive targets from step 1.
Categories
Knowledge Support Support exacqVision Server Categories Products

Enabling Onboard Keyboard in exacqVision Ubuntu 10.04 and 12.04 Images

In 2013, the exacqVision Ubuntu 10.04 image was rebuilt, and the onboard keyboard configuration was not in included in the rebuild. Affected images can be easily identified by the Exacq wallpaper displayed on the Desktop. Also, because of an issue with onboard packages found in the Ubuntu repository, the onscreen keyboard was not included in exacqVision 12.04 images created before April 2015.

To enable the onboard keyboard, you must install one of the attached scripts for your Ubuntu version using the following instructions.

<br>

Ubuntu 10.04

To install the 10.04 image, complete the following steps:

  1. Log in to the system as an administrator.
  2. Download the ConfigOnboardKeyboard.sh script attached to this article and save it to the /tmp directory.
  3. Open a Terminal window and type cd /tmp.
  4. Change the script to executable by running chmod 775 ConfigOnboardKeyboard.sh.
  5. Run sudo ./ConfigOnboardKeyboard.sh.
  6. Restart the server.

The onboard keyboard can now be opened by clicking the center key of the mouse.

<br>

Ubuntu 12.04

NOTE: The 12.04 image can also run a script, but it must be run from the local admin account. New packages from a PPA repository are added, which means Internet access is required.

The 12.04 script does the following:

  1. Adds a PPA repository for onboard with updated packages.
  2. Installs onboard and supporting packages.
  3. Updates the LightDM login screen to show the user accessibility applet.
  4. Adds an onboard applet icon to top panel of the user account. The onboard keyboard can be run from that panel.

<br>

To install the 12.04 image, complete the following steps:

  1. Log in to the system as an administrator.
  2. Download the 1204ConfigOnboardKeyboard.sh script attached to this article and save it to the /tmp directory.
  3. Open a Terminal window and type cd /tmp.
  4. Change the script to executable by running chmod 775 12.04ConfigOnboardKeyboard.sh.
  5. Run sudo ./12.04ConfigOnboardKeyboard.sh.
  6. Close the Terminal window.
  7. Log out as the administrator and return to the LightDM login screen. The Universal Access icon is located in the top right of the panel. Click the icon for access to the onboard keyboard.
  8. When logged in to the user account, the onboard icon appears in the top panel. You can move the keyboard around using the cross double arrow key on the right side of the keyboard.
  9. When logged in as the administrator, the onboard keyboard is disabled by default. You must click on the onboard keyboard shortcut on the Desktop.

<br>

ConfigOnboardKeyboard Link: https://support.americandynamics.net/#/file-manager/file/00bde78e-6b3d-4f59-91bb-2769c0d6e0ba/config-onboard-keyboard-sh

<br>

1204ConfigOnboardKeyboard Link: https://support.americandynamics.net/#/file-manager/file/c9764721-227b-4350-a354-10a09448bf8e/1204-config-onboard-keyboard-sh

Categories
Knowledge Support Support exacqVision Server Categories Products

Service Status Command Fails on M-Series or Ubuntu 10.04

Symptom:

Unable to check status of exacqVision Server.

<br>

Problem:

Running the Terminal command, ‘sudo service edvrserver status’ fails. 

Introduced with exacqVision Server version 7.6.

<br>

Solution:

Update to exacqVision Server version 9.6.4

Categories
Knowledge Support Support exacqVision Client Categories Products

NIC Bonding on exacqVision Client and Server

Beginning with version 5.10, NIC bonding is supported on exacqVision Client and Server. The following sections contain requirements and steps for enabling NIC bonding. <br>

Linux Ubuntu 10.04 and Later

Install ifenslave-2.6 package. <br>

apt-get install ifenslave-2.6 <br>

Add bonding module to modules list by editing /etc/modules. <br>

sudo gedit /etc/modules <br>

Add “bonding” at the end of the file. <br>

Load the bonding module. <br>

sudo modprobe bonding <br>

Windows 7 Systems Manufactured Before December 2013

You must be using Powershell version 2.0 and Intel Ethernet Adapters. NIC teaming is enabled by default in the Intel driver, so no additional steps should be necessary. <br>