Installation on GL.iNET router

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. 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.

  7. Navigate to Network > Network Mode and set the router to Access Point mode and click apply.

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

  9. 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.

  2. Enable GoodCloud, Enable Remote SSH, Enable Remote Web Access, Set data server.
    Then agree to the Terms of Service and click Apply.

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

    • Device ID

    • Device MAC

    • Device S/N

Gateway Installation

Download the Gateway Package for GL.iNET.

Installation Script

  1. Log into glinet through SSH.

    ssh root@<GLINET_IP>

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

  2. Download latest uplink package onto device

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

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

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.

     

  3. Upload and install the uplink-gateway_<VERSION>_mipsel_24kc.ipk package from the downloaded GLiNET package.

     

  4. Upload and install the luci-app-uplink-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 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.


    You can find the Device’s Serial Number and MAC Address on the page http://<ROUTER-IP>//cgi-bin/luci/admin/services/uplink-gateway/settings or on the back of the device.

     

  3. 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.

     

  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’