<
From version < 311.1 >
edited by Kilight Cao
on 2024/05/18 15:21
To version < 324.1 >
edited by Kilight Cao
on 2024/08/31 16:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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  (((
... ... @@ -696,9 +696,25 @@
696 696  [[image:image-20230602143122-4.png||height="511" width="983"]]
697 697  
698 698  
699 -= 5. Watch Dog =
699 += 5. MQTT Forwarder =
700 700  
701 701  
702 +In the latest version, MQTT Forwarder functionality has been added to the LPS8V2 gateway by default
703 +
704 +Users can configure the MQTT Forwarder on the **Forwarder~-~->MQTT** interface, and when the configuration is successful, it will forward the sensor data of the lorawan server chirpstack built in LPS8v2
705 +
706 +For a detailed example of this feature, see this link:**[[MQTT Forward Instruction - DRAGINO>>http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/#H3.3A0UseLoRaWANProtocolforcommunication--ForLPS8V2]]**
707 +
708 +(% class="wikigeneratedid" %)
709 +[[image:image-20240831152113-2.png]]
710 +
711 +
712 += 6. Watch Dog =
713 +
714 +
715 +The watchdog will guard the LPS8V2 to avoid the need to perform a reboot manually after down occurs
716 +
717 +
702 702  LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
703 703  
704 704  The uses can be via the below method to enable Watch Dog:
... ... @@ -711,7 +711,7 @@
711 711  [[image:image-20231124113209-1.png||height="470" width="1157"]]
712 712  
713 713  
714 -= 6. How users can access LPS8-V2 using serial USB =
730 += 7. How users can access LPS8-V2 using serial USB =
715 715  
716 716  
717 717  (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
... ... @@ -740,13 +740,13 @@
740 740  [[image:image-20220804164747-2.png||height="622" width="594"]]
741 741  
742 742  
743 -= 7. OTA System Update =
759 += 8. OTA System Update =
744 744  
745 745  
746 746  LPS8v2 supports system auto-update via OTA, please see **[[this URL>>url:http://wiki.dragino.com/xwiki/bin/view/OTA%20Update/]]** for the detail of this feature.
747 747  
748 748  
749 -== 7.1 Auto-update method ==
765 +== 8.1 Auto-update method ==
750 750  
751 751  
752 752  The default, each gateway will enable the auto-update function.
... ... @@ -759,7 +759,7 @@
759 759  [[image:image-20230607094447-2.png]]
760 760  
761 761  
762 -== 7.2 Manual upgrade method ==
778 +== 8.2 Manual upgrade method ==
763 763  
764 764  
765 765  1). Using the Linux command to upgrade the system
... ... @@ -777,231 +777,388 @@
777 777  [[image:image-20230607093849-1.png]]
778 778  
779 779  
780 -= 8. FAQ =
796 += (% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %)9 How do I view gateway logs(%%) =
781 781  
782 -== 8.1 How to change Hostname ==
798 +=== (% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %)9.1 LoRaWAN Log:(%%) ===
783 783  
784 784  
785 -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:
801 +==== Semtech UDP Log : ====
786 786  
803 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
804 +
805 +[[image:image-20231017112115-2.png||height="611" width="821"]]
806 +
807 +
808 +==== Station Log: ====
809 +
810 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
811 +
812 +[[image:image-20231017111606-1.png||height="622" width="821"]]
813 +
814 +
815 +=== (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)9.2  4G Log(%%) ===
816 +
817 +
818 +User needs to access the Linux console of the gateway and enter the following command:
819 +
787 787  (% class="box infomessage" %)
788 788  (((
789 -hostnamectl set-hostname dragino-123456
822 +cat /var/log/qmilog.txt
790 790  )))
791 791  
792 -[[image:image-20230517102429-1.png]]
825 +[[image:image-20231017114417-3.png||height="543" width="679"]]
793 793  
794 -After the configuration is complete, run "reboot" to restart the gateway.
795 795  
828 +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]].
796 796  
797 -== 8.2 Build-in The Things Network migrate to ChirpStack ==
830 +Below are some commands as reference:
798 798  
832 +>Usage:  /usr/bin/quectel-CM [options]
833 +> -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
834 +> -p pincode Verify sim card pin if sim card is locked
835 +> -p [quectel-][qmi|mbim]-proxy  Request to use proxy
836 +> -f logfilename Save log message of this program to file
837 +> -u usbmonlog filename  Save usbmon log to file
838 +> -i interface Specify which network interface to setup data call when multi-modems exits
839 +> -4 Setup IPv4 data call (default)
840 +> -6 Setup IPv6 data call
841 +> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
842 +> -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
843 +> -b Enable network interface bridge function (default 0)
844 +> -v Verbose log mode, for debug purpose.[Examples]
845 +>Example 1: /usr/bin/quectel-CM
846 +>Example 2: /usr/bin/quectel-CM -s 3gnet
847 +>Example 3: /usr/bin/quectel-CM -s 3gnet -v
799 799  
800 -Migrate guide:
801 801  
802 -To stabilize the completion of the migration, The users can migrate in one of the following ways
803 803  
804 -**Method 1. Using the Linux shell, **
851 +=== (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4" %)9.3 Dmesg Log(%%) ===
805 805  
806 -**Method 2. Flash a new image with the Chirpstack**
807 807  
854 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
808 808  
809 -=== Method 1: Using the Linux shell ===
856 +[[image:image-20231017115330-5.png||height="565" width="740"]]
810 810  
858 +
859 +=== (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)9.4 Record Log(%%) ===
860 +
861 +
862 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
863 +
864 +[[image:image-20231017115124-4.png||height="215" width="880"]]
865 +
866 +
867 +=== (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)9.5 View gateway logs via Linux Command(%%) ===
868 +
869 +
870 +**Semtech UDP Log :**
871 +
811 811  (% class="box infomessage" %)
812 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
874 +**journalctl -u draginofwd -f**
814 814  )))
815 815  
877 +[[image:image-20231207144627-1.png||height="371" width="1017"]]
816 816  
817 -=== Method 2: Flash a new image ===
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]]
880 +**Station Log:**
820 820  
882 +(% class="box infomessage" %)
883 +(((
884 +**tail -f /var/log/station.log **
885 +)))
821 821  
822 -== 8.3 How to reduce the 4g data consumed ==
887 +[[image:image-20231207144758-2.png||height="132" width="1022"]]
823 823  
824 824  
825 -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.
890 +**Dmesg Log:**
826 826  
827 -[[image:image-20230719100239-1.png||height="724" width="994"]]
892 +(% class="box infomessage" %)
893 +(((
894 +**dmesg**
895 +)))
828 828  
897 +[[image:image-20231207145210-3.png||height="310" width="1021"]]
829 829  
830 -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
831 831  
832 -[[image:image-20230719100332-2.png]]
833 833  
901 +(% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %)
902 += (% data-sider-select-id="ce97a758-4348-4c0c-86eb-412b6b8d3996" %)10. More Services(%%) =
834 834  
835 -3. Disable the auto-update:
904 +== (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)10.1 NTP Service/Time Synchronization(%%) ==
836 836  
837 -[[image:image-20230719100419-3.png||height="458" width="995"]]
906 +The gateway time sync service is provided by chrony service
838 838  
839 839  
840 -== 8.4 How to connect the helium blockchain as a Data-only hotspot ==
909 +=== 1). Modify the NTP server address: ===
841 841  
911 +(% class="box infomessage" %)
912 +(((
913 +Configuration file path:  /etc/chrony/chrony.conf
914 +)))
842 842  
916 +
917 +=== 2). Start/Stop/Enable/Disable NTP service: ===
918 +
843 843  (% class="box infomessage" %)
844 844  (((
845 -apt update && apt install helium-gateway
921 +systemctl start chrony
922 +\\systemctl stop chrony
923 +\\systemctl disable chrony
924 +\\systemctl enable chrony
846 846  )))
847 847  
848 848  
849 -== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
928 +(% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %)
929 += (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)11. More features(%%) =
850 850  
931 +(% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %)
932 +== (% data-sider-select-id="ec6a5e23-ba91-46d9-8042-1e4c6a7b3b36" %)11.1 Chirpstack MQTT Forwarder(%%) ==
851 851  
852 -By default, the LPS8v2's built-in server is ChirpStack v4,
853 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:
935 +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.
855 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 857  
938 +(% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %)
939 +=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)11(% data-sider-select-id="0870eb11-ff25-47fc-9e3c-80a68bbf3933" %).1.1 Configure Packet Forwarder(%%) ===
858 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]]
941 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.
860 860  
943 +(% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %)
944 +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.
861 861  
862 -== 8.6 How do I view gateway logs ==
946 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP**
947 +* Configure the following settings:
948 +** **Service Provider:** //Custom / Private LoRaWAN//
949 +** **Server Address:** localhost
950 +** **Uplink Port:** 1700
951 +** **Downlink Port:** 1700
952 +* Click **Save & Apply**
863 863  
864 -=== 8.6.1 LoRaWAN Log: ===
954 +[[image:image-20240518145929-2.png||height="652" width="727"]]
865 865  
866 866  
867 -==== Semtech UDP Log : ====
957 +(% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %)
958 +=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)11(% data-sider-select-id="ffba644f-a9d5-4e93-a9da-9f9e49d596d9" %).1.2 Install ChirpStack MQTT Forwarder(%%) ===
868 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 870  
871 -[[image:image-20231017112115-2.png||height="611" width="821"]]
961 +(% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %)
962 +(% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login**
872 872  
964 +First you must login into the gateway using SSH:
873 873  
874 -==== Station Log: ====
966 +(% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %)
967 +(((
968 +ssh root@GATEWAY-IP-ADDRESS
969 +)))
875 875  
876 -When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
971 +(% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %)
972 +The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%).
877 877  
878 -[[image:image-20231017111606-1.png||height="622" width="821"]]
879 879  
975 +(% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %)
976 +(% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package**
880 880  
881 -=== 8.6.2  4G Log ===
978 +(% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %)
979 +Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package:
882 882  
981 +(% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858" %)
982 +(((
983 +cd /tmp
984 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
985 +)))
883 883  
884 -User needs to access the Linux console of the gateway and enter the following command:
885 885  
886 -(% class="box infomessage" %)
988 +(% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %)
989 +(% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install **
990 +
991 +Use the dpkg package-manager to install the downloaded package. Example:
992 +
993 +(% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %)
887 887  (((
888 -cat /var/log/qmilog.txt
995 +dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
889 889  )))
890 890  
891 -[[image:image-20231017114417-3.png||height="543" width="679"]]
998 +[[image:image-20240518152148-4.png]]
892 892  
893 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]].
1001 +(% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %)
1002 +**Configuration**
895 895  
896 -Below are some commands as reference:
1004 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
897 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
1006 +(% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %)
1007 +This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
914 914  
915 915  
1010 +**ChirpStack MQTT Forwarder Setting:**
916 916  
1012 +(% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %)
1013 +(((
1014 +topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
917 917  
1016 +server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
1017 +)))
918 918  
919 -=== 8.6.3 Dmesg Log ===
1019 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
920 920  
921 921  
922 -Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
1022 +Use commands to modify configuration files:
923 923  
924 -[[image:image-20231017115330-5.png||height="565" width="740"]]
1024 +(% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %)
1025 +(((
1026 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
1027 +)))
925 925  
1029 +[[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"]]
926 926  
927 -=== 8.6.4 Record Log ===
928 928  
1032 +**(Re)start and stop commands**
929 929  
930 -Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
1034 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
931 931  
932 -[[image:image-20231017115124-4.png||height="215" width="880"]]
1036 +(% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %)
1037 +(((
1038 +# start
933 933  
1040 +(% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %)
1041 +systemctl start chirpstack-mqtt-forwarder
934 934  
935 -=== 8.6.5 View gateway logs via Linux Command ===
1043 +# stop
936 936  
1045 +systemctl stop chirpstack-mqtt-forwarder
937 937  
938 -**Semtech UDP Log :**
1047 +# restart
939 939  
940 -(% class="box infomessage" %)
941 -(((
942 -**journalctl -u draginofwd -f**
1049 +systemctl restart chirpstack-mqtt-forwarder
943 943  )))
944 944  
945 -[[image:image-20231207144627-1.png||height="371" width="1017"]]
1052 +(% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %)
1053 +(% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict**
946 946  
947 947  
948 -**Station Log:**
1056 +**Check result**
949 949  
1058 +(% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %)
1059 +Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder.
1060 +
1061 +[[image:image-20240518154223-5.png]]
1062 +
1063 +[[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"]]
1064 +
1065 +
1066 +== (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)11.2 As a Data-only hotspot connect the helium blockchain(%%) ==
1067 +
1068 +
950 950  (% class="box infomessage" %)
951 951  (((
952 -**tail -f /var/log/station.log **
1071 +(% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %)
1072 +apt update && apt install helium-gateway
953 953  )))
954 954  
955 -[[image:image-20231207144758-2.png||height="132" width="1022"]]
956 956  
957 957  
958 -**Dmesg Log:**
1077 += (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12. FAQ(%%) =
959 959  
1079 +== (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)12.1 How to change Hostname(%%) ==
1080 +
1081 +
1082 +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:
1083 +
960 960  (% class="box infomessage" %)
961 961  (((
962 -**dmesg**
1086 +hostnamectl set-hostname dragino-123456
963 963  )))
964 964  
965 -[[image:image-20231207145210-3.png||height="310" width="1021"]]
1089 +[[image:image-20230517102429-1.png]]
966 966  
1091 +After the configuration is complete, run "reboot" to restart the gateway.
967 967  
968 -== 8.7 DIN Mount Reference: ==
969 969  
1094 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12(% data-sider-select-id="62cdc3f4-fb6f-4e4d-92a5-60449c8b462f" %).2 Build-in The Things Network migrate to ChirpStack(%%) ==
970 970  
971 -[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
972 972  
973 -[[image:image-20240318095617-2.png]]
1097 +Migrate guide:
974 974  
1099 +To stabilize the completion of the migration, The users can migrate in one of the following ways
975 975  
976 -== 8.8 NTP Service/Time Synchronization ==
1101 +**Method 1. Using the Linux shell, **
977 977  
978 -The gateway time sync service is provided by chrony service
1103 +**Method 2. Flash a new image with the Chirpstack**
979 979  
980 980  
981 -=== 1). Modify the NTP server address: ===
1106 +=== Method 1: Using the Linux shell ===
982 982  
983 983  (% class="box infomessage" %)
984 984  (((
985 -Configuration file path:  /etc/chrony/chrony.conf
1110 +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
986 986  )))
987 987  
988 988  
989 -=== 2). Start/Stop/Enable/Disable NTP service: ===
1114 +=== Method 2: Flash a new image ===
990 990  
1116 +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]]
1117 +
1118 +
1119 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12(% data-sider-select-id="b2a44672-8abb-425d-a823-f2faa334cdb7" %).3 How to reduce the 4g data consumed(%%) ==
1120 +
1121 +
1122 +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.
1123 +
1124 +[[image:image-20230719100239-1.png||height="724" width="994"]]
1125 +
1126 +
1127 +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
1128 +
1129 +[[image:image-20230719100332-2.png]]
1130 +
1131 +
1132 +3. Disable the auto-update:
1133 +
1134 +[[image:image-20230719100419-3.png||height="458" width="995"]]
1135 +
1136 +
1137 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).4 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3.(%%) ==
1138 +
1139 +
1140 +By default, the LPS8v2's built-in server is ChirpStack v4,
1141 +
1142 +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:
1143 +
1144 +[[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]]
1145 +
1146 +
1147 +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]]
1148 +
1149 +
1150 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).5 (%%)How to check my USB port dev/tty after i plug in USB device. ==
1151 +
1152 +
1153 +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:
1154 +
991 991  (% class="box infomessage" %)
992 992  (((
993 -systemctl start chrony
994 -\\systemctl stop chrony
995 -\\systemctl disable chrony
996 -\\systemctl enable chrony
1157 +dmesg
997 997  )))
998 998  
1160 +[[image:image-20240803095144-1.png]]
999 999  
1000 1000  
1001 -= 9. Trouble Shooting =
1002 1002  
1003 -== 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
1164 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)12(% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %).6 DIN Mount Reference:(%%) ==
1004 1004  
1166 +
1167 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
1168 +
1169 +[[image:image-20240318095617-2.png]]
1170 +
1171 +
1172 +
1173 +
1174 += (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13. Trouble Shooting(%%) =
1175 +
1176 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)13.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'.(%%) ==
1177 +
1005 1005  [[image:image-20220920135918-1.png]]
1006 1006  
1007 1007  
... ... @@ -1017,7 +1017,7 @@
1017 1017  [[image:image-20220920141936-2.png]]
1018 1018  
1019 1019  
1020 -== 9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
1193 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13(% 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(%%) ==
1021 1021  
1022 1022  
1023 1023  When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
... ... @@ -1025,7 +1025,7 @@
1025 1025  [[image:image-20230508171607-1.png]]
1026 1026  
1027 1027  
1028 -== 9.3  Fallback IP does not work, how can users check ==
1201 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13(% data-sider-select-id="a7b8cd40-2ec5-4b4b-8220-d32ce0a303a0" %).3  Fallback IP does not work, how can users check(%%) ==
1029 1029  
1030 1030  
1031 1031  When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
... ... @@ -1047,7 +1047,7 @@
1047 1047  If the firewall is not down, this will affect access to the gateway.
1048 1048  
1049 1049  
1050 -== 9.4  Click "Manual_Update", why there is no response? ==
1223 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13(% data-sider-select-id="b7eec45b-ad8c-4621-a815-f457810d25f4" %).4  Click "Manual_Update", why there is no response?(%%) ==
1051 1051  
1052 1052  
1053 1053  When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
... ... @@ -1056,7 +1056,7 @@
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 ==
1232 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13(% 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(%%) ==
1060 1060  
1061 1061  
1062 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.
... ... @@ -1069,7 +1069,7 @@
1069 1069  )))
1070 1070  
1071 1071  
1072 -== 9.6  How to reset the built-in server ==
1245 +== (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)13(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).6  How to reset the built-in server(%%) ==
1073 1073  
1074 1074  
1075 1075  **1) Build-in The Things Network**
... ... @@ -1086,7 +1086,7 @@
1086 1086  [[image:image-20231106180846-5.png||height="310" width="668"]]
1087 1087  
1088 1088  
1089 -= (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
1262 += (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)14. Supports(%%) =
1090 1090  
1091 1091  
1092 1092  (((
... ... @@ -1097,7 +1097,7 @@
1097 1097  With your question as detailed as possible. We will reply and help you in the shortest.
1098 1098  
1099 1099  
1100 -= 11. Reference =
1273 += (% data-sider-select-id="f8ca68c9-99ed-4795-97c5-3d0d259131e9" %)15. Reference(%%) =
1101 1101  
1102 1102  
1103 1103  * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
... ... @@ -1106,7 +1106,7 @@
1106 1106  
1107 1107  )))
1108 1108  
1109 -= 12. Order Info =
1282 += (% data-sider-select-id="a056b4ad-7d05-42b4-ad74-7a3134f8010a" %)16. Order Info(%%) =
1110 1110  
1111 1111  
1112 1112  (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
... ... @@ -1138,7 +1138,7 @@
1138 1138  More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
1139 1139  
1140 1140  
1141 -= 13. Manufacturer Info =
1314 += (% data-sider-select-id="a4433cd3-3bbc-4e6b-8b18-0bd2bc4d6904" %)17. Manufacturer Info(%%) =
1142 1142  
1143 1143  
1144 1144  **Shenzhen Dragino Technology Development co. LTD**
... ... @@ -1148,7 +1148,7 @@
1148 1148  LongCheng Street, LongGang District ; Shenzhen 518116,China
1149 1149  
1150 1150  
1151 -= 14. FCC Warning =
1324 += (% data-sider-select-id="b353afd6-b0f5-48e5-a114-3b5062cbf0d1" %)18. FCC Warning(%%) =
1152 1152  
1153 1153  
1154 1154  (((
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
image-20240831151427-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +63.2 KB
Content
image-20240831152113-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +62.3 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0