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
-
... ... @@ -21,6 +21,7 @@ 21 21 22 22 = 1. Introduction = 23 23 24 + 24 24 == 1.1 What is the LG308N == 25 25 26 26 ... ... @@ -49,6 +49,7 @@ 49 49 [[image:1657010949218-224.png]] 50 50 51 51 53 + 52 52 == 1.2 Specifications == 53 53 54 54 ... ... @@ -106,9 +106,9 @@ 106 106 * Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage 107 107 * MIMO technology meets demands for data rate and link reliability in modem wireless communication systems 108 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,12 +115,13 @@ 115 115 * LoRaWAN Gateway 116 116 * 10 programmable parallel demodulation paths 117 117 118 - 119 119 == 1.4 Hardware System Structure == 120 120 122 + 121 121 [[image:1657011152828-178.png]] 122 122 123 123 126 + 124 124 == 1.5 LG308N Applications == 125 125 126 126 ... ... @@ -127,8 +127,10 @@ 127 127 [[image:1657011208596-209.png]] 128 128 129 129 133 + 130 130 == 1.6 LED Indicators == 131 131 136 + 132 132 LG308N has totally 6 LEDs, They are: 133 133 134 134 * **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. ... ... @@ -154,11 +154,14 @@ 154 154 155 155 = 2. Access and Configure LG308N = 156 156 162 + 157 157 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. 158 158 159 159 166 + 160 160 == 2.1 Find IP address of LG308N == 161 161 169 + 162 162 === 2.1.1 Connect via WiFi === 163 163 164 164 [[image:1657011715859-829.png]] ... ... @@ -166,19 +166,22 @@ 166 166 167 167 At the first boot of LG308N, it will auto generate a WiFi network called (% style="color:green" %)**//dragino-xxxxxx //**(%%)with password: 168 168 169 -(% 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** 170 170 179 + 171 171 [[image:1652413127647-377.png]] 172 172 173 173 174 174 ((( 175 -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** 176 176 186 + 177 177 178 178 ))) 179 179 180 180 === 2.1.2 Connect via WAN port with DHCP IP from router === 181 181 192 + 182 182 [[image:1657011966663-484.png]] 183 183 184 184 ((( ... ... @@ -192,6 +192,7 @@ 192 192 193 193 === 2.1.3 Connect via LAN port with direct connection from PC === 194 194 206 + 195 195 [[image:1657012061799-674.png]] 196 196 197 197 ((( ... ... @@ -202,6 +202,7 @@ 202 202 203 203 === 2.1.4 Connect WiFi with DHCP IP from router === 204 204 217 + 205 205 [[image:image-20220705171041-7.png]] 206 206 207 207 ... ... @@ -211,6 +211,7 @@ 211 211 212 212 === 2.1.5 Connect via LAN port by fall back ip === 213 213 227 + 214 214 The **LAN port** also has a [[fall back ip address>>path:#fallback_ip]] for access if user doesn't connect to uplink router. 215 215 216 216 ... ... @@ -217,6 +217,7 @@ 217 217 218 218 == 2.2 Access Configure Web UI == 219 219 234 + 220 220 **Web Interface** 221 221 222 222 Open a browser on the PC and type the LG308N ip address (depends on your connect method) ... ... @@ -239,10 +239,13 @@ 239 239 [[image:1652414287022-223.png]] 240 240 241 241 257 + 242 242 = 3. Typical Network Setup = 243 243 260 + 244 244 == 3.1 Overview == 245 245 263 + 246 246 ((( 247 247 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: 248 248 ))) ... ... @@ -252,16 +252,18 @@ 252 252 * **WiFi AP Mode** 253 253 * **Cellular Mode** 254 254 255 - 256 256 == 3.2 Use WAN port to access Internet == 257 257 275 + 258 258 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**: 259 259 260 260 [[image:1657012559318-672.png]] 261 261 262 262 281 + 263 263 == 3.3 Access the Internet as a WiFi Client == 264 264 284 + 265 265 In the WiFi Client Mode, LG308N acts as a WiFi client and gets DHCP from an upstream router via WiFi. 266 266 267 267 ((( ... ... @@ -271,13 +271,15 @@ 271 271 [[image:1657012573321-862.png]] 272 272 273 273 ((( 274 -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. 275 275 296 + 276 276 277 277 ))) 278 278 279 279 == 3.4 Use built-in 4G modem for internet access == 280 280 302 + 281 281 If the LG308N has 3G/4G Cellular modem, user can use it as main internet connection or back up. 282 282 283 283 ... ... @@ -290,10 +290,6 @@ 290 290 291 291 292 292 ((( 293 - 294 -))) 295 - 296 -((( 297 297 The set up page is (% style="color:#4f81bd" %)**System ~-~-> Cellular** 298 298 ))) 299 299 ... ... @@ -308,8 +308,10 @@ 308 308 ))) 309 309 310 310 329 + 311 311 == 3.5 Check Internet connection == 312 312 332 + 313 313 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. 314 314 315 315 * GREEN Tick [[image:1652436675869-206.png||height="14" width="15"]] : This interface has Internet connection. ... ... @@ -319,8 +319,10 @@ 319 319 [[image:1657012821329-972.png]] 320 320 321 321 342 + 322 322 = 4. Example: Configure as a LoRaWAN gateway = 323 323 345 + 324 324 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. 325 325 326 326 ((( ... ... @@ -330,11 +330,12 @@ 330 330 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/]]) 331 331 332 332 355 + 333 333 == 4.1 Create a gateway in TTN V3 Server == 334 334 335 335 336 336 ((( 337 -(% style="color: #4f81bd" %)**Step 1: Get a Unique gateway ID.**360 +(% style="color:blue" %)**Step 1: Get a Unique gateway ID.** 338 338 ))) 339 339 340 340 ((( ... ... @@ -352,15 +352,17 @@ 352 352 The example gateway id is: (% style="color:green" %)**a840411e96744154** 353 353 354 354 355 -(% style="color:#4f81bd" %)**Step 2: Sign up a user account in TTN server** 356 356 379 +(% style="color:blue" %)**Step 2: Sign up a user account in TTN server** 380 + 357 357 [[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]] 358 358 359 359 [[image:1652422127479-258.png||height="346" width="738"]] 360 360 361 361 362 -(% style="color:#4f81bd" %)**Step 3: Choose the TTNv3 Cluster Picker** 363 363 387 +(% style="color:blue" %)**Step 3: Choose the TTNv3 Cluster Picker** 388 + 364 364 ((( 365 365 [[image:1652422142236-792.png||height="356" width="737"]] 366 366 ))) ... ... @@ -373,7 +373,7 @@ 373 373 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 374 374 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 375 375 376 -(% style="color: #4f81bd" %)**Step 4: Create a Gateway**401 +(% style="color:blue" %)**Step 4: Create a Gateway** 377 377 378 378 [[image:1652422440891-514.png||height="360" width="747"]] 379 379 ... ... @@ -388,7 +388,9 @@ 388 388 389 389 390 390 ((( 391 -(% style="color:red" %)**Notice: **Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network. 416 +(% 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 + 418 + 392 392 ))) 393 393 394 394 After creating the gateway, you can see the gateway info, as below. ... ... @@ -396,8 +396,10 @@ 396 396 [[image:1652422509034-682.png||height="299" width="739"]] 397 397 398 398 426 + 399 399 == 4.2 Configure LG308N to connect to TTN v3 == 400 400 429 + 401 401 ((( 402 402 You can now configure the LG308N to let it connect to TTN network V3. 403 403 ))) ... ... @@ -407,14 +407,17 @@ 407 407 ))) 408 408 409 409 ((( 410 -Choose the right server provider and click (% style="color:#4f81bd" %)**Save&Apply** 439 +Choose the right server provider and click (% style="color:blue" %)**Save&Apply** 440 + 441 + 411 411 ))) 412 412 413 413 [[image:1652422624783-580.png||height="327" width="729"]] 414 414 415 -(% style="color:red" %)**Note: **The server address must match the Gateway server address you choose in TTN V3. 416 416 447 +(% style="color:red" %)**Note: The server address must match the Gateway server address you choose in TTN V3.** 417 417 449 + 418 418 In the home page, we can see the LoRaWAN connection is ready now. 419 419 420 420 [[image:1657014479765-850.png]] ... ... @@ -425,8 +425,10 @@ 425 425 [[image:1652422703020-955.png||height="343" width="730"]] 426 426 427 427 460 + 428 428 == 4.3 Configure frequency == 429 429 463 + 430 430 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. 431 431 432 432 ... ... @@ -438,8 +438,10 @@ 438 438 [[image:1652422763536-750.png||height="514" width="730"]] 439 439 440 440 475 + 441 441 == 4.4 Add a LoRaWAN End Device == 442 442 478 + 443 443 ((( 444 444 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 445 445 ))) ... ... @@ -451,7 +451,7 @@ 451 451 [[image:1652422794767-871.png]] 452 452 453 453 ((( 454 -(% 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.490 +(% 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. 455 455 ))) 456 456 457 457 ((( ... ... @@ -524,29 +524,39 @@ 524 524 ))) 525 525 526 526 ((( 527 -(% 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. 563 +(% 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. 564 + 565 + 528 528 ))) 529 529 530 530 ((( 531 -(% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 569 +(% style="color:red" %)**Note that it may take some time for the device data to appear in the TTN v3 display.** 570 + 571 + 532 532 ))) 533 533 534 534 [[image:1652423277549-324.png||height="273" width="745"]] 535 535 536 536 577 + 537 537 = 5. Web Configure Pages = 538 538 580 + 539 539 == 5.1 Home == 540 540 583 + 541 541 Shows the system running status. 542 542 543 543 [[image:1657014949846-507.png]] 544 544 545 545 589 + 546 546 == 5.2 LoRa Settings == 547 547 592 + 548 548 === 5.2.1 LoRa ~-~-> LoRa === 549 549 595 + 550 550 ((( 551 551 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. 552 552 ))) ... ... @@ -559,16 +559,18 @@ 559 559 * (% style="color:blue" %)**915**(%%): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 560 560 561 561 ((( 562 -After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log** 608 +After user choose the frequency plan, he can see the actually frequency in used by checking the page (% style="color:blue" %)**LogRead ~-~-> LoRa Log** 563 563 ))) 564 564 565 565 [[image:1652423554776-574.png||height="380" width="740"]] 566 566 567 -Note *: **[[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]**613 +(% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 568 568 569 569 616 + 570 570 === 5.2.2 LoRa ~-~-> ABP Decryption === 571 571 619 + 572 572 The LG308N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: 573 573 574 574 * No internet connection. ... ... @@ -583,14 +583,18 @@ 583 583 [[image:1652423628833-467.png||height="357" width="755"]] 584 584 585 585 634 + 586 586 == 5.3 LoRaWAN Settings == 587 587 637 + 588 588 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === 589 589 640 + 590 590 This page is for the connection set up to a general LoRaWAN Network server such as: [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]] etc 591 591 592 592 [[image:1652423628833-467.png||height="357" width="755"]] 593 593 645 + 594 594 (% style="color:red" %)**Note:** 595 595 596 596 ~*: User can ignore the latitude and longitude settings here, LG308N will use the actually value from GPS module. ... ... @@ -603,6 +603,7 @@ 603 603 604 604 === 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 605 605 658 + 606 606 [[image:1652428499323-384.png||height="275" width="723"]] 607 607 608 608 ... ... @@ -615,6 +615,7 @@ 615 615 616 616 === 5.3.3 LoRaWAN ~-~-> LORIOT === 617 617 671 + 618 618 ((( 619 619 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] 620 620 ))) ... ... @@ -626,8 +626,10 @@ 626 626 [[image:1652428648903-878.png||height="266" width="731"]] 627 627 628 628 683 + 629 629 == 5.4 MQTT Settings == 630 630 686 + 631 631 ((( 632 632 If end nodes works in ABP mode, user can configure LG308N to transfer the data to MQTT broker, 633 633 ))) ... ... @@ -643,8 +643,10 @@ 643 643 644 644 == 5.5 System == 645 645 702 + 646 646 === 5.5.1 System ~-~-> System Overview === 647 647 705 + 648 648 Shows the system info: 649 649 650 650 [[image:1652428773760-580.png||height="408" width="728"]] ... ... @@ -653,10 +653,11 @@ 653 653 654 654 === 5.5.2 System ~-~-> General ( login settings) === 655 655 714 + 656 656 [[image:1652428861256-300.png||height="354" width="724"]] 657 657 658 658 ((( 659 -**__System Password:__** 718 +(% style="color:#037691" %)**__System Password:__** 660 660 ))) 661 661 662 662 ((( ... ... @@ -668,11 +668,11 @@ 668 668 ))) 669 669 670 670 ((( 671 -**__Timezone: __**Set device timezone. 730 +(% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone. 672 672 ))) 673 673 674 674 ((( 675 -**__Port forwarding: __**Enable/Disable the HTTP and SSH access via WAN interface. 734 +(% style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface. 676 676 677 677 678 678 ... ... @@ -683,15 +683,15 @@ 683 683 [[image:1652429149053-824.png||height="467" width="725"]] 684 684 685 685 ((( 686 -**__LAN Settings: __**When the LG308N has the AP enable, LAN settings specify the network info for LG308N's own network. 745 +(% style="color:#037691" %)**__LAN Settings: __**(%%)When the LG308N has the AP enable, LAN settings specify the network info for LG308N's own network. 687 687 ))) 688 688 689 689 ((( 690 -__**WAN Settings: **__Setting for LG308N WAN port 749 +(% style="color:#037691" %)__**WAN Settings: **__(%%)Setting for LG308N WAN port 691 691 ))) 692 692 693 693 ((( 694 -__**WiFi Settings: **__Setting for LG308N WiFi IP when use it as WiFi Client 753 +(% style="color:#037691" %)__**WiFi Settings: **__(%%)Setting for LG308N WiFi IP when use it as WiFi Client 695 695 ))) 696 696 697 697 ... ... @@ -698,6 +698,7 @@ 698 698 699 699 === 5.5.4 System ~-~-> WiFi === 700 700 760 + 701 701 LG308N WiFi Settings. 702 702 703 703 [[image:1652429430767-921.png||height="367" width="723"]]