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,7 +7,9 @@ 7 7 8 8 = 1. Dragino Platform Monitor = 9 9 10 +== 1.1 Monitor Gateway via Thingseye.io == 10 10 12 + 11 11 **Below list the support products and Requirements:** 12 12 13 13 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]]** ... ... @@ -20,7 +20,7 @@ 20 20 Once you have received your gateway and want to manage your gateway, you need to perform the following steps: 21 21 22 22 23 -== 1. 1.Create an account ==25 +=== Step 1. Create an account === 24 24 25 25 Contact: (% style="color:blue" %)**support@dragino.cc** 26 26 ... ... @@ -27,7 +27,7 @@ 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 29 30 -== 1.2. Import Dashboard ==32 +=== Step 2. Import Dashboard === 31 31 32 32 Before importing the dashboard we need to download the gateway management dashboard file from GitHub. 33 33 ... ... @@ -50,7 +50,7 @@ 50 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 51 52 52 53 -== 1.3. Configure gateway ==55 +=== Step 3. Configure gateway. === 54 54 55 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 56 ... ... @@ -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.4. Check the dashboard. ==69 +=== Step 4. Check the dashboard. === 68 68 69 69 Check if you can see your gateway information in the dashboard 70 70 ... ... @@ -104,7 +104,7 @@ 104 104 105 105 106 106 107 -= 2. Monitor Gateway via ThingsSpeak =109 +== 1.2 Monitor Gateway via ThingsSpeak == 108 108 109 109 110 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]] ... ... @@ -113,7 +113,7 @@ 113 113 [[image:image-20220531155018-18.png]] 114 114 115 115 116 -== 2.1 Steps == 118 +=== 1.2.1 Steps === 117 117 118 118 119 119 * Create account in ThingsSpeak and creat channel. ... ... @@ -169,7 +169,7 @@ 169 169 170 170 * Reboot device. 171 171 172 -== 2.2 Monitor Public IP ==174 +=== 1.2.3 Monitor Public IP === 173 173 174 174 175 175 The monitor_gateway.sh has been updated to upload the public ip of the device as well. ... ... @@ -182,7 +182,7 @@ 182 182 Find Public IP 183 183 184 184 185 -= 3. Remote Access via Remote.it. =187 +== 1.3 Remote Access via Remote.it. == 186 186 187 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. ... ... @@ -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. == 236 +=== 1.3.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. ... ... @@ -240,7 +240,7 @@ 240 240 241 241 242 242 243 -=== **The gateway version is lower than** **lgw~-~-build-v5.4.1668240318-20221112-1606:** === 245 +==== **The gateway version is lower than** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ==== 244 244 245 245 246 246 **~1. upload the [[backup file>>http://repo.dragino.com/release/miscellaneous/remoteit/backup.tar.gz]] to update the configuration.** ... ... @@ -255,7 +255,7 @@ 255 255 256 256 257 257 258 -=== **The gateway version is greater or equal to** **lgw~-~-build-v5.4.1668240318-20221112-1606:** === 260 +==== **The gateway version is greater or equal to** **lgw~-~-build-v5.4.1668240318-20221112-1606:** ==== 259 259 260 260 261 261 ... ... @@ -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 == 269 +=== 1.3.2 How to register hp0d with Remote.it === 268 268 269 269 270 270 (% style="color:blue" %)**Prerequisites:** ... ... @@ -274,7 +274,7 @@ 274 274 **[[https:~~/~~/app.remote.it>>https://app.remote.it]]** 275 275 276 276 277 -=== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) === 279 +==== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ==== 278 278 279 279 280 280 Then click Add "Linux & Raspberry Pi" and the APP will generate a command to register the device. ... ... @@ -284,7 +284,7 @@ 284 284 285 285 286 286 287 -=== (% style="color:blue" %)**2. Copy the register device command**(%%) === 289 +==== (% style="color:blue" %)**2. Copy the register device command**(%%) ==== 288 288 289 289 290 290 [[image:image-20220815173944-2.jpeg||height="556" width="923"]] ... ... @@ -291,7 +291,7 @@ 291 291 292 292 293 293 294 -=== (% style="color:blue" %)**3. Enter the command copied from the previous step on the HP0D Linux command line**(%%) === 296 +==== (% style="color:blue" %)**3. Enter the command copied from the previous step on the HP0D Linux command line**(%%) ==== 295 295 296 296 297 297 [[image:image-20220815173951-3.jpeg||height="424" width="1147"]] ... ... @@ -298,13 +298,13 @@ 298 298 299 299 300 300 301 -=== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) === 303 +==== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ==== 302 302 303 303 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 == 309 +=== 1.3.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:** ... ... @@ -316,7 +316,7 @@ 316 316 For detailed examples, please see: **[[OpenWrt How to Connect Guide (remote.it)>>url:https://www.remote.it/getting-started/openwrt]]** 317 317 318 318 319 -=== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) === 321 +==== (% style="color:blue" %)**1. Click "+" in the APP to add a device**(%%) ==== 320 320 321 321 322 322 Then click Add "OpenWrt" and the APP will generate a command to register the device. ... ... @@ -325,7 +325,7 @@ 325 325 326 326 327 327 328 -=== (% style="color:blue" %)**2. Copy the register device command**(%%) === 330 +==== (% style="color:blue" %)**2. Copy the register device command**(%%) ==== 329 329 330 330 331 331 [[image:image-20230320110309-5.png||height="635" width="1197"]] ... ... @@ -332,7 +332,7 @@ 332 332 333 333 334 334 335 -=== (% style="color:blue" %)**3. Enter the command copied from the previous step on the gateway Linux command line**(%%) === 337 +==== (% style="color:blue" %)**3. Enter the command copied from the previous step on the gateway Linux command line**(%%) ==== 336 336 337 337 338 338 (% class="wikigeneratedid" id="H" %) ... ... @@ -340,16 +340,16 @@ 340 340 341 341 342 342 343 -=== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) === 345 +==== (% style="color:blue" %)**4. Check whether the device is successfully registered on the Remote.it APP**(%%) ==== 344 344 345 345 346 346 [[image:image-20230320112057-6.png||height="603" width="1135"]] 347 347 348 348 349 -== 3.4 Trouble Shooting == 351 +=== 1.3.4 Trouble Shooting === 350 350 351 351 352 -=== **1. What should users do when gateway Remote.it installation fails** === 354 +==== **1. What should users do when gateway Remote.it installation fails** ==== 353 353 354 354 355 355 [[image:image-20220907162028-4.png||height="564" width="1148"]] ... ... @@ -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 =374 +== 1.4 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 == 400 +=== 1.4.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 == 423 +=== 1.4.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 ... ... @@ -425,7 +425,7 @@ 425 425 426 426 427 427 428 -=== (% style="color:blue" %)**Step 1 : Download the SSH service code**(%%) === 430 +==== (% style="color:blue" %)**Step 1 : Download the SSH service code**(%%) ==== 429 429 430 430 431 431 **1).** git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server ... ... @@ -495,7 +495,7 @@ 495 495 496 496 497 497 498 -=== (% style="color:blue" %)**Step 2 : Install and run the RSS service**(%%) === 500 +==== (% style="color:blue" %)**Step 2 : Install and run the RSS service**(%%) ==== 499 499 500 500 501 501 **1). ** install database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) ... ... @@ -524,7 +524,7 @@ 524 524 525 525 526 526 527 -=== (% style="color:blue" %)**Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) === 529 +==== (% style="color:blue" %)**Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) ==== 528 528 529 529 530 530 (% class="box infomessage" %) ... ... @@ -541,7 +541,7 @@ 541 541 542 542 543 543 544 -=== (% style="color:blue" %)**Step 4 : Create an authorization key file**(%%) === 546 +==== (% style="color:blue" %)**Step 4 : Create an authorization key file**(%%) ==== 545 545 546 546 547 547 **1):** sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey ... ... @@ -552,11 +552,11 @@ 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 ==557 +=== 2.2.3 How does user get the gateway to connect to a user's private server === 556 556 557 557 558 558 559 -=== (% style="color:blue" %)**Step 1 : Come back the gateway web UI to get the gateway Public key**(%%) === 561 +==== (% style="color:blue" %)**Step 1 : Come back the gateway web UI to get the gateway Public key**(%%) ==== 560 560 561 561 562 562 **1)** in the system ~-~-> (% style="color:#037691" %)**Remote Mgmt/span** ... ... @@ -565,7 +565,7 @@ 565 565 566 566 567 567 568 -=== (% style="color:blue" %)**Step 2 : Authorization server**(%%) === 570 +==== (% style="color:blue" %)**Step 2 : Authorization server**(%%) ==== 569 569 570 570 571 571 Input the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. ... ... @@ -574,7 +574,7 @@ 574 574 575 575 576 576 577 -=== (% style="color:blue" %)**Step 3 : Connect private server**(%%) === 579 +==== (% style="color:blue" %)**Step 3 : Connect private server**(%%) ==== 578 578 579 579 580 580 This is same as connect Dragino Support Server but just change the server address to customize server address. ... ... @@ -583,7 +583,7 @@ 583 583 584 584 585 585 586 -=== (% style="color:blue" %)**Step 4 : Check Connection**(%%) === 588 +==== (% style="color:blue" %)**Step 4 : Check Connection**(%%) ==== 587 587 588 588 589 589 Rssh Host connection Ok ... ... @@ -597,7 +597,7 @@ 597 597 598 598 599 599 600 -=== (% style="color:blue" %)**Step 5 : Access the gateway from customized server**(%%) === 602 +==== (% style="color:blue" %)**Step 5 : Access the gateway from customized server**(%%) ==== 601 601 602 602 603 603 Check what gateways link to server.