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)
Details
- Page properties
-
- Content
-
... ... @@ -7,14 +7,12 @@ 7 7 8 8 = 1. Dragino Platform Monitor = 9 9 10 -== 1.1 Monitor Gateway via TE == 11 11 12 - 13 13 **Below list the support products and Requirements:** 14 14 15 15 1. LoRaWAN Gateway model: **[[LG308N>>doc:Main.User Manual for All Gateway models.LG308N - LoRaWAN Gateway User Manual.WebHome]]**, **[[DLOS8N>>doc:Main.User Manual for All Gateway models.DLOS8N.WebHome]]**,**[[LPS8N>>doc:Main.User Manual for All Gateway models.LPS8N - LoRaWAN Gateway User Manual.WebHome]]**,**[[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]**,**[[MS48-LR>>doc:Main.User Manual for All Gateway models.MS48-LR_LoRaWAN_To_Modbus_Gateway.WebHome]]** 16 16 17 -The LG308,DLOS8N,LPS8N supports remote platform functionality ,Since firmware: **lgw~-~-v5.4.1734 082928**15 +The LG308,DLOS8N,LPS8N supports remote platform functionality ,Since firmware: **[[lgw~~-~~-build-v5.4.1735869581>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/lgw--build-v5.4.1735869581-20250103-1003/]]** 18 18 19 19 The LPS8v2, MS48-LR supports remote platform functionality,Since software version **dragino-ui : 2024-12-15 ** 20 20 ... ... @@ -22,7 +22,7 @@ 22 22 Once you have received your gateway and want to manage your gateway, you need to perform the following steps: 23 23 24 24 25 -== =Step1. Create an account ===23 +== 1.1 Create an account == 26 26 27 27 Contact: (% style="color:blue" %)**support@dragino.cc** 28 28 ... ... @@ -29,7 +29,7 @@ 29 29 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. 30 30 31 31 32 -== =Step 2. Import Dashboard ===30 +== 1.2 Import Dashboard == 33 33 34 34 Before importing the dashboard we need to download the gateway management dashboard file from GitHub. 35 35 ... ... @@ -52,7 +52,7 @@ 52 52 [[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"]] 53 53 54 54 55 -== =Step 3. Configure gateway.===53 +== 1.3 Configure gateway == 56 56 57 57 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**(%%)". 58 58 ... ... @@ -66,7 +66,7 @@ 66 66 After the above configuration is complete, wait for 2-3 minutes, the gateway will be displayed on the dashboard 67 67 68 68 69 -== =Step 4. Check the dashboard. ===67 +== 1.4 Check the dashboard. == 70 70 71 71 Check if you can see your gateway information in the dashboard 72 72 ... ... @@ -84,7 +84,7 @@ 84 84 85 85 (% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__3. Auto-Update: __**(%%) After clicking, the gateway will be updated 86 86 87 -(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__4. Refresh: __**(%%) After clicking, the gateway will immediately update the data information on the dashboard 85 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__4. Refresh: __**(%%) After clicking, the gateway will immediately update the data information and displays the current package version on the dashboard 88 88 89 89 (% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__5. Reboot gateway: __**(%%) After clicking, the gateway will reboot. 90 90 ... ... @@ -106,7 +106,7 @@ 106 106 107 107 108 108 109 -= =1.2 Monitor Gateway via ThingsSpeak ==107 += 2. Monitor Gateway via ThingsSpeak = 110 110 111 111 112 112 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]] ... ... @@ -115,7 +115,7 @@ 115 115 [[image:image-20220531155018-18.png]] 116 116 117 117 118 -== =1.2.1 Steps ===116 +== 2.1 Steps == 119 119 120 120 121 121 * Create account in ThingsSpeak and creat channel. ... ... @@ -171,7 +171,7 @@ 171 171 172 172 * Reboot device. 173 173 174 -== =1.2.3Monitor Public IP ===172 +== 2.2 Monitor Public IP == 175 175 176 176 177 177 The monitor_gateway.sh has been updated to upload the public ip of the device as well. ... ... @@ -184,7 +184,7 @@ 184 184 Find Public IP 185 185 186 186 187 -= =1.3 Remote Access via Remote.it. ==185 += 3. Remote Access via Remote.it. = 188 188 189 189 190 190 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. ... ... @@ -233,7 +233,7 @@ 233 233 [[image:image-20220725115720-2.png||height="658" width="900"]] 234 234 235 235 236 -== =1.3.1 How to save the registered remote after the gateway's firmware update. ===234 +== 3.1 How to save the registered remote after the gateway's firmware update. == 237 237 238 238 239 239 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. ... ... @@ -242,7 +242,7 @@ 242 242 243 243 244 244 245 -=== =**The gateway version is lower than** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ====243 +=== **The gateway version is lower than** **lgw~-~-build-v5.4.1668240318-20221112-1606:** === 246 246 247 247 248 248 **~1. upload the [[backup file>>http://repo.dragino.com/release/miscellaneous/remoteit/backup.tar.gz]] to update the configuration.** ... ... @@ -257,7 +257,7 @@ 257 257 258 258 259 259 260 -=== =**The gateway version is greater or equal to** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ====258 +=== **The gateway version is greater or equal to** **lgw~-~-build-v5.4.1668240318-20221112-1606:** === 261 261 262 262 263 263 ... ... @@ -266,7 +266,7 @@ 266 266 [[image:image-20221112162547-3.png]] 267 267 268 268 269 -== =1.3.2 How to register hp0d with Remote.it ===267 +== 3.2 How to register hp0d with Remote.it == 270 270 271 271 272 272 (% style="color:blue" %)**Prerequisites:** ... ... @@ -276,7 +276,7 @@ 276 276 **[[https:~~/~~/app.remote.it>>https://app.remote.it]]** 277 277 278 278 279 -=== =(% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ====277 +=== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) === 280 280 281 281 282 282 Then click Add "Linux & Raspberry Pi" and the APP will generate a command to register the device. ... ... @@ -286,7 +286,7 @@ 286 286 287 287 288 288 289 -=== =(% style="color:blue" %)**2. Copy the register device command**(%%) ====287 +=== (% style="color:blue" %)**2. Copy the register device command**(%%) === 290 290 291 291 292 292 [[image:image-20220815173944-2.jpeg||height="556" width="923"]] ... ... @@ -293,7 +293,7 @@ 293 293 294 294 295 295 296 -=== =(% style="color:blue" %)**3. Enter the command copied from the previous step on the HP0D Linux command line**(%%) ====294 +=== (% style="color:blue" %)**3. Enter the command copied from the previous step on the HP0D Linux command line**(%%) === 297 297 298 298 299 299 [[image:image-20220815173951-3.jpeg||height="424" width="1147"]] ... ... @@ -300,13 +300,13 @@ 300 300 301 301 302 302 303 -=== =(% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ====301 +=== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) === 304 304 305 305 306 306 [[image:image-20220815173958-4.jpeg||height="580" width="964"]] 307 307 308 308 309 -== =1.3.3 How to register the gateway with Remote.it via SSH Access for Linux console ===307 +== 3.3 How to register the gateway with Remote.it via SSH Access for Linux console == 310 310 311 311 312 312 (% style="color:blue" %)**Prerequisites:** ... ... @@ -318,7 +318,7 @@ 318 318 For detailed examples, please see: **[[OpenWrt How to Connect Guide (remote.it)>>url:https://www.remote.it/getting-started/openwrt]]** 319 319 320 320 321 -=== =(% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ====319 +=== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) === 322 322 323 323 324 324 Then click Add "OpenWrt" and the APP will generate a command to register the device. ... ... @@ -327,7 +327,7 @@ 327 327 328 328 329 329 330 -=== =(% style="color:blue" %)**2. Copy the register device command**(%%) ====328 +=== (% style="color:blue" %)**2. Copy the register device command**(%%) === 331 331 332 332 333 333 [[image:image-20230320110309-5.png||height="635" width="1197"]] ... ... @@ -334,7 +334,7 @@ 334 334 335 335 336 336 337 -=== =(% style="color:blue" %)**3. Enter the command copied from the previous step on the gateway Linux command line**(%%) ====335 +=== (% style="color:blue" %)**3. Enter the command copied from the previous step on the gateway Linux command line**(%%) === 338 338 339 339 340 340 (% class="wikigeneratedid" id="H" %) ... ... @@ -342,16 +342,16 @@ 342 342 343 343 344 344 345 -=== =(% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ====343 +=== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) === 346 346 347 347 348 348 [[image:image-20230320112057-6.png||height="603" width="1135"]] 349 349 350 350 351 -== =1.3.4 Trouble Shooting ===349 +== 3.4 Trouble Shooting == 352 352 353 353 354 -=== =**1. What should users do when gateway Remote.it installation fails** ====352 +=== **1. What should users do when gateway Remote.it installation fails** === 355 355 356 356 357 357 [[image:image-20220907162028-4.png||height="564" width="1148"]] ... ... @@ -371,7 +371,7 @@ 371 371 (% style="color:blue" %)**Step 3:**(%%) Follow the [[Remoteit user instruction for Dragino Gateway>>https://www.remote.it/getting-started/dragino]] steps to reconfigure 372 372 373 373 374 -= =1.4 RSSH Introduction ==372 += 4. RSSH Introduction = 375 375 376 376 377 377 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. ... ... @@ -397,7 +397,7 @@ 397 397 * LIG16 398 398 * MS14 series if installed with the same firmware. 399 399 400 -== =1.4.1 End User Guide to use SSH access ===398 +== 4.1 End User Guide to use SSH access == 401 401 402 402 403 403 Go to this the Reverse SSH page as below: ... ... @@ -420,7 +420,7 @@ 420 420 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. 421 421 422 422 423 -== =1.4.2 Set Up RSSH Server ===421 +== 4.2 Set Up RSSH Server == 424 424 425 425 426 426 Advance administrator can config a SSH server to provide support their end user themselves., Steps as below ... ... @@ -427,7 +427,7 @@ 427 427 428 428 429 429 430 -=== =(% style="color:blue" %)**Step 1 : Download the SSH service code**(%%) ====428 +=== (% style="color:blue" %)**Step 1 : Download the SSH service code**(%%) === 431 431 432 432 433 433 **1).** git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server ... ... @@ -497,7 +497,7 @@ 497 497 498 498 499 499 500 -=== =(% style="color:blue" %)**Step 2 : Install and run the RSS service**(%%) ====498 +=== (% style="color:blue" %)**Step 2 : Install and run the RSS service**(%%) === 501 501 502 502 503 503 **1). ** install database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) ... ... @@ -526,7 +526,7 @@ 526 526 527 527 528 528 529 -=== =(% style="color:blue" %)**Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) ====527 +=== (% style="color:blue" %)**Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) === 530 530 531 531 532 532 (% class="box infomessage" %) ... ... @@ -543,7 +543,7 @@ 543 543 544 544 545 545 546 -=== =(% style="color:blue" %)**Step 4 : Create an authorization key file**(%%) ====544 +=== (% style="color:blue" %)**Step 4 : Create an authorization key file**(%%) === 547 547 548 548 549 549 **1):** sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey ... ... @@ -554,11 +554,11 @@ 554 554 {{{ check: sudo ls /home/xxxxx/.ssh/authorizedkey}}} 555 555 556 556 557 -== =2.2.3 How does user get the gateway to connect to a user's private server ===555 +== 4.3 How does user get the gateway to connect to a user's private server == 558 558 559 559 560 560 561 -=== =(% style="color:blue" %)**Step 1 : Come back the gateway web UI to get the gateway Public key**(%%) ====559 +=== (% style="color:blue" %)**Step 1 : Come back the gateway web UI to get the gateway Public key**(%%) === 562 562 563 563 564 564 **1)** in the system ~-~-> (% style="color:#037691" %)**Remote Mgmt/span** ... ... @@ -567,7 +567,7 @@ 567 567 568 568 569 569 570 -=== =(% style="color:blue" %)**Step 2 : Authorization server**(%%) ====568 +=== (% style="color:blue" %)**Step 2 : Authorization server**(%%) === 571 571 572 572 573 573 Input the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. ... ... @@ -576,7 +576,7 @@ 576 576 577 577 578 578 579 -=== =(% style="color:blue" %)**Step 3 : Connect private server**(%%) ====577 +=== (% style="color:blue" %)**Step 3 : Connect private server**(%%) === 580 580 581 581 582 582 This is same as connect Dragino Support Server but just change the server address to customize server address. ... ... @@ -585,7 +585,7 @@ 585 585 586 586 587 587 588 -=== =(% style="color:blue" %)**Step 4 : Check Connection**(%%) ====586 +=== (% style="color:blue" %)**Step 4 : Check Connection**(%%) === 589 589 590 590 591 591 Rssh Host connection Ok ... ... @@ -599,7 +599,7 @@ 599 599 600 600 601 601 602 -=== =(% style="color:blue" %)**Step 5 : Access the gateway from customized server**(%%) ====600 +=== (% style="color:blue" %)**Step 5 : Access the gateway from customized server**(%%) === 603 603 604 604 605 605 Check what gateways link to server.