Table of Contents:
Below list the support products and Requirements:
The LG308,DLOS8N,LPS8N supports remote platform functionality ,Since firmware: lgw--v5.4.1734082928
The LPS8v2, MS48-LR supports remote platform functionality,Since software version dragino-ui : 2024-12-15
Once you have received your gateway and want to manage your gateway, you need to perform the following steps:
Contact: support@dragino.cc
We will create a gateway management platform for you.Once created we will give you a platform and you will need to enter a password and then your gateway management platform will be created.
Before importing the dashboard we need to download the gateway management dashboard file from GitHub.
where to get:https://github.com/dragino/dragino-end-node-decoder/blob/main/Gateway%20Management/
Once the download is complete we need to import the dashboard into our gateway management account:
Firstly, we need to open the dashboard module,
click on the "+" in the upper right corner, select "import dashboard",
then we shoud drag the downloaded _dashboard file into the text box.
To access the System-->Remote Mgmt interface of the gateway, you can select "Enable" and customize the owner,then click on "Save&Apply".
Check the remote platform connection status
After the above configuration is complete, wait for 2-3 minutes, the gateway will be displayed on the dashboard
Check if you can see your gateway information in the dashboard
And click on your device to go to the next level to see if the gateway specific information is displayed properly
Chart function introduction:
1.Gateway information: Will show Gateway time, uptime, mac address, lorawan status, model and other gateway information
2. Line chart: Record free RAM, used Disk, and CPU load of the current gateway
3. Auto-Update: After clicking, the gateway will be updated
4. Refresh: After clicking, the gateway will immediately update the data information and displays the current package version on the dashboard
5. Reboot gateway: After clicking, the gateway will reboot.
6. Get Latest Log File: After clicking, the gateway records a log for 5 minutes and uploads it to the dashboard
7. Change Server Address: Add the lorawan server address and the gateway will be configured and modified
The format is as follows:
{"action":"set_server1_address","server_address":"10.130.2.123"}
8. Download Dragino Gateway log: After you complete "Get Latest Log File", Click "Click me" to download gateway logs
This introduction shows how to use a script to monitor the gateway. The video link for this instruction is: https://youtu.be/8PieIwfSF_g
The monitor_gateway.sh has been updated to upload the public ip of the device as well.
User can find the public ip in field7, the chart is not able to show the complete public ip, user can check that in the export.
Find Public IP
Remote.it for remote access is available in the latest Dragino firmware for gateway. For security concern, the remote.it only available base on end user demand.
Important Notice:
1. Install the Remote.it software
Users can directly click "Install" on the Web UI to install Remote. it.
2. Enter the license key
Users need to enter the license key in the box under "2. Register" section and click the "Save" button and "Register" button.
When the user enters this license key, Dragino support will have access to your gateway.
3. Connect and tell us your device ID or Hostname
Users can view the device ID or Hostname of the gateway on System --> System Overview interface.Such as : dragino-1ef9ac
Before version lgw--build-v5.4.1668240318-20221112-1606, once the gateway firmware is upgraded the remote configuration is gone.
This issue is now corrected:
1. upload the backup file to update the configuration.
2. Check the 'Preserver Settings' check box when you upgrade the gateway with the firmware.
1. Only to do: Check the 'Preserver Settings' check box when you upgrade the gateway with the firmware.
Prerequisites:
Users must have an account and APP for remote.it
Then click Add "Linux & Raspberry Pi" and the APP will generate a command to register the device.
Prerequisites:
Users must have an account and APP for remote.it
For detailed examples, please see: OpenWrt How to Connect Guide (remote.it)
Then click Add "OpenWrt" and the APP will generate a command to register the device.
Step 1: Users can download the archive and upload it to the gateway:
Step 2: Back to the Remote.it screen, and click "Install" again.
Step 3: Follow the Remoteit user instruction for Dragino Gateway steps to reconfigure
Reverse SSH for remote access is available in the latest Dragino firmware for gateway. For security concern, the RSSH only available base on end user demand.
Important Notice:
Below gateway support reverse SSH access:
Go to this the Reverse SSH page as below:
Get the RSSH configure page
Connection OK.
After doing above, please download and mail the public keys to Dragino support and wait for our mail for the valid host port. Input the valid host port got from our support and click connect so we can remote access to your gateway.
Advance administrator can config a SSH server to provide support their end user themselves., Steps as below
1). git clone https://github.com/dragino/rssh-server.git rssh-server
2). cd rssh-server; sudo make ---> to Generate the execute file:rssh_serv
Debug :
if you git fail. --> sudo: git: command not found.
please install git. --> yum install git -y or apt-get install git -y.
if you make error 127,it lack of gcc.
please install gcc. --> yum install gcc.
if you make a fatal error : sqlite3.h,it lack of sqlite3.
please insatell sqlite3.
How to install Sqlit3:
1). install database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721)
user must enter the root account and run the following commands
Debug:
Check /var/rsshdb.sqlite3 --> ls /var/rsshdb.sqlite3 Check ls /var/rsshdb.sqlite3 --> sudo chmod 777 rssh_serv
if fail to open dpvlry or to bind to it please kill rssh_serv,and run ./rssh_serv -p 3721 2>&1 & again
Now user "XXXXX" is the user with limited permissions of the current system
1): sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey
Debug:
check: sudo ls /home/xxxxx/.ssh/authorizedkey
1) in the system --> Remote Mgmt/span
Input the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file.
This is same as connect Dragino Support Server but just change the server address to customize server address.
Rssh Host connection Ok
User can use common ps | grep ssh to check it in the gateway.
Check what gateways link to server.
Access the gateway