Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Pre-Instructions:

Download the Uplink Package for GL.iNET from here. The package contains 3 ipk files:

  • libwebsockets-openssl_4.3.2-3_mipsel_24kc.ipk

  • cameraagent_1.0-1_mipsel_24kc.ipk

  • luci-app-cameraagent_1.0-1_all.ipk

Router Setup

...

Connect router to power using provided Micro USB cable.

...

Connect Ethernet cable from existing internet access point into the WAN port on the GL.iNET router.

...

Connect to the router either by WiFi or by Ethernet using the LAN port

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Router Setup

  1. Plug in the power cable.

  2. Connect GLiNET to the network using the WAN port.

  3. Connect a local device (laptop or desktop) to the GLiNET using one of the two methods:

    1. Ethernet into the LAN port.

    2. WiFi using GL.iNET access point “GL-MT300N-…”

  4. Connect to router @ http://192.168.8.1 in a browser.

  5. Follow the instructions in the browser.
    a. Choose your preferred language.

    b. Set password.

  6. Navigate to More Settings Verify the firmware version that the GL.iNET device has installed by navigating to http://192.168.8.1/#/upgrade.
    The version that should be installed is 4.3.11.
    You can upgrade your device to version 4.3.11 by downloading the firmware from GL.iNET’s firmware directory and performing a local upgrade.

    Image Added
  7. Navigate to Network > Network Mode and set the router to Access Point modeand click apply.

    Image RemovedImage Added
  8. You are now should be able to access the router from within your network and no longer need to connect to it directly.

Instructions:

  1. Add GL.iNET router as Uplink Camera to VMS Platform using GL.iNET server’s serial number and MAC Address.

    Image Removed
  2. Upgrade GL.iNET router to the latest available firmware.

  3. Navigate to http://GLiNET-IP/#/luci and make sure to install Luci.

  4. Once Luci is installed, navigate

  5. Verify that the device has internet access by using the device’s network diagnostics
    http://GLINET-IP/cgi-bin/luci/admin/network/diagnostics

Goodcloud Setup

  1. Navigate to APPLICATIONS > GoodCloud on the GLiNET Web page.

    image-20240502-190605.pngImage Added
  2. Enable GoodCloud, Enable Remote SSH, Enable Remote Web Access, Set data server.
    Then agree to the Terms of Service and click Apply.

    image-20240503-143219.pngImage Added

  3. Copy and send Device info from this page to the VXG team.

    image-20240502-191037.pngImage Added
    • Device ID

    • Device MAC

    • Device S/N

Gateway Installation

Download the Gateway Package for GL.iNET.

Installation Script

  1. Log into glinet through SSH.

    Code Block
    ssh root@<GLINET_IP>

    If GoodCloud is enabled, the device’s terminal can be accessed through the portal.

    image-20241024-154114.pngImage Added

  2. Download latest uplink package onto device

    Code Block
    wget https://dashboard.videoexpertsgroup.com/downloads/uplink-gateway/GLiNET-package-<VERSION>.zip
  3. Extract the zip file

    Code Block
    unzip GLiNET-package-<VERSION>.zip
  4. Run install script

    Code Block
    cd GLiNET-package-<VERSION>/package && ./install.sh

Installation Through Luci Web UI

  1. Navigate to the software page of the Luci interface.
    http://GLiNET-IP/cgi-bin/luci/admin/system/opkg

  2. Make sure to update your package list before installing the Uplink Packages.

    Screenshot from 2024-02-05 09-57-30.pngImage Added

  3. Upload and install libwebsocketsthe uplink-openssl_4.3.2-3gateway_<VERSION>_mipsel_24kc.ipk package supplied in from the uplink downloaded GLiNET package.
    Upload and install cameraagent_1.0-1_mipsel_24kc.ipk

    Screenshot from 2024-02-05 09-57-18.pngImage AddedScreenshot from 2024-02-05 09-57-49.pngImage AddedScreenshot from 2024-02-05 09-58-05.pngImage Added

  4. Upload and install the luci-app-cameraagent_1.0-1uplink-gateway_<VERSION>_all.ipk package from the downloaded GLiNET package.

  5. Re-login to the Luci interface.

Adding Gateway to Cloud VMS

  1. Navigate to the Uplink plugin interface: the Gateways page on Cloud One and click Add Gateway in the top right corner.

  2. Select the OpenWRT Gateway checkbox on the Gateway form and fill out the form with the device’s information.

    image-20240701-140150.pngImage Added


    You can find the Device’s Serial Number and MAC Address on the page http://GLiNET<ROUTER-IPIP>//cgi-bin/luci/admin/services/cameraagent

  3. Add Uplink Cameras on your Cloud VMS platform for each camera you are going to connect through the GL.iNET bridge.

  4. After adding each camera to Cloud VMS, add the same camera information into the Camera Form of the Uplink Plugin’s interface. Make sure to enable each camera you want to add.

    Image Removed

    Then scroll down to the bottom of the page and click Save & Apply.

  5. Then navigate to http://GLINET-IP/uplink-gateway/settings or on the back of the device.

    image-20240628-161535.pngImage AddedImage Added

  6. After adding the GL.iNET Uplink Gateway to Cloud One the gateway should appear online within a couple of minutes.

Once the Gateway is connected you can proceed with Adding Cameras to Gateway

Upgrading Uplink Gateway

  1. Download the latest version from our Dashboard.

  2. Navigate to the software page on your GL.iNET device.
    <DEVICE_IP>/cgi-bin/luci/admin/system/opkg

  3. Update package lists.

    Screenshot from 2024-02-05 09-57-30.pngImage Added

  4. Upload the new version up Uplink Gateway.
    After a successful upgrade the Executing Package Manager dialog box should display:
    Upgrading uplink-gateway on root from 1.0-4 to 1.0-5...

  5. The package should now be successfully upgraded.

Troubleshooting

Checking Logs

A key aspect of knowing the cause of an issue is being able to see what is occurring on the device.
The device logs can be accessed at http://<GLiNET-IP>/cgi-bin/luci/admin/status/logs.

Rebooting Gateway Services

All Uplink services can be restarted by navigating to http://<GLiNET-IP>/cgi-bin/luci/admin/services/

...

uplink-gateway/

...

settings and clicking ‘Restart Gateway’

...