<
From version < 279.1 >
edited by Xiaoye
on 2023/12/01 18:01
To version < 320.1 >
edited by Kilight Cao
on 2024/08/03 09:55
>
Change comment: There is no comment for this version

Summary

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.Xiaoye
1 +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  
... ... @@ -18,7 +18,7 @@
18 18  
19 19  = 1. Introduction =
20 20  
21 -== 1.1 What is LPS8v2 ==
21 +== (% data-sider-select-id="66d5195f-ab1f-47c7-83cb-b027d0903e53" %)1.1 What is LPS8v2(%%) ==
22 22  
23 23  
24 24  (((
... ... @@ -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  
... ... @@ -126,6 +126,13 @@
126 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 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 +
129 129  = 2. Quick Start =
130 130  
131 131  
... ... @@ -153,7 +153,6 @@
153 153  [[image:image-20230527085250-2.png||height="495" width="284"]]
154 154  
155 155  
156 -
157 157  ==== (% style="color:blue" %)**Method 2**(%%):  Connect via Ethernet with DHCP IP from the router ====
158 158  
159 159  
... ... @@ -168,7 +168,6 @@
168 168  [[image:image-20220622100129-1.png||height="332" width="1263"]]
169 169  
170 170  
171 -
172 172  ==== (% style="color:blue" %)**Method 3**(%%):  Connect via LPS8-V2 Fallback IP ====
173 173  
174 174  
... ... @@ -200,7 +200,6 @@
200 200  [[image:image-20230111094247-2.png||height="619" width="1250"]]
201 201  
202 202  
203 -
204 204  ==== (% style="color:blue" %)**Method 4**(%%):  Connect via WiFi with DHCP IP from the router ====
205 205  
206 206  [[image:image-20220622100542-2.png||height="369" width="1256"]]
... ... @@ -240,7 +240,7 @@
240 240  
241 241  (% style="color:blue" %)**Password:   dragino**
242 242  
243 -[[image:image-20230106153501-1.png||height="367" width="894"]]
247 +[[image:image-20240318160845-1.png]]
244 244  
245 245  
246 246  == 2.2  Typical Network Setup ==
... ... @@ -303,6 +303,9 @@
303 303  [[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"]]
304 304  
305 305  
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 +
306 306  === 2.2.5  Check Internet connection ===
307 307  
308 308  
... ... @@ -497,10 +497,24 @@
497 497  
498 498  [[image:image-20231031162927-2.png]]
499 499  
507 +=== 3.5.4 System ~-~-> Reboot / Reset ===
500 500  
501 -=== 3.5.4 System ~-~-> Remoteit ===
509 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway.
502 502  
511 +ETH LED will SOLID BULE Until the restore is finished.
503 503  
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 +
504 504  In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
505 505  
506 506  
... ... @@ -509,7 +509,7 @@
509 509  [[image:image-20221230092303-2.png]]
510 510  
511 511  
512 -=== 3.5.5 System ~-~-> Package Management ===
533 +=== 3.5.6 System ~-~-> Package Management ===
513 513  
514 514  
515 515  In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
... ... @@ -517,6 +517,38 @@
517 517  [[image:image-20230214094316-4.png]]
518 518  
519 519  
541 +== 3.5 Logread ==
542 +
543 +=== 3.5.1 LoRa Log ===
544 +
545 +
546 +In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection
547 +
548 +[[image:image-20240416112509-1.png]]
549 +
550 +
551 +=== 3.5.2 Gateway Traffic ===
552 +
553 +In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests
554 +
555 +[[image:image-20240416112618-2.png||height="705" width="1122"]]
556 +
557 +
558 +=== 3.5.3 System Log ===
559 +
560 +In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system
561 +
562 +[[image:image-20240416112649-3.png||height="820" width="1122"]]
563 +
564 +
565 +=== 3.5.4 Record Log ===
566 +
567 +In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log.
568 +
569 +[[image:image-20240416112712-4.png||height="319" width="1128"]]
570 +
571 +
572 +
520 520  = 4. Build-in Server =
521 521  
522 522  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**(%%).
... ... @@ -545,33 +545,53 @@
545 545  
546 546  
547 547  
548 -== **2). Troubleshooting:** ==
601 +== **3). Troubleshooting:** ==
549 549  
550 550  
551 -**~1. If the URL does not jump properly.**
604 +* (((
605 +=== ** If the URL does not jump properly.** ===
606 +)))
552 552  
553 553   For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
554 554  
555 555   For the Node-Red, you can use the local IP address and the port is **1880** to access it.
556 556  
557 -**2. How to install InfluxDB, Garfana.**
558 558  
559 - The LPS8V2 is not pre-installed InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]
613 +* (((
614 +=== ** How to install InfluxDB, Garfana.** ===
615 +)))
560 560  
561 -**3. How to upgade the gateway node.js to the latest version.**
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]]
562 562  
563 - The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
564 564  
565 -**4. How bath register device on the built-in Chirpstack network server**
620 +* (((
621 +=== ** How to upgrade the gateway node.js to the latest version.** ===
622 +)))
566 566  
567 - The user can register devices in batch on the gateway Web UI, see
624 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
568 568  
569 -(% class="wikigeneratedid" id="H4.3A0Howtodisablethebuilt-inserver" %)
570 -**5. How to disable the built-in server**
571 571  
627 +* (((
628 +=== ** How to batch register device on the built-in Chirpstack network server** ===
629 +)))
630 +
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]]
632 +
633 +
634 +* (((
635 +=== ** Why my gateway is not Chirpstack?** ===
636 +)))
637 +
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]]**
639 +
640 +
641 +* (((
642 +=== ** How to disable the built-in server** ===
643 +)))
644 +
572 572  (% class="box infomessage" %)
573 573  (((
574 -Use the following commands to start and stop the TTNv3 service:**  **
647 +Use the following commands to start and stop the TTNv3 service:**     **
575 575  
576 576  **# start**
577 577  systemctl start ttnstack
... ... @@ -604,21 +604,14 @@
604 604  )))
605 605  
606 606  
607 -(% class="wikigeneratedid" id="H4.4A0WhymygatewayisnotChirpstack3F" %)
608 -6. Why my gateway is not Chirpstack?
680 +* (((
681 +=== ** How to choose the Chirpstack server frequency SubBand** ===
682 +)))
609 609  
610 -After June '23, the default factory LPS8V2 pre-installed Chirpstack-V2 instead of The Things Stack, the users can migrate to Chistack-V4 by the below instruction
684 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
611 611  
612 -**[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**
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.
613 613  
614 -
615 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand ===
616 -
617 -
618 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first.
619 -
620 -If the frequency Plan used is CN470, US915, AU915, or 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.
621 -
622 622  [[image:image-20230602140406-3.png||height="480" width="918"]]
623 623  
624 624  
... ... @@ -625,7 +625,7 @@
625 625  When the configuration is complete, click** "Save&Apply"**.
626 626  
627 627  
628 -(% 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.
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.
629 629  
630 630  [[image:image-20230602143122-4.png||height="511" width="983"]]
631 631  
... ... @@ -633,11 +633,13 @@
633 633  = 5. Watch Dog =
634 634  
635 635  
702 +The watchdog will guard the LPS8V2 to avoid the need to perform a reboot manually after down occurs
703 +
704 +
636 636  LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
637 637  
638 638  The uses can be via the below method to enable Watch Dog:
639 639  
640 -
641 641  (% class="box infomessage" %)
642 642  (((
643 643  wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh
... ... @@ -646,7 +646,6 @@
646 646  [[image:image-20231124113209-1.png||height="470" width="1157"]]
647 647  
648 648  
649 -
650 650  = 6. How users can access LPS8-V2 using serial USB =
651 651  
652 652  
... ... @@ -700,7 +700,6 @@
700 700  
701 701  1). Using the Linux command to upgrade the system
702 702  
703 -
704 704  (% class="box infomessage" %)
705 705  (((
706 706  **apt update && apt install *dragino***
... ... @@ -709,149 +709,392 @@
709 709  
710 710  2). Upgrade the system via the Web page button of "Manual Update"
711 711  
778 +(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
712 712  
713 -**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
714 -
715 715  [[image:image-20230607093849-1.png]]
716 716  
717 717  
783 += (% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %)8 How do I view gateway logs(%%) =
718 718  
719 -= 8. FAQ =
785 +=== (% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %)8.1 LoRaWAN Log:(%%) ===
720 720  
721 -== 8.1 How to change Hostname ==
722 722  
788 +==== Semtech UDP Log : ====
723 723  
724 -By default, Hostname is dragino-xxxxxx,If the user needs to change the hostname, the user needs to access the linux console of LPS8v2 and enter the following command:
790 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
725 725  
792 +[[image:image-20231017112115-2.png||height="611" width="821"]]
793 +
794 +
795 +==== Station Log: ====
796 +
797 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
798 +
799 +[[image:image-20231017111606-1.png||height="622" width="821"]]
800 +
801 +
802 +=== (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)8.2  4G Log(%%) ===
803 +
804 +
805 +User needs to access the Linux console of the gateway and enter the following command:
806 +
726 726  (% class="box infomessage" %)
727 727  (((
728 -hostnamectl set-hostname dragino-123456
809 +cat /var/log/qmilog.txt
729 729  )))
730 730  
731 -[[image:image-20230517102429-1.png]]
812 +[[image:image-20231017114417-3.png||height="543" width="679"]]
732 732  
733 -After the configuration is complete, run "reboot" to restart the gateway.
734 734  
815 +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]].
735 735  
736 -== 8.2 Build-in The Things Network migrate to ChirpStack ==
817 +Below are some commands as reference:
737 737  
819 +>Usage:  /usr/bin/quectel-CM [options]
820 +> -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
821 +> -p pincode Verify sim card pin if sim card is locked
822 +> -p [quectel-][qmi|mbim]-proxy  Request to use proxy
823 +> -f logfilename Save log message of this program to file
824 +> -u usbmonlog filename  Save usbmon log to file
825 +> -i interface Specify which network interface to setup data call when multi-modems exits
826 +> -4 Setup IPv4 data call (default)
827 +> -6 Setup IPv6 data call
828 +> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
829 +> -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
830 +> -b Enable network interface bridge function (default 0)
831 +> -v Verbose log mode, for debug purpose.[Examples]
832 +>Example 1: /usr/bin/quectel-CM
833 +>Example 2: /usr/bin/quectel-CM -s 3gnet
834 +>Example 3: /usr/bin/quectel-CM -s 3gnet -v
738 738  
739 -Migrate guide:
740 740  
741 -**1. Ensure that the gateway is in good network condition, Recommended use of ETH.**
742 742  
743 -**2. On the Server ~-~-> Network Server interface, click "Management"**
838 +=== (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4" %)8.3 Dmesg Log(%%) ===
744 744  
745 -[[image:image-20230616162454-1.png]]
746 746  
841 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
747 747  
748 -**3. Click "Migrate-Chirpstack"**
843 +[[image:image-20231017115330-5.png||height="565" width="740"]]
749 749  
750 -[[image:image-20230616162742-2.png]]
751 751  
846 +=== (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)8.4 Record Log(%%) ===
752 752  
753 -**4. Strat Install **
754 754  
755 -Click start Install and wait until the migration succeeds
849 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
756 756  
757 -[[image:image-20230616162934-3.png]]
851 +[[image:image-20231017115124-4.png||height="215" width="880"]]
758 758  
759 759  
760 -**5.Migration complete check result**
854 +=== (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)8.5 View gateway logs via Linux Command(%%) ===
761 761  
762 -[[image:image-20230616174526-4.png||height="706" width="983"]]
763 763  
857 +**Semtech UDP Log :**
764 764  
765 -[[image:image-20230616180004-9.png]]
859 +(% class="box infomessage" %)
860 +(((
861 +**journalctl -u draginofwd -f**
862 +)))
766 766  
864 +[[image:image-20231207144627-1.png||height="371" width="1017"]]
767 767  
768 -== 8.3 How to reduce the 4g data consumed ==
769 769  
867 +**Station Log:**
770 770  
771 -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.
869 +(% class="box infomessage" %)
870 +(((
871 +**tail -f /var/log/station.log **
872 +)))
772 772  
773 -[[image:image-20230719100239-1.png||height="724" width="994"]]
874 +[[image:image-20231207144758-2.png||height="132" width="1022"]]
774 774  
775 775  
776 -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
877 +**Dmesg Log:**
777 777  
778 -[[image:image-20230719100332-2.png]]
879 +(% class="box infomessage" %)
880 +(((
881 +**dmesg**
882 +)))
779 779  
884 +[[image:image-20231207145210-3.png||height="310" width="1021"]]
780 780  
781 -3. Disable the auto-update:
782 782  
783 -[[image:image-20230719100419-3.png||height="458" width="995"]]
784 784  
888 +(% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %)
889 += (% data-sider-select-id="ce97a758-4348-4c0c-86eb-412b6b8d3996" %)9. More Services(%%) =
785 785  
786 -== 8.4 How to connect the helium blockchain as a Data-only hotspot ==
891 +== (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)9.1 NTP Service/Time Synchronization(%%) ==
787 787  
893 +The gateway time sync service is provided by chrony service
788 788  
895 +
896 +=== 1). Modify the NTP server address: ===
897 +
789 789  (% class="box infomessage" %)
790 790  (((
900 +Configuration file path:  /etc/chrony/chrony.conf
901 +)))
902 +
903 +
904 +=== 2). Start/Stop/Enable/Disable NTP service: ===
905 +
906 +(% class="box infomessage" %)
907 +(((
908 +systemctl start chrony
909 +\\systemctl stop chrony
910 +\\systemctl disable chrony
911 +\\systemctl enable chrony
912 +)))
913 +
914 +
915 +(% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %)
916 += (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10. More features(%%) =
917 +
918 +(% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %)
919 +== (% data-sider-select-id="ec6a5e23-ba91-46d9-8042-1e4c6a7b3b36" %)10.1 Chirpstack MQTT Forwarder(%%) ==
920 +
921 +
922 +ChirpStack MQTT Forwarder is a MQTT packet forwarder for LoRa gateways. By default it forwards packets in Protobuf binary format, optionally it can be configured to use JSON encoding for debugging. In contrast to the ChirpStack Gateway Bridge, this component must always be installed on the gateway.
923 +
924 +
925 +(% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %)
926 +=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="0870eb11-ff25-47fc-9e3c-80a68bbf3933" %).1.1 Configure Packet Forwarder(%%) ===
927 +
928 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.
929 +
930 +(% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %)
931 +By default, the web-interface can be accessed by entering the following URL in your browser: (% data-sider-select-id="c2683c51-0bf8-4ac5-87be-c50edacc8f4b" %)**http:~/~/GATEWAY-IP-ADDRESS**(%%) (replace GATEWAY-IP-ADDRESS by the actual IP address of your gateway). The default credentials are root / dragino.
932 +
933 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP**
934 +* Configure the following settings:
935 +** **Service Provider:** //Custom / Private LoRaWAN//
936 +** **Server Address:** localhost
937 +** **Uplink Port:** 1700
938 +** **Downlink Port:** 1700
939 +* Click **Save & Apply**
940 +
941 +[[image:image-20240518145929-2.png||height="652" width="727"]]
942 +
943 +
944 +(% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %)
945 +=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="ffba644f-a9d5-4e93-a9da-9f9e49d596d9" %).1.2 Install ChirpStack MQTT Forwarder(%%) ===
946 +
947 +
948 +(% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %)
949 +(% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login**
950 +
951 +First you must login into the gateway using SSH:
952 +
953 +(% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %)
954 +(((
955 +ssh root@GATEWAY-IP-ADDRESS
956 +)))
957 +
958 +(% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %)
959 +The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%).
960 +
961 +
962 +(% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %)
963 +(% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package**
964 +
965 +(% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %)
966 +Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package:
967 +
968 +(% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858" %)
969 +(((
970 +cd /tmp
971 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
972 +)))
973 +
974 +
975 +(% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %)
976 +(% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install **
977 +
978 +Use the dpkg package-manager to install the downloaded package. Example:
979 +
980 +(% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %)
981 +(((
982 +dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
983 +)))
984 +
985 +[[image:image-20240518152148-4.png]]
986 +
987 +
988 +(% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %)
989 +**Configuration**
990 +
991 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
992 +
993 +(% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %)
994 +This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
995 +
996 +
997 +**ChirpStack MQTT Forwarder Setting:**
998 +
999 +(% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %)
1000 +(((
1001 +topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
1002 +
1003 +server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
1004 +)))
1005 +
1006 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
1007 +
1008 +
1009 +Use commands to modify configuration files:
1010 +
1011 +(% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %)
1012 +(((
1013 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
1014 +)))
1015 +
1016 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518141059-6.png?rev=1.1||alt="image-20240518141059-6.png"]]
1017 +
1018 +
1019 +**(Re)start and stop commands**
1020 +
1021 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
1022 +
1023 +(% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %)
1024 +(((
1025 +# start
1026 +
1027 +(% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %)
1028 +systemctl start chirpstack-mqtt-forwarder
1029 +
1030 +# stop
1031 +
1032 +systemctl stop chirpstack-mqtt-forwarder
1033 +
1034 +# restart
1035 +
1036 +systemctl restart chirpstack-mqtt-forwarder
1037 +)))
1038 +
1039 +(% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %)
1040 +(% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict**
1041 +
1042 +
1043 +**Check result**
1044 +
1045 +(% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %)
1046 +Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder.
1047 +
1048 +[[image:image-20240518154223-5.png]]
1049 +
1050 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518143050-8.png?width=1170&height=702&rev=1.1||alt="image-20240518143050-8.png"]]
1051 +
1052 +
1053 +== (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)10.2 As a Data-only hotspot connect the helium blockchain(%%) ==
1054 +
1055 +
1056 +(% class="box infomessage" %)
1057 +(((
1058 +(% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %)
791 791  apt update && apt install helium-gateway
792 792  )))
793 793  
794 794  
795 -== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
796 796  
1064 += (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11. FAQ(%%) =
797 797  
798 -By default, the LPS8v2's built-in server is ChirpStack v4,
1066 +== (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)11.1 How to change Hostname(%%) ==
799 799  
800 -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:
801 801  
802 -[[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]]
1069 +By default, Hostname is dragino-xxxxxx,If the user needs to change the hostname, the user needs to access the linux console of LPS8v2 and enter the following command:
803 803  
1071 +(% class="box infomessage" %)
1072 +(((
1073 +hostnamectl set-hostname dragino-123456
1074 +)))
804 804  
1076 +[[image:image-20230517102429-1.png]]
1077 +
1078 +After the configuration is complete, run "reboot" to restart the gateway.
1079 +
1080 +
1081 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="62cdc3f4-fb6f-4e4d-92a5-60449c8b462f" %).2 Build-in The Things Network migrate to ChirpStack(%%) ==
1082 +
1083 +
1084 +Migrate guide:
1085 +
1086 +To stabilize the completion of the migration, The users can migrate in one of the following ways
1087 +
1088 +**Method 1. Using the Linux shell, **
1089 +
1090 +**Method 2. Flash a new image with the Chirpstack**
1091 +
1092 +
1093 +=== Method 1: Using the Linux shell ===
1094 +
1095 +(% class="box infomessage" %)
1096 +(((
1097 +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
1098 +)))
1099 +
1100 +
1101 +=== Method 2: Flash a new image ===
1102 +
805 805  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]]
806 806  
807 807  
808 -== 8.6 How do I view gateway logs ==
1106 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="b2a44672-8abb-425d-a823-f2faa334cdb7" %).3 How to reduce the 4g data consumed(%%) ==
809 809  
810 -=== 8.6.1 LoRaWAN Log: ===
811 811  
812 -==== Semtech UDP Log : ====
1109 +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.
813 813  
814 -When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
1111 +[[image:image-20230719100239-1.png||height="724" width="994"]]
815 815  
816 -[[image:image-20231017112115-2.png||height="611" width="821"]]
817 817  
1114 +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
818 818  
819 -==== Station Log: ====
1116 +[[image:image-20230719100332-2.png]]
820 820  
821 -When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
822 822  
823 -[[image:image-20231017111606-1.png||height="622" width="821"]]
1119 +3. Disable the auto-update:
824 824  
1121 +[[image:image-20230719100419-3.png||height="458" width="995"]]
825 825  
826 -=== 8.6.2  4G Log ===
827 827  
828 -The user needs to access the Linux console of the gateway and enter the following command:
1124 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).4 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3.(%%) ==
829 829  
1126 +
1127 +By default, the LPS8v2's built-in server is ChirpStack v4,
1128 +
1129 +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:
1130 +
1131 +[[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]]
1132 +
1133 +
1134 +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]]
1135 +
1136 +
1137 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).5 (%%)How to check my USB port dev/tty after i plug in USB device. ==
1138 +
1139 +
1140 +When an external USB device is connected to LPS8v2, the user can access the Linux console of the LPS8v2 gateway and run the following command to check the USB port dev/tty:
1141 +
830 830  (% class="box infomessage" %)
831 831  (((
832 -cat /var/log/qmilog.txt
1144 +dmesg
833 833  )))
834 834  
835 -[[image:image-20231017114417-3.png||height="543" width="679"]]
1147 +[[image:image-20240803095144-1.png]]
836 836  
837 -=== 8.6.3 Dmesg Log ===
838 838  
839 -Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
840 840  
841 -[[image:image-20231017115330-5.png||height="565" width="740"]]
1151 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %).6 DIN Mount Reference:(%%) ==
842 842  
843 843  
844 -=== 8.6.4 Record Log ===
1154 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
845 845  
846 -Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
1156 +[[image:image-20240318095617-2.png]]
847 847  
848 -[[image:image-20231017115124-4.png||height="215" width="880"]]
849 849  
850 850  
851 -= 9. Trouble Shooting =
852 852  
853 -== 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
1161 += (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12. Trouble Shooting(%%) =
854 854  
1163 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)12.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'.(%%) ==
855 855  
856 856  [[image:image-20220920135918-1.png]]
857 857  
... ... @@ -868,7 +868,7 @@
868 868  [[image:image-20220920141936-2.png]]
869 869  
870 870  
871 -== 9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
1180 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="f34b4950-25aa-4a6d-a2b4-4af0ec0010a7" %).2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem(%%) ==
872 872  
873 873  
874 874  When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
... ... @@ -876,13 +876,13 @@
876 876  [[image:image-20230508171607-1.png]]
877 877  
878 878  
879 -== 9.3  Fallback IP does not work, how can users check ==
1188 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="a7b8cd40-2ec5-4b4b-8220-d32ce0a303a0" %).3  Fallback IP does not work, how can users check(%%) ==
880 880  
881 881  
882 882  When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
883 883  
884 884  
885 -**1.Check whether the configuration is correct**
1194 +**~1. Check whether the configuration is correct**
886 886  
887 887  Run the CMD command to ipconfig and ping 172.31.255.254.
888 888  
... ... @@ -898,7 +898,7 @@
898 898  If the firewall is not down, this will affect access to the gateway.
899 899  
900 900  
901 -== 9.4  Click "Manual_Update", why there is no response? ==
1210 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="b7eec45b-ad8c-4621-a815-f457810d25f4" %).4  Click "Manual_Update", why there is no response?(%%) ==
902 902  
903 903  
904 904  When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
... ... @@ -907,12 +907,11 @@
907 907  [[image:image-20230527090555-3.png||height="660" width="832"]]
908 908  
909 909  
910 -== 9.5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access ==
1219 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="ac1f33b3-1f28-477d-880c-534ac36adcbe" %).5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access(%%) ==
911 911  
912 912  
913 913  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.
914 914  
915 -
916 916  (% class="box infomessage" %)
917 917  (((
918 918  apt update && apt install *dragino*
... ... @@ -921,7 +921,7 @@
921 921  )))
922 922  
923 923  
924 -== 9.6  How to reset the built-in server ==
1232 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).6  How to reset the built-in server(%%) ==
925 925  
926 926  
927 927  **1) Build-in The Things Network**
... ... @@ -937,9 +937,10 @@
937 937  
938 938  [[image:image-20231106180846-5.png||height="310" width="668"]]
939 939  
940 -= (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
941 941  
1249 += (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)13. Supports(%%) =
942 942  
1251 +
943 943  (((
944 944  If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
945 945  )))
... ... @@ -948,7 +948,7 @@
948 948  With your question as detailed as possible. We will reply and help you in the shortest.
949 949  
950 950  
951 -= 11. Reference =
1260 += (% data-sider-select-id="f8ca68c9-99ed-4795-97c5-3d0d259131e9" %)14. Reference(%%) =
952 952  
953 953  
954 954  * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
... ... @@ -957,7 +957,7 @@
957 957  
958 958  )))
959 959  
960 -= 12. Order Info =
1269 += (% data-sider-select-id="a056b4ad-7d05-42b4-ad74-7a3134f8010a" %)15. Order Info(%%) =
961 961  
962 962  
963 963  (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
... ... @@ -989,7 +989,7 @@
989 989  More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
990 990  
991 991  
992 -= 13. Manufacturer Info =
1301 += (% data-sider-select-id="a4433cd3-3bbc-4e6b-8b18-0bd2bc4d6904" %)16. Manufacturer Info(%%) =
993 993  
994 994  
995 995  **Shenzhen Dragino Technology Development co. LTD**
... ... @@ -999,7 +999,7 @@
999 999  LongCheng Street, LongGang District ; Shenzhen 518116,China
1000 1000  
1001 1001  
1002 -= 14. FCC Warning =
1311 += (% data-sider-select-id="b353afd6-b0f5-48e5-a114-3b5062cbf0d1" %)17. FCC Warning(%%) =
1003 1003  
1004 1004  
1005 1005  (((
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
image-20240518145859-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +59.7 KB
Content
image-20240518145929-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +59.5 KB
Content
image-20240518152100-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +39.5 KB
Content
image-20240518152148-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +78.0 KB
Content
image-20240518154223-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +71.7 KB
Content
image-20240803095144-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +52.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0