Changes for page LG308N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2025/02/07 08:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,6 +6,7 @@ 6 6 7 7 **Table of Contents:** 8 8 9 +{{toc/}} 9 9 10 10 11 11 ... ... @@ -17,8 +17,10 @@ 17 17 18 18 19 19 21 + 20 20 = 1. Introduction = 21 21 24 + 22 22 == 1.1 What is the LG308N == 23 23 24 24 ... ... @@ -47,6 +47,7 @@ 47 47 [[image:1657010949218-224.png]] 48 48 49 49 53 + 50 50 == 1.2 Specifications == 51 51 52 52 ... ... @@ -104,11 +104,9 @@ 104 104 * Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage 105 105 * MIMO technology meets demands for data rate and link reliability in modem wireless communication systems 106 106 107 - 108 - 109 - 110 110 == 1.3 Features == 111 111 113 + 112 112 * Open Source Linux system 113 113 * Managed by Web GUI, SSH via LAN or WiFi 114 114 * Emulates 49x LoRa demodulators ... ... @@ -115,14 +115,13 @@ 115 115 * LoRaWAN Gateway 116 116 * 10 programmable parallel demodulation paths 117 117 118 - 119 - 120 - 121 121 == 1.4 Hardware System Structure == 122 122 122 + 123 123 [[image:1657011152828-178.png]] 124 124 125 125 126 + 126 126 == 1.5 LG308N Applications == 127 127 128 128 ... ... @@ -129,8 +129,10 @@ 129 129 [[image:1657011208596-209.png]] 130 130 131 131 133 + 132 132 == 1.6 LED Indicators == 133 133 136 + 134 134 LG308N has totally 6 LEDs, They are: 135 135 136 136 * **Power LED **[[image:image-20220705165446-1.png||height="15" width="16"]] : This (% style="color:red" %)**LED**(%%) will be **solid on** if the device is properly powered. ... ... @@ -156,11 +156,14 @@ 156 156 157 157 = 2. Access and Configure LG308N = 158 158 162 + 159 159 The LG308N is configured as a WiFi Access Point by default. User can access and configure the LG308N after connecting to its WiFi network, or via its Ethernet port. 160 160 161 161 166 + 162 162 == 2.1 Find IP address of LG308N == 163 163 169 + 164 164 === 2.1.1 Connect via WiFi === 165 165 166 166 [[image:1657011715859-829.png]] ... ... @@ -168,19 +168,22 @@ 168 168 169 169 At the first boot of LG308N, it will auto generate a WiFi network called (% style="color:green" %)**//dragino-xxxxxx //**(%%)with password: 170 170 171 -(% style="color:red" %)Note: In latest version firmware, it has been password protected and the password is: dragino+dragino 177 +(% style="color:red" %)**Note: In latest version firmware, it has been password protected and the password is: **(% style="background-color:yellow" %)**dragino+dragino** 172 172 179 + 173 173 [[image:1652413127647-377.png]] 174 174 175 175 176 176 ((( 177 -User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LG308N has the default IP (% style="color:green" %)10.130.1.1 184 +User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LG308N has the default IP (% style="color:green" %)**10.130.1.1** 178 178 186 + 179 179 180 180 ))) 181 181 182 182 === 2.1.2 Connect via WAN port with DHCP IP from router === 183 183 192 + 184 184 [[image:1657011966663-484.png]] 185 185 186 186 ((( ... ... @@ -194,6 +194,7 @@ 194 194 195 195 === 2.1.3 Connect via LAN port with direct connection from PC === 196 196 206 + 197 197 [[image:1657012061799-674.png]] 198 198 199 199 ((( ... ... @@ -204,6 +204,7 @@ 204 204 205 205 === 2.1.4 Connect WiFi with DHCP IP from router === 206 206 217 + 207 207 [[image:image-20220705171041-7.png]] 208 208 209 209 ... ... @@ -213,6 +213,7 @@ 213 213 214 214 === 2.1.5 Connect via LAN port by fall back ip === 215 215 227 + 216 216 The **LAN port** also has a [[fall back ip address>>path:#fallback_ip]] for access if user doesn't connect to uplink router. 217 217 218 218 ... ... @@ -219,6 +219,7 @@ 219 219 220 220 == 2.2 Access Configure Web UI == 221 221 234 + 222 222 **Web Interface** 223 223 224 224 Open a browser on the PC and type the LG308N ip address (depends on your connect method) ... ... @@ -241,10 +241,13 @@ 241 241 [[image:1652414287022-223.png]] 242 242 243 243 257 + 244 244 = 3. Typical Network Setup = 245 245 260 + 246 246 == 3.1 Overview == 247 247 263 + 248 248 ((( 249 249 LG308N supports flexible network set up for different environment. This section describes the typical network topology can be set in LG308N. The typical network set up includes: 250 250 ))) ... ... @@ -254,18 +254,18 @@ 254 254 * **WiFi AP Mode** 255 255 * **Cellular Mode** 256 256 257 - 258 - 259 - 260 260 == 3.2 Use WAN port to access Internet == 261 261 275 + 262 262 By default, the LG308N is set to use the WAN port to connect to an upstream network. When you connect the LG308N's WAN port to an upstream router, LG308N will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the (% style="color:#4f81bd" %)**home page**: 263 263 264 264 [[image:1657012559318-672.png]] 265 265 266 266 267 -== 3.3 Access the Internet as a WiFi Client == 268 268 282 +== 3.3 Access the Internet as a WiFi Client == 283 + 284 + 269 269 In the WiFi Client Mode, LG308N acts as a WiFi client and gets DHCP from an upstream router via WiFi. 270 270 271 271 ((( ... ... @@ -275,13 +275,15 @@ 275 275 [[image:1657012573321-862.png]] 276 276 277 277 ((( 278 -In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply 294 +In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click(% style="color:blue" %)** Save & Apply** to connect. 279 279 296 + 280 280 281 281 ))) 282 282 283 283 == 3.4 Use built-in 4G modem for internet access == 284 284 302 + 285 285 If the LG308N has 3G/4G Cellular modem, user can use it as main internet connection or back up. 286 286 287 287 ... ... @@ -294,10 +294,6 @@ 294 294 295 295 296 296 ((( 297 - 298 -))) 299 - 300 -((( 301 301 The set up page is (% style="color:#4f81bd" %)**System ~-~-> Cellular** 302 302 ))) 303 303 ... ... @@ -312,8 +312,10 @@ 312 312 ))) 313 313 314 314 329 + 315 315 == 3.5 Check Internet connection == 316 316 332 + 317 317 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. 318 318 319 319 * GREEN Tick [[image:1652436675869-206.png||height="14" width="15"]] : This interface has Internet connection. ... ... @@ -323,8 +323,10 @@ 323 323 [[image:1657012821329-972.png]] 324 324 325 325 342 + 326 326 = 4. Example: Configure as a LoRaWAN gateway = 327 327 345 + 328 328 LG308N is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below. 329 329 330 330 ((( ... ... @@ -334,11 +334,12 @@ 334 334 This chapter describes how to use the LG308N to work with(TTN v3)[[ LoRaWAN Server>>url:https://www.thethingsnetwork.org/]] ([[www.thethingsnetwork.org>>url:http://www.thethingsnetwork.org/]]) 335 335 336 336 355 + 337 337 == 4.1 Create a gateway in TTN V3 Server == 338 338 339 339 340 340 ((( 341 -(% style="color: #4f81bd" %)**Step 1: Get a Unique gateway ID.**360 +(% style="color:blue" %)**Step 1: Get a Unique gateway ID.** 342 342 ))) 343 343 344 344 ((( ... ... @@ -356,15 +356,17 @@ 356 356 The example gateway id is: (% style="color:green" %)**a840411e96744154** 357 357 358 358 359 -(% style="color:#4f81bd" %)**Step 2: Sign up a user account in TTN server** 360 360 379 +(% style="color:blue" %)**Step 2: Sign up a user account in TTN server** 380 + 361 361 [[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]] 362 362 363 363 [[image:1652422127479-258.png||height="346" width="738"]] 364 364 365 365 366 -(% style="color:#4f81bd" %)**Step 3: Choose the TTNv3 Cluster Picker** 367 367 387 +(% style="color:blue" %)**Step 3: Choose the TTNv3 Cluster Picker** 388 + 368 368 ((( 369 369 [[image:1652422142236-792.png||height="356" width="737"]] 370 370 ))) ... ... @@ -377,8 +377,9 @@ 377 377 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 378 378 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 379 379 380 -(% style="color:#4f81bd" %)**Step 4: Create a Gateway** 381 381 402 +(% style="color:blue" %)**Step 4: Create a Gateway** 403 + 382 382 [[image:1652422440891-514.png||height="360" width="747"]] 383 383 384 384 Click the Gateway icon and then click Add gateway. ... ... @@ -392,7 +392,9 @@ 392 392 393 393 394 394 ((( 395 -(% style="color:red" %)**Notice: **Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network. 417 +(% style="color:red" %)**Notice: Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network.** 418 + 419 + 396 396 ))) 397 397 398 398 After creating the gateway, you can see the gateway info, as below. ... ... @@ -400,8 +400,10 @@ 400 400 [[image:1652422509034-682.png||height="299" width="739"]] 401 401 402 402 427 + 403 403 == 4.2 Configure LG308N to connect to TTN v3 == 404 404 430 + 405 405 ((( 406 406 You can now configure the LG308N to let it connect to TTN network V3. 407 407 ))) ... ... @@ -411,14 +411,17 @@ 411 411 ))) 412 412 413 413 ((( 414 -Choose the right server provider and click (% style="color:#4f81bd" %)**Save&Apply** 440 +Choose the right server provider and click (% style="color:blue" %)**Save&Apply** 441 + 442 + 415 415 ))) 416 416 417 417 [[image:1652422624783-580.png||height="327" width="729"]] 418 418 419 -(% style="color:red" %)**Note: **The server address must match the Gateway server address you choose in TTN V3. 420 420 448 +(% style="color:red" %)**Note: The server address must match the Gateway server address you choose in TTN V3.** 421 421 450 + 422 422 In the home page, we can see the LoRaWAN connection is ready now. 423 423 424 424 [[image:1657014479765-850.png]] ... ... @@ -429,8 +429,10 @@ 429 429 [[image:1652422703020-955.png||height="343" width="730"]] 430 430 431 431 461 + 432 432 == 4.3 Configure frequency == 433 433 464 + 434 434 We also need to set the frequency plan in LG308N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. 435 435 436 436 ... ... @@ -442,8 +442,10 @@ 442 442 [[image:1652422763536-750.png||height="514" width="730"]] 443 443 444 444 476 + 445 445 == 4.4 Add a LoRaWAN End Device == 446 446 479 + 447 447 ((( 448 448 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 449 449 ))) ... ... @@ -455,7 +455,7 @@ 455 455 [[image:1652422794767-871.png]] 456 456 457 457 ((( 458 -(% style="color: #4f81bd" %)**Step 1**: (% style="color:black" %)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device.491 +(% style="color:blue" %)**Step 1**: (% style="color:black" %)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device. 459 459 ))) 460 460 461 461 ((( ... ... @@ -528,29 +528,39 @@ 528 528 ))) 529 529 530 530 ((( 531 -(% style="color:#4f81bd" %)**Step 2**: (% style="color:black" %)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel. 564 +(% style="color:blue" %)**Step 2**: (% style="color:black" %)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel. 565 + 566 + 532 532 ))) 533 533 534 534 ((( 535 -(% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 570 +(% style="color:red" %)**Note that it may take some time for the device data to appear in the TTN v3 display.** 571 + 572 + 536 536 ))) 537 537 538 538 [[image:1652423277549-324.png||height="273" width="745"]] 539 539 540 540 578 + 541 541 = 5. Web Configure Pages = 542 542 581 + 543 543 == 5.1 Home == 544 544 584 + 545 545 Shows the system running status. 546 546 547 547 [[image:1657014949846-507.png]] 548 548 549 549 590 + 550 550 == 5.2 LoRa Settings == 551 551 593 + 552 552 === 5.2.1 LoRa ~-~-> LoRa === 553 553 596 + 554 554 ((( 555 555 This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well. 556 556 ))) ... ... @@ -563,12 +563,12 @@ 563 563 * (% style="color:blue" %)**915**(%%): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 564 564 565 565 ((( 566 -After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log** 609 +After user choose the frequency plan, he can see the actually frequency in used by checking the page (% style="color:blue" %)**LogRead ~-~-> LoRa Log** 567 567 ))) 568 568 569 569 [[image:1652423554776-574.png||height="380" width="740"]] 570 570 571 -Note *: **[[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]**614 +(% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 572 572 573 573 574 574 === 5.2.2 LoRa ~-~-> ABP Decryption === ... ... @@ -1026,9 +1026,9 @@ 1026 1026 1027 1027 1028 1028 1029 -= 10. Trouble Shooting = 1072 += 10. Trouble Shooting = 1030 1030 1031 -== 10.1 I get kernel error when install new package, how to fix? == 1074 +== 10.1 I get kernel error when install new package, how to fix? == 1032 1032 1033 1033 In some cases, when installing a package with **//opkg//**, it will generate a kernel error such as below due to a mismatch I the kernel ID: 1034 1034 ... ... @@ -1099,7 +1099,7 @@ 1099 1099 1100 1100 1101 1101 1102 -= 11. Order Info = 1145 += 11. Order Info = 1103 1103 1104 1104 1105 1105 (% style="color:#4f81bd" %)**//PART: DLOS8N-XXX-YYY//: ** ... ... @@ -1121,7 +1121,7 @@ 1121 1121 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 1122 1122 1123 1123 1124 -= 12. Packing Info = 1167 += 12. Packing Info = 1125 1125 1126 1126 ((( 1127 1127 ... ... @@ -1145,26 +1145,19 @@ 1145 1145 * Package Size: 49 x 19.5 x x 19Package Size: 4912 cm 1146 1146 * Weight: 2.5kg 1147 1147 1191 += 13. Support = 1148 1148 1149 - 1150 -= 13. Support = 1151 - 1152 1152 * Try to see if your questions already answered in the [[wiki>>doc:Main.WebHome]]. 1153 1153 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. 1154 1154 Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before mentioned schedule. 1155 1155 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to:[[support@dragino.com>>url:file:///C:/Users/11315/Documents/D:/Projects/LoRa%20Product%20Line/LG308%20Picocell%20Gateway/LG308/LG308%20%25E8%25AF%25B4%25E6%2598%258E%25E4%25B9%25A6/support@dragino.com]] 1156 1156 1157 - 1158 - 1159 1159 = 14. Reference = 1160 1160 1161 1161 * Source code for LG08 LoRa Gateway: [[https:~~/~~/github.com/dragino/openwrt_lede-18.06>>url:https://github.com/dragino/openwrt_lede-18.06]] 1162 1162 1163 - 1164 1164 * OpenWrt official Wiki: [[http:~~/~~/www.openwrt.org/>>url:http://www.openwrt.org/]] 1165 1165 1166 - 1167 1167 * Firmware: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308N-OLG308N/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]] 1168 1168 1169 - 1170 1170 * Hardware Source code: [[https:~~/~~/github.com/dragino/motherboard-hardware/tree/master/LG308N>>url:https://github.com/dragino/motherboard-hardware/tree/master/LG308]]