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-20230619095946-1.png", version {1}
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 31 removed)
- Delete Device.docx
- 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
- 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 Manual1 +LPS8v2 LoRaWAN Indoor Gateway User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoye1 +XWiki.Kilight - 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" %)** ChirpStack**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**The Things Network**(%%) 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 - ✓ 99 + ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection. 100 100 101 - ✓ 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 - ✓** 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,18 +121,6 @@ 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 - 136 136 = 2. Quick Start = 137 137 138 138 ... ... @@ -141,9 +141,9 @@ 141 141 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network. 142 142 143 143 144 -== 2.1 AccessandConfigureLPS8-V2==132 +== 2.1 Connects to the network and accesses the gateway Web UI == 145 145 146 -=== 2.1.1 FindIP addressofLPS8-V2===134 +=== 2.1.1 connect the network === 147 147 148 148 149 149 ==== (% style="color:blue" %)**Method 1**(%%): Connect via LPS8-V2 WiFi ==== ... ... @@ -160,6 +160,7 @@ 160 160 [[image:image-20230527085250-2.png||height="495" width="284"]] 161 161 162 162 151 + 163 163 ==== (% style="color:blue" %)**Method 2**(%%): Connect via Ethernet with DHCP IP from the router ==== 164 164 165 165 ... ... @@ -174,6 +174,7 @@ 174 174 [[image:image-20220622100129-1.png||height="332" width="1263"]] 175 175 176 176 166 + 177 177 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 178 178 179 179 ... ... @@ -197,7 +197,7 @@ 197 197 198 198 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 199 199 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]]**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]]** 201 201 202 202 203 203 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -205,6 +205,7 @@ 205 205 [[image:image-20230111094247-2.png||height="619" width="1250"]] 206 206 207 207 198 + 208 208 ==== (% style="color:blue" %)**Method 4**(%%): Connect via WiFi with DHCP IP from the router ==== 209 209 210 210 [[image:image-20220622100542-2.png||height="369" width="1256"]] ... ... @@ -244,7 +244,7 @@ 244 244 245 245 (% style="color:blue" %)**Password: dragino** 246 246 247 -[[image:image-202 40318160845-1.png]]238 +[[image:image-20230106153501-1.png||height="367" width="894"]] 248 248 249 249 250 250 == 2.2 Typical Network Setup == ... ... @@ -307,9 +307,6 @@ 307 307 [[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"]] 308 308 309 309 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 - 313 313 === 2.2.5 Check Internet connection === 314 314 315 315 ... ... @@ -440,9 +440,8 @@ 440 440 441 441 === 3.4.1 Network ~-~-> WiFi === 442 442 443 -Users can configure the wifi WAN and enable Wifi Access Point on this interface 444 444 445 -[[image:image-202 30619095946-1.png||height="332" width="827"]]432 +[[image:image-20220616114756-4.png||height="251" width="669"]] 446 446 447 447 448 448 === 3.4.2 Network ~-~-> System Status === ... ... @@ -469,16 +469,11 @@ 469 469 [[image:image-20230228115126-1.png]] 470 470 471 471 472 -After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellu lar state.459 +After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellualr state. 473 473 474 474 [[image:image-20230228115535-2.png||height="478" width="888"]] 475 475 476 476 477 -Note: Known bugs: 4g consumes a lot of data which has been fixed by the package: dragino-ui-230716 478 - 479 -[[Reduce data method>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H8.3Howtoreducethe4gdataconsumed]] 480 - 481 - 482 482 == 3.5 System == 483 483 484 484 === 3.5.1 System ~-~-> System Overview === ... ... @@ -486,7 +486,7 @@ 486 486 487 487 Shows the system info: 488 488 489 -[[image:image-202 31031162854-1.png]]471 +[[image:image-20220917144512-5.png||height="618" width="853"]] 490 490 491 491 492 492 === 3.5.2 System ~-~-> System General === ... ... @@ -502,26 +502,12 @@ 502 502 === 3.5.3 System ~-~-> Backup/Restore === 503 503 504 504 505 -[[image:image-202 31031162927-2.png]]487 +[[image:image-20220917144725-6.png||height="208" width="869"]] 506 506 507 -=== 3.5.4 System ~-~-> Reboot / Reset === 508 508 509 - Inthe**System-> Reboot/ Reset**interface,users can can restart or reset the gateway.490 +=== 3.5.4 System ~-~-> Remoteit === 510 510 511 -ETH LED will SOLID BULE Until the restore is finished. 512 512 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 - 525 525 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 526 526 527 527 ... ... @@ -530,7 +530,7 @@ 530 530 [[image:image-20221230092303-2.png]] 531 531 532 532 533 -=== 3.5. 6System ~-~-> Package Management ===501 +=== 3.5.5 System ~-~-> Package Management === 534 534 535 535 536 536 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. ... ... @@ -538,114 +538,102 @@ 538 538 [[image:image-20230214094316-4.png]] 539 539 540 540 541 -= =3.5Logread==509 += 4. Build-in Server = 542 542 543 -=== 3.5.1 LoRa Log === 544 544 512 +Since software version 0603, 545 545 546 - In the**Lograde~-~->LoRaLogpage**,Theuserscan viewinformation aboutthegatewayachannelandthestatusoftheIoTconnection514 +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" %)**.** 547 547 548 -[[image:image-202 40416112509-1.png]]516 +[[image:image-20230616175617-8.png||height="390" width="894"]] 549 549 518 +[[image:image-20230616175558-7.png||height="362" width="894"]] 550 550 551 -=== 3.5.2 Gateway Traffic === 552 552 553 -In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests 554 554 555 - [[image:image-20240416112618-2.png||height="705"width="1122"]]522 +(% style="color:red" %)**Note:** 556 556 524 + **Path**: Server ~-~-> Network Server and Server ~-~-> Application Server 557 557 558 -=== 3.5.3 System Log === 559 559 560 - In the**Lograde ~-~-> System Log page**, Theuserscan view informationabout thegateway system527 +**Troubleshooting:** 561 561 562 -[[image:image-20240416112649-3.png||height="820" width="1122"]] 563 563 530 +**~ 1. URL does not jump properly** 564 564 565 - ===3.5.4RecordLog===532 + For the ChirpStack, you can use the local IP address and the port is 8080 to access it. 566 566 567 - Inthe**Lograde~-~->RecodLogpage**,Theuserscanrecord thegatewaycurrenrunning log.534 + For the Node-Red, you can use the local IP address and the port is 1880 to access it. 568 568 569 -[[image:image-20240416112712-4.png||height="319" width="1128"]] 570 570 537 +== 4.1 LoRaWAN Network Server ~-~- ChirpStack == 571 571 572 572 573 - =4.Build-in Server =540 +You can access the gateway's built-in LNS server of (% style="color:blue" %)**The Things Network - Stack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser. 574 574 575 - After the v1.7-230606 version, the LPS8-V2 default factory pre-installed theLoRaWAN Server:(% style="color:blue" %)**ChirpStack-V4**(%%), ApplicationServer:(% style="color:blue" %)**Node-Red**(%%).542 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>//**__ 576 576 577 577 578 - == 1).LoRaWANNetwork Server: (% style="color:blue" %)**ChirpStack-V4**(%%) ==545 +Login account: 579 579 580 - [[image:image-20231106180816-4.png||height="416"width="896"]]547 +**Username : ** (% style="background-color:yellow" %)**admin** 581 581 582 - [[image:image-20231201165904-1.png||height="466"width="899"]]549 +**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)** 583 583 584 - (% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)ChirpStack-V4 (% style="color:red"%)via click the 'Launch' button, ande login account: admin/admin(%%)**551 +[[image:image-20230616175332-6.png||height="519" width="1029"]] 585 585 586 -For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 587 587 588 588 555 +=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 589 589 590 -== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 591 591 558 +Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 592 592 593 - [[image:image-20230616175558-7.png||height="362" width="894"]]560 +The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 594 594 595 -[[image:image-2023 1201170355-2.png||height="536" width="899"]]562 +[[image:image-20230321092456-1.png]] 596 596 597 -(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 598 598 565 +== 4.2 Application Server ~-~- Node-Red == 599 599 600 600 601 -= =**3).Troubleshooting:**==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. 602 602 603 603 604 -* ((( 605 -=== ** If the URL does not jump properly.** === 606 -))) 571 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 607 607 608 - For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 609 609 610 - For the Node-Red, you can usethe local IP address and theportis **1880**to accessit.574 +[[image:image-20220725172124-3.png||height="610" width="843"]] 611 611 612 612 613 -* ((( 614 -=== ** How to install InfluxDB, Garfana.** === 615 -))) 616 616 617 - The LPS8V2 isotpre-installedwithInfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]578 +=== **Using Node-Red, InfluxDB and Grafana** === 618 618 580 +The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 619 619 620 -* ((( 621 -=== ** How to upgrade the gateway node.js to the latest version.** === 622 -))) 623 623 624 - The user canupgradenodejs, see [[UpgradeNodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]583 +the users can refer to this link to install them. 625 625 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]] 626 626 627 -* ((( 628 -=== ** How to batch register device on the built-in Chirpstack network server** === 629 -))) 630 630 631 - The user can registervicesin batchon thegateway Web UI, see [[Batch Register>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H11.A0HowtouseChirpstackAPItobatchregisterSensorNode2FGatewayinChistapstackServer]]588 +=== **Upgrade the node.js** === 632 632 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. 633 633 634 -* ((( 635 -=== ** Why my gateway is not Chirpstack?** === 636 -))) 637 637 638 - After June '23, thedefault factory LPS8V2 pre-installed Chirpstack-V4instead of The ThingsStack, theuserscan migrate toChistack-V4,see **[[Change TTN Stackv3toChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**593 +the users can refer to this link to upgrade them. 639 639 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.]] 640 640 641 -* ((( 642 -=== ** How to disable the built-in server** === 643 -))) 644 644 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 + 645 645 (% class="box infomessage" %) 646 646 ((( 647 -Use the following commands to start and stop the TTNv3 service:** ** 648 - 649 649 **# start** 650 650 systemctl start ttnstack 651 651 ... ... @@ -659,10 +659,10 @@ 659 659 systemctl disable ttnstack 660 660 ))) 661 661 662 -(% class="box infomessage" %) 663 -((( 664 664 Use the following commands to start and stop the Node-Red service: 665 665 620 +(% class="box infomessage" %) 621 +((( 666 666 **# start** 667 667 systemctl start nodered 668 668 ... ... @@ -677,45 +677,42 @@ 677 677 ))) 678 678 679 679 680 -* ((( 681 -=== ** How to choose the Chirpstack server frequency SubBand** === 682 -))) 636 +== 4.4 How to use ChirpStack on LPS8-V2 == 683 683 684 -**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 685 685 686 - Note: SincethesubbandsoftheChirpstackarecountedfrom0,us915_1oftheChirpstackisequalto US915 FSB2, so ifyour LoRaRdio isusingthe US915 FSB2 youhave to choosethe us915_1asthe ChirpstackFSB.639 +By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack: 687 687 688 -[[im age:image-20230602140406-3.png||height="480"width="918"]]641 +**[[Build-in The Things Network migrate to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 689 689 690 690 691 - Whentheconfigurationis complete,click** "Save&Apply"**.644 +=== 4.4.1 How do users choose the chirpstack server frequency Sub Band === 692 692 693 693 694 - (%style="color:red"%)**Note:**(%%) Whenaddingthedeviceprofile,theselectedRegionconfiguration isalso calculatedfrom 0, so setting it tous915_1 correspondsto US915 Sub Band2.647 +On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 695 695 696 - [[image:image-20230602143122-4.png||height="511"width="983"]]649 +If the frequency Plan used is CN470, US915, AU915, AS923, the user needs to choose a frequency sub band, because the frequency Sub Band of ChirpStack starts from 0, so for example, us915_1 corresponds to the actual frequency US915_2. 697 697 651 +[[image:image-20230602140406-3.png||height="480" width="918"]] 698 698 699 -= 5. Watch Dog = 700 700 654 +When the configuration is complete, click** "Save&Apply"**. 701 701 702 -LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 703 703 704 - Theusescanbeathebelow methodtoenableWatchDog:657 +(% style="color:red" %)**Note:**(%%) When adding device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2. 705 705 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 -))) 659 +[[image:image-20230602143122-4.png||height="511" width="983"]] 710 710 711 -[[image:image-20231124113209-1.png||height="470" width="1157"]] 712 712 662 += 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge = 713 713 664 + 665 + 714 714 = 6. How users can access LPS8-V2 using serial USB = 715 715 716 716 717 717 (% style="color:blue" %)**USB TTL to LPS8-V2 Connection:** 718 718 671 + 719 719 Port 1 of the UART on the LPS8-V2 is GND 720 720 721 721 (% class="box infomessage" %) ... ... @@ -727,8 +727,10 @@ 727 727 **GND <~-~--> GND (Black line)** 728 728 ))) 729 729 683 + 730 730 **LPS8v2 UART connection photo** 731 731 686 + 732 732 [[image:image-20230421094319-2.png||height="351" width="392"]] 733 733 734 734 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: ... ... @@ -764,6 +764,7 @@ 764 764 765 765 1). Using the Linux command to upgrade the system 766 766 722 + 767 767 (% class="box infomessage" %) 768 768 ((( 769 769 **apt update && apt install *dragino*** ... ... @@ -772,8 +772,9 @@ 772 772 773 773 2). Upgrade the system via the Web page button of "Manual Update" 774 774 775 -(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 776 776 732 +**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 733 + 777 777 [[image:image-20230607093849-1.png]] 778 778 779 779 ... ... @@ -799,209 +799,40 @@ 799 799 800 800 Migrate guide: 801 801 802 - Tostabilize the completionofthemigration, Theuserscanmigratein oneof thefollowingways759 +**1. Ensure that the gateway is in good network condition, Recommended use of ETH.** 803 803 804 -** Method 1.UsingtheLinux shell, **761 +**2. On the Server ~-~-> Network Server interface, click "Management"** 805 805 806 - **Method 2. Flash a newimagewith the Chirpstack**763 +[[image:image-20230616162454-1.png]] 807 807 808 808 809 - ===Method1: UsingheLinuxshell ===766 +**3. Click "Migrate-Chirpstack"** 810 810 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 -))) 768 +[[image:image-20230616162742-2.png]] 815 815 816 816 817 - ===Method 2: Flashanew image===771 +**4. Strat Install ** 818 818 819 -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]] 820 820 774 +Click start Install and wait until the migration succeeds 821 821 822 - == 8.3 How to reducethe4g data consumed ==776 +[[image:image-20230616162934-3.png]] 823 823 824 824 825 - 1).Thegateway will check the network via ping1.1.1.1/8.8.8.8 which will consume alot of data, you can settheinterval timeto reduce data consume.779 +**5.Migration complete check result** 826 826 827 -[[image:image-20230 719100239-1.png||height="724" width="994"]]781 +[[image:image-20230616174526-4.png||height="706" width="983"]] 828 828 829 829 830 - 2. Changethe LoRa status packageinterval time: It does notaffect the connection between thegateway and the server, just the statuspacket interval784 +[[image:image-20230616180004-9.png]] 831 831 832 -[[image:image-20230719100332-2.png]] 833 833 834 834 835 -3. Disable the auto-update: 836 - 837 -[[image:image-20230719100419-3.png||height="458" width="995"]] 838 - 839 - 840 -== 8.4 How to connect the helium blockchain as a Data-only hotspot == 841 - 842 - 843 -(% class="box infomessage" %) 844 -((( 845 -apt update && apt install helium-gateway 846 -))) 847 - 848 - 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 - 1001 1001 = 9. Trouble Shooting = 1002 1002 1003 1003 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == 1004 1004 792 + 1005 1005 [[image:image-20220920135918-1.png]] 1006 1006 1007 1007 ... ... @@ -1031,7 +1031,7 @@ 1031 1031 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP. 1032 1032 1033 1033 1034 -** ~1.822 +**1.Check whether the configuration is correct** 1035 1035 1036 1036 Run the CMD command to ipconfig and ping 172.31.255.254. 1037 1037 ... ... @@ -1056,36 +1056,6 @@ 1056 1056 [[image:image-20230527090555-3.png||height="660" width="832"]] 1057 1057 1058 1058 1059 -== 9.5 Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access == 1060 - 1061 - 1062 -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. 1063 - 1064 -(% class="box infomessage" %) 1065 -((( 1066 -apt update && apt install *dragino* 1067 - 1068 -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]] 1069 -))) 1070 - 1071 - 1072 -== 9.6 How to reset the built-in server == 1073 - 1074 - 1075 -**1) Build-in The Things Network** 1076 - 1077 -Refer to this link to delete the Built-in server's device. 1078 - 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/]] 1080 - 1081 - 1082 -**2) Build-in Chirpstack** 1083 - 1084 -Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 1085 - 1086 -[[image:image-20231106180846-5.png||height="310" width="668"]] 1087 - 1088 - 1089 1089 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 1090 1090 1091 1091
- Delete Device.docx
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -336.4 KB - Content
- image-20230719100239-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -66.4 KB - Content
- image-20230719100332-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.0 KB - Content
- image-20230719100419-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.3 KB - Content
- image-20231017111606-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -117.6 KB - Content
- image-20231017112115-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -114.3 KB - Content
- image-20231017114417-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -130.4 KB - Content
- image-20231017115124-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.6 KB - Content
- image-20231017115330-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -110.1 KB - Content
- image-20231031162854-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.9 KB - Content
- image-20231031162927-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.0 KB - Content
- image-20231106175329-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.7 KB - Content
- image-20231106175457-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.7 KB - Content
- image-20231106175523-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.8 KB - Content
- image-20231106180816-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.6 KB - Content
- image-20231106180846-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.9 KB - Content
- image-20231124113209-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -198.7 KB - Content
- image-20231201165904-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.5 KB - Content
- image-20231201170355-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.2 KB - Content
- image-20231207144627-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -182.9 KB - Content
- image-20231207144758-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.0 KB - Content
- image-20231207145210-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.4 KB - Content
- image-20240203172853-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.5 KB - Content
- image-20240318095605-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.3 KB - Content
- image-20240318095617-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.9 KB - Content
- image-20240318160845-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.5 KB - Content
- image-20240416112509-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.7 KB - Content
- image-20240416112618-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.5 KB - Content
- image-20240416112649-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -119.8 KB - Content
- image-20240416112712-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.6 KB - Content
- image-20240416112948-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.6 KB - Content