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, 17 added, 0 removed)
- backup.tar.gz
- image-20220907161050-2.png
- image-20220907161352-3.png
- image-20220907162028-4.png
- image-20221112162416-1.png
- image-20221112162543-2.png
- image-20221112162547-3.png
- image-20221112162644-4.png
- image-20230320105212-1.png
- image-20230320105842-2.png
- image-20230320105938-3.png
- image-20230320110123-4.png
- image-20230320110309-5.png
- image-20230320112057-6.png
- image-20230607085305-1.png
- image-20231107200343-1.png
- image-20231107200442-2.png
Details
- Page properties
-
- Content
-
... ... @@ -5,11 +5,60 @@ 5 5 6 6 7 7 8 -= **1. Monitor Gateway**=8 += 1. Monitor Gateway = 9 9 10 -== **1.1Introduction**==10 +== 1.1 Monitor Gateway == 11 11 12 12 13 +Once you have received your gateway and want to manage your gateway, you need to perform the following steps: 14 + 15 + 16 +== Step1.Create an account == 17 + 18 +Contact: **support@dragino.cc** 19 + 20 +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. 21 + 22 + 23 +== Step2.Import Dashboard == 24 + 25 +Before importing the dashboard we need to download the gateway management dashboard file from GitHub. 26 + 27 +where to get:[[https:~~/~~/github.com/ThingsEye-io/te-platform/tree/main/Devices/Gateway/Gateway%20Management>>url:https://github.com/ThingsEye-io/te-platform/tree/main/Devices/Gateway/Gateway%20Management]] 28 + 29 +[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732848745971-712.png?rev=1.1||alt="1732848745971-712.png"]] 30 + 31 +Once the download is complete we need to import the dashboard into our gateway management account: 32 + 33 +Firstly, we need to open the dashboard module, 34 + 35 +click on the "**+**" in the upper right corner, select "**import dashboard**", 36 + 37 +then we shoud drag the downloaded _dashboard file into the text box. 38 + 39 + 40 +[[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"]] 41 + 42 + 43 +[[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"]] 44 + 45 + 46 +== Step3.Check the dashboard. == 47 + 48 +Check if you can see your gateway information in the dashboard 49 + 50 +[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732849588381-649.png?width=1173&height=533&rev=1.1||alt="1732849588381-649.png"]] 51 + 52 +And click on your device to go to the next level to see if the gateway specific information is displayed properly 53 + 54 +[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732849704925-985.png?width=1174&height=625&rev=1.1||alt="1732849704925-985.png" height="627" width="1178"]] 55 + 56 + 57 + 58 + 59 +== 1.2 Monitor Gateway via ThingsSpeak == 60 + 61 + 13 13 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]] 14 14 15 15 ... ... @@ -16,15 +16,13 @@ 16 16 [[image:image-20220531155018-18.png]] 17 17 18 18 68 +== 1.2 Steps == 19 19 20 -== **1.2 Steps** == 21 21 22 - 23 23 * Create account in ThingsSpeak and creat channel. 72 + 24 24 * Download script from dragino site and move it to properly directory 25 25 26 - 27 - 28 28 (% class="box infomessage" %) 29 29 ((( 30 30 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]] ... ... @@ -42,8 +42,6 @@ 42 42 43 43 * change the script monitor_gateway.sh with properly users setting: 44 44 45 - 46 - 47 47 (% class="box infomessage" %) 48 48 ((( 49 49 USER='xxxxx' # user name in your thinkspeak ~-~-> Profile ... ... @@ -58,8 +58,6 @@ 58 58 59 59 * 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 60 60 61 - 62 - 63 63 (% class="box infomessage" %) 64 64 ((( 65 65 # For details see man 4 crontabs ... ... @@ -78,29 +78,24 @@ 78 78 79 79 * Reboot device. 80 80 124 +== 1.3 Monitor Public IP == 81 81 82 82 83 - 84 - 85 -== **1.3 Monitor Public IP** == 86 - 87 - 88 88 The monitor_gateway.sh has been updated to upload the public ip of the device as well. 89 89 90 90 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. 91 91 92 92 93 -[[image:image-20220531145559-2.png]] 132 +[[image:image-20220531145559-2.png||height="658" width="1233"]] 94 94 95 95 Find Public IP 96 96 97 97 137 += 2. Remote Access = 98 98 99 -= **2. Remote Access**=139 +== 2.1 Remote Access via Remote.it. == 100 100 101 -== **2.1 Remote Access via Remote.it.** == 102 102 103 - 104 104 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. 105 105 106 106 ... ... @@ -107,14 +107,13 @@ 107 107 (% style="color:red" %)**Important Notice:** 108 108 109 109 * Remote.it access will give full control of your device to remote support. 148 + 110 110 * The Remote.it allows Dragino Support to remote access to the device, If user want to access himself, it need to sign up for an remote.it account. 111 111 112 112 * For how to use remote.it for (% style="color:blue" %)**general remote control**(%%), please see : [[Remoteit user instruction for Dragino Gateway>>https://www.remote.it/getting-started/dragino]]. 152 + 113 113 * For Quick add remote.it to (% style="color:blue" %)**Dragino for remote debug**(%%), please see below: 114 114 115 - 116 - 117 - 118 118 (% style="color:blue" %)**1. Install the Remote.it software** 119 119 120 120 Users can directly click** "Install"** on the Web UI to install Remote. it. ... ... @@ -133,10 +133,10 @@ 133 133 134 134 (% class="box infomessage" %) 135 135 ((( 136 -** 57F60715-606F-510D-A3D2-739860EBDB98**173 +**fd173d1d-faed-493e-a868-c511a38aba45** 137 137 ))) 138 138 139 -[[image:image-202 20725113010-1.png||height="455" width="899"]]176 +[[image:image-20230607085305-1.png||height="555" width="993"]] 140 140 141 141 142 142 ... ... @@ -148,18 +148,52 @@ 148 148 [[image:image-20220725115720-2.png||height="658" width="900"]] 149 149 150 150 151 -=== **2.1.1 How to registerhp0dwithRemote.it**===188 +=== 2.1.1 How to save the registered remote after the gateway's firmware update. === 152 152 153 153 154 - **Prerequisites:**191 +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. 155 155 193 +This issue is now corrected: 194 + 195 + 196 + 197 +==== **The gateway version is lower than** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ==== 198 + 199 + 200 +**~1. upload the [[backup file>>http://repo.dragino.com/release/miscellaneous/remoteit/backup.tar.gz]] to update the configuration.** 201 + 202 +[[image:image-20221112162644-4.png]] 203 + 204 + 205 + 206 +**2. Check the 'Preserver Settings' check box when you upgrade the gateway with the firmware. ** 207 + 208 +[[image:image-20221112162543-2.png]] 209 + 210 + 211 + 212 +==== **The gateway version is greater or equal to** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ==== 213 + 214 + 215 + 216 +**~1. Only to do: Check the 'Preserver Settings' check box when you upgrade the gateway with the firmware. ** 217 + 218 +[[image:image-20221112162547-3.png]] 219 + 220 + 221 +=== 2.1.2 How to register hp0d with Remote.it === 222 + 223 + 224 +(% style="color:blue" %)**Prerequisites:** 225 + 156 156 Users must have an account and APP for remote.it 157 157 158 -[[https:~~/~~/app.remote.it>>https://app.remote.it]] 228 +**[[https:~~/~~/app.remote.it>>https://app.remote.it]]** 159 159 160 160 161 -(% style="color:blue" %)**1. Click "+" in the APP to add a device** 231 +==== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ==== 162 162 233 + 163 163 Then click Add "Linux & Raspberry Pi" and the APP will generate a command to register the device. 164 164 165 165 ... ... @@ -167,7 +167,7 @@ 167 167 168 168 169 169 170 -(% style="color:blue" %)**2.Copy the register device command** 241 +==== (% style="color:blue" %)**2. Copy the register device command**(%%) ==== 171 171 172 172 173 173 [[image:image-20220815173944-2.jpeg||height="556" width="923"]] ... ... @@ -174,7 +174,7 @@ 174 174 175 175 176 176 177 -(% style="color:blue" %)**3.Enter the command copied from the previous step on the HP0D Linux command line** 248 +==== (% style="color:blue" %)**3. Enter the command copied from the previous step on the HP0D Linux command line**(%%) ==== 178 178 179 179 180 180 [[image:image-20220815173951-3.jpeg||height="424" width="1147"]] ... ... @@ -181,15 +181,80 @@ 181 181 182 182 183 183 184 -(% style="color:blue" %)**4.Check whether the device is successfully registered on the Remote.it APP** 255 +==== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ==== 185 185 186 186 187 187 [[image:image-20220815173958-4.jpeg||height="580" width="964"]] 188 188 189 189 190 -== **2.2RSSHIntroduction**==261 +=== 2.1.3 How to register the gateway with Remote.it via SSH Access for Linux console === 191 191 192 192 264 +(% style="color:blue" %)**Prerequisites:** 265 + 266 +Users must have an account and APP for remote.it 267 + 268 +**[[https:~~/~~/app.remote.it>>https://app.remote.it]]** 269 + 270 +For detailed examples, please see: **[[OpenWrt How to Connect Guide (remote.it)>>url:https://www.remote.it/getting-started/openwrt]]** 271 + 272 + 273 +==== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ==== 274 + 275 + 276 +Then click Add "OpenWrt" and the APP will generate a command to register the device. 277 + 278 +[[image:image-20230320110123-4.png||height="657" width="1191"]] 279 + 280 + 281 + 282 +==== (% style="color:blue" %)**2. Copy the register device command**(%%) ==== 283 + 284 + 285 +[[image:image-20230320110309-5.png||height="635" width="1197"]] 286 + 287 + 288 + 289 +==== (% style="color:blue" %)**3. Enter the command copied from the previous step on the gateway Linux command line**(%%) ==== 290 + 291 + 292 +(% class="wikigeneratedid" id="H" %) 293 +[[image:image-20230320105212-1.png||height="758" width="820"]] 294 + 295 + 296 + 297 +==== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ==== 298 + 299 + 300 +[[image:image-20230320112057-6.png||height="603" width="1135"]] 301 + 302 + 303 +=== 2.1.4 Trouble Shooting === 304 + 305 + 306 +==== **1. What should users do when gateway Remote.it installation fails** ==== 307 + 308 + 309 +[[image:image-20220907162028-4.png||height="564" width="1148"]] 310 + 311 + 312 +(% style="color:blue" %)**Step 1: **(%%)Users can download the archive and upload it to the gateway:** [[attach:backup.tar.gz||target="_blank"]]** 313 + 314 +[[image:image-20220907161050-2.png]] 315 + 316 + 317 + 318 +(% style="color:blue" %)**Step 2: **(%%)Back to the Remote.it screen, and click **"Install"** again. 319 + 320 +[[image:image-20220907161352-3.png]] 321 + 322 + 323 +(% style="color:blue" %)**Step 3:**(%%) Follow the [[Remoteit user instruction for Dragino Gateway>>https://www.remote.it/getting-started/dragino]] steps to reconfigure 324 + 325 + 326 +== 2.2 RSSH Introduction == 327 + 328 + 193 193 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. 194 194 195 195 (% style="color:red" %)**Important Notice:** ... ... @@ -197,7 +197,9 @@ 197 197 (% class="box warningmessage" %) 198 198 ((( 199 199 RSSH access will give full control of your device to remote support. Please remove sensitivity info before perform this 200 -This RSSH allow Dragino Support to remote access to the device, If user want to access himself, he need to set up the RSSH server himself. 336 +This RSSH allow Dragino Support Team to remote access to customer's device. Customer is not able to remote access it via Dragino Server. 337 + 338 +If user want to access himself, he need to set up the RSSH server himself. 201 201 ))) 202 202 203 203 ... ... @@ -211,40 +211,32 @@ 211 211 * LIG16 212 212 * MS14 series if installed with the same firmware. 213 213 352 +=== 2.2.1 End User Guide to use SSH access === 214 214 215 215 216 - 217 - 218 -=== **2.2.1 End User Guide to use SSH access** === 219 - 220 - 221 221 Go to this the Reverse SSH page as below: 222 222 357 +[[image:image-20231107200442-2.png||height="684" width="973"]] 223 223 224 -[[image:image-20220531150151-3.png]] 225 225 226 226 Get the RSSH configure page 227 227 362 +[[image:image-20220531152815-14.png]] 228 228 229 - 230 -[[image:image-20220531150338-4.png]] 231 - 232 232 Connection OK. 233 233 366 +* (% style="color:#037691" %)**ConnectionType**(%%): Select a type 367 +* (% style="color:#037691" %)**Login ID**(%%): Input the rssh server minimal ssh user 368 +* (% style="color:#037691" %)**Host Address**(%%): Input rssh server public IP address/domain name 369 +* (% style="color:#037691" %)**Connect at Startup**(%%) : Choose to enable connect once the device is powered. 370 +* (% style="color:#037691" %)**Network Keys**(%%): Click the Generate keys to generate the keys and download / mail it to Dragino support so Dragino can prepare the remote access to 234 234 235 -* (% style="color:#037691" %)**Login ID**(%%): Input sshuser 236 -* (% style="color:#037691" %)**Host Address**(%%): Input support.dragino.com 237 -* (% style="color:#037691" %)**Host Port** (%%): Please email to support @ dragino.com to get a valid host port. 238 -* (% style="color:#037691" %)**Connect at Startup**(%%) : Choose to enable connect once the device is powered. 239 -* (% style="color:#037691" %)**Network Keys**(%%): Click the Generate keys to generate the keys and download / mail it to Dragino support so Dragino can prepare the remote access to 240 - 241 241 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. 242 242 243 243 375 +=== 2.2.2 Set Up RSSH Server === 244 244 245 -=== **2.2.2 Set Up RSSH Server** === 246 246 247 - 248 248 Advance administrator can config a SSH server to provide support their end user themselves., Steps as below 249 249 250 250 ... ... @@ -376,11 +376,10 @@ 376 376 {{{ check: sudo ls /home/xxxxx/.ssh/authorizedkey}}} 377 377 378 378 509 +=== 2.2.3 How does user get the gateway to connect to a user's private server === 379 379 380 -=== **2.2.3 How does user get the gateway to connect to a user's private server** === 381 381 382 382 383 - 384 384 ==== (% style="color:blue" %)**Step 1 : Come back the gateway web UI to get the gateway Public key**(%%) ==== 385 385 386 386
- backup.tar.gz
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +93.3 KB - Content
- image-20220907161050-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +57.6 KB - Content
- image-20220907161352-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.2 KB - Content
- image-20220907162028-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.6 KB - Content
- image-20221112162416-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content
- image-20221112162543-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.2 KB - Content
- image-20221112162547-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.2 KB - Content
- image-20221112162644-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.7 KB - Content
- image-20230320105212-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +109.6 KB - Content
- image-20230320105842-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.6 KB - Content
- image-20230320105938-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.6 KB - Content
- image-20230320110123-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.1 KB - Content
- image-20230320110309-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.4 KB - Content
- image-20230320112057-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.8 KB - Content
- image-20230607085305-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.3 KB - Content
- image-20231107200343-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +57.5 KB - Content
- image-20231107200442-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.5 KB - Content