Changes for page LPS8N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2024/05/18 14:36
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,7 +15,7 @@ 15 15 16 16 = 1. Introduction = 17 17 18 -== 1.1 What is the LPS8N == 18 +== (% data-sider-select-id="a36bf9cd-fdd9-49e1-813f-6d602534bdf0" %)1.1 What is the LPS8N(%%) == 19 19 20 20 21 21 ((( ... ... @@ -630,7 +630,7 @@ 630 630 [[image:1657095412271-942.png]] 631 631 632 632 633 -== 5.3 LoRaWAN Settings == 633 +== (% data-sider-select-id="9385f434-0cee-4e27-b68d-01cc94864f95" %)5.3 LoRaWAN Settings(%%) == 634 634 635 635 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === 636 636 ... ... @@ -638,7 +638,7 @@ 638 638 This page is for the connection set up to a general LoRaWAN Network server such as: [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]] etc. 639 639 640 640 641 -[[image:1 652423628833-467.png||height="357" width="755"]]641 +[[image:image-20240419150452-9.png||height="761" width="1098"]] 642 642 643 643 644 644 (% style="color:red" %)**Note:** ... ... @@ -653,7 +653,7 @@ 653 653 === 5.3.2 LoRaWAN ~-~-> LoRaWAN ~-~- Basic Station === 654 654 655 655 656 -[[image:image-20230406172421-1.png]] 656 +[[image:image-20230406172421-1.png||height="563" width="1089"]] 657 657 658 658 659 659 ((( ... ... @@ -774,7 +774,7 @@ 774 774 ((( 775 775 776 776 777 -(% style="color:#037691"data-sider-select-id="00e0325f-1698-4166-b578-eba5340e7e8e" %)**__System Password:__**777 +(% data-sider-select-id="00e0325f-1698-4166-b578-eba5340e7e8e" style="color:#037691" %)**__System Password:__** 778 778 ))) 779 779 780 780 ((( ... ... @@ -791,22 +791,39 @@ 791 791 792 792 ((( 793 793 (% data-sider-select-id="be6bdce7-110b-4367-bcd5-d176d288153e" %) 794 -(% style="color:#037691"data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface.794 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface. 795 795 796 796 (% data-sider-select-id="0e3c0e0e-5796-4a1a-b3da-cdfc059c383d" %) 797 -(% style="color:#037691"data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" %)**__Fallback Settings: __**(%%)Enable/Disable the Fallback interface.797 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Fallback Settings: __**(%%)Enable/Disable the Fallback interface. 798 798 799 -(% style="color:#037691"data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" %)**__Keepalive_Script: __**(%%)Set the keepalive_scrpt interval.799 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Keepalive_Script: __**(%%)Set the keepalive_scrpt interval. 800 800 801 -(% style="color:#037691"data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" %)**__Logread Level: __**(%%)Change the logread level.801 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Logread Level: __**(%%)Change the logread level. 802 802 803 803 (% data-sider-select-id="2140bc4a-c71f-4387-845a-510c0b050940" %) 804 -(% style="color:#037691"data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" %)**__Eable Internet Detect and Recover: __**(%%)Enable/Disable the Internet Detect interface,Internet Detect is enabled by default. When there is no gateway network, it will reboot after 15 minutes.804 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Eable Internet Detect and Recover: __**(%%)Enable/Disable the Internet Detect interface,Internet Detect is enabled by default. When there is no gateway network, it will reboot after 15 minutes. 805 805 806 + 807 +=== (% data-sider-select-id="7b902d7f-391d-4277-92fc-77ddd2546b9a" %)5.6.3 System ~-~-> (%%)Backup/Restore Config === 808 + 809 + 810 +[[image:image-20240419145717-7.png||height="240" width="890"]] 811 + 812 + 813 +(% data-sider-select-id="f13ff9e2-da2d-4df6-a9e9-427b7c0e69e5" %) 814 +=== (% data-sider-select-id="7b902d7f-391d-4277-92fc-77ddd2546b9a" %)5.6.4 System ~-~-> (%%)Remote.it === 815 + 816 +In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 817 + 818 +the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]** 819 + 820 +[[image:image-20240419150201-8.png||height="535" width="882"]] 821 + 822 + 806 806 807 807 ))) 808 808 809 -=== (% data-sider-select-id="7b902d7f-391d-4277-92fc-77ddd2546b9a" %)5.6. 3System ~-~-> Remote Mgnt & Auto Provision(%%) ===826 +=== (% data-sider-select-id="7b902d7f-391d-4277-92fc-77ddd2546b9a" %)5.6.5 System ~-~-> Remote Mgnt & Auto Provision(%%) === 810 810 811 811 812 812 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: ... ... @@ -840,7 +840,7 @@ 840 840 [[image:1652429624400-864.png||height="432" width="716"]] 841 841 842 842 843 -=== (% data-sider-select-id="48301489-7b19-464f-b442-96a6168a5e70" %)5.6. 4System ~-~-> Firmware Upgrade(%%) ===860 +=== (% data-sider-select-id="48301489-7b19-464f-b442-96a6168a5e70" %)5.6.6 System ~-~-> Firmware Upgrade(%%) === 844 844 845 845 846 846 We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. ... ... @@ -897,7 +897,7 @@ 897 897 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 898 898 899 899 900 -=== (% data-sider-select-id="373b3cff-3336-4ea9-b2e3-80b269a25dbb" %)5.6. 5System ~-~-> Reboot/Reset(%%) ===917 +=== (% data-sider-select-id="373b3cff-3336-4ea9-b2e3-80b269a25dbb" %)5.6.7 System ~-~-> Reboot/Reset(%%) === 901 901 902 902 903 903 [[image:1652430197132-330.png||height="256" width="724"]] ... ... @@ -906,7 +906,7 @@ 906 906 907 907 ))) 908 908 909 -=== (% data-sider-select-id="cc442f8d-4584-40ca-9073-38550c568e23" %)5.6. 6System ~-~-> Package Maintain(%%) ===926 +=== (% data-sider-select-id="cc442f8d-4584-40ca-9073-38550c568e23" %)5.6.8 System ~-~-> Package Maintain(%%) === 910 910 911 911 912 912 [[image:1657156199070-491.png]] ... ... @@ -950,10 +950,35 @@ 950 950 951 951 = 6. More features = 952 952 953 -== 6.1 Packet Filtering == 954 954 971 +== (% data-sider-select-id="2ef025e3-4214-4b1c-bb01-ee03e1db2bc2" %)6.1 NTP Service/Time Synchronization(%%) == 955 955 973 +The gateway time sync service is provided by ntpd 974 + 975 +=== 1). Modify the NTP server address: === 976 + 977 +(% class="box" %) 956 956 ((( 979 +~#~##Linux command 980 + 981 +uci set system.ntp.server='0.openwrt.pool.ntp.org' #Required 982 + 983 +uci add_list system.ntp.server='1.openwrt.pool.ntp.org' #Optional 984 + 985 +uci add_list system.ntp.server='2.openwrt.pool.ntp.org' #Optional 986 + 987 +uci add_list system.ntp.server='3.openwrt.pool.ntp.org' #Optional 988 + 989 +uci commit system #Required 990 +))) 991 + 992 +**Note: If the NTP server is a Windows host, it may cause the time synchronization to fail, ** 993 + 994 + 995 +== (% data-sider-select-id="9ae226bc-051a-4d47-8a2f-13187e54c382" %)6.2 Packet Filtering(%%) == 996 + 997 + 998 +((( 957 957 Drop unwanted packets. 958 958 ))) 959 959 ... ... @@ -962,7 +962,7 @@ 962 962 ))) 963 963 964 964 965 -== 6. 2Remote Access ==1007 +== (% data-sider-select-id="b5a1b47f-bee3-4d68-961d-5c81b48ab3e4" %)6.3 Remote Access(%%) == 966 966 967 967 968 968 ((( ... ... @@ -974,7 +974,7 @@ 974 974 ))) 975 975 976 976 977 -== 6 .3 How to decode ABP LoRaWAN node ==1019 +== (% data-sider-select-id="42a860ac-f871-40fc-8711-dd435b46239b" %)6.4 How to decode ABP LoRaWAN node(%%) == 978 978 979 979 980 980 ((( ... ... @@ -986,7 +986,7 @@ 986 986 ))) 987 987 988 988 989 -== 6 .4 How to set data to MQTT broker ==1031 +== (% data-sider-select-id="1e2d672a-9400-44cc-82db-3946bd1cc49e" %)6.5 How to set data to MQTT broker(%%) == 990 990 991 991 992 992 ((( ... ... @@ -997,7 +997,7 @@ 997 997 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 998 998 999 999 1000 -== 6. 5How the gateway connects to Chirpstack v3/v4 via gateway-bridge ==1042 +== (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)6.6 How the gateway connects to Chirpstack v3/v4 via gateway-bridge(%%) == 1001 1001 1002 1002 1003 1003 If the Chirpstack v3 Gateway-bridge is used, the corresponding gateway firmware must be used : ... ... @@ -1021,9 +1021,66 @@ 1021 1021 After updating the Chirpstack gateway-bridge firmware, there is no need to re-download and install the Chirpstack gateway-bridge package 1022 1022 1023 1023 1024 -== 6.6 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive). == 1066 +(% data-sider-select-id="eb4b3bf2-9e33-4650-b4d6-1bc049896baa" %) 1067 +== (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)6.7 (%%)How does the gateway connect to (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)Chirpstack(%%) via MQTT Forwarder == 1025 1025 1026 1026 1070 +(% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %) 1071 +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. 1072 + 1073 + 1074 +(% data-sider-select-id="73a14e4a-5128-4f13-8207-7837c412ff54" %) 1075 +=== 6.7.1 Configure Packet Forwarder === 1076 + 1077 + 1078 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700. 1079 + 1080 +(% data-sider-select-id="2972d256-3078-403f-9e33-3740a5869405" %) 1081 +By default, the web-interface can be accessed by entering the following URL in your browser: (% data-sider-select-id="a9e64ab2-7a80-4174-b834-dba4904e3c85" %)**https:~/~/GATEWAY-IP-ADDRESS:8000**(%%) (replace GATEWAY-IP-ADDRESS by the actual IP address of your gateway). The default credentials are (% data-sider-select-id="16f9bbed-ffd7-4881-9cd1-33332f063857" %)**root / dragino**(%%). 1082 + 1083 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 1084 +* Configure the following settings: 1085 +** **Service Provider:** //Custom / Private LoRaWAN// 1086 +** **Server Address:** //localhost// 1087 +** **Uplink Port:** //1700// 1088 +** **Downlink Port:** //1700// 1089 +* Click **Save&Apply** 1090 + 1091 +[[image:image-20240518114149-2.png||height="683" width="876"]] 1092 + 1093 + 1094 +(% data-sider-select-id="7ada6cd9-b472-473e-b709-31db23947a9c" %) 1095 +=== 6.7.2 Install ChirpStack MQTT Forwarder === 1096 + 1097 +==== ==== 1098 + 1099 +(% data-sider-select-id="cd761ad9-41f8-4cc3-8dc8-cf25ebe79e69" %) 1100 +(% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login** 1101 + 1102 +(% data-sider-select-id="f4b22a8a-3b87-4cc7-b4ed-451fdd8aa9a7" %) 1103 +First user must login into the gateway using SSH,user can refer to the link to access the Linux console via SSH to the gateway: 1104 + 1105 +**[[SSH Access for Linux console>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H7.A0LinuxSystem||data-sider-select-id="27b6862a-68e4-4f69-a5b2-b33d8a06a09c"]]** 1106 + 1107 + 1108 +(% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %) 1109 +(% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK** 1110 + 1111 +Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package: 1112 + 1113 +(% class="box infomessage" data-sider-select-id="b970d0e5-64ca-47c8-8c9c-6261200a719f" %) 1114 +((( 1115 +cd /tmp 1116 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1117 +))) 1118 + 1119 +[[image:image-20240518115955-3.png]] 1120 + 1121 + 1122 + 1123 +== (% data-sider-select-id="7800ac49-e340-4225-b076-fa02aeef43b6" %)6.8 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive).(%%) == 1124 + 1125 + 1027 1027 USB card reader plugged into the USB port of the gateway 1028 1028 1029 1029 ... ... @@ -1058,13 +1058,13 @@ 1058 1058 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20230425173831-3.png?width=833&height=105&rev=1.1||alt="image-20230425173831-3.png"]] 1059 1059 1060 1060 1061 -== 6. 7More instructions ==1160 +== (% data-sider-select-id="549c1118-9953-4d63-b060-f29990a0efff" %)6.9 More instructions(%%) == 1062 1062 1063 1063 1064 1064 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 1065 1065 1066 1066 1067 -== 6 .8 Auto-Provision ==1166 +== (% data-sider-select-id="259fae0e-46c2-4483-8d6a-2025695cbb8e" %)6.10 Auto-Provision(%%) == 1068 1068 1069 1069 1070 1070 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: ... ... @@ -1089,7 +1089,7 @@ 1089 1089 1090 1090 (% style="display:none" %) (%%) 1091 1091 1092 -== 7.1 SSH Access for Linux console == 1191 +== (% data-sider-select-id="ea0a026a-c7f9-42a6-8a0c-4c805370b1dc" %)7.1 SSH Access for Linux console(%%) == 1093 1093 1094 1094 1095 1095 User can access the Linux console via the SSH protocol. Make sure your PC and the LPS8N are connected to the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows) to access it.
- image-20240419150201-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40.9 KB - Content
- image-20240419150452-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +81.9 KB - Content
- image-20240518114103-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +66.7 KB - Content
- image-20240518114149-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.5 KB - Content
- image-20240518115955-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.4 KB - Content