Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 27 added, 0 removed)
- image-20231017111606-1.png
- image-20231017112115-2.png
- image-20231017114417-3.png
- image-20231017115124-4.png
- image-20231017115330-5.png
- image-20231031162854-1.png
- image-20231031162927-2.png
- image-20231106175329-1.png
- image-20231106175457-2.png
- image-20231106175523-3.png
- image-20231106180816-4.png
- image-20231106180846-5.png
- image-20231124113209-1.png
- image-20231201165904-1.png
- image-20231201170355-2.png
- image-20231207144627-1.png
- image-20231207144758-2.png
- image-20231207145210-3.png
- image-20240203172853-1.png
- image-20240318095605-1.jpeg
- image-20240318095617-2.png
- image-20240318160845-1.png
- image-20240416112509-1.png
- image-20240416112618-2.png
- image-20240416112649-3.png
- image-20240416112712-4.png
- image-20240416112948-5.png
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -LPS8v2 LoRaWAN Indoor Gateway User Manual 1 +LPS8v2 -- LoRaWAN Indoor Gateway User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoye - Content
-
... ... @@ -8,7 +8,7 @@ 8 8 9 9 ))) 10 10 11 -**Table of Contents :**11 +**Table of Contents:** 12 12 13 13 {{toc/}} 14 14 ... ... @@ -81,7 +81,7 @@ 81 81 ** Semtech UDP Packet Forwarder 82 82 ** LoRaWAN Basic Station 83 83 ** ChirpStack-Gateway-Bridge (MQTT) 84 -* Built-in (% style="color:#037691" %)** The Things Network**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server 85 85 * Built-in (% style="color:#037691" %)**Node-Red** (%%)local Application server 86 86 87 87 == 1.4 LED Indicators == ... ... @@ -96,11 +96,11 @@ 96 96 97 97 (% style="color:blue" %)**➢ SYS LED**(%%): This RGB LED will show different colors in different states: 98 98 99 - ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection. 99 + ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection. 100 100 101 - ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together 101 + ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together 102 102 103 - ✓** SOLID RED:** Device doesn't have an Internet connection. 103 + ✓** SOLID RED:** Device doesn't have an Internet connection. 104 104 105 105 (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status. 106 106 ... ... @@ -121,13 +121,18 @@ 121 121 **LED status: ** ETH LED will SOLID BULE Until the restore is finished. 122 122 123 123 124 -(% style="color:red" %)**Note **: Restoring factory Settings does not erase data from the LPS8-V2 built-in server124 +(% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server** 125 125 126 -See this link for steps on how to clear data from the built-in server: 126 +See this link for steps on how to clear data from the built-in server: **[[How to reset the built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtoresetthebuilt-inserver]]** 127 127 128 -**[[How to clear data from the built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtocleardatafromthebuilt-inserver]]** 129 129 129 +When the gateway restores the factory settings is complete, 130 130 131 +The WiFi configuration will enable WiFi Access Point by default. 132 + 133 +The other configuration will be restored to the default configuration. 134 + 135 + 131 131 = 2. Quick Start = 132 132 133 133 ... ... @@ -155,7 +155,6 @@ 155 155 [[image:image-20230527085250-2.png||height="495" width="284"]] 156 156 157 157 158 - 159 159 ==== (% style="color:blue" %)**Method 2**(%%): Connect via Ethernet with DHCP IP from the router ==== 160 160 161 161 ... ... @@ -170,7 +170,6 @@ 170 170 [[image:image-20220622100129-1.png||height="332" width="1263"]] 171 171 172 172 173 - 174 174 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 175 175 176 176 ... ... @@ -194,7 +194,7 @@ 194 194 195 195 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 196 196 197 -If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : **[[Trouble Shooting>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9. 2A0FallbackIPdoesnotwork2Chowcanuserscheck]]**200 +If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : **[[Trouble Shooting>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.3A0FallbackIPdoesnotwork2Chowcanuserscheck]]** 198 198 199 199 200 200 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -202,7 +202,6 @@ 202 202 [[image:image-20230111094247-2.png||height="619" width="1250"]] 203 203 204 204 205 - 206 206 ==== (% style="color:blue" %)**Method 4**(%%): Connect via WiFi with DHCP IP from the router ==== 207 207 208 208 [[image:image-20220622100542-2.png||height="369" width="1256"]] ... ... @@ -242,7 +242,7 @@ 242 242 243 243 (% style="color:blue" %)**Password: dragino** 244 244 245 -[[image:image-202 30106153501-1.png||height="367" width="894"]]247 +[[image:image-20240318160845-1.png]] 246 246 247 247 248 248 == 2.2 Typical Network Setup == ... ... @@ -305,6 +305,9 @@ 305 305 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657090932270-444.png?rev=1.1||alt="1657090932270-444.png"]] 306 306 307 307 310 +**Note: In most cases, the user simply types in the APN and checks the enable checkbox, without typing Pincode, Username, or Password settings.** 311 + 312 + 308 308 === 2.2.5 Check Internet connection === 309 309 310 310 ... ... @@ -481,7 +481,7 @@ 481 481 482 482 Shows the system info: 483 483 484 -[[image:image-202 20917144512-5.png||height="618" width="853"]]489 +[[image:image-20231031162854-1.png]] 485 485 486 486 487 487 === 3.5.2 System ~-~-> System General === ... ... @@ -497,12 +497,26 @@ 497 497 === 3.5.3 System ~-~-> Backup/Restore === 498 498 499 499 500 -[[image:image-202 20917144725-6.png||height="208" width="869"]]505 +[[image:image-20231031162927-2.png]] 501 501 507 +=== 3.5.4 System ~-~-> Reboot / Reset === 502 502 503 - ===3.5.4System~-~-> Remoteit===509 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway. 504 504 511 +ETH LED will SOLID BULE Until the restore is finished. 505 505 513 +When the gateway restores the factory settings is complete, 514 + 515 +The WiFi configuration will enable WiFi Access Point by default. 516 + 517 +The other configuration will be restored to the default configuration. 518 + 519 +[[image:image-20240203172853-1.png||height="365" width="901"]] 520 + 521 + 522 +=== 3.5.5 System ~-~-> Remoteit === 523 + 524 + 506 506 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 507 507 508 508 ... ... @@ -511,7 +511,7 @@ 511 511 [[image:image-20221230092303-2.png]] 512 512 513 513 514 -=== 3.5. 5System ~-~-> Package Management ===533 +=== 3.5.6 System ~-~-> Package Management === 515 515 516 516 517 517 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. ... ... @@ -519,103 +519,114 @@ 519 519 [[image:image-20230214094316-4.png]] 520 520 521 521 522 -= 4.Build-in Server=541 +== 3.5 Logread == 523 523 543 +=== 3.5.1 LoRa Log === 524 524 525 -Since software version 0606,the default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red**(%%), LoRaWAN Server: (% style="color:blue" %)**ChirpStack**(%%). 526 526 527 - [[image:image-20230616175617-8.png||height="390"width="894"]]546 +In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection 528 528 529 -[[image:image-202 30616175558-7.png||height="362" width="894"]]548 +[[image:image-20240416112509-1.png]] 530 530 531 531 551 +=== 3.5.2 Gateway Traffic === 532 532 533 - (%style="color:red"%)**Note:**553 +In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests 534 534 535 - **Path**:Server ~-~-> NetworkServer555 +[[image:image-20240416112618-2.png||height="705" width="1122"]] 536 536 537 - Server ~-~-> Application Server 538 538 558 +=== 3.5.3 System Log === 539 539 540 -** Troubleshooting:**560 +In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system 541 541 562 +[[image:image-20240416112649-3.png||height="820" width="1122"]] 542 542 543 -**~ 1. URL does not jump properly** 544 544 545 - For theChirpStack, you can use the local IP address andthe portis **8080** to access it.565 +=== 3.5.4 Record Log === 546 546 547 - FortheNode-Red,youcan usethelocal IP addressandtheportis **1880**toaccessit.567 +In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log. 548 548 569 +[[image:image-20240416112712-4.png||height="319" width="1128"]] 549 549 550 -== 4.1 LoRaWAN Network Server ~-~- ChirpStack == 551 551 552 552 553 - Youcanaccess the gateway's built-inLNSserverof (% style="color:blue" %)**ChirpStack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.573 += 4. Build-in Server = 554 554 555 -Such a s(% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080orhttp:~/~/<Local-IPV4-Address>//**__575 +After the v1.7-230606 version, the LPS8-V2 default factory pre-installed the LoRaWAN Server: (% style="color:blue" %)**ChirpStack-V4**(%%), Application Server: (% style="color:blue" %)**Node-Red**(%%). 556 556 557 557 558 -Lo ginaccount:578 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 559 559 560 - **Username** (% style="background-color:yellow"%)**admin**580 +[[image:image-20231106180816-4.png||height="416" width="896"]] 561 561 562 - **Password: ** ** (% style="background-color:#ffff00"%)admin(%%)**582 +[[image:image-20231201165904-1.png||height="466" width="899"]] 563 563 564 - [[image:image-20230616175332-6.png||height="519"width="1029"]]584 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)ChirpStack-V4 (% style="color:red" %)via click the 'Launch' button, and the login account: admin/admin(%%)** 565 565 586 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 566 566 567 567 568 -=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 569 569 590 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 570 570 571 -Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 572 572 573 - The registration steps are basically similar to [[LPS8-V2 is registered and connected to TheThings Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]593 +[[image:image-20230616175558-7.png||height="362" width="894"]] 574 574 575 -[[image:image-2023 0321092456-1.png]]595 +[[image:image-20231201170355-2.png||height="536" width="899"]] 576 576 597 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 577 577 578 578 579 -== 4.2 Application Server ~-~- Node-Red == 580 580 601 +== **3). Troubleshooting:** == 581 581 582 -You can access the gateway's built-in AS server of (% style="color:blue" %)**Node-Red **(%%)via the URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>//**__(%%)) in your browser. 583 583 604 +* ((( 605 +=== ** If the URL does not jump properly.** === 606 +))) 584 584 585 - Suchas (%style="background-color:yellow"%)__**//http:~/~/dragino-54ff12:1880orhttp:~/~/<Local-IPV4-Address>//**__608 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 586 586 610 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 587 587 588 -[[image:image-20220725172124-3.png||height="610" width="843"]] 589 589 613 +* ((( 614 +=== ** How to install InfluxDB, Garfana.** === 615 +))) 590 590 617 + The LPS8V2 is not pre-installed with InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 591 591 592 -=== **Using Node-Red, InfluxDB and Grafana** === 593 593 594 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 620 +* ((( 621 +=== ** How to upgrade the gateway node.js to the latest version.** === 622 +))) 595 595 624 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 596 596 597 -the users can refer to this link to install them. 598 598 599 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 627 +* ((( 628 +=== ** How to batch register device on the built-in Chirpstack network server** === 629 +))) 600 600 631 + The user can register devices in batch on the gateway Web UI, see [[Batch Register>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H11.A0HowtouseChirpstackAPItobatchregisterSensorNode2FGatewayinChistapstackServer]] 601 601 602 -=== **Upgrade the node.js** === 603 603 604 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 634 +* ((( 635 +=== ** Why my gateway is not Chirpstack?** === 636 +))) 605 605 638 + After June '23, the default factory LPS8V2 pre-installed Chirpstack-V4 instead of The Things Stack, the users can migrate to Chistack-V4, see **[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 606 606 607 -the users can refer to this link to upgrade them. 608 608 609 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 641 +* ((( 642 +=== ** How to disable the built-in server** === 643 +))) 610 610 611 - 612 -== 4.3 How to disable the built-in server == 613 - 614 - 615 -Use the following commands to start and stop the TTNv3 service: 616 - 617 617 (% class="box infomessage" %) 618 618 ((( 647 +Use the following commands to start and stop the TTNv3 service:** ** 648 + 619 619 **# start** 620 620 systemctl start ttnstack 621 621 ... ... @@ -629,10 +629,10 @@ 629 629 systemctl disable ttnstack 630 630 ))) 631 631 632 -Use the following commands to start and stop the Node-Red service: 633 - 634 634 (% class="box infomessage" %) 635 635 ((( 664 +Use the following commands to start and stop the Node-Red service: 665 + 636 636 **# start** 637 637 systemctl start nodered 638 638 ... ... @@ -647,36 +647,40 @@ 647 647 ))) 648 648 649 649 650 -== 4.4 How to use ChirpStack on LPS8-V2 == 680 +* ((( 681 +=== ** How to choose the Chirpstack server frequency SubBand** === 682 +))) 651 651 684 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 652 652 653 - Bydefault,thebuilt-inLoRaWANnetworkserverused onLPS8v2 is TTNv3, sousersneedfollowthislinktoinstallchirpstack:686 + Note: Since the subbands of the Chirpstack are counted from 0, us915_1 of the Chirpstack is equal to US915 FSB2, so if your LoRa Rdio is using the US915 FSB2 you have to choose the us915_1 as the Chirpstack FSB. 654 654 655 - **[[Build-in The Things Networkmigrateto ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**688 +[[image:image-20230602140406-3.png||height="480" width="918"]] 656 656 657 657 658 - ===4.4.1How douserschoosehe chirpstackserver frequencySubBand ===691 +When the configuration is complete, click** "Save&Apply"**. 659 659 660 660 661 - Onthe **Server~-~->NetworkServer**interface,choosethe frequencyPlanfirst.694 +(% style="color:red" %)**Note:**(%%) When adding the device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2. 662 662 663 - If the frequency Plan usedis CN470, US915, AU915, or AS923, the user needs to choose a frequency sub-band, because thefrequency Sub Band of ChirpStack starts from 0, so for example, us915_1correspondsto the actual frequency US915_2.696 +[[image:image-20230602143122-4.png||height="511" width="983"]] 664 664 665 -[[image:image-20230602140406-3.png||height="480" width="918"]] 666 666 699 += 5. Watch Dog = 667 667 668 -When the configuration is complete, click** "Save&Apply"**. 669 669 702 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 670 670 671 - (%style="color:red"%)**Note:**(%%) Whenaddingdeviceprofile,theselected Regionconfiguration is also calculated from0, so setting it tous915_1 correspondstoUS915 SubBand2.704 +The uses can be via the below method to enable Watch Dog: 672 672 673 -[[image:image-20230602143122-4.png||height="511" width="983"]] 706 +(% class="box infomessage" %) 707 +((( 708 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 709 +))) 674 674 711 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 675 675 676 -= 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge = 677 677 678 - 679 - 680 680 = 6. How users can access LPS8-V2 using serial USB = 681 681 682 682 ... ... @@ -730,7 +730,6 @@ 730 730 731 731 1). Using the Linux command to upgrade the system 732 732 733 - 734 734 (% class="box infomessage" %) 735 735 ((( 736 736 **apt update && apt install *dragino*** ... ... @@ -739,13 +739,11 @@ 739 739 740 740 2). Upgrade the system via the Web page button of "Manual Update" 741 741 775 +(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 742 742 743 -**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 744 - 745 745 [[image:image-20230607093849-1.png]] 746 746 747 747 748 - 749 749 = 8. FAQ = 750 750 751 751 == 8.1 How to change Hostname == ... ... @@ -768,33 +768,26 @@ 768 768 769 769 Migrate guide: 770 770 771 - **1. Ensure that the gatewayis in goodnetworkcondition,RecommendeduseofETH.**802 +To stabilize the completion of the migration, The users can migrate in one of the following ways 772 772 773 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**804 +**Method 1. Using the Linux shell, ** 774 774 775 - [[image:image-20230616162454-1.png]]806 +**Method 2. Flash a new image with the Chirpstack** 776 776 777 777 778 - **3.Click "Migrate-Chirpstack"**809 +=== Method 1: Using the Linux shell === 779 779 780 -[[image:image-20230616162742-2.png]] 811 +(% class="box infomessage" %) 812 +((( 813 +wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack 814 +))) 781 781 782 782 783 - **4.StratInstall**817 +=== Method 2: Flash a new image === 784 784 785 - Clickstart Installandwaituntilthemigrationceeds819 +Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]] 786 786 787 -[[image:image-20230616162934-3.png]] 788 788 789 - 790 -**5.Migration complete check result** 791 - 792 -[[image:image-20230616174526-4.png||height="706" width="983"]] 793 - 794 - 795 -[[image:image-20230616180004-9.png]] 796 - 797 - 798 798 == 8.3 How to reduce the 4g data consumed == 799 799 800 800 ... ... @@ -822,11 +822,162 @@ 822 822 ))) 823 823 824 824 849 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 850 + 851 + 852 +By default, the LPS8v2's built-in server is ChirpStack v4, 853 + 854 +If the user needs to change the built-in server from ChirpStack v4 to TTN Stack v3, the User needs to download the image and flash it to the LPS8v2 gateway: 855 + 856 +[[https:~~/~~/www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0>>https://www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0]] 857 + 858 + 859 +Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]] 860 + 861 + 862 +== 8.6 How do I view gateway logs == 863 + 864 +=== 8.6.1 LoRaWAN Log: === 865 + 866 + 867 +==== Semtech UDP Log : ==== 868 + 869 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 870 + 871 +[[image:image-20231017112115-2.png||height="611" width="821"]] 872 + 873 + 874 +==== Station Log: ==== 875 + 876 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 877 + 878 +[[image:image-20231017111606-1.png||height="622" width="821"]] 879 + 880 + 881 +=== 8.6.2 4G Log === 882 + 883 + 884 +User needs to access the Linux console of the gateway and enter the following command: 885 + 886 +(% class="box infomessage" %) 887 +((( 888 +cat /var/log/qmilog.txt 889 +))) 890 + 891 +[[image:image-20231017114417-3.png||height="543" width="679"]] 892 + 893 + 894 +LPS8v2 use **quectel-CM** linux drive for dial up. The manual of this driver can be found here: [[**quectel-CM driver user manual**>>https://www.dropbox.com/scl/fi/73n2jl2c5r8h4i187to4n/Quectel_WCDMA_LTE_Linux_USB_Driver_User_Guide_V1.9-20190212.pdf?rlkey=j8834bw38d4neieisg54zngu9&st=kjsd4zx4&dl=0]]. 895 + 896 +Below are some commands as reference: 897 + 898 +>Usage: /usr/bin/quectel-CM [options] 899 +> -s [apn [user password auth]] Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap 900 +> -p pincode Verify sim card pin if sim card is locked 901 +> -p [quectel-][qmi|mbim]-proxy Request to use proxy 902 +> -f logfilename Save log message of this program to file 903 +> -u usbmonlog filename Save usbmon log to file 904 +> -i interface Specify which network interface to setup data call when multi-modems exits 905 +> -4 Setup IPv4 data call (default) 906 +> -6 Setup IPv6 data call 907 +> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn') 908 +> -m iface-idx Bind QMI data call to wwan0_<iface idx> when QMAP used. E.g '-n 7 -m 1' bind pdn-7 data call to wwan0_1 909 +> -b Enable network interface bridge function (default 0) 910 +> -v Verbose log mode, for debug purpose.[Examples] 911 +>Example 1: /usr/bin/quectel-CM 912 +>Example 2: /usr/bin/quectel-CM -s 3gnet 913 +>Example 3: /usr/bin/quectel-CM -s 3gnet -v 914 + 915 + 916 + 917 + 918 + 919 +=== 8.6.3 Dmesg Log === 920 + 921 + 922 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 923 + 924 +[[image:image-20231017115330-5.png||height="565" width="740"]] 925 + 926 + 927 +=== 8.6.4 Record Log === 928 + 929 + 930 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 931 + 932 +[[image:image-20231017115124-4.png||height="215" width="880"]] 933 + 934 + 935 +=== 8.6.5 View gateway logs via Linux Command === 936 + 937 + 938 +**Semtech UDP Log :** 939 + 940 +(% class="box infomessage" %) 941 +((( 942 +**journalctl -u draginofwd -f** 943 +))) 944 + 945 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 946 + 947 + 948 +**Station Log:** 949 + 950 +(% class="box infomessage" %) 951 +((( 952 +**tail -f /var/log/station.log ** 953 +))) 954 + 955 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 956 + 957 + 958 +**Dmesg Log:** 959 + 960 +(% class="box infomessage" %) 961 +((( 962 +**dmesg** 963 +))) 964 + 965 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 966 + 967 + 968 +== 8.7 DIN Mount Reference: == 969 + 970 + 971 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]] 972 + 973 +[[image:image-20240318095617-2.png]] 974 + 975 + 976 +== 8.8 NTP Service/Time Synchronization == 977 + 978 +The gateway time sync service is provided by chrony service 979 + 980 + 981 +=== 1). Modify the NTP server address: === 982 + 983 +(% class="box infomessage" %) 984 +((( 985 +Configuration file path: /etc/chrony/chrony.conf 986 +))) 987 + 988 + 989 +=== 2). Start/Stop/Enable/Disable NTP service: === 990 + 991 +(% class="box infomessage" %) 992 +((( 993 +systemctl start chrony 994 +\\systemctl stop chrony 995 +\\systemctl disable chrony 996 +\\systemctl enable chrony 997 +))) 998 + 999 + 1000 + 825 825 = 9. Trouble Shooting = 826 826 827 827 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == 828 828 829 - 830 830 [[image:image-20220920135918-1.png]] 831 831 832 832 ... ... @@ -856,7 +856,7 @@ 856 856 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP. 857 857 858 858 859 -**1.Check whether the configuration is correct** 1034 +**~1. Check whether the configuration is correct** 860 860 861 861 Run the CMD command to ipconfig and ping 172.31.255.254. 862 862 ... ... @@ -886,16 +886,15 @@ 886 886 887 887 Earlier versions of the LPS8V2 which missing the AP driver and not installed the fallback package, so the users have to do an extra update. 888 888 889 - 890 890 (% class="box infomessage" %) 891 891 ((( 892 -apt update && apt install dragino -fallback1066 +apt update && apt install *dragino* 893 893 894 894 wget -P /tmp/ [[http:~~/~~/repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]] && dpkg -i /tmp/[[linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]] 895 895 ))) 896 896 897 897 898 -== 9.6 How to cleardatafromthe built-in server ==1072 +== 9.6 How to reset the built-in server == 899 899 900 900 901 901 **1) Build-in The Things Network** ... ... @@ -902,12 +902,16 @@ 902 902 903 903 Refer to this link to delete the Built-in server's device. 904 904 905 -[[ attach:DeleteDevice.docx||target="_blank"]]1079 +[[Delete devices from Build-in The Things Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Delete%20devices%20from%20Build-in%20The%20Things%20Network/]] 906 906 907 907 908 908 **2) Build-in Chirpstack** 909 909 1084 +Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 910 910 1086 +[[image:image-20231106180846-5.png||height="310" width="668"]] 1087 + 1088 + 911 911 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 912 912 913 913
- image-20231017111606-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +117.6 KB - Content
- image-20231017112115-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +114.3 KB - Content
- image-20231017114417-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +130.4 KB - Content
- image-20231017115124-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.6 KB - Content
- image-20231017115330-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +110.1 KB - Content
- image-20231031162854-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.9 KB - Content
- image-20231031162927-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.0 KB - Content
- image-20231106175329-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- image-20231106175457-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- image-20231106175523-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.8 KB - Content
- image-20231106180816-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.6 KB - Content
- image-20231106180846-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.9 KB - Content
- image-20231124113209-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +198.7 KB - Content
- image-20231201165904-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.5 KB - Content
- image-20231201170355-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.2 KB - Content
- image-20231207144627-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +182.9 KB - Content
- image-20231207144758-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.0 KB - Content
- image-20231207145210-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +104.4 KB - Content
- image-20240203172853-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.5 KB - Content
- image-20240318095605-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.3 KB - Content
- image-20240318095617-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.9 KB - Content
- image-20240318160845-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.5 KB - Content
- image-20240416112509-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.7 KB - Content
- image-20240416112618-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.5 KB - Content
- image-20240416112649-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +119.8 KB - Content
- image-20240416112712-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.6 KB - Content
- image-20240416112948-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.6 KB - Content