Changes for page Monitor & Remote Access Gateway
Last modified by Kilight Cao on 2025/01/14 10:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -26,37 +26,24 @@ 26 26 27 27 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. 28 28 29 +[[image:image-20250109152734-1.png||height="530" width="1331"]] 29 29 30 -== 1.2 ImportDashboard==31 +== 1.2 Configure gateway == 31 31 32 -Before importing the dashboard we need to download the gateway management dashboard file from GitHub. 33 33 34 - where toget:**[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/blob/main/Gateway%20Management/>>https://github.com/dragino/dragino-end-node-decoder/blob/main/Gateway%20Management/monitor_gateway_dashboard.json]]**34 +To access the (% style="color:blue" %)**System~-~->Remote Mgmt**(%%) interface of the gateway, you can select "(% style="color:blue" %)**Enable**(%%)" and customize the owner,then click on "(% style="color:blue" %)**Save&Apply**(%%)". 35 35 36 - [[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732848745971-712.png?rev=1.1||alt="1732848745971-712.png"]]36 +~1. Click "(% style="color:blue" %)**Enable**(%%)" ~-~-~-~--> If this option is checked, the gateway will enable Remote Platform Monitor 37 37 38 - Once thedownloadismpleteweneedtoimportthedashboardintoourgatewaymanagementaccount:38 +2. Configure the (% style="color:blue" %)**Owner**(%%) ~-~-~-~--> Fill in the Owne given by the manufacturer, that's the only one. 39 39 40 - Firstly, weneed topenthe dashboard module,40 +3. Click "(% style="color:blue" %)**Save&Apply**(%%)" 41 41 42 - click on the "(% style="color:blue" %)**+**(%%)"intheupper rightcorner,select"(%style="color:blue"%)**importdashboard**(%%)",42 +(% style="color:red" %)Note: If the Owner parameter is set to Dragino, the device will be registered with the Dragino account 43 43 44 - then we shoud dragthedownloaded _dashboard file into the text box.44 +[[image:image-20250107151805-1.png]] 45 45 46 46 47 -[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732849072990-298.png?width=1168&height=549&rev=1.1||alt="1732849072990-298.png"]] 48 - 49 - 50 -[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732849454521-821.png?width=1173&height=554&rev=1.1||alt="1732849454521-821.png"]] 51 - 52 - 53 -== 1.3 Configure gateway == 54 - 55 -To access the (% style="color:blue" %)**System~-~->Remote Mgmt**(%%) interface of the gateway, you can select "(% style="color:blue" %)**Enable**(%%)" and customize the owner,then click on "(% style="color:blue" %)**Save&Apply**(%%)". 56 - 57 -[[image:image-20241216161649-1.png]] 58 - 59 - 60 60 Check the remote platform connection status 61 61 62 62 [[image:image-20241216162640-2.png]] ... ... @@ -64,7 +64,7 @@ 64 64 After the above configuration is complete, wait for 2-3 minutes, the gateway will be displayed on the dashboard 65 65 66 66 67 -== 1. 4Check the dashboard. ==54 +== 1.3 Check the dashboard. == 68 68 69 69 Check if you can see your gateway information in the dashboard 70 70 ... ... @@ -104,87 +104,10 @@ 104 104 105 105 106 106 107 -= 2. Monitor Gateway via ThingsSpeak = 108 108 95 += 2. Remote Access via Remote.it. = 109 109 110 -This introduction shows how to use a script to monitor the gateway. The video link for this instruction is: [[https:~~/~~/youtu.be/8PieIwfSF_g>>url:https://youtu.be/8PieIwfSF_g]] 111 111 112 - 113 -[[image:image-20220531155018-18.png]] 114 - 115 - 116 -== 2.1 Steps == 117 - 118 - 119 -* Create account in ThingsSpeak and creat channel. 120 - 121 -* Download script from dragino site and move it to properly directory 122 - 123 -(% class="box infomessage" %) 124 -((( 125 -root@dragino-1baf44:~~# wget [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/Firmware/customized_script/monitor_gateway.sh>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/Firmware/customized_script/monitor_gateway.sh]] 126 -Downloading '[[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/Firmware/customized_script/monitor_gateway.sh'>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/Firmware/customized_script/monitor_gateway.sh']] 127 -Connecting to 162.241.22.11:80 128 -Writing to 'monitor_gateway.sh' 129 -monitor_gateway.sh 100% |~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~**| 1860 0:00:00 ETA 130 -Download completed (1860 bytes) 131 -root@dragino-1baf44:~~# chmod +x monitor_gateway.sh;mv monitor_gateway.sh /usr/bin/ 132 -root@dragino-1baf44:~~# 133 -root@dragino-1baf44:~~# 134 -))) 135 - 136 - 137 - 138 -* change the script monitor_gateway.sh with properly users setting: 139 - 140 -(% class="box infomessage" %) 141 -((( 142 -USER='xxxxx' # user name in your thinkspeak ~-~-> Profile 143 -PASS='xxxxx' #MQTT_API_KEY in your thinkspeak ~-~-> Profile 144 -CHAN_ID='xxxx' #Channel ID of the channel for this gateway 145 -CHAN_KEY='xxxxx' #Channel Write API of the channel for this gateway 146 -))) 147 - 148 - 149 - 150 -* run (% style="color:blue" %)**/usr/bin/monitor_gateway.sh**(%%) to test if upload is good. 151 - 152 -* Add monitor_gateway.sh to cron work (% style="color:blue" %)**/etc/crontabs/root**(%%) to make this script runs perdiocally, below is an example to update every 20 minutes 153 - 154 -(% class="box infomessage" %) 155 -((( 156 -# For details see man 4 crontabs 157 -# Example of job definition: 158 -# .~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- minute (0 - 59) 159 -# | .~-~-~-~-~-~-~-~-~-~-~-~-- hour (0 - 23) 160 -# | | .~-~-~-~-~-~-~-~-~-~- day of month (1 - 31) 161 -# | | | .~-~-~-~-~-~-- month (1 - 12) OR jan,feb,mar,apr ... 162 -# | | | | .~-~-~-~- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat 163 -# | | | | | 164 -# * * * * * user-name command to be executed 165 -#*/10 * * * * checklog 166 -~* 23 * * * /etc/init.d/auto_update start 167 -*/20 * * * * /usr/bin/monitor_gateway.sh 168 -))) 169 - 170 -* Reboot device. 171 - 172 -== 2.2 Monitor Public IP == 173 - 174 - 175 -The monitor_gateway.sh has been updated to upload the public ip of the device as well. 176 - 177 -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. 178 - 179 - 180 -[[image:image-20220531145559-2.png||height="658" width="1233"]] 181 - 182 -Find Public IP 183 - 184 - 185 -= 3. Remote Access via Remote.it. = 186 - 187 - 188 188 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. 189 189 190 190 ... ... @@ -231,7 +231,7 @@ 231 231 [[image:image-20220725115720-2.png||height="658" width="900"]] 232 232 233 233 234 -== 3.1 How to save the registered remote after the gateway's firmware update. ==144 +== 2.1 How to save the registered remote after the gateway's firmware update. == 235 235 236 236 237 237 Before version [[lgw~~-~~-build-v5.4.1668240318-20221112-1606>>http://repo.dragino.com/release/miscellaneous/remoteit/dragino-lgw--v5.4.1668240318-squashfs-sysupgrade.bin]], once the gateway firmware is upgraded the remote configuration is gone. ... ... @@ -264,7 +264,7 @@ 264 264 [[image:image-20221112162547-3.png]] 265 265 266 266 267 -== 3.2 How to register hp0d with Remote.it ==177 +== 2.2 How to register hp0d with Remote.it == 268 268 269 269 270 270 (% style="color:blue" %)**Prerequisites:** ... ... @@ -304,7 +304,7 @@ 304 304 [[image:image-20220815173958-4.jpeg||height="580" width="964"]] 305 305 306 306 307 -== 3.3 How to register the gateway with Remote.it via SSH Access for Linux console ==217 +== 2.3 How to register the gateway with Remote.it via SSH Access for Linux console == 308 308 309 309 310 310 (% style="color:blue" %)**Prerequisites:** ... ... @@ -346,7 +346,7 @@ 346 346 [[image:image-20230320112057-6.png||height="603" width="1135"]] 347 347 348 348 349 -== 3.4 Trouble Shooting ==259 +== 2.4 Trouble Shooting == 350 350 351 351 352 352 === **1. What should users do when gateway Remote.it installation fails** === ... ... @@ -369,7 +369,7 @@ 369 369 (% style="color:blue" %)**Step 3:**(%%) Follow the [[Remoteit user instruction for Dragino Gateway>>https://www.remote.it/getting-started/dragino]] steps to reconfigure 370 370 371 371 372 -= 4. RSSH Introduction =282 += 3. RSSH Introduction = 373 373 374 374 375 375 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. ... ... @@ -395,7 +395,7 @@ 395 395 * LIG16 396 396 * MS14 series if installed with the same firmware. 397 397 398 -== 4.1 End User Guide to use SSH access ==308 +== 3.1 End User Guide to use SSH access == 399 399 400 400 401 401 Go to this the Reverse SSH page as below: ... ... @@ -418,7 +418,7 @@ 418 418 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. 419 419 420 420 421 -== 4.2 Set Up RSSH Server ==331 +== 3.2 Set Up RSSH Server == 422 422 423 423 424 424 Advance administrator can config a SSH server to provide support their end user themselves., Steps as below ... ... @@ -552,7 +552,7 @@ 552 552 {{{ check: sudo ls /home/xxxxx/.ssh/authorizedkey}}} 553 553 554 554 555 -== 4.3 How does user get the gateway to connect to a user's private server ==465 +== 3.3 How does user get the gateway to connect to a user's private server == 556 556 557 557 558 558 ... ... @@ -619,5 +619,3 @@ 619 619 ))) 620 620 621 621 [[image:image-20220531153219-17.png]] 622 - 623 -
- image-20250107151805-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.0 KB - Content
- image-20250109152734-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.6 KB - Content