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,10 +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 - 111 111 == 1.3 Features == 112 112 113 + 113 113 * Open Source Linux system 114 114 * Managed by Web GUI, SSH via LAN or WiFi 115 115 * Emulates 49x LoRa demodulators ... ... @@ -116,13 +116,13 @@ 116 116 * LoRaWAN Gateway 117 117 * 10 programmable parallel demodulation paths 118 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,17 +254,18 @@ 254 254 * **WiFi AP Mode** 255 255 * **Cellular Mode** 256 256 257 - 258 - 259 259 == 3.2 Use WAN port to access Internet == 260 260 275 + 261 261 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**: 262 262 263 263 [[image:1657012559318-672.png]] 264 264 265 265 281 + 266 266 == 3.3 Access the Internet as a WiFi Client == 267 267 284 + 268 268 In the WiFi Client Mode, LG308N acts as a WiFi client and gets DHCP from an upstream router via WiFi. 269 269 270 270 ((( ... ... @@ -274,13 +274,15 @@ 274 274 [[image:1657012573321-862.png]] 275 275 276 276 ((( 277 -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. 278 278 296 + 279 279 280 280 ))) 281 281 282 282 == 3.4 Use built-in 4G modem for internet access == 283 283 302 + 284 284 If the LG308N has 3G/4G Cellular modem, user can use it as main internet connection or back up. 285 285 286 286 ... ... @@ -293,10 +293,6 @@ 293 293 294 294 295 295 ((( 296 - 297 -))) 298 - 299 -((( 300 300 The set up page is (% style="color:#4f81bd" %)**System ~-~-> Cellular** 301 301 ))) 302 302 ... ... @@ -311,8 +311,10 @@ 311 311 ))) 312 312 313 313 329 + 314 314 == 3.5 Check Internet connection == 315 315 332 + 316 316 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. 317 317 318 318 * GREEN Tick [[image:1652436675869-206.png||height="14" width="15"]] : This interface has Internet connection. ... ... @@ -322,8 +322,10 @@ 322 322 [[image:1657012821329-972.png]] 323 323 324 324 342 + 325 325 = 4. Example: Configure as a LoRaWAN gateway = 326 326 345 + 327 327 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. 328 328 329 329 ((( ... ... @@ -333,11 +333,12 @@ 333 333 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/]]) 334 334 335 335 355 + 336 336 == 4.1 Create a gateway in TTN V3 Server == 337 337 338 338 339 339 ((( 340 -(% style="color: #4f81bd" %)**Step 1: Get a Unique gateway ID.**360 +(% style="color:blue" %)**Step 1: Get a Unique gateway ID.** 341 341 ))) 342 342 343 343 ((( ... ... @@ -355,15 +355,17 @@ 355 355 The example gateway id is: (% style="color:green" %)**a840411e96744154** 356 356 357 357 358 -(% style="color:#4f81bd" %)**Step 2: Sign up a user account in TTN server** 359 359 379 +(% style="color:blue" %)**Step 2: Sign up a user account in TTN server** 380 + 360 360 [[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]] 361 361 362 362 [[image:1652422127479-258.png||height="346" width="738"]] 363 363 364 364 365 -(% style="color:#4f81bd" %)**Step 3: Choose the TTNv3 Cluster Picker** 366 366 387 +(% style="color:blue" %)**Step 3: Choose the TTNv3 Cluster Picker** 388 + 367 367 ((( 368 368 [[image:1652422142236-792.png||height="356" width="737"]] 369 369 ))) ... ... @@ -376,7 +376,7 @@ 376 376 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 377 377 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 378 378 379 -(% style="color: #4f81bd" %)**Step 4: Create a Gateway**401 +(% style="color:blue" %)**Step 4: Create a Gateway** 380 380 381 381 [[image:1652422440891-514.png||height="360" width="747"]] 382 382 ... ... @@ -391,7 +391,9 @@ 391 391 392 392 393 393 ((( 394 -(% 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 + 395 395 ))) 396 396 397 397 After creating the gateway, you can see the gateway info, as below. ... ... @@ -399,8 +399,10 @@ 399 399 [[image:1652422509034-682.png||height="299" width="739"]] 400 400 401 401 426 + 402 402 == 4.2 Configure LG308N to connect to TTN v3 == 403 403 429 + 404 404 ((( 405 405 You can now configure the LG308N to let it connect to TTN network V3. 406 406 ))) ... ... @@ -410,14 +410,17 @@ 410 410 ))) 411 411 412 412 ((( 413 -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 + 414 414 ))) 415 415 416 416 [[image:1652422624783-580.png||height="327" width="729"]] 417 417 418 -(% style="color:red" %)**Note: **The server address must match the Gateway server address you choose in TTN V3. 419 419 447 +(% style="color:red" %)**Note: The server address must match the Gateway server address you choose in TTN V3.** 420 420 449 + 421 421 In the home page, we can see the LoRaWAN connection is ready now. 422 422 423 423 [[image:1657014479765-850.png]] ... ... @@ -428,8 +428,10 @@ 428 428 [[image:1652422703020-955.png||height="343" width="730"]] 429 429 430 430 460 + 431 431 == 4.3 Configure frequency == 432 432 463 + 433 433 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. 434 434 435 435 ... ... @@ -441,8 +441,10 @@ 441 441 [[image:1652422763536-750.png||height="514" width="730"]] 442 442 443 443 475 + 444 444 == 4.4 Add a LoRaWAN End Device == 445 445 478 + 446 446 ((( 447 447 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 448 448 ))) ... ... @@ -454,7 +454,7 @@ 454 454 [[image:1652422794767-871.png]] 455 455 456 456 ((( 457 -(% 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. 458 458 ))) 459 459 460 460 ((( ... ... @@ -527,29 +527,39 @@ 527 527 ))) 528 528 529 529 ((( 530 -(% 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 + 531 531 ))) 532 532 533 533 ((( 534 -(% 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 + 535 535 ))) 536 536 537 537 [[image:1652423277549-324.png||height="273" width="745"]] 538 538 539 539 577 + 540 540 = 5. Web Configure Pages = 541 541 580 + 542 542 == 5.1 Home == 543 543 583 + 544 544 Shows the system running status. 545 545 546 546 [[image:1657014949846-507.png]] 547 547 548 548 589 + 549 549 == 5.2 LoRa Settings == 550 550 592 + 551 551 === 5.2.1 LoRa ~-~-> LoRa === 552 552 595 + 553 553 ((( 554 554 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. 555 555 ))) ... ... @@ -562,16 +562,18 @@ 562 562 * (% style="color:blue" %)**915**(%%): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 563 563 564 564 ((( 565 -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** 566 566 ))) 567 567 568 568 [[image:1652423554776-574.png||height="380" width="740"]] 569 569 570 -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]]** 571 571 572 572 616 + 573 573 === 5.2.2 LoRa ~-~-> ABP Decryption === 574 574 619 + 575 575 The LG308N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: 576 576 577 577 * No internet connection. ... ... @@ -586,14 +586,18 @@ 586 586 [[image:1652423628833-467.png||height="357" width="755"]] 587 587 588 588 634 + 589 589 == 5.3 LoRaWAN Settings == 590 590 637 + 591 591 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === 592 592 640 + 593 593 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 594 594 595 595 [[image:1652423628833-467.png||height="357" width="755"]] 596 596 645 + 597 597 (% style="color:red" %)**Note:** 598 598 599 599 ~*: User can ignore the latitude and longitude settings here, LG308N will use the actually value from GPS module. ... ... @@ -606,6 +606,7 @@ 606 606 607 607 === 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 608 608 658 + 609 609 [[image:1652428499323-384.png||height="275" width="723"]] 610 610 611 611 ... ... @@ -618,6 +618,7 @@ 618 618 619 619 === 5.3.3 LoRaWAN ~-~-> LORIOT === 620 620 671 + 621 621 ((( 622 622 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] 623 623 ))) ... ... @@ -629,8 +629,10 @@ 629 629 [[image:1652428648903-878.png||height="266" width="731"]] 630 630 631 631 683 + 632 632 == 5.4 MQTT Settings == 633 633 686 + 634 634 ((( 635 635 If end nodes works in ABP mode, user can configure LG308N to transfer the data to MQTT broker, 636 636 ))) ... ... @@ -646,8 +646,10 @@ 646 646 647 647 == 5.5 System == 648 648 702 + 649 649 === 5.5.1 System ~-~-> System Overview === 650 650 705 + 651 651 Shows the system info: 652 652 653 653 [[image:1652428773760-580.png||height="408" width="728"]] ... ... @@ -656,10 +656,11 @@ 656 656 657 657 === 5.5.2 System ~-~-> General ( login settings) === 658 658 714 + 659 659 [[image:1652428861256-300.png||height="354" width="724"]] 660 660 661 661 ((( 662 -**__System Password:__** 718 +(% style="color:#037691" %)**__System Password:__** 663 663 ))) 664 664 665 665 ((( ... ... @@ -671,11 +671,11 @@ 671 671 ))) 672 672 673 673 ((( 674 -**__Timezone: __**Set device timezone. 730 +(% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone. 675 675 ))) 676 676 677 677 ((( 678 -**__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. 679 679 680 680 681 681 ... ... @@ -686,15 +686,15 @@ 686 686 [[image:1652429149053-824.png||height="467" width="725"]] 687 687 688 688 ((( 689 -**__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. 690 690 ))) 691 691 692 692 ((( 693 -__**WAN Settings: **__Setting for LG308N WAN port 749 +(% style="color:#037691" %)__**WAN Settings: **__(%%)Setting for LG308N WAN port 694 694 ))) 695 695 696 696 ((( 697 -__**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 698 698 ))) 699 699 700 700 ... ... @@ -701,6 +701,7 @@ 701 701 702 702 === 5.5.4 System ~-~-> WiFi === 703 703 760 + 704 704 LG308N WiFi Settings. 705 705 706 706 [[image:1652429430767-921.png||height="367" width="723"]] ... ... @@ -1144,7 +1144,6 @@ 1144 1144 * Package Size: 49 x 19.5 x x 19Package Size: 4912 cm 1145 1145 * Weight: 2.5kg 1146 1146 1147 - 1148 1148 = 13. Support = 1149 1149 1150 1150 * Try to see if your questions already answered in the [[wiki>>doc:Main.WebHome]]. ... ... @@ -1152,7 +1152,6 @@ 1152 1152 Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before mentioned schedule. 1153 1153 * 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]] 1154 1154 1155 - 1156 1156 = 14. Reference = 1157 1157 1158 1158 * Source code for LG08 LoRa Gateway: [[https:~~/~~/github.com/dragino/openwrt_lede-18.06>>url:https://github.com/dragino/openwrt_lede-18.06]]