Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Change comment:
Uploaded new attachment "image-20240416112618-2.png", version {1}
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 29 added, 0 removed)
- Delete Device.docx
- image-20230619095946-1.png
- image-20230719100239-1.png
- image-20230719100332-2.png
- image-20230719100419-3.png
- 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
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,6 +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 server** 125 + 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 + 128 + 129 +When the gateway restores the factory settings is complete, 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 + 124 124 = 2. Quick Start = 125 125 126 126 ... ... @@ -129,9 +129,9 @@ 129 129 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network. 130 130 131 131 132 -== 2.1 Connectsto the networkandaccesses thegatewayWebUI==144 +== 2.1 Access and Configure LPS8-V2 == 133 133 134 -=== 2.1.1 connectthenetwork===146 +=== 2.1.1 Find IP address of LPS8-V2 === 135 135 136 136 137 137 ==== (% style="color:blue" %)**Method 1**(%%): Connect via LPS8-V2 WiFi ==== ... ... @@ -148,7 +148,6 @@ 148 148 [[image:image-20230527085250-2.png||height="495" width="284"]] 149 149 150 150 151 - 152 152 ==== (% style="color:blue" %)**Method 2**(%%): Connect via Ethernet with DHCP IP from the router ==== 153 153 154 154 ... ... @@ -163,7 +163,6 @@ 163 163 [[image:image-20220622100129-1.png||height="332" width="1263"]] 164 164 165 165 166 - 167 167 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 168 168 169 169 ... ... @@ -187,7 +187,7 @@ 187 187 188 188 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 189 189 190 -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]]** 191 191 192 192 193 193 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -195,7 +195,6 @@ 195 195 [[image:image-20230111094247-2.png||height="619" width="1250"]] 196 196 197 197 198 - 199 199 ==== (% style="color:blue" %)**Method 4**(%%): Connect via WiFi with DHCP IP from the router ==== 200 200 201 201 [[image:image-20220622100542-2.png||height="369" width="1256"]] ... ... @@ -235,7 +235,7 @@ 235 235 236 236 (% style="color:blue" %)**Password: dragino** 237 237 238 -[[image:image-202 30106153501-1.png||height="367" width="894"]]247 +[[image:image-20240318160845-1.png]] 239 239 240 240 241 241 == 2.2 Typical Network Setup == ... ... @@ -428,8 +428,9 @@ 428 428 429 429 === 3.4.1 Network ~-~-> WiFi === 430 430 440 +Users can configure the wifi WAN and enable Wifi Access Point on this interface 431 431 432 -[[image:image-202 20616114756-4.png||height="251" width="669"]]442 +[[image:image-20230619095946-1.png||height="332" width="827"]] 433 433 434 434 435 435 === 3.4.2 Network ~-~-> System Status === ... ... @@ -456,11 +456,16 @@ 456 456 [[image:image-20230228115126-1.png]] 457 457 458 458 459 -After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellu alr state.469 +After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellular state. 460 460 461 461 [[image:image-20230228115535-2.png||height="478" width="888"]] 462 462 463 463 474 +Note: Known bugs: 4g consumes a lot of data which has been fixed by the package: dragino-ui-230716 475 + 476 +[[Reduce data method>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H8.3Howtoreducethe4gdataconsumed]] 477 + 478 + 464 464 == 3.5 System == 465 465 466 466 === 3.5.1 System ~-~-> System Overview === ... ... @@ -468,7 +468,7 @@ 468 468 469 469 Shows the system info: 470 470 471 -[[image:image-202 20917144512-5.png||height="618" width="853"]]486 +[[image:image-20231031162854-1.png]] 472 472 473 473 474 474 === 3.5.2 System ~-~-> System General === ... ... @@ -484,124 +484,118 @@ 484 484 === 3.5.3 System ~-~-> Backup/Restore === 485 485 486 486 487 -[[image:image-202 20917144725-6.png||height="208" width="869"]]502 +[[image:image-20231031162927-2.png]] 488 488 504 +=== 3.5.4 System ~-~-> Reboot / Reset === 489 489 490 - ===3.5.4System~-~-> Remoteit===506 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway. 491 491 508 +ETH LED will SOLID BULE Until the restore is finished. 492 492 493 - In the**System->Remoteit** interface, users can configure thegatewayto be accessed remotelyviaRemote.it.510 +When the gateway restores the factory settings is complete, 494 494 512 +The WiFi configuration will enable WiFi Access Point by default. 495 495 496 - theusers can refer toislink toconfigurethem: **[[Monitor& RemoteAccess Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]**514 +The other configuration will be restored to the default configuration. 497 497 498 -[[image:image-202 21230092303-2.png]]516 +[[image:image-20240203172853-1.png||height="365" width="901"]] 499 499 500 500 501 -=== 3.5.5 System ~-~-> PackageManagement ===519 +=== 3.5.5 System ~-~-> Remoteit === 502 502 503 503 504 -In the **System ~-~->PackageManagement** interface,Users can checkthecurrentversionofCorePackages.522 +In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 505 505 506 -[[image:image-20230214094316-4.png]] 507 507 525 +the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]** 508 508 509 - = 4. Build-in Server =527 +[[image:image-20221230092303-2.png]] 510 510 511 511 512 - Sincesoftwareversion0603,530 +=== 3.5.6 System ~-~-> Package Management === 513 513 514 -The default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red, and**(%%) LoRaWAN Server: ChirpStack(% style="color:blue" %)**.** 515 515 516 - [[image:image-20230616175617-8.png||height="390"width="894"]]533 +In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. 517 517 518 -[[image:image-20230 616175558-7.png||height="362" width="894"]]535 +[[image:image-20230214094316-4.png]] 519 519 520 520 538 += 4. Build-in Server = 521 521 522 -(% style="color: red" %)**Note:**540 +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**(%%). 523 523 524 - **Path**: Server ~-~-> Network Server and Server ~-~-> Application Server 525 525 543 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 526 526 527 - **Troubleshooting:**545 +[[image:image-20231106180816-4.png||height="416" width="896"]] 528 528 547 +[[image:image-20231201165904-1.png||height="466" width="899"]] 529 529 530 -** ~1.URLdoesnotjump properly**549 +(% 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(%%)** 531 531 532 - theChirpStack, youcanusethelocalIP addressandtheport is8080toaccess.551 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 533 533 534 - For the Node-Red, you can use the local IP address and the port is 1880 to access it. 535 535 536 536 537 -== 4.1LoRaWANNetwork~-~-ChirpStack==555 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 538 538 539 539 540 - You can access thegateway's built-inLNS server of (% style="color:blue" %)**TheThings Network - Stack **(%%)via the URL( (% style="background-color:yellow"%)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.558 +[[image:image-20230616175558-7.png||height="362" width="894"]] 541 541 542 - Suchas (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080orhttp:~/~/<Local-IPV4-Address>//**__560 +[[image:image-20231201170355-2.png||height="536" width="899"]] 543 543 562 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 544 544 545 -Login account: 546 546 547 -**Username : ** (% style="background-color:yellow" %)**admin** 548 548 549 - **Password:**** (% style="background-color:#ffff00" %)admin(%%)**566 +== **3). Troubleshooting:** == 550 550 551 -[[image:image-20230616175332-6.png||height="519" width="1029"]] 552 552 569 +* ((( 570 +=== ** If the URL does not jump properly.** === 571 +))) 553 553 573 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 554 554 555 - ===4.1.1TheLPS8-V2isregisteredandconnectedtoBuilt-in ChirpStack===575 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 556 556 557 557 558 -Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 578 +* ((( 579 +=== ** How to install InfluxDB, Garfana.** === 580 +))) 559 559 560 - Theregistrationstepsarebasicallysimilarto [[LPS8-V2 is registered andconnectedto TheThingsNetwork>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]582 + 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]] 561 561 562 -[[image:image-20230321092456-1.png]] 563 563 585 +* ((( 586 +=== ** How to upgrade the gateway node.js to the latest version.** === 587 +))) 564 564 565 - ==4.2ApplicationServer~-~- Node-Red ==589 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 566 566 567 567 568 -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. 592 +* ((( 593 +=== ** How to batch register device on the built-in Chirpstack network server** === 594 +))) 569 569 596 + 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]] 570 570 571 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 572 572 599 +* ((( 600 +=== ** Why my gateway is not Chirpstack?** === 601 +))) 573 573 574 - [[image:image-20220725172124-3.png||height="610"width="843"]]603 + 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]]** 575 575 576 576 606 +* ((( 607 +=== ** How to disable the built-in server** === 608 +))) 577 577 578 -=== **Using Node-Red, InfluxDB and Grafana** === 579 - 580 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 581 - 582 - 583 -the users can refer to this link to install them. 584 - 585 -[[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]] 586 - 587 - 588 -=== **Upgrade the node.js** === 589 - 590 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 591 - 592 - 593 -the users can refer to this link to upgrade them. 594 - 595 -[[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.]] 596 - 597 - 598 -== 4.3 How to disable the built-in server == 599 - 600 - 601 -Use the following commands to start and stop the TTNv3 service: 602 - 603 603 (% class="box infomessage" %) 604 604 ((( 612 +Use the following commands to start and stop the TTNv3 service:** ** 613 + 605 605 **# start** 606 606 systemctl start ttnstack 607 607 ... ... @@ -615,10 +615,10 @@ 615 615 systemctl disable ttnstack 616 616 ))) 617 617 618 -Use the following commands to start and stop the Node-Red service: 619 - 620 620 (% class="box infomessage" %) 621 621 ((( 629 +Use the following commands to start and stop the Node-Red service: 630 + 622 622 **# start** 623 623 systemctl start nodered 624 624 ... ... @@ -633,42 +633,45 @@ 633 633 ))) 634 634 635 635 636 -== 4.4 How to use ChirpStack on LPS8-V2 == 645 +* ((( 646 +=== ** How to choose the Chirpstack server frequency SubBand** === 647 +))) 637 637 649 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 638 638 639 - Bydefault,thebuilt-inLoRaWANnetworkserverused onLPS8v2 is TTNv3, sousersneedfollowthislinktoinstallchirpstack:651 + 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. 640 640 641 - **[[Build-in The Things Networkmigrateto ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**653 +[[image:image-20230602140406-3.png||height="480" width="918"]] 642 642 643 643 644 - ===4.4.1How douserschoosehe chirpstackserver frequencySub Band ===656 +When the configuration is complete, click** "Save&Apply"**. 645 645 646 646 647 - Onthe **Server~-~->NetworkServer**interface,choosethe frequencyPlanfirst.659 +(% 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. 648 648 649 - If the frequency Plan usedis CN470, US915, AU915, AS923, the userneeds to choosea frequency sub band, because the frequency Sub Band of ChirpStack starts from 0, so for example, us915_1correspondsto the actual frequency US915_2.661 +[[image:image-20230602143122-4.png||height="511" width="983"]] 650 650 651 -[[image:image-20230602140406-3.png||height="480" width="918"]] 652 652 664 += 5. Watch Dog = 653 653 654 -When the configuration is complete, click** "Save&Apply"**. 655 655 667 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 656 656 657 - (%style="color:red"%)**Note:**(%%) Whenaddingdeviceprofile,theselected Regionconfiguration is also calculated from0, so setting it tous915_1 correspondstoUS915 SubBand2.669 +The uses can be via the below method to enable Watch Dog: 658 658 659 -[[image:image-20230602143122-4.png||height="511" width="983"]] 671 +(% class="box infomessage" %) 672 +((( 673 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 674 +))) 660 660 676 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 661 661 662 -= 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge = 663 663 664 - 665 - 666 666 = 6. How users can access LPS8-V2 using serial USB = 667 667 668 668 669 669 (% style="color:blue" %)**USB TTL to LPS8-V2 Connection:** 670 670 671 - 672 672 Port 1 of the UART on the LPS8-V2 is GND 673 673 674 674 (% class="box infomessage" %) ... ... @@ -680,10 +680,8 @@ 680 680 **GND <~-~--> GND (Black line)** 681 681 ))) 682 682 683 - 684 684 **LPS8v2 UART connection photo** 685 685 686 - 687 687 [[image:image-20230421094319-2.png||height="351" width="392"]] 688 688 689 689 In the PC,you can use the serial port tool(such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows), you need to set the serial baud rate to (% style="color:blue" %)**115200**(%%) to access the serial console for LPS8v2. LPS8v2 will output system info once power on as below: ... ... @@ -719,7 +719,6 @@ 719 719 720 720 1). Using the Linux command to upgrade the system 721 721 722 - 723 723 (% class="box infomessage" %) 724 724 ((( 725 725 **apt update && apt install *dragino*** ... ... @@ -728,9 +728,8 @@ 728 728 729 729 2). Upgrade the system via the Web page button of "Manual Update" 730 730 740 +(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 731 731 732 -**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 733 - 734 734 [[image:image-20230607093849-1.png]] 735 735 736 736 ... ... @@ -756,40 +756,159 @@ 756 756 757 757 Migrate guide: 758 758 759 - **1. Ensure that the gatewayis in goodnetworkcondition,RecommendeduseofETH.**767 +To stabilize the completion of the migration, The users can migrate in one of the following ways 760 760 761 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**769 +**Method 1. Using the Linux shell, ** 762 762 763 - [[image:image-20230616162454-1.png]]771 +**Method 2. Flash a new image with the Chirpstack** 764 764 765 765 766 - **3.Click "Migrate-Chirpstack"**774 +=== Method 1: Using the Linux shell === 767 767 768 -[[image:image-20230616162742-2.png]] 776 +(% class="box infomessage" %) 777 +((( 778 +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 779 +))) 769 769 770 770 771 - **4.StratInstall**782 +=== Method 2: Flash a new image === 772 772 784 +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]] 773 773 774 -Click start Install and wait until the migration succeeds 775 775 776 - [[image:image-20230616162934-3.png]]787 +== 8.3 How to reduce the 4g data consumed == 777 777 778 778 779 - **5.Migration completecheckresult**790 +1). The gateway will check the network via ping 1.1.1.1/8.8.8.8 which will consume a lot of data, you can set the interval time to reduce data consume. 780 780 781 -[[image:image-20230 616174526-4.png||height="706" width="983"]]792 +[[image:image-20230719100239-1.png||height="724" width="994"]] 782 782 783 783 784 - [[image:image-20230616180004-9.png]]795 +2. Change the LoRa status package interval time: It does not affect the connection between the gateway and the server, just the status packet interval 785 785 797 +[[image:image-20230719100332-2.png]] 786 786 787 787 800 +3. Disable the auto-update: 801 + 802 +[[image:image-20230719100419-3.png||height="458" width="995"]] 803 + 804 + 805 +== 8.4 How to connect the helium blockchain as a Data-only hotspot == 806 + 807 + 808 +(% class="box infomessage" %) 809 +((( 810 +apt update && apt install helium-gateway 811 +))) 812 + 813 + 814 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 815 + 816 + 817 +By default, the LPS8v2's built-in server is ChirpStack v4, 818 + 819 +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: 820 + 821 +[[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]] 822 + 823 + 824 +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]] 825 + 826 + 827 +== 8.6 How do I view gateway logs == 828 + 829 +=== 8.6.1 LoRaWAN Log: === 830 + 831 + 832 +==== Semtech UDP Log : ==== 833 + 834 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 835 + 836 +[[image:image-20231017112115-2.png||height="611" width="821"]] 837 + 838 + 839 +==== Station Log: ==== 840 + 841 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 842 + 843 +[[image:image-20231017111606-1.png||height="622" width="821"]] 844 + 845 + 846 +=== 8.6.2 4G Log === 847 + 848 + 849 +The user needs to access the Linux console of the gateway and enter the following command: 850 + 851 +(% class="box infomessage" %) 852 +((( 853 +cat /var/log/qmilog.txt 854 +))) 855 + 856 +[[image:image-20231017114417-3.png||height="543" width="679"]] 857 + 858 + 859 +=== 8.6.3 Dmesg Log === 860 + 861 + 862 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 863 + 864 +[[image:image-20231017115330-5.png||height="565" width="740"]] 865 + 866 + 867 +=== 8.6.4 Record Log === 868 + 869 + 870 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 871 + 872 +[[image:image-20231017115124-4.png||height="215" width="880"]] 873 + 874 + 875 +=== 8.6.5 View gateway logs via Linux Command === 876 + 877 + 878 +**Semtech UDP Log :** 879 + 880 +(% class="box infomessage" %) 881 +((( 882 +**journalctl -u draginofwd -f** 883 +))) 884 + 885 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 886 + 887 + 888 +**Station Log:** 889 + 890 +(% class="box infomessage" %) 891 +((( 892 +**tail -f /var/log/station.log ** 893 +))) 894 + 895 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 896 + 897 + 898 +**Dmesg Log:** 899 + 900 +(% class="box infomessage" %) 901 +((( 902 +**dmesg** 903 +))) 904 + 905 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 906 + 907 + 908 +== 8.7 DIN Mount Reference: == 909 + 910 + 911 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]] 912 + 913 +[[image:image-20240318095617-2.png]] 914 + 915 + 788 788 = 9. Trouble Shooting = 789 789 790 790 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == 791 791 792 - 793 793 [[image:image-20220920135918-1.png]] 794 794 795 795 ... ... @@ -819,7 +819,7 @@ 819 819 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP. 820 820 821 821 822 -**1.Check whether the configuration is correct** 949 +**~1. Check whether the configuration is correct** 823 823 824 824 Run the CMD command to ipconfig and ping 172.31.255.254. 825 825 ... ... @@ -844,6 +844,36 @@ 844 844 [[image:image-20230527090555-3.png||height="660" width="832"]] 845 845 846 846 974 +== 9.5 Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access == 975 + 976 + 977 +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. 978 + 979 +(% class="box infomessage" %) 980 +((( 981 +apt update && apt install *dragino* 982 + 983 +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]] 984 +))) 985 + 986 + 987 +== 9.6 How to reset the built-in server == 988 + 989 + 990 +**1) Build-in The Things Network** 991 + 992 +Refer to this link to delete the Built-in server's device. 993 + 994 +[[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/]] 995 + 996 + 997 +**2) Build-in Chirpstack** 998 + 999 +Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 1000 + 1001 +[[image:image-20231106180846-5.png||height="310" width="668"]] 1002 + 1003 + 847 847 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 848 848 849 849
- Delete Device.docx
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +336.4 KB - Content
- image-20230619095946-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.0 KB - Content
- image-20230719100239-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +66.4 KB - Content
- image-20230719100332-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.0 KB - Content
- image-20230719100419-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.3 KB - Content
- 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