Changes for page LPS8N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2024/05/18 14:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -41,6 +41,7 @@ 41 41 42 42 [[image:1652411526195-923.png]] 43 43 44 + 44 44 == 1.2 Specifications == 45 45 46 46 **Hardware System:** ... ... @@ -130,10 +130,12 @@ 130 130 131 131 [[image:1652411641871-482.png||height="416" width="716"]] 132 132 134 + 133 133 == 1.5 DLOS8N Applications == 134 134 135 135 [[image:1652411671209-920.png||height="618" width="650"]] 136 136 139 + 137 137 == 1.6 LED Indicators == 138 138 139 139 [[image:1652411720670-489.png]] ... ... @@ -156,6 +156,7 @@ 156 156 ))) 157 157 ))) 158 158 162 + 159 159 == 1.7 WiFi Direction == 160 160 161 161 DLOS8N use directional WiFi Antenna. The best direction is as below: ... ... @@ -162,6 +162,7 @@ 162 162 163 163 [[image:1652412859663-161.png||height="341" width="333"]] 164 164 169 + 165 165 = 2. Access and Configure DLOS8N = 166 166 167 167 The DLOS8N is configured as a WiFi Access Point by default. User can access and configure the DLOS8N after connecting to its WiFi network, or via its Ethernet port. ... ... @@ -172,6 +172,7 @@ 172 172 173 173 [[image:1652412985720-934.png]] 174 174 180 + 175 175 At the first boot of DLOS8N, it will auto generate a WiFi network called (% style="color:green" %)**//dragino-xxxxxx //**(% style="color:black" %)with password: 176 176 177 177 [[image:1652413127647-377.png]] ... ... @@ -182,6 +182,7 @@ 182 182 User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the DLOS8N has the default IP (% style="color:green" %)10.130.1.1 183 183 ))) 184 184 191 + 185 185 === 2.1.2 Connect via Ethernet with DHCP IP from router === 186 186 187 187 [[image:1652414114583-532.png]] ... ... @@ -191,6 +191,7 @@ 191 191 Alternatively, connect the DLOS8N Ethernet port to your router and DLOS8N will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the DLOS8N. You can also use this IP to connect. 192 192 ))) 193 193 201 + 194 194 === 2.1.3 Connect via WiFi with DHCP IP from router === 195 195 196 196 [[image:1652414137639-956.png]] ... ... @@ -198,10 +198,12 @@ 198 198 199 199 If the DLOS8N already connect to the router via WiFi, use can use the WiFi IP to connect to DLOS8N. 200 200 209 + 201 201 === 2.1.4 Connect via Ethernet with fall back ip === 202 202 203 203 The WAN port also has a [[fall back ip address>>path:#_I_configured_LPS8]] for access if user doesn’t connect to uplink router. Click [[here>>path:#_I_configured_LPS8]] to see how to configure. 204 204 214 + 205 205 == 2.2 Access Configure Web UI == 206 206 207 207 **Web Interface** ... ... @@ -225,6 +225,9 @@ 225 225 226 226 [[image:1652414287022-223.png]] 227 227 238 + 239 + 240 + 228 228 = 3. Typical Network Setup = 229 229 230 230 == 3.1 Overview == ... ... @@ -242,6 +242,7 @@ 242 242 243 243 [[image:1652420169255-959.png]] 244 244 258 + 245 245 == 3.3 Access the Internet as a WiFi Client == 246 246 247 247 In the WiFi Client Mode, DLOS8N acts as a WiFi client and gets DHCP from an upstream router via WiFi. ... ... @@ -256,6 +256,7 @@ 256 256 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect. 257 257 ))) 258 258 273 + 259 259 == 3.4 Access the Internet via Cellular == 260 260 261 261 If the DLOS8N support 3G/4G Cellular modem option, When the label on the shell is displayed as Model : DLOS8N-EC25, it indicates that DLOS8 already has EC25 3G/4G modules,user can use it as main internet connection or back up. ... ... @@ -282,6 +282,7 @@ 282 282 283 283 (% style="color:red" %)**Note** *: For DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected. 284 284 300 + 285 285 == 3.5 Check Internet connection == 286 286 287 287 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. ... ... @@ -292,6 +292,7 @@ 292 292 293 293 [[image:1652421351382-793.png||height="339" width="765"]] 294 294 311 + 295 295 = 4. Example: Configure as a LoRaWAN gateway = 296 296 297 297 DLOS8N 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. ... ... @@ -302,13 +302,12 @@ 302 302 303 303 [[T>>url:https://www.thethingsnetwork.org/]]heThingsNetwork v3(T[[TN>>url:https://www.thethingsnetwork.org/]] v3[[)>>url:http://)]][[ LoRaWAN Server>>url:https://www.thethingsnetwork.org/]] ([[www.thethingsnetwork.org>>url:http://www.thethingsnetwork.org/]]) 304 304 322 + 305 305 == 4.1 Create a gateway in TTN V3 Server == 306 306 307 307 (% style="color:#4f81bd" %)**Step 1: Get a Unique gateway ID.** 308 308 309 -((( 310 310 Every DLOS8N has a unique gateway id. The ID can be found at LoRaWAN page: 311 -))) 312 312 313 313 [[image:1652421929753-168.png||height="403" width="739"]] 314 314 ... ... @@ -352,6 +352,7 @@ 352 352 353 353 [[image:1652422509034-682.png||height="299" width="739"]] 354 354 371 + 355 355 == 4.2 Configure DLOS8N to connect to TTN v3 == 356 356 357 357 You can now configure the DLOS8N to let it connect to TTN network V3. ... ... @@ -372,6 +372,7 @@ 372 372 373 373 [[image:1652422703020-955.png||height="343" width="730"]] 374 374 392 + 375 375 == 4.3 Configure frequency == 376 376 377 377 We also need to set the frequency plan in DLOS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. ... ... @@ -383,56 +383,33 @@ 383 383 384 384 [[image:1652422763536-750.png||height="514" width="730"]] 385 385 386 -== 4.4 Add a LoRaWAN End Device == 387 387 388 -((( 405 +4.4 Add a LoRaWAN End Device 406 + 389 389 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 390 -))) 391 391 392 -((( 393 393 We use [[LT-22222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] IO Controller as a reference device - the setup for other LoRaWAN devices will be similar. 394 -))) 395 395 396 396 [[image:1652422794767-871.png]] 397 397 398 -((( 399 399 (% 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. 400 -))) 401 401 402 -((( 403 403 Three codes are required to define the device in TTN v3: 404 -))) 405 405 406 406 * DEV EUI - Unique ID code for a particular device. 407 407 * APP EUI - ID code for an Application defined in TTN v3. 408 408 * APP Key - Unique key to secure communications with a particular device. 409 409 410 -((( 411 411 A set of these codes are stored in each device by the manufacturer as the default codes for that particular device. Each device is shipped with a sticker with the default Device EUI as shown below. 412 -))) 413 413 414 414 [[image:1652422840936-838.png]] 415 415 416 416 417 -((( 418 418 (% style="color:red" %)Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands. Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server. 419 -))) 420 420 421 -((( 422 - 423 -))) 424 - 425 -((( 426 426 For the TTN v3 server, you can use the codes set in the device as in the following example. 427 -))) 428 428 429 -((( 430 - 431 -))) 432 - 433 -((( 434 434 Select **Add Application** to open the screen below. 435 -))) 436 436 437 437 [[image:1652422946999-255.png||height="356" width="744"]] 438 438 ... ... @@ -442,14 +442,10 @@ 442 442 443 443 [[image:1652422975885-591.png||height="359" width="726"]] 444 444 445 -((( 446 446 Select OTAA activation mode 447 -))) 448 448 449 449 450 -((( 451 451 The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3. 452 -))) 453 453 454 454 [[image:1652422998005-968.png||height="352" width="744"]] 455 455 ... ... @@ -461,21 +461,16 @@ 461 461 462 462 [[image:1652423046741-467.png||height="355" width="736"]] 463 463 464 -((( 465 465 Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device. 466 -))) 467 467 468 468 469 -((( 470 470 (% 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. 471 -))) 472 472 473 -((( 474 474 (% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 475 -))) 476 476 477 477 [[image:1652423277549-324.png||height="273" width="745"]] 478 478 464 + 479 479 = 5. Web Configure Pages = 480 480 481 481 == 5.1 Home == ... ... @@ -484,24 +484,19 @@ 484 484 485 485 [[image:1652423418568-752.png||height="329" width="724"]] 486 486 473 + 487 487 == 5.2 LoRa Settings == 488 488 489 489 === 5.2.1 LoRa ~-~-> LoRa === 490 490 491 -((( 492 492 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. 493 -))) 494 494 495 -((( 496 496 Different DLOS8N hardware version can support different frequency range: 497 -))) 498 498 499 499 * **868**: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 500 500 * **915**: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 501 501 502 -((( 503 503 After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log** 504 -))) 505 505 506 506 [[image:1652423554776-574.png||height="380" width="740"]] 507 507 ... ... @@ -509,6 +509,7 @@ 509 509 510 510 [[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]] 511 511 493 + 512 512 === 5.2.2 LoRa ~-~-> ABP Decryption === 513 513 514 514 The DLOS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: ... ... @@ -516,12 +516,11 @@ 516 516 * No internet connection. 517 517 * User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc. (Combine ABP communication method and [[MQTT forward together>>http://8.211.40.43:8080/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]]). 518 518 519 -((( 520 520 Detail of this feature: [[Communication with ABP End Node>>http://8.211.40.43:8080/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 521 -))) 522 522 523 523 [[image:1652423628833-467.png||height="357" width="755"]] 524 524 505 + 525 525 == 5.3 LoRaWAN Settings == 526 526 527 527 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === ... ... @@ -538,26 +538,23 @@ 538 538 539 539 See :[[Filter unwanted LoRaWAN packets>>http://8.211.40.43:8080/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]] 540 540 522 + 541 541 === 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 542 542 543 543 [[image:1652428499323-384.png||height="275" width="723"]] 544 544 545 -((( 546 546 Please see this instruction to know more detail and demo for how to connect to AWS-IoT LoRaWAN Core: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:http://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]] 547 -))) 548 548 529 + 549 549 === 5.3.3 LoRaWAN ~-~-> LORIOT === 550 550 551 -((( 552 552 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] 553 -))) 554 554 555 -((( 556 556 Instruction: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_LORIOT>>url:http://wiki.dragino.com/index.php?title=Notes_for_LORIOT]] 557 -))) 558 558 559 559 [[image:1652428648903-878.png||height="266" width="731"]] 560 560 538 + 561 561 == 5.4 MQTT Settings == 562 562 563 563 If end nodes works in ABP mode, user can configure DLOS8N to transfer the data to MQTT broker, ... ... @@ -568,6 +568,7 @@ 568 568 569 569 [[image:1652428705046-212.png||height="417" width="733"]] 570 570 549 + 571 571 == 5.5 System == 572 572 573 573 === 5.5.1 System ~-~-> System Overview === ... ... @@ -576,54 +576,59 @@ 576 576 577 577 [[image:1652428773760-580.png||height="408" width="728"]] 578 578 558 + 579 579 === 5.5.2 System ~-~-> General ( login settings) === 580 580 581 581 [[image:1652428861256-300.png||height="354" width="724"]] 582 582 583 -((( 584 584 **__System Password:__** 585 -))) 586 586 587 -((( 588 588 There are two login for DLOS8N: (% style="color:#4f81bd" %)root /dragino (% style="color:black" %)or (% style="color:#4f81bd" %)admin /dragino. (% style="color:black" %)Both root and admin has the same right for WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB interface. 589 -))) 590 590 591 -((( 592 592 This page can be used to set the password for them. 593 -))) 594 594 595 595 ((( 596 596 597 597 ))) 598 598 599 -((( 600 -**__Timezone:__**Set device timezone. 601 -))) 573 +**__Timezone:__** 602 602 575 +Set device timezone. 576 + 603 603 ((( 604 604 605 605 ))) 606 606 607 -((( 608 -**__Port forwarding:__**Enable/Disable the HTTP and SSH access via WAN interface. 609 -))) 581 +**__Port forwarding:__** 610 610 583 +Enable/Disable the HTTP and SSH access via WAN interface. 584 + 585 + 611 611 === 5.5.3 System ~-~-> Network === 612 612 613 613 [[image:1652429149053-824.png||height="467" width="725"]] 614 614 615 -((( 616 -**__LAN Settings:__**When the DLOS8N has the AP enable, LAN settings specify the network info for DLOS8N’s own network. 617 -))) 590 +**__LAN Settings:__** 618 618 592 +When the DLOS8N has the AP enable, LAN settings specify the network info for DLOS8N’s own network. 593 + 619 619 ((( 620 - __**WANSettings:**__Setting for DLOS8N WAN port595 + 621 621 ))) 622 622 598 +__**WAN Settings:**__ 599 + 600 +Setting for DLOS8N WAN port 601 + 623 623 ((( 624 - __**WiFiSettings:**__Setting for DLOS8N WiFi IP when use it as WiFi Client603 + 625 625 ))) 626 626 606 +__**WiFi Settings:**__ 607 + 608 +Setting for DLOS8N WiFi IP when use it as WiFi Client 609 + 610 + 627 627 === 5.5.4 System ~-~-> WiFi === 628 628 629 629 DLOS8N WiFi Settings. ... ... @@ -679,13 +679,10 @@ 679 679 680 680 ( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]] ) 681 681 682 - (((666 + 683 683 The file named as (% style="color:green" %)**xxxxx–xxxxx-squashfs-sysupgrade.bin **(% style="color:black" %)is the upgrade Image. There are different methods to upgrade, as below. 684 -))) 685 685 686 -((( 687 687 (% style="color:green" %)**Web~-~-> System~-~-> Firmware Upgrade** 688 -))) 689 689 690 690 [[image:1652429711145-862.png||height="270" width="737"]] 691 691 ... ... @@ -697,6 +697,7 @@ 697 697 698 698 [[image:1652429962190-224.png||height="358" width="729"]] 699 699 681 + 700 700 (% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 701 701 702 702 SCP the firmware to the system(% style="color:green" %)**/var**(%%)** **directory and then run ... ... @@ -705,6 +705,7 @@ 705 705 706 706 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 707 707 690 + 708 708 === 5.5.9 System ~-~-> Reboot/Reset === 709 709 710 710 [[image:1652430197132-330.png||height="256" width="724"]] ... ... @@ -719,6 +719,10 @@ 719 719 720 720 Place to show what package has installed and possible to upgrade packages. 721 721 705 +((( 706 + 707 +))) 708 + 722 722 == 5.6 LogRead == 723 723 724 724 === 5.6.1 LogRead ~-~-> LoRa Log === ... ... @@ -727,6 +727,10 @@ 727 727 728 728 Show the frequency for LoRa Radio and traffics. 729 729 717 +((( 718 + 719 +))) 720 + 730 730 === 5.6.2 LogRead ~-~-> System Log === 731 731 732 732 Show the system log ... ... @@ -733,6 +733,7 @@ 733 733 734 734 [[image:1652430369760-511.png||height="373" width="730"]] 735 735 727 + 736 736 = 6. More features = 737 737 738 738 == 6.1 More instructions == ... ... @@ -739,6 +739,10 @@ 739 739 740 740 [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction]] 741 741 734 +((( 735 + 736 +))) 737 + 742 742 = 7. Linux System = 743 743 744 744 The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. ... ... @@ -763,23 +763,16 @@ 763 763 764 764 [[image:1652431609193-637.png||height="214" width="732"]] 765 765 762 + 766 766 == 7.2 Edit and Transfer files == 767 767 768 -((( 769 769 The DLOS8N supports the (% style="color:green" %)**SCP protocol** (% style="color:black" %)and has a built-in (% style="color:green" %)**SFTP server**. (% style="color:black" %)There are many ways to edit and transfer files using these protocols. 770 -))) 771 771 772 -((( 773 773 In Windows, one of the easiest methods is using the [[WinSCP>>url:https://winscp.net/eng/index.php]] utility. 774 -))) 775 775 776 -((( 777 777 After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the DLOS8N, or edit the files directly in the windows. 778 -))) 779 779 780 -((( 781 781 Screenshot is as below: 782 -))) 783 783 784 784 [[image:1652431650755-450.png]] 785 785