<
From version < 307.1 >
edited by Edwin Chen
on 2024/05/03 20:49
To version < 314.1 >
edited by Kilight Cao
on 2024/05/18 16:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Kilight
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  (((
... ... @@ -307,6 +307,9 @@
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 +
310 310  === 2.2.5  Check Internet connection ===
311 311  
312 312  
... ... @@ -774,11 +774,187 @@
774 774  [[image:image-20230607093849-1.png]]
775 775  
776 776  
777 -= 8. FAQ =
780 +(% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %)
781 += 8. More Services =
778 778  
779 -== 8.1 How to change Hostname ==
783 +== (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)8.1 NTP Service/Time Synchronization(%%) ==
780 780  
785 +The gateway time sync service is provided by chrony service
781 781  
787 +
788 +=== 1). Modify the NTP server address: ===
789 +
790 +(% class="box infomessage" %)
791 +(((
792 +Configuration file path:  /etc/chrony/chrony.conf
793 +)))
794 +
795 +
796 +=== 2). Start/Stop/Enable/Disable NTP service: ===
797 +
798 +(% class="box infomessage" %)
799 +(((
800 +systemctl start chrony
801 +\\systemctl stop chrony
802 +\\systemctl disable chrony
803 +\\systemctl enable chrony
804 +)))
805 +
806 +
807 +== (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)8.2 How to connect the helium blockchain as a Data-only hotspot(%%) ==
808 +
809 +
810 +(% class="box infomessage" %)
811 +(((
812 +(% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %)
813 +apt update && apt install helium-gateway
814 +)))
815 +
816 +
817 +(% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %)
818 += 9. More features =
819 +
820 +(% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %)
821 +== 9.1 How does the gateway connect to Chirpstack via MQTT Forwarder ==
822 +
823 +
824 +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.
825 +
826 +
827 +(% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %)
828 +=== 9.1.1 Configure Packet Forwarder ===
829 +
830 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.
831 +
832 +(% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %)
833 +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.
834 +
835 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP**
836 +* Configure the following settings:
837 +** **Service Provider:** //Custom / Private LoRaWAN//
838 +** **Server Address:** localhost
839 +** **Uplink Port:** 1700
840 +** **Downlink Port:** 1700
841 +* Click **Save & Apply**
842 +
843 +[[image:image-20240518145929-2.png||height="652" width="727"]]
844 +
845 +
846 +(% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %)
847 +=== 9.1.2 Install ChirpStack MQTT Forwarder ===
848 +
849 +==== ====
850 +
851 +(% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %)
852 +(% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login**
853 +
854 +First you must login into the gateway using SSH:
855 +
856 +(% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %)
857 +(((
858 +ssh root@GATEWAY-IP-ADDRESS
859 +)))
860 +
861 +(% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %)
862 +The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%).
863 +
864 +
865 +(% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %)
866 +(% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package**
867 +
868 +(% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %)
869 +Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package:
870 +
871 +(% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858" %)
872 +(((
873 +cd /tmp
874 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
875 +)))
876 +
877 +
878 +(% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %)
879 +(% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install **
880 +
881 +Use the dpkg package-manager to install the downloaded package. Example:
882 +
883 +(% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %)
884 +(((
885 +dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
886 +)))
887 +
888 +[[image:image-20240518152148-4.png]]
889 +
890 +
891 +(% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %)
892 +**Configuration**
893 +
894 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
895 +
896 +(% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %)
897 +This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
898 +
899 +
900 +**ChirpStack MQTT Forwarder Setting:**
901 +
902 +(% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %)
903 +(((
904 +topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
905 +
906 +server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
907 +)))
908 +
909 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
910 +
911 +
912 +Use commands to modify configuration files:
913 +
914 +(% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %)
915 +(((
916 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
917 +)))
918 +
919 +[[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"]]
920 +
921 +
922 +**(Re)start and stop commands**
923 +
924 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
925 +
926 +(% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %)
927 +(((
928 +# start
929 +
930 +(% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %)
931 +systemctl start chirpstack-mqtt-forwarder
932 +
933 +# stop
934 +
935 +systemctl stop chirpstack-mqtt-forwarder
936 +
937 +# restart
938 +
939 +systemctl restart chirpstack-mqtt-forwarder
940 +)))
941 +
942 +(% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %)
943 +(% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict**
944 +
945 +
946 +**Check result**
947 +
948 +(% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %)
949 +Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder.
950 +
951 +[[image:image-20240518154223-5.png]]
952 +
953 +[[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"]]
954 +
955 +
956 += (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10. FAQ(%%) =
957 +
958 +== (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)10.1 How to change Hostname(%%) ==
959 +
960 +
782 782  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:
783 783  
784 784  (% class="box infomessage" %)
... ... @@ -791,7 +791,7 @@
791 791  After the configuration is complete, run "reboot" to restart the gateway.
792 792  
793 793  
794 -== 8.2 Build-in The Things Network migrate to ChirpStack ==
973 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10(% data-sider-select-id="62cdc3f4-fb6f-4e4d-92a5-60449c8b462f" %).2 Build-in The Things Network migrate to ChirpStack(%%) ==
795 795  
796 796  
797 797  Migrate guide:
... ... @@ -816,7 +816,7 @@
816 816  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]]
817 817  
818 818  
819 -== 8.3 How to reduce the 4g data consumed ==
998 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10(% data-sider-select-id="b2a44672-8abb-425d-a823-f2faa334cdb7" %).3 How to reduce the 4g data consumed(%%) ==
820 820  
821 821  
822 822  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.
... ... @@ -834,18 +834,9 @@
834 834  [[image:image-20230719100419-3.png||height="458" width="995"]]
835 835  
836 836  
837 -== 8.4 How to connect the helium blockchain as a Data-only hotspot ==
1016 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).4 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3.(%%) ==
838 838  
839 839  
840 -(% class="box infomessage" %)
841 -(((
842 -apt update && apt install helium-gateway
843 -)))
844 -
845 -
846 -== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
847 -
848 -
849 849  By default, the LPS8v2's built-in server is ChirpStack v4,
850 850  
851 851  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:
... ... @@ -856,9 +856,9 @@
856 856  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]]
857 857  
858 858  
859 -== 8.6 How do I view gateway logs ==
1029 +== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10(% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %).6 How do I view gateway logs(%%) ==
860 860  
861 -=== 8.6.1 LoRaWAN Log: ===
1031 +=== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)10(% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %).6.1 LoRaWAN Log:(%%) ===
862 862  
863 863  
864 864  ==== Semtech UDP Log : ====
... ... @@ -875,7 +875,7 @@
875 875  [[image:image-20231017111606-1.png||height="622" width="821"]]
876 876  
877 877  
878 -=== 8.6.2  4G Log ===
1048 +=== (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)9.6.2  4G Log(%%) ===
879 879  
880 880  
881 881  User needs to access the Linux console of the gateway and enter the following command:
... ... @@ -911,17 +911,15 @@
911 911  
912 912  
913 913  
1084 +=== (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4" %)9.6.3 Dmesg Log(%%) ===
914 914  
915 915  
916 -=== 8.6.3 Dmesg Log ===
917 -
918 -
919 919  Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
920 920  
921 921  [[image:image-20231017115330-5.png||height="565" width="740"]]
922 922  
923 923  
924 -=== 8.6.4 Record Log ===
1092 +=== (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)9.6.4 Record Log(%%) ===
925 925  
926 926  
927 927  Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
... ... @@ -929,7 +929,7 @@
929 929  [[image:image-20231017115124-4.png||height="215" width="880"]]
930 930  
931 931  
932 -=== 8.6.5 View gateway logs via Linux Command ===
1100 +=== (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)9.6.5 View gateway logs via Linux Command(%%) ===
933 933  
934 934  
935 935  **Semtech UDP Log :**
... ... @@ -962,7 +962,7 @@
962 962  [[image:image-20231207145210-3.png||height="310" width="1021"]]
963 963  
964 964  
965 -== 8.7 DIN Mount Reference: ==
1133 +== (% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %)9.5 DIN Mount Reference:(%%) ==
966 966  
967 967  
968 968  [[image:image-20240318095605-1.jpeg||height="472" width="472"]]
... ... @@ -970,35 +970,12 @@
970 970  [[image:image-20240318095617-2.png]]
971 971  
972 972  
973 -== 8.8 NTP Service/Time Synchronization ==
974 974  
975 -The gateway time sync service is provided by chrony service
976 976  
1143 += (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)10. Trouble Shooting(%%) =
977 977  
978 -=== 1). Modify the NTP server address: ===
1145 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10. I can't log in to the built-in Server TTN Stack which shows '**Login failed**'.(%%) ==
979 979  
980 -(% class="box infomessage" %)
981 -(((
982 -Configuration file path:  /etc/chrony/chrony.conf
983 -)))
984 -
985 -
986 -=== 2). Start/Stop/Enable/Disable NTP service: ===
987 -
988 -(% class="box infomessage" %)
989 -(((
990 -systemctl start chrony
991 -\\systemctl stop chrony
992 -\\systemctl disable chrony
993 -\\systemctl enable chrony
994 -)))
995 -
996 -
997 -
998 -= 9. Trouble Shooting =
999 -
1000 -== 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
1001 -
1002 1002  [[image:image-20220920135918-1.png]]
1003 1003  
1004 1004  
... ... @@ -1014,7 +1014,7 @@
1014 1014  [[image:image-20220920141936-2.png]]
1015 1015  
1016 1016  
1017 -== 9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
1162 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10(% 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(%%) ==
1018 1018  
1019 1019  
1020 1020  When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
... ... @@ -1022,7 +1022,7 @@
1022 1022  [[image:image-20230508171607-1.png]]
1023 1023  
1024 1024  
1025 -== 9.3  Fallback IP does not work, how can users check ==
1170 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10(% data-sider-select-id="a7b8cd40-2ec5-4b4b-8220-d32ce0a303a0" %).3  Fallback IP does not work, how can users check(%%) ==
1026 1026  
1027 1027  
1028 1028  When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
... ... @@ -1044,7 +1044,7 @@
1044 1044  If the firewall is not down, this will affect access to the gateway.
1045 1045  
1046 1046  
1047 -== 9.4  Click "Manual_Update", why there is no response? ==
1192 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10(% data-sider-select-id="b7eec45b-ad8c-4621-a815-f457810d25f4" %).4  Click "Manual_Update", why there is no response?(%%) ==
1048 1048  
1049 1049  
1050 1050  When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
... ... @@ -1053,7 +1053,7 @@
1053 1053  [[image:image-20230527090555-3.png||height="660" width="832"]]
1054 1054  
1055 1055  
1056 -== 9.5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access ==
1201 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10(% 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(%%) ==
1057 1057  
1058 1058  
1059 1059  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.
... ... @@ -1066,7 +1066,7 @@
1066 1066  )))
1067 1067  
1068 1068  
1069 -== 9.6  How to reset the built-in server ==
1214 +== (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)10(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).6  How to reset the built-in server(%%) ==
1070 1070  
1071 1071  
1072 1072  **1) Build-in The Things Network**
... ... @@ -1083,7 +1083,7 @@
1083 1083  [[image:image-20231106180846-5.png||height="310" width="668"]]
1084 1084  
1085 1085  
1086 -= (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
1231 += (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
1087 1087  
1088 1088  
1089 1089  (((
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0