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)
-
Attachments (0 modified, 39 added, 0 removed)
- 1657094130908-567.png
- 1657094183213-301.png
- 1657094202420-798.png
- 1657094221515-510.png
- 1657094249818-468.png
- 1657094333704-207.png
- 1657094382177-591.png
- 1657094417175-831.png
- 1657094444802-101.png
- 1657094475730-208.png
- 1657094646429-966.png
- 1657094674045-755.png
- 1657094791060-639.png
- 1657094893942-726.png
- 1657094930903-357.png
- 1657095412271-942.png
- 1657155158184-134.png
- 1657155183982-792.png
- 1657155288223-566.png
- 1657155457089-430.png
- 1657155507672-204.png
- 1657155554265-721.png
- 1657155630849-656.png
- 1657156052651-770.png
- 1657156094153-520.png
- 1657156156755-811.png
- 1657156199070-491.png
- 1657156300781-933.png
- 1657156341198-226.png
- 1657157402578-508.png
- 1657158190234-805.png
- 1657158198733-338.png
- 1657158255685-710.png
- 1657158986600-386.png
- 1657159323292-776.png
- image-20220706155323-6.png
- image-20220707092040-1.png
- image-20220707092040-2.png
- image-20220707092040-3.png
Details
- Page properties
-
- Content
-
... ... @@ -103,8 +103,6 @@ 103 103 * Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage 104 104 * MIMO technology meets demands for data rate and link reliability in modem wireless communication systems 105 105 106 - 107 - 108 108 == 1.3 Features == 109 109 110 110 * Open Source OpenWrt system ... ... @@ -121,8 +121,6 @@ 121 121 * Support LoRaWAN basic station. 122 122 * Optional 3G/4G cellular connection 123 123 124 - 125 - 126 126 == 1.4 Hardware System Structure == 127 127 128 128 [[image:1657079015096-949.png]] ... ... @@ -235,8 +235,6 @@ 235 235 * **WiFi Client Mode** 236 236 * **WiFi AP Mode** 237 237 238 - 239 - 240 240 == 3.2 Use WAN port to access Internet == 241 241 242 242 By default, the LPS8N is set to use the WAN port to connect to an upstream network. When you connect the LPS8N's WAN port to an upstream router, LPS8N 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**: ... ... @@ -356,15 +356,14 @@ 356 356 (% style="color:red" %)**Note: Choose the cluster corresponds to a specific Gateway server address** 357 357 358 358 359 -* Europe 1 (% style="color:red" %)corresponding Gateway server address: (% style="color:black" %)eu1.cloud.thethings.network 360 -* North America 1 (% style="color:red" %)corresponding Gateway server address: ****(% style="color:black" %)nam1.cloud.thethings.network361 -* Australia 1 (% style="color:red" %)corresponding Gateway server address: ****(% style="color:black" %)au1.cloud.thethings.network362 -* Legacy V2 Console : (% style="color:red" %)TTN v2 shuts down in December 2021 353 +* Europe 1** (% style="color:red" %)corresponding Gateway server address:(%%)**(% style="color:red" %) (% style="color:black" %)eu1.cloud.thethings.network 354 +* North America 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)nam1.cloud.thethings.network 355 +* Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 356 +* Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 363 363 364 - 365 - 366 366 (% style="color:#4f81bd" %)**Step 4: Create a Gateway** 367 367 360 +[[image:1657091941182-367.png]] 368 368 369 369 Click the Gateway icon and then click Add gateway. 370 370 ... ... @@ -371,10 +371,13 @@ 371 371 372 372 Open the following page: 373 373 374 - [[image:1652422470352-518.png||height="391" width="716"]] 375 375 376 -[[image: 1652422479876-297.png||height="398" width="729"]]368 + [[image:image-20220706155323-5.png||height="579" width="1060"]] 377 377 370 + 371 +[[image:image-20220706155323-6.png||height="582" width="1066"]] 372 + 373 + 378 378 ((( 379 379 (% style="color:red" %)**Notice: **Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network. 380 380 ))) ... ... @@ -381,16 +381,17 @@ 381 381 382 382 After creating the gateway, you can see the gateway info, as below. 383 383 384 -[[image:165 2422509034-682.png||height="299" width="739"]]380 +[[image:1657094130908-567.png]](% style="display:none" %) 385 385 386 -== 4.2 Configure DLOS8N to connect to TTN v3 == 387 387 383 +== 4.2 Configure DLOS8N to connect to TTN v3 == 384 + 388 388 ((( 389 -You can now configure the DLOS8N to let it connect to TTN network V3.386 +You can now configure the LPS8N to let it connect to TTN network V3. 390 390 ))) 391 391 392 392 ((( 393 -Make sure your DLOS8N has a working Internet Connection first.390 +Make sure your LPS8N has a working Internet Connection first. 394 394 ))) 395 395 396 396 ((( ... ... @@ -397,31 +397,35 @@ 397 397 Choose the right server provider and click (% style="color:#4f81bd" %)**Save&Apply** 398 398 ))) 399 399 400 -[[image:165 2422624783-580.png||height="327" width="729"]]397 +[[image:1657094183213-301.png]] 401 401 402 402 (% style="color:red" %)**Note: **The server address must match the Gateway server address you choose in TTN V3. 403 403 401 + 404 404 In the home page, we can see the LoRaWAN connection is ready now. 405 405 406 -[[image:165 2422685063-596.png||height="327" width="729"]]404 +[[image:1657094202420-798.png]] 407 407 406 + 408 408 In TTN v3 portal, we can also see the gateway is connected. 409 409 410 -[[image:165 2422703020-955.png||height="343" width="730"]]409 +[[image:1657094221515-510.png]] 411 411 412 -== 4.3 Configure frequency == 413 413 414 - Wealsoneedto set thefrequencyplan in DLOS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.412 +== 4.3 Configure frequency == 415 415 416 - [[image:1652422737399-529.png||height="362"width="737"]]414 +We also need to set the frequency plan in LPS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. 417 417 416 +[[image:1657094249818-468.png]] 418 418 418 + 419 419 In logread page, user can check the frequency actually used. 420 420 421 - [[image:165 2422763536-750.png||height="514" width="730"]]421 + [[image:1657094333704-207.png]] 422 422 423 -== 4.4 Add a LoRaWAN End Device == 424 424 424 +== 4.4 Add a LoRaWAN End Device == 425 + 425 425 ((( 426 426 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 427 427 ))) ... ... @@ -434,6 +434,8 @@ 434 434 435 435 ((( 436 436 (% 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. 438 + 439 + 437 437 ))) 438 438 439 439 ((( ... ... @@ -448,10 +448,12 @@ 448 448 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. 449 449 ))) 450 450 451 -[[image:165 2422840936-838.png]]454 +[[image:1657094382177-591.png]] 452 452 453 453 ((( 454 454 (% 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. 458 + 459 + 455 455 ))) 456 456 457 457 ((( ... ... @@ -462,16 +462,19 @@ 462 462 Select **Add Application** to open the screen below. 463 463 ))) 464 464 465 -[[image:165 2422946999-255.png||height="356" width="744"]]470 +[[image:1657094417175-831.png]] 466 466 467 467 Open the **Application **select** Add end device** 468 468 474 + 469 469 Start Register the end device 470 470 471 -[[image:165 2422975885-591.png||height="359" width="726"]]477 +[[image:1657094444802-101.png]] 472 472 473 473 ((( 474 474 Select OTAA activation mode 481 + 482 + 475 475 ))) 476 476 477 477 ((( ... ... @@ -478,18 +478,22 @@ 478 478 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. 479 479 ))) 480 480 481 -[[image:165 2422998005-968.png||height="352" width="744"]]489 +[[image:1657094475730-208.png]] 482 482 483 483 First, input the End device ID, AppEUI and DevEUI. 484 484 485 -[[image:1652423022781-339.png||height="365" width="741"]] 486 486 494 +[[image:1657094646429-966.png]] 495 + 487 487 Secondly, choose the corresponding frequency and LoRaWAN class capabilities. 488 488 489 -[[image:1652423046741-467.png||height="355" width="736"]] 490 490 499 +[[image:1657094674045-755.png]] 500 + 491 491 ((( 492 492 Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device. 503 + 504 + 493 493 ))) 494 494 495 495 ((( ... ... @@ -500,36 +500,40 @@ 500 500 (% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 501 501 ))) 502 502 503 -[[image:165 2423277549-324.png||height="273" width="745"]]515 +[[image:1657094791060-639.png]] 504 504 505 -= 5. Web Configure Pages = 506 506 507 -= =5.1Home ==518 += 5. Web Configure Pages = 508 508 520 +== 5.1 Home == 521 + 509 509 Shows the system running status. 510 510 511 -[[image:165 2423418568-752.png||height="329" width="724"]]524 +[[image:1657094893942-726.png]] 512 512 513 -== 5.2 LoRa Settings == 514 514 515 -== =5.2.1LoRa~-~->LoRa===527 +== 5.2 LoRa Settings == 516 516 529 +=== 5.2.1 LoRa ~-~-> LoRa === 530 + 517 517 ((( 518 518 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. 519 519 ))) 520 520 521 521 ((( 522 -Different DLOS8N hardware version can support different frequency range:536 +Different LPS8N hardware version can support different frequency range: 523 523 ))) 524 524 525 -* **868**: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 526 -* **915**: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 539 +* (% style="color:blue" %)**868**(%%): valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 540 +* (% style="color:blue" %)**915**(%%): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 527 527 528 528 ((( 529 -After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log** 543 + 544 + 545 +After user choose the frequency plan, he can see the actually frequency in used by checking the page (% style="color:green" %)**LogRead ~-~-> LoRa Log** 530 530 ))) 531 531 532 -[[image:165 2423554776-574.png||height="380" width="740"]]548 +[[image:1657094930903-357.png]] 533 533 534 534 Note *: **[[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 535 535 ... ... @@ -536,7 +536,7 @@ 536 536 537 537 === 5.2.2 LoRa ~-~-> ABP Decryption === 538 538 539 -The DLOS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as:555 +The LPS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: 540 540 541 541 * No internet connection. 542 542 * 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>>doc:Main.MQTT Forward Instruction.WebHome]]). ... ... @@ -545,12 +545,13 @@ 545 545 Detail of this feature: **[[Communication with ABP End Node>>doc:Main.Communicate with ABP End Node without LoRaWAN Network Server --- LG308.WebHome]]** 546 546 ))) 547 547 548 -[[image:165 2423628833-467.png||height="357" width="755"]]564 +[[image:1657095412271-942.png]] 549 549 550 -== 5.3 LoRaWAN Settings == 551 551 552 -== =5.3.1LoRaWAN~-~->LoRaWAN===567 +== 5.3 LoRaWAN Settings == 553 553 569 +=== 5.3.1 LoRaWAN ~-~-> LoRaWAN === 570 + 554 554 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 555 555 556 556 [[image:1652423628833-467.png||height="357" width="755"]] ... ... @@ -557,21 +557,24 @@ 557 557 558 558 (% style="color:red" %)**Note:** 559 559 560 -~*: User can ignore the latitude and longitude settings here, DLOS8N will use the actually value from GPS module.577 +~*: User can ignore the latitude and longitude settings here, LPS8N will use the actually value from GPS module. 561 561 562 562 ~**: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: 563 563 564 564 **See:** **[[Filter unwanted LoRaWAN packets>>doc:Main.Filter unwanted LoRaWAN packets.WebHome]]** 565 565 566 -=== 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 567 567 584 +=== 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 585 + 568 568 [[image:1652428499323-384.png||height="275" width="723"]] 569 569 570 570 ((( 571 571 Please see this instruction to know more detail and demo for how to connect to **[[AWS-IoT LoRaWAN Core>>doc:Main.AWS IoT Core for LoRaWAN.WebHome]].** 590 + 591 + 572 572 ))) 573 573 574 -=== 5.3.3 LoRaWAN ~-~-> LORIOT === 594 +=== 5.3.3 LoRaWAN ~-~-> LORIOT === 575 575 576 576 ((( 577 577 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] ... ... @@ -583,33 +583,37 @@ 583 583 584 584 [[image:1652428648903-878.png||height="266" width="731"]] 585 585 586 -== 5.4 MQTT Settings == 587 587 588 - Ifendnodesworks in ABP mode, user can configure DLOS8Ntotransferthe data to MQTT broker,607 +== 5.4 MQTT Settings == 589 589 609 +If end nodes works in ABP mode, user can configure LPS8N to transfer the data to MQTT broker, 610 + 590 590 Instruction: **[[MQTT Forward Instruction>>doc:Main.MQTT Forward Instruction.WebHome]]** 591 591 592 592 593 593 [[image:1652428705046-212.png||height="417" width="733"]] 594 594 595 -== 5.5 System == 596 596 597 -== =5.5.1System~-~-> System Overview===617 +== 5.5 System == 598 598 619 +=== 5.5.1 System ~-~-> System Overview === 620 + 599 599 Shows the system info: 600 600 601 -[[image:165 2428773760-580.png||height="408" width="728"]]623 +[[image:1657155158184-134.png]] 602 602 603 -=== 5.5.2 System ~-~-> General ( login settings) === 604 604 605 -[[image:1652428861256-300.png||height="354" width="724"]] 606 606 627 +=== 5.5.2 System ~-~-> General ( login settings) === 628 + 629 +[[image:1657155183982-792.png]] 630 + 607 607 ((( 608 608 **__System Password:__** 609 609 ))) 610 610 611 611 ((( 612 -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.636 +There are two login for LPS8N: (% 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. 613 613 ))) 614 614 615 615 ((( ... ... @@ -617,83 +617,96 @@ 617 617 ))) 618 618 619 619 ((( 620 -**__Timezone:__**Set device timezone. 644 +**__Timezone: __**Set device timezone. 621 621 ))) 622 622 623 623 ((( 624 -**__Port forwarding:__**Enable/Disable the HTTP and SSH access via WAN interface. 648 +**__Port forwarding: __**Enable/Disable the HTTP and SSH access via WAN interface. 649 + 650 + 651 + 625 625 ))) 626 626 627 -=== 5.5.3 System ~-~-> Network === 654 +=== 5.5.3 System ~-~-> Network === 628 628 629 -[[image:165 2429149053-824.png||height="467" width="725"]]656 +[[image:1657155288223-566.png]] 630 630 631 631 ((( 632 -**__LAN Settings:__**When the DLOS8N has the AP enable, LAN settings specify the network info forDLOS8N’s own network.659 +**__LAN Settings: __**When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network. 633 633 ))) 634 634 635 635 ((( 636 -__**WAN Settings:**__Setting for DLOS8N WAN port663 +__**WAN Settings: **__Setting for LPS8N WAN port 637 637 ))) 638 638 639 639 ((( 640 -__**WiFi Settings:**__Setting for DLOS8N WiFi IP when use it as WiFi Client667 +__**WiFi Settings: **__Setting for LPS8N WiFi IP when use it as WiFi Client 641 641 669 + 642 642 643 643 ))) 644 644 645 -=== 5.5.4 System ~-~-> WiFi === 673 +=== 5.5.4 System ~-~-> WiFi === 646 646 647 - DLOS8N WiFi Settings.675 +LPS8N WiFi Settings. 648 648 649 -[[image:165 2429430767-921.png||height="367" width="723"]]677 +[[image:1657155457089-430.png]] 650 650 651 -=== 5.5.5 System ~-~-> Cellular === 652 652 680 + 681 +=== 5.5.5 System ~-~-> Cellular === 682 + 653 653 While use the cellular as Backup WAN, device will use Cellular for internet connection while WAN port or WiFi is not valid and switch back to WAN port or WiFi after they recover. 654 654 655 -[[image:1652429309615-825.png||height="320" width="732"]] 656 656 657 - (% style="color:red" %)Note *: For DLOS8N which doesn’t have the cellularmodule, this pagewill shows Cellular not detected.686 +[[image:1657155507672-204.png]] 658 658 659 - ===5.5.6 System~-~->NetworkStatus===688 +(% style="color:red" %)Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected. 660 660 661 -[[image:1652429486609-208.png||height="415" width="728"]] 662 662 663 -=== 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 664 664 665 - AutoProvisionishefeature forbatch configureand remote management. It can beusedin below two cases:692 +=== 5.5.6 System ~-~-> Network Status === 666 666 667 -[[image:1652429518191-846.png||height="332" width="733"]] 668 668 669 -[[image:165 2429527544-247.png||height="327" width="724"]]695 +[[image:1657155554265-721.png]] 670 670 671 -[[image:1652429537849-154.png||height="339" width="722"]] 672 672 673 -Please see this document for detail: 674 674 675 -((( 676 -[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 677 -))) 699 +=== 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 678 678 701 +Auto Provision is the feature for batch configure and remote management. It can be used in below two cases:(% style="display:none" %) 679 679 703 +(% style="display:none" %) [[image:1657157402578-508.png||height="450" width="992"]] 704 + 705 +(% id="cke_bm_589629S" style="display:none" %) [[image:image-20220707092040-2.png||height="452" width="1002"]] 706 + 707 +[[image:image-20220707092040-3.png||height="449" width="956"]] 708 + 709 + 710 +Please see this document for detail:(% style="display:none" %) 711 + 712 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 713 + 714 + 680 680 R-SSH is for remote access device and management, introduction for how to use: **[[Remote Access Gateway>>doc:Main.Remote Access Gateway.WebHome]]** 681 681 682 682 [[image:1652429624400-864.png||height="432" width="716"]] 683 683 684 684 685 -=== 5.5.8 System ~-~-> Firmware Upgrade === 686 686 687 - WekeepimprovingtheDLOS8NLinux side firmwarefornew features andbug fixes.Below are the links for reference.721 +=== 5.5.8 System ~-~-> Firmware Upgrade === 688 688 723 +We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 724 + 689 689 * **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], 690 690 691 -( [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/L G02-OLG02/Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]]727 +( [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware]]) 692 692 693 693 * **Change Log**: [[Firmware Change Log>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]]. 694 694 695 -( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/L G02-OLG02/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]] )731 +( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8N/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LIG16/Firmware/ChangeLog]] ) 696 696 733 + 697 697 ((( 698 698 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. 699 699 ))) ... ... @@ -702,15 +702,16 @@ 702 702 (% style="color:green" %)**Web~-~-> System~-~-> Firmware Upgrade** 703 703 ))) 704 704 705 -[[image:165 2429711145-862.png||height="270" width="737"]]742 +[[image:1657156052651-770.png]] 706 706 707 707 Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 708 708 746 + 709 709 (% style="color:red" %)**NOTE**: (% style="color:black" %)You normally need to **//uncheck//** the **Preserve Settings** checkbox when doing an upgrade to ensure that there is no conflict between the old settings and the new firmware. The new firmware will start up with its default settings. 710 710 711 711 The system will automatically boot into the new firmware after upgrade. 712 712 713 -[[image:165 2429962190-224.png||height="358" width="729"]]751 +[[image:1657156094153-520.png]] 714 714 715 715 (% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 716 716 ... ... @@ -718,67 +718,111 @@ 718 718 719 719 (% style="color:#4f81bd" %)**//root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 720 720 759 + 721 721 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 722 722 723 -=== 5.5.9 System ~-~-> Reboot/Reset === 724 724 763 +=== 5.5.9 System ~-~-> Reboot/Reset === 764 + 725 725 [[image:1652430197132-330.png||height="256" width="724"]] 726 726 727 727 ((( 728 728 769 + 770 + 729 729 ))) 730 730 731 -=== 5.5.10 System ~-~-> Package Maintain === 773 +=== 5.5.10 System ~-~-> Package Maintain === 732 732 733 -[[image:1652430243826-126.png||height="289" width="723"]] 734 734 776 +[[image:1657156199070-491.png]] 777 + 735 735 Place to show what package has installed and possible to upgrade packages. 736 736 737 -== 5.6 LogRead == 738 738 739 -=== 5.6.1 LogRead ~-~-> LoRa Log === 740 740 782 +== 5.6 LogRead == 741 741 784 +=== 5.6.1 LogRead ~-~-> LoRa Log === 785 + 786 + 742 742 Show the frequency for LoRa Radio and traffics. 743 743 744 -[[image: image-20220615204306-1.png||height="575" width="733"]]789 +[[image:1657156300781-933.png]] 745 745 746 746 747 -Show the IoT Server Connection State and FWD State 748 748 749 - [[image:image-20220616083933-1.png||height="556"width="729"]]793 +=== 5.6.2 LogRead ~-~-> System Log === 750 750 751 - DLOS8 can viewGPS locationintheLogread FWD State795 +Show the system log 752 752 797 +[[image:1657156341198-226.png]] 753 753 754 -Show the Error logs, RxTxJson lorawan packages, and PULL State 755 755 756 -[[image:image-20220615205416-6.png||height="442" width="884"]] 757 757 801 += 6. More features = 758 758 759 -== =5.6.2LogRead~-~-> System Log ===803 +== 6.1 Packet Filtering == 760 760 761 - Showthesystem log805 +Drop unwanted packets. 762 762 763 -[[i mage:1652430369760-511.png||height="373"width="730"]]807 +See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]] 764 764 765 -= 6. More features = 766 766 767 -== 6. 1Moreinstructions ==810 +== 6.2 Remote Access == 768 768 812 +Remote Access Devices for management. 813 + 814 +Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/]] 815 + 816 + 817 +== 6.3 How to decode ABP LoRaWAN node == 818 + 819 +Decode ABP: 820 + 821 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20~~-~~--%20LG308/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 822 + 823 + 824 +== 6.4 How to set data to MQTT broker == 825 + 826 +Only support ABP LoRaWAN End Node 827 + 828 +Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 829 + 830 + 831 +== 6.5 More instructions == 832 + 769 769 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 770 770 771 771 772 -= 7.LinuxSystem=836 +== 6.6 Auto-Provision == 773 773 774 - TheDLOS8Nisbasedonthe OpenWrt Linuxsystem.Itis opensource,andusers are freetoconfigure and modifytheLinux settings.838 +Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 775 775 776 - ==7.1SSH Access for Linuxconsole==840 +[[image:image-20220707092040-1.png||height="451" width="995"]] 777 777 778 - User can access the Linux console viatheSSH protocol.Make sure your PC and theDLOS8N are connected to the same network,then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]in Windows) to access it.842 +[[image:image-20220707092040-2.png||height="452" width="1002"]] 779 779 780 - IPaddress:IPaddressofDLOS8N844 +[[image:image-20220707092040-3.png||height="449" width="956"]](% style="display:none" %) 781 781 846 +Please see this document for detail: 847 + 848 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 849 + 850 +(% style="display:none" %) (%%) 851 + 852 += 7. (% style="display:none" %) (%%)Linux System = 853 + 854 +The LPS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 855 + 856 +(% style="display:none" %) (%%) 857 + 858 +== 7.1 SSH Access for Linux console == 859 + 860 +User can access the Linux console via the SSH protocol. Make sure your PC and the LPS8N are connected to the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows) to access it. 861 + 862 +IP address: IP address of LPS8N 863 + 782 782 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 783 783 784 784 User Name: (% style="color:green" %)**root** ... ... @@ -787,17 +787,20 @@ 787 787 788 788 After logging in, you will be in the Linux console and can enter commands as shown below. 789 789 790 -[[image:1652431588565-830.png]] 791 791 873 +[[image:1657158198733-338.png]] 874 + 792 792 The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 793 793 794 -[[image:1652431609193-637.png||height="214" width="732"]] 795 795 878 +[[image:1657158190234-805.png]] 796 796 797 -== 7.2 Edit and Transfer files == 798 798 881 + 882 +== 7.2 Edit and Transfer files == 883 + 799 799 ((( 800 -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.885 +The LPS8N 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. 801 801 ))) 802 802 803 803 ((( ... ... @@ -805,7 +805,7 @@ 805 805 ))) 806 806 807 807 ((( 808 -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.893 +After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the LPS8N, or edit the files directly in the windows. 809 809 ))) 810 810 811 811 ((( ... ... @@ -815,14 +815,15 @@ 815 815 [[image:1652431650755-450.png]] 816 816 817 817 818 -== 7.3 File System == 819 819 904 +== 7.3 File System == 905 + 820 820 ((( 821 -The DLOS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot.907 +The LPS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot. 822 822 ))) 823 823 824 824 ((( 825 -The Linux system uses around 8MB ~~10MB flash size which means there is not much room for user to store data in the DLOS8N flash.911 +The Linux system uses around 8MB ~~10MB flash size which means there is not much room for user to store data in the LPS8N flash. 826 826 ))) 827 827 828 828 ((( ... ... @@ -830,9 +830,9 @@ 830 830 ))) 831 831 832 832 833 -== 7.4 Package maintenance system == 919 +== 7.4 Package maintenance system == 834 834 835 - DLOS8N uses the OpenWrt [[**OPKG package maintenance system**>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]. There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the **//iperf //** tool, you can install the related packages and configureDLOS8N to use **//iperf //**.921 +LPS8N uses the OpenWrt [[**OPKG package maintenance system**>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]. There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the **//iperf //** tool, you can install the related packages and configure LPS8N to use **//iperf //**. 836 836 837 837 ((( 838 838 Below are some example **//opkg //** commands. For more information please refer to the [[OPKG package maintain system>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]** **([[https:~~/~~/oldwiki.archive.openwrt.org/doc/techref/opkg>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]) ... ... @@ -843,11 +843,11 @@ 843 843 ))) 844 844 845 845 ((( 846 -(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 932 +(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 847 847 ))) 848 848 849 849 ((( 850 -(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 936 +(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 851 851 ))) 852 852 853 853 ((( ... ... @@ -883,11 +883,53 @@ 883 883 884 884 ((( 885 885 (% style="background-color:#dcdcdc" %)//Configuring iperf.// 972 + 973 + 974 + 886 886 ))) 887 887 888 -= 8. Upgrade Linux Firmware = 977 += 8. Upgrade Linux Firmware = 889 889 979 +We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 890 890 981 +* **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], 982 + 983 +( [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware]]) 984 + 985 +* **Change Log**: [[Firmware Change Log>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]]. 986 + 987 +( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8N/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LIG16/Firmware/ChangeLog]] ) 988 + 989 + 990 +The file named as (% style="color:green" %)** xxxxx–xxxxx-squashfs-sysupgrade.bin **(%%)is the upgrade Image. There are different methods to upgrade, as below. 991 + 992 + 993 +== 8.1 Upgrade via Web UI == 994 + 995 +Go to the page: (% style="color:green" %)**Web ~-~-> System ~-~-> Firmware Upgrade** 996 + 997 +Select the required image and click (% style="color:red" %)**Flash Image.**(%%) The image will be uploaded to the device, and then click (% style="color:red" %)**Process Update**(%%) to upgrade. 998 + 999 + 1000 +(% style="color:red" %)**NOTE**(%%): You normally need to **//uncheck//** the //**Preserve Settings**// checkbox when doing an upgrade to ensure that there is no conflict between the old settings and the new firmware. The new firmware will start up with its default settings. 1001 + 1002 + 1003 +The system will automatically boot into the new firmware after upgrade. 1004 + 1005 +[[image:1657158986600-386.png]] 1006 + 1007 + 1008 +== 8.2 Upgrade via Linux console == 1009 + 1010 +SCP the firmware to the system** (% style="color:green" %)/var(%%)** directory and then run 1011 + 1012 +(% style="color:#4472c4" %)** //root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 1013 + 1014 + 1015 +(% style="color:red" %)**NOTE**(%%): it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 1016 + 1017 + 1018 + 891 891 = 9. FAQ = 892 892 893 893 == 9.1 How can I configure for a customized frequency band? ==
- 1657094130908-567.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.3 KB - Content
- 1657094183213-301.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.0 KB - Content
- 1657094202420-798.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +165.1 KB - Content
- 1657094221515-510.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +110.1 KB - Content
- 1657094249818-468.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.2 KB - Content
- 1657094333704-207.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +149.9 KB - Content
- 1657094382177-591.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +202.7 KB - Content
- 1657094417175-831.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.2 KB - Content
- 1657094444802-101.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.0 KB - Content
- 1657094475730-208.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.0 KB - Content
- 1657094646429-966.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.4 KB - Content
- 1657094674045-755.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- 1657094791060-639.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.9 KB - Content
- 1657094893942-726.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +185.3 KB - Content
- 1657094930903-357.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +125.7 KB - Content
- 1657095412271-942.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.2 KB - Content
- 1657155158184-134.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +69.0 KB - Content
- 1657155183982-792.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.8 KB - Content
- 1657155288223-566.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30.7 KB - Content
- 1657155457089-430.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.6 KB - Content
- 1657155507672-204.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.0 KB - Content
- 1657155554265-721.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +90.5 KB - Content
- 1657155630849-656.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.9 KB - Content
- 1657156052651-770.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.3 KB - Content
- 1657156094153-520.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.3 KB - Content
- 1657156156755-811.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.2 KB - Content
- 1657156199070-491.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.9 KB - Content
- 1657156300781-933.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.2 KB - Content
- 1657156341198-226.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.2 KB - Content
- 1657157402578-508.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.2 KB - Content
- 1657158190234-805.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +221.0 KB - Content
- 1657158198733-338.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- 1657158255685-710.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.4 KB - Content
- 1657158986600-386.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.3 KB - Content
- 1657159323292-776.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.5 KB - Content
- image-20220706155323-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.6 KB - Content
- image-20220707092040-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +106.4 KB - Content
- image-20220707092040-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +105.1 KB - Content
- image-20220707092040-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +142.9 KB - Content