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-20240318160845-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 10 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -18,7 +18,7 @@ 18 18 19 19 = 1. Introduction = 20 20 21 -== (% data-sider-select-id="66d5195f-ab1f-47c7-83cb-b027d0903e53" %)1.1 What is LPS8v2(%%)==21 +== 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 - ✓ 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 ... ... @@ -132,7 +132,6 @@ 132 132 133 133 The other configuration will be restored to the default configuration. 134 134 135 - 136 136 = 2. Quick Start = 137 137 138 138 ... ... @@ -160,6 +160,7 @@ 160 160 [[image:image-20230527085250-2.png||height="495" width="284"]] 161 161 162 162 162 + 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 177 + 177 177 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 178 178 179 179 ... ... @@ -205,6 +205,7 @@ 205 205 [[image:image-20230111094247-2.png||height="619" width="1250"]] 206 206 207 207 209 + 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]]249 +[[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 ... ... @@ -538,38 +538,6 @@ 538 538 [[image:image-20230214094316-4.png]] 539 539 540 540 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 - 573 573 = 4. Build-in Server = 574 574 575 575 After the v1.7-230606 version, the LPS8-V2 default factory pre-installed the LoRaWAN Server: (% style="color:blue" %)**ChirpStack-V4**(%%), Application Server: (% style="color:blue" %)**Node-Red**(%%). ... ... @@ -703,6 +703,7 @@ 703 703 704 704 The uses can be via the below method to enable Watch Dog: 705 705 673 + 706 706 (% class="box infomessage" %) 707 707 ((( 708 708 wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh ... ... @@ -711,6 +711,7 @@ 711 711 [[image:image-20231124113209-1.png||height="470" width="1157"]] 712 712 713 713 682 + 714 714 = 6. How users can access LPS8-V2 using serial USB = 715 715 716 716 ... ... @@ -764,6 +764,7 @@ 764 764 765 765 1). Using the Linux command to upgrade the system 766 766 736 + 767 767 (% class="box infomessage" %) 768 768 ((( 769 769 **apt update && apt install *dragino*** ... ... @@ -772,379 +772,186 @@ 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 746 +**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 747 + 777 777 [[image:image-20230607093849-1.png]] 778 778 779 779 780 -= (% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %)8 How do I view gateway logs(%%) = 781 781 782 -= ==(% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %)8.1LoRaWANLog:(%%)===752 += 8. FAQ = 783 783 754 +== 8.1 How to change Hostname == 784 784 785 -==== Semtech UDP Log : ==== 786 786 787 - WhenthegatewaystartsLoRaWANSemtechUDP,userscan checkthelogsoftheSemtechUDPinthe**LogRead~-~->SystemLog**interface757 +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: 788 788 789 -[[image:image-20231017112115-2.png||height="611" width="821"]] 790 - 791 - 792 -==== Station Log: ==== 793 - 794 -When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 795 - 796 -[[image:image-20231017111606-1.png||height="622" width="821"]] 797 - 798 - 799 -=== (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)8.2 4G Log(%%) === 800 - 801 - 802 -User needs to access the Linux console of the gateway and enter the following command: 803 - 804 804 (% class="box infomessage" %) 805 805 ((( 806 - cat/var/log/qmilog.txt761 +hostnamectl set-hostname dragino-123456 807 807 ))) 808 808 809 -[[image:image-2023 1017114417-3.png||height="543" width="679"]]764 +[[image:image-20230517102429-1.png]] 810 810 766 +After the configuration is complete, run "reboot" to restart the gateway. 811 811 812 -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]]. 813 813 814 -B eloware somecommandsasreference:769 +== 8.2 Build-in The Things Network migrate to ChirpStack == 815 815 816 ->Usage: /usr/bin/quectel-CM [options] 817 -> -s [apn [user password auth]] Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap 818 -> -p pincode Verify sim card pin if sim card is locked 819 -> -p [quectel-][qmi|mbim]-proxy Request to use proxy 820 -> -f logfilename Save log message of this program to file 821 -> -u usbmonlog filename Save usbmon log to file 822 -> -i interface Specify which network interface to setup data call when multi-modems exits 823 -> -4 Setup IPv4 data call (default) 824 -> -6 Setup IPv6 data call 825 -> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn') 826 -> -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 827 -> -b Enable network interface bridge function (default 0) 828 -> -v Verbose log mode, for debug purpose.[Examples] 829 ->Example 1: /usr/bin/quectel-CM 830 ->Example 2: /usr/bin/quectel-CM -s 3gnet 831 ->Example 3: /usr/bin/quectel-CM -s 3gnet -v 832 832 772 +Migrate guide: 833 833 774 +To stabilize the completion of the migration, The users can migrate in one of the following ways 834 834 835 - === (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4"%)8.3 Dmesg Log(%%)===776 +**Method 1. Using the Linux shell, ** 836 836 778 +**Method 2. Flash a new image with the Chirpstack** 837 837 838 -Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 839 839 840 -[[image:image-20231017115330-5.png||height="565" width="740"]] 841 841 782 +=== Method 1: Using the Linux shell === 842 842 843 -=== (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)8.4 Record Log(%%) === 844 - 845 - 846 -Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 847 - 848 -[[image:image-20231017115124-4.png||height="215" width="880"]] 849 - 850 - 851 -=== (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)8.5 View gateway logs via Linux Command(%%) === 852 - 853 - 854 -**Semtech UDP Log :** 855 - 856 856 (% class="box infomessage" %) 857 857 ((( 858 - **journalctl -udraginofwd-f**786 +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 859 859 ))) 860 860 861 -[[image:image-20231207144627-1.png||height="371" width="1017"]] 862 862 863 863 864 - **StationLog:**791 +=== Method 2: Flash a new image === 865 865 866 -(% class="box infomessage" %) 867 -((( 868 -**tail -f /var/log/station.log ** 869 -))) 793 +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]] 870 870 871 -[[image:image-20231207144758-2.png||height="132" width="1022"]] 872 872 873 873 874 - **DmesgLog:**797 +== 8.3 How to reduce the 4g data consumed == 875 875 876 -(% class="box infomessage" %) 877 -((( 878 -**dmesg** 879 -))) 880 880 881 - [[image:image-20231207145210-3.png||height="310"width="1021"]]800 +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. 882 882 802 +[[image:image-20230719100239-1.png||height="724" width="994"]] 883 883 884 884 885 -(% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %) 886 -= (% data-sider-select-id="ce97a758-4348-4c0c-86eb-412b6b8d3996" %)9. More Services(%%) = 805 +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 887 887 888 - == (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)9.1NTP Service/Time Synchronization(%%) ==807 +[[image:image-20230719100332-2.png]] 889 889 890 -The gateway time sync service is provided by chrony service 891 891 810 +3. Disable the auto-update: 892 892 893 - ===1).Modify theNTP server address:===812 +[[image:image-20230719100419-3.png||height="458" width="995"]] 894 894 895 -(% class="box infomessage" %) 896 -((( 897 -Configuration file path: /etc/chrony/chrony.conf 898 -))) 899 899 815 +== 8.4 How to connect the helium blockchain as a Data-only hotspot == 900 900 901 -=== 2). Start/Stop/Enable/Disable NTP service: === 902 902 903 903 (% class="box infomessage" %) 904 904 ((( 905 -systemctl start chrony 906 -\\systemctl stop chrony 907 -\\systemctl disable chrony 908 -\\systemctl enable chrony 909 -))) 910 - 911 - 912 -== (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)9.2 How to connect the helium blockchain as a Data-only hotspot(%%) == 913 - 914 - 915 -(% class="box infomessage" %) 916 -((( 917 -(% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %) 918 918 apt update && apt install helium-gateway 919 919 ))) 920 920 921 921 922 -(% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %) 923 -= (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10. More features(%%) = 824 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 924 924 925 -(% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %) 926 -== (% data-sider-select-id="ec6a5e23-ba91-46d9-8042-1e4c6a7b3b36" %)10.1 How does the gateway connect to Chirpstack via MQTT Forwarder(%%) == 927 927 827 +By default, the LPS8v2's built-in server is ChirpStack v4, 928 928 929 - ChirpStackMQTT Forwarderisa MQTT packetforwarderfor LoRaateways.By defaulttforwardspackets in Protobuf binaryformat,optionallyitcanbeconfiguredto useJSON encodingfordebugging. In contrastto theChirpStack Gateway Bridge,this componentmust alwaysbeinstalledonthe gateway.829 +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: 930 930 831 +[[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]] 931 931 932 -(% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %) 933 -=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="0870eb11-ff25-47fc-9e3c-80a68bbf3933" %).1.1 Configure Packet Forwarder(%%) === 934 934 935 -I n theDraginoweb-interface,youmustconfigure the Packet Forwardersuchthatit forwardstoocalhostn port1700.834 +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]] 936 936 937 -(% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %) 938 -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. 939 939 940 -* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 941 -* Configure the following settings: 942 -** **Service Provider:** //Custom / Private LoRaWAN// 943 -** **Server Address:** localhost 944 -** **Uplink Port:** 1700 945 -** **Downlink Port:** 1700 946 -* Click **Save & Apply** 837 +== 8.6 How do I view gateway logs == 947 947 948 - [[image:image-20240518145929-2.png||height="652"width="727"]]839 +=== 8.6.1 LoRaWAN Log: === 949 949 841 +==== Semtech UDP Log : ==== 950 950 951 -(% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %) 952 -=== (% 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(%%) === 843 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 953 953 954 -= ======845 +[[image:image-20231017112115-2.png||height="611" width="821"]] 955 955 956 -(% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %) 957 -(% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login** 958 958 959 - Firstyou mustlogin into the gateway usingSSH:848 +==== Station Log: ==== 960 960 961 -(% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %) 962 -((( 963 -ssh root@GATEWAY-IP-ADDRESS 964 -))) 850 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 965 965 966 -(% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %) 967 -The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%). 852 +[[image:image-20231017111606-1.png||height="622" width="821"]] 968 968 969 969 970 -(% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %) 971 -(% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package** 855 +=== 8.6.2 4G Log === 972 972 973 -(% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %) 974 -Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package: 857 +The user needs to access the Linux console of the gateway and enter the following command: 975 975 976 -(% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858"%)859 +(% class="box infomessage" %) 977 977 ((( 978 -cd /tmp 979 -wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb 861 +cat /var/log/qmilog.txt 980 980 ))) 981 981 864 +[[image:image-20231017114417-3.png||height="543" width="679"]] 982 982 983 -(% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %) 984 -(% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install ** 985 985 986 - Usethedpkg package-manager to installthe downloaded package.Example:867 +=== 8.6.3 Dmesg Log === 987 987 988 -(% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %) 989 -((( 990 -dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb 991 -))) 869 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 992 992 993 -[[image:image-202 40518152148-4.png]]871 +[[image:image-20231017115330-5.png||height="565" width="740"]] 994 994 995 995 996 -(% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %) 997 -**Configuration** 874 +=== 8.6.4 Record Log === 998 998 999 - Toconnectthe ChirpStack MQTT ForwardertoyourMQTTbroker,you mustupdatetheChirpStack MQTT Forwarderconfigurationile.876 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 1000 1000 1001 -(% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %) 1002 -This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml** 878 +[[image:image-20231017115124-4.png||height="215" width="880"]] 1003 1003 1004 1004 1005 - **ChirpStackMQTT Forwarder Setting:**881 +=== 8.6.5 View gateway logs via Linux Command === 1006 1006 1007 -(% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %) 1008 -((( 1009 -topic_prefix ~-~-> This corresponds to the frequency of the ChirpStack server 883 +**Semtech UDP Log :** 1010 1010 1011 -server ~-~-> Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883 1012 -))) 1013 - 1014 -username,password,ca_cert,tls_cert,tls_key parameters should be set as required. 1015 - 1016 - 1017 -Use commands to modify configuration files: 1018 - 1019 -(% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %) 885 +(% class="box infomessage" %) 1020 1020 ((( 1021 - vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml887 +**journalctl -u draginofwd -f** 1022 1022 ))) 1023 1023 1024 -[[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"]]890 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 1025 1025 1026 1026 1027 -** (Re)startandstop commands**893 +**Station Log:** 1028 1028 1029 -Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service: 1030 - 1031 -(% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %) 1032 -((( 1033 -# start 1034 - 1035 -(% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %) 1036 -systemctl start chirpstack-mqtt-forwarder 1037 - 1038 -# stop 1039 - 1040 -systemctl stop chirpstack-mqtt-forwarder 1041 - 1042 -# restart 1043 - 1044 -systemctl restart chirpstack-mqtt-forwarder 1045 -))) 1046 - 1047 -(% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %) 1048 -(% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict** 1049 - 1050 - 1051 -**Check result** 1052 - 1053 -(% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %) 1054 -Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder. 1055 - 1056 -[[image:image-20240518154223-5.png]] 1057 - 1058 -[[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"]] 1059 - 1060 - 1061 -= (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11. FAQ(%%) = 1062 - 1063 -== (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)11.1 How to change Hostname(%%) == 1064 - 1065 - 1066 -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: 1067 - 1068 1068 (% class="box infomessage" %) 1069 1069 ((( 1070 - hostnamectlset-hostname dragino-123456897 +**tail -f /var/log/station.log ** 1071 1071 ))) 1072 1072 1073 -[[image:image-2023 0517102429-1.png]]900 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 1074 1074 1075 -After the configuration is complete, run "reboot" to restart the gateway. 1076 1076 903 +**Dmesg Log:** 1077 1077 1078 -== (% 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(%%) == 1079 - 1080 - 1081 -Migrate guide: 1082 - 1083 -To stabilize the completion of the migration, The users can migrate in one of the following ways 1084 - 1085 -**Method 1. Using the Linux shell, ** 1086 - 1087 -**Method 2. Flash a new image with the Chirpstack** 1088 - 1089 - 1090 -=== Method 1: Using the Linux shell === 1091 - 1092 1092 (% class="box infomessage" %) 1093 1093 ((( 1094 - 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_chirpstack907 +**dmesg** 1095 1095 ))) 1096 1096 910 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 1097 1097 1098 -=== Method 2: Flash a new image === 1099 1099 1100 - Imageflashsteps: [[Howtoflash anew image(OS)tothegateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]913 +== 8.7 DIN Mount Reference: == 1101 1101 1102 - 1103 -== (% 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(%%) == 1104 - 1105 - 1106 -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. 1107 - 1108 -[[image:image-20230719100239-1.png||height="724" width="994"]] 1109 - 1110 - 1111 -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 1112 - 1113 -[[image:image-20230719100332-2.png]] 1114 - 1115 - 1116 -3. Disable the auto-update: 1117 - 1118 -[[image:image-20230719100419-3.png||height="458" width="995"]] 1119 - 1120 - 1121 -== (% 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.(%%) == 1122 - 1123 - 1124 -By default, the LPS8v2's built-in server is ChirpStack v4, 1125 - 1126 -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: 1127 - 1128 -[[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]] 1129 - 1130 - 1131 -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]] 1132 - 1133 - 1134 -== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %).5 DIN Mount Reference:(%%) == 1135 - 1136 - 1137 1137 [[image:image-20240318095605-1.jpeg||height="472" width="472"]] 1138 1138 1139 1139 [[image:image-20240318095617-2.png]] 1140 1140 1141 1141 920 += 9. Trouble Shooting = 1142 1142 922 +== 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == 1143 1143 1144 -= (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12. Trouble Shooting(%%) = 1145 1145 1146 -== (% 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**'.(%%) == 1147 - 1148 1148 [[image:image-20220920135918-1.png]] 1149 1149 1150 1150 ... ... @@ -1160,7 +1160,7 @@ 1160 1160 [[image:image-20220920141936-2.png]] 1161 1161 1162 1162 1163 -== (% 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(%%)==940 +== 9.2 The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem == 1164 1164 1165 1165 1166 1166 When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed. ... ... @@ -1168,13 +1168,13 @@ 1168 1168 [[image:image-20230508171607-1.png]] 1169 1169 1170 1170 1171 -== (% 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(%%)==948 +== 9.3 Fallback IP does not work, how can users check == 1172 1172 1173 1173 1174 1174 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP. 1175 1175 1176 1176 1177 -** ~1.954 +**1.Check whether the configuration is correct** 1178 1178 1179 1179 Run the CMD command to ipconfig and ping 172.31.255.254. 1180 1180 ... ... @@ -1190,7 +1190,7 @@ 1190 1190 If the firewall is not down, this will affect access to the gateway. 1191 1191 1192 1192 1193 -== (% 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?(%%)==970 +== 9.4 Click "Manual_Update", why there is no response? == 1194 1194 1195 1195 1196 1196 When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log. ... ... @@ -1199,11 +1199,12 @@ 1199 1199 [[image:image-20230527090555-3.png||height="660" width="832"]] 1200 1200 1201 1201 1202 -== (% 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(%%)==979 +== 9.5 Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access == 1203 1203 1204 1204 1205 1205 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. 1206 1206 984 + 1207 1207 (% class="box infomessage" %) 1208 1208 ((( 1209 1209 apt update && apt install *dragino* ... ... @@ -1212,7 +1212,7 @@ 1212 1212 ))) 1213 1213 1214 1214 1215 -== (% 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(%%)==993 +== 9.6 How to reset the built-in server == 1216 1216 1217 1217 1218 1218 **1) Build-in The Things Network** ... ... @@ -1228,10 +1228,9 @@ 1228 1228 1229 1229 [[image:image-20231106180846-5.png||height="310" width="668"]] 1230 1230 1009 += (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 1231 1231 1232 -= (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)13. Supports(%%) = 1233 1233 1234 - 1235 1235 ((( 1236 1236 If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]]. 1237 1237 ))) ... ... @@ -1240,7 +1240,7 @@ 1240 1240 With your question as detailed as possible. We will reply and help you in the shortest. 1241 1241 1242 1242 1243 -= (% data-sider-select-id="f8ca68c9-99ed-4795-97c5-3d0d259131e9" %)14. Reference(%%)=1020 += 11. Reference = 1244 1244 1245 1245 1246 1246 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]]. ... ... @@ -1249,7 +1249,7 @@ 1249 1249 1250 1250 ))) 1251 1251 1252 -= (% data-sider-select-id="a056b4ad-7d05-42b4-ad74-7a3134f8010a" %)15. Order Info(%%)=1029 += 12. Order Info = 1253 1253 1254 1254 1255 1255 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY** ... ... @@ -1281,7 +1281,7 @@ 1281 1281 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 1282 1282 1283 1283 1284 -= (% data-sider-select-id="a4433cd3-3bbc-4e6b-8b18-0bd2bc4d6904" %)16. Manufacturer Info(%%)=1061 += 13. Manufacturer Info = 1285 1285 1286 1286 1287 1287 **Shenzhen Dragino Technology Development co. LTD** ... ... @@ -1291,7 +1291,7 @@ 1291 1291 LongCheng Street, LongGang District ; Shenzhen 518116,China 1292 1292 1293 1293 1294 -= (% data-sider-select-id="b353afd6-b0f5-48e5-a114-3b5062cbf0d1" %)17. FCC Warning(%%)=1071 += 14. FCC Warning = 1295 1295 1296 1296 1297 1297 (((
- 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
- image-20240518145859-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.7 KB - Content
- image-20240518145929-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.5 KB - Content
- image-20240518152100-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -39.5 KB - Content
- image-20240518152148-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.0 KB - Content
- image-20240518154223-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.7 KB - Content