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, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -26,38 +26,16 @@ 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 to get:**[[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]]** 35 - 36 -[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/Gateway%20Management/WebHome/1732848745971-712.png?rev=1.1||alt="1732848745971-712.png"]] 37 - 38 -Once the download is complete we need to import the dashboard into our gateway management account: 39 - 40 -Firstly, we need to open the dashboard module, 41 - 42 -click on the "(% style="color:blue" %)**+**(%%)" in the upper right corner, select "(% style="color:blue" %)**import dashboard**(%%)", 43 - 44 -then we shoud drag the downloaded _dashboard file into the text box. 45 - 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 - 56 56 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**(%%)". 57 57 58 58 ~1. Click "(% style="color:blue" %)**Enable**(%%)" ~-~-~-~--> If this option is checked, the gateway will enable Remote Platform Monitor 59 59 60 -2. Configure the (% style="color:blue" %)**Owner**(%%) ~-~-~-~--> Fill in the Owne given by the Draginomanufacturer,that's the only one.38 +2. Configure the (% style="color:blue" %)**Owner**(%%) ~-~-~-~--> Fill in the Owne given by the manufacturer, that's the only one. 61 61 62 62 3. Click "(% style="color:blue" %)**Save&Apply**(%%)" 63 63 ... ... @@ -73,7 +73,7 @@ 73 73 After the above configuration is complete, wait for 2-3 minutes, the gateway will be displayed on the dashboard 74 74 75 75 76 -== 1. 4Check the dashboard. ==54 +== 1.3 Check the dashboard. == 77 77 78 78 Check if you can see your gateway information in the dashboard 79 79 ... ... @@ -113,87 +113,10 @@ 113 113 114 114 115 115 116 -= 2. Monitor Gateway via ThingsSpeak = 117 117 95 += 2. Remote Access via Remote.it. = 118 118 119 -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]] 120 120 121 - 122 -[[image:image-20220531155018-18.png]] 123 - 124 - 125 -== 2.1 Steps == 126 - 127 - 128 -* Create account in ThingsSpeak and creat channel. 129 - 130 -* Download script from dragino site and move it to properly directory 131 - 132 -(% class="box infomessage" %) 133 -((( 134 -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]] 135 -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']] 136 -Connecting to 162.241.22.11:80 137 -Writing to 'monitor_gateway.sh' 138 -monitor_gateway.sh 100% |~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~**| 1860 0:00:00 ETA 139 -Download completed (1860 bytes) 140 -root@dragino-1baf44:~~# chmod +x monitor_gateway.sh;mv monitor_gateway.sh /usr/bin/ 141 -root@dragino-1baf44:~~# 142 -root@dragino-1baf44:~~# 143 -))) 144 - 145 - 146 - 147 -* change the script monitor_gateway.sh with properly users setting: 148 - 149 -(% class="box infomessage" %) 150 -((( 151 -USER='xxxxx' # user name in your thinkspeak ~-~-> Profile 152 -PASS='xxxxx' #MQTT_API_KEY in your thinkspeak ~-~-> Profile 153 -CHAN_ID='xxxx' #Channel ID of the channel for this gateway 154 -CHAN_KEY='xxxxx' #Channel Write API of the channel for this gateway 155 -))) 156 - 157 - 158 - 159 -* run (% style="color:blue" %)**/usr/bin/monitor_gateway.sh**(%%) to test if upload is good. 160 - 161 -* 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 162 - 163 -(% class="box infomessage" %) 164 -((( 165 -# For details see man 4 crontabs 166 -# Example of job definition: 167 -# .~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- minute (0 - 59) 168 -# | .~-~-~-~-~-~-~-~-~-~-~-~-- hour (0 - 23) 169 -# | | .~-~-~-~-~-~-~-~-~-~- day of month (1 - 31) 170 -# | | | .~-~-~-~-~-~-- month (1 - 12) OR jan,feb,mar,apr ... 171 -# | | | | .~-~-~-~- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat 172 -# | | | | | 173 -# * * * * * user-name command to be executed 174 -#*/10 * * * * checklog 175 -~* 23 * * * /etc/init.d/auto_update start 176 -*/20 * * * * /usr/bin/monitor_gateway.sh 177 -))) 178 - 179 -* Reboot device. 180 - 181 -== 2.2 Monitor Public IP == 182 - 183 - 184 -The monitor_gateway.sh has been updated to upload the public ip of the device as well. 185 - 186 -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. 187 - 188 - 189 -[[image:image-20220531145559-2.png||height="658" width="1233"]] 190 - 191 -Find Public IP 192 - 193 - 194 -= 3. Remote Access via Remote.it. = 195 - 196 - 197 197 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. 198 198 199 199 ... ... @@ -240,7 +240,7 @@ 240 240 [[image:image-20220725115720-2.png||height="658" width="900"]] 241 241 242 242 243 -== 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. == 244 244 245 245 246 246 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. ... ... @@ -273,7 +273,7 @@ 273 273 [[image:image-20221112162547-3.png]] 274 274 275 275 276 -== 3.2 How to register hp0d with Remote.it ==177 +== 2.2 How to register hp0d with Remote.it == 277 277 278 278 279 279 (% style="color:blue" %)**Prerequisites:** ... ... @@ -313,7 +313,7 @@ 313 313 [[image:image-20220815173958-4.jpeg||height="580" width="964"]] 314 314 315 315 316 -== 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 == 317 317 318 318 319 319 (% style="color:blue" %)**Prerequisites:** ... ... @@ -355,7 +355,7 @@ 355 355 [[image:image-20230320112057-6.png||height="603" width="1135"]] 356 356 357 357 358 -== 3.4 Trouble Shooting ==259 +== 2.4 Trouble Shooting == 359 359 360 360 361 361 === **1. What should users do when gateway Remote.it installation fails** === ... ... @@ -378,7 +378,7 @@ 378 378 (% style="color:blue" %)**Step 3:**(%%) Follow the [[Remoteit user instruction for Dragino Gateway>>https://www.remote.it/getting-started/dragino]] steps to reconfigure 379 379 380 380 381 -= 4. RSSH Introduction =282 += 3. RSSH Introduction = 382 382 383 383 384 384 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. ... ... @@ -404,7 +404,7 @@ 404 404 * LIG16 405 405 * MS14 series if installed with the same firmware. 406 406 407 -== 4.1 End User Guide to use SSH access ==308 +== 3.1 End User Guide to use SSH access == 408 408 409 409 410 410 Go to this the Reverse SSH page as below: ... ... @@ -427,7 +427,7 @@ 427 427 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. 428 428 429 429 430 -== 4.2 Set Up RSSH Server ==331 +== 3.2 Set Up RSSH Server == 431 431 432 432 433 433 Advance administrator can config a SSH server to provide support their end user themselves., Steps as below ... ... @@ -561,7 +561,7 @@ 561 561 {{{ check: sudo ls /home/xxxxx/.ssh/authorizedkey}}} 562 562 563 563 564 -== 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 == 565 565 566 566 567 567
- image-20250109152734-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.6 KB - Content