Changes for page LPS8N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2025/03/08 14:39
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Edwin - Content
-
... ... @@ -129,7 +129,7 @@ 129 129 LPS8N has totally four LEDs, They are: 130 130 131 131 * **Power LED **[[image:image-20220706115518-1.png||height="15" width="16"]] : This (% style="color:red" %)**RED LED**(%%) will be **solid on** if the device is properly powered. 132 -* **Wireless LED** [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LG308N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20220705165446-6.png?width=15&height=15&rev=1.1||alt="image-20220705165446-6.png" height="15" width="15"]]: No functionyet.132 +* **Wireless LED** [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LG308N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20220705165446-6.png?width=15&height=15&rev=1.1||alt="image-20220705165446-6.png" height="15" width="15"]]: This (% style="color:green" %)**GREEN LED**(%%) will be **solid on** if the device enablel WiFi AP. 133 133 * **SYS LED ** [[image:image-20220706115518-3.png||height="16" width="16"]] : This **RGB LED** will shows different colors on different state: 134 134 ** (% style="color:blue" %)**SOLID BLUE**(%%): Device is alive with LoRaWAN server connection. 135 135 ** (% style="color:blue" %)**BLINKING BLUE**(%%): a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will (% style="color:blue" %)**BLINKING BLUE**(%%) for several seconds and then with (% style="color:red" %)**SOLID RED**(%%) and (% style="color:blue" %)**BLINKING BLUE**(%%) together ... ... @@ -291,7 +291,7 @@ 291 291 ))) 292 292 293 293 294 -[[image:1 657090855037-497.png]]294 +[[image:image-20241231155446-1.jpeg||height="263" width="888"]] 295 295 296 296 ((( 297 297 ... ... @@ -312,6 +312,9 @@ 312 312 ))) 313 313 314 314 315 + 316 +When cellular fails to connect or has problems, users can refer to this link to Trouble Shooting:**[[How to Trouble Shooting if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 317 + 315 315 == 3.5 Check Internet connection == 316 316 317 317 ... ... @@ -754,6 +754,7 @@ 754 754 755 755 (% style="color:red" %)**Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected.** 756 756 760 +When cellular fails to connect or has problems, users can refer to this link to Trouble Shooting:**[[How to Trouble Shooting if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 757 757 758 758 == (% data-sider-select-id="9da31818-a029-4f0a-b9ff-645e219e4f4e" %)5.6 System(%%) == 759 759 ... ... @@ -849,7 +849,7 @@ 849 849 (% style="display:none" %) (%%) 850 850 851 851 ((( 852 -R-SSH is for remote access device and management, introduction for how to use: [[Remote Access Gateway>>doc :Main.Monitor&RemoteWebHome]]856 +R-SSH is for remote access device and management, introduction for how to use: **[[Remote Access Gateway>>https://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/#H3.A0RSSHIntroduction]]** 853 853 854 854 855 855 ))) ... ... @@ -963,6 +963,8 @@ 963 963 964 964 This interface can record gateway logs: 965 965 970 +For issue debug. User can **Start Log ~-~-> Wait for 10 minutes ~-~-> Stop Log** . Make sure this period include where issue happen. And then send the log to Dragino to debug. 971 + 966 966 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20240416112510-2.png?width=870&height=296&rev=1.1||alt="image-20240416112510-2.png"]] 967 967 968 968 = 6. More features = ... ... @@ -976,19 +976,22 @@ 976 976 977 977 (% class="box" %) 978 978 ((( 979 - uciset system.ntp.server='0.openwrt.pool.ntp.org'985 +~#~##Linux command 980 980 981 -uci add_list system.ntp.server='1.openwrt.pool.ntp.org'987 +uci set system.ntp.server='0.openwrt.pool.ntp.org' #Required 982 982 983 -uci add_list system.ntp.server=' 2.openwrt.pool.ntp.org'989 +uci add_list system.ntp.server='1.openwrt.pool.ntp.org' #Optional 984 984 985 -uci add_list system.ntp.server=' 3.openwrt.pool.ntp.org'991 +uci add_list system.ntp.server='2.openwrt.pool.ntp.org' #Optional 986 986 987 -uci commit system 993 +uci add_list system.ntp.server='3.openwrt.pool.ntp.org' #Optional 994 + 995 +uci commit system #Required 988 988 ))) 989 989 990 - ======998 +**Note: If the NTP server is a Windows host, it may cause the time synchronization to fail, ** 991 991 1000 + 992 992 == (% data-sider-select-id="9ae226bc-051a-4d47-8a2f-13187e54c382" %)6.2 Packet Filtering(%%) == 993 993 994 994 ... ... @@ -1060,9 +1060,143 @@ 1060 1060 After updating the Chirpstack gateway-bridge firmware, there is no need to re-download and install the Chirpstack gateway-bridge package 1061 1061 1062 1062 1063 -== (% data-sider-select-id="7800ac49-e340-4225-b076-fa02aeef43b6" %)6.7 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive).(%%) == 1072 +(% data-sider-select-id="eb4b3bf2-9e33-4650-b4d6-1bc049896baa" %) 1073 +== (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)6.7 (% data-sider-select-id="1ae6690c-7910-44d5-999b-cd3b05be575f" %)How does the gateway connect to (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)Chirpstack(% data-sider-select-id="1ae6690c-7910-44d5-999b-cd3b05be575f" %) via MQTT Forwarder(%%) == 1064 1064 1065 1065 1076 +(% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %) 1077 +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. 1078 + 1079 + 1080 +(% data-sider-select-id="73a14e4a-5128-4f13-8207-7837c412ff54" %) 1081 +=== 6.7.1 Configure Packet Forwarder === 1082 + 1083 + 1084 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700. 1085 + 1086 +(% data-sider-select-id="2972d256-3078-403f-9e33-3740a5869405" %) 1087 +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**(%%). 1088 + 1089 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 1090 +* Configure the following settings: 1091 +** **Service Provider:** //Custom / Private LoRaWAN// 1092 +** **Server Address:** //localhost// 1093 +** **Uplink Port:** //1700// 1094 +** **Downlink Port:** //1700// 1095 +* Click **Save&Apply** 1096 + 1097 +[[image:image-20240518114149-2.png||height="683" width="876"]] 1098 + 1099 + 1100 +(% data-sider-select-id="7ada6cd9-b472-473e-b709-31db23947a9c" %) 1101 +=== 6.7.2 Install ChirpStack MQTT Forwarder === 1102 + 1103 + 1104 +(% data-sider-select-id="cd761ad9-41f8-4cc3-8dc8-cf25ebe79e69" %) 1105 +(% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login** 1106 + 1107 +(% data-sider-select-id="f4b22a8a-3b87-4cc7-b4ed-451fdd8aa9a7" %) 1108 +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: **[[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"]]** 1109 + 1110 + 1111 +(% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %) 1112 +(% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK** 1113 + 1114 +Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package: 1115 + 1116 +(% class="box infomessage" data-sider-select-id="b970d0e5-64ca-47c8-8c9c-6261200a719f" %) 1117 +((( 1118 +cd /tmp 1119 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1120 +))) 1121 + 1122 + 1123 +(% data-sider-select-id="27190188-ef2a-4d53-8b94-c4653b69b266" %) 1124 +(% data-sider-select-id="3fe3ef50-33b9-4c6b-b228-7364e01382f3" %)**Install IPK** 1125 + 1126 +Use the opkg package-manager to install the downloaded package. Example: 1127 + 1128 +(% class="box infomessage" data-sider-select-id="86f1197c-5aaf-4a1b-a21f-09266a2805e7" %) 1129 +((( 1130 +opkg install chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1131 +))) 1132 + 1133 +[[image:image-20240518134824-5.png]] 1134 + 1135 + 1136 +(% data-sider-select-id="e8065348-1a8e-45a9-bb73-171b9322d2b2" %) 1137 +(% data-sider-select-id="e9401e38-e30d-4c39-94fa-927c9a40e151" %)**Configuration** 1138 + 1139 +(% data-sider-select-id="2a70737e-070b-4a83-a474-2fef1076a006" %) 1140 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file. 1141 + 1142 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1143 +This file is located at: (% data-sider-select-id="b010c8b8-6367-49bf-9c2e-3ee0b8a6ef0e" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml** 1144 + 1145 + 1146 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1147 +(% data-sider-select-id="fab61fd5-2c9f-4b72-9b65-457dca26cbd0" %)**ChirpStack MQTT Forwarder Setting:** 1148 + 1149 +(% class="box" data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1150 +((( 1151 +topic_prefix ~-~-> This corresponds to the frequency of the ChirpStack server 1152 + 1153 +server ~-~-> Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883 1154 +))) 1155 + 1156 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1157 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required. 1158 + 1159 + 1160 +Use commands to modify configuration files: 1161 + 1162 +(% class="box infomessage" data-sider-select-id="b84cf72d-69e4-441c-a8fb-bd21a500d223" %) 1163 +((( 1164 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml 1165 +))) 1166 + 1167 +[[image:image-20240518141059-6.png]] 1168 + 1169 + 1170 +(% data-sider-select-id="3312b6d5-334c-43ae-8cd9-2f73989940e2" %) 1171 +(% data-sider-select-id="2b334f7c-35d3-4771-8b17-5760685430ac" %)**(Re)start and stop commands** 1172 + 1173 +(% data-sider-select-id="b8175b05-70b1-4251-97a1-8c0b2644e4d4" %) 1174 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service: 1175 + 1176 +(% class="box infomessage" data-sider-select-id="fc0e9684-3620-4f52-8045-9f6b7dd083e3" %) 1177 +((( 1178 +# start 1179 + 1180 +(% data-sider-select-id="5a644c5c-1ca5-4680-877e-c6aecd21f9de" %) 1181 +/etc/init.d/chirpstack-mqtt-forwarder start 1182 + 1183 +# stop 1184 + 1185 +/etc/init.d/chirpstack-mqtt-forwarder stop 1186 + 1187 +# restart 1188 + 1189 +/etc/init.d/chirpstack-mqtt-forwarder restart 1190 +))) 1191 + 1192 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1193 +(% data-sider-select-id="fcef88f4-ef44-4459-9154-6cd154c5b298" %)**Check result** 1194 + 1195 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1196 +Use "(% data-sider-select-id="494c67e8-3e62-45ee-8464-e2bb33057003" %)** **(%%)(% data-sider-select-id="494c67e8-3e62-45ee-8464-e2bb33057003" style="background-color:yellow" %)**logread -f **(%%)" to check the operation of ChirpStack MQTT Forwarder. 1197 + 1198 +[[image:image-20240518142300-7.png]] 1199 + 1200 +(% data-sider-select-id="a4ab5ddc-dbfe-4c41-ac6e-6159b517d02f" %) 1201 +Go back to the Chirpstack server to check whether the gateway is (% data-sider-select-id="0689bd86-c7a8-4831-b064-d1c4ed6241e5" %)**"online"**(%%) and whether the packets are displayed normally. 1202 + 1203 +[[image:image-20240518143050-8.png||height="702" width="1170"]] 1204 + 1205 + 1206 +== (% 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).(%%) == 1207 + 1208 + 1066 1066 USB card reader plugged into the USB port of the gateway 1067 1067 1068 1068 ... ... @@ -1097,13 +1097,13 @@ 1097 1097 [[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"]] 1098 1098 1099 1099 1100 -== (% data-sider-select-id="549c1118-9953-4d63-b060-f29990a0efff" %)6. 8More instructions(%%) ==1243 +== (% data-sider-select-id="549c1118-9953-4d63-b060-f29990a0efff" %)6.9 More instructions(%%) == 1101 1101 1102 1102 1103 1103 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 1104 1104 1105 1105 1106 -== (% data-sider-select-id="259fae0e-46c2-4483-8d6a-2025695cbb8e" %)6. 9Auto-Provision(%%) ==1249 +== (% data-sider-select-id="259fae0e-46c2-4483-8d6a-2025695cbb8e" %)6.10 Auto-Provision(%%) == 1107 1107 1108 1108 1109 1109 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: ... ... @@ -1128,7 +1128,7 @@ 1128 1128 1129 1129 (% style="display:none" %) (%%) 1130 1130 1131 -== 7.1 SSH Access for Linux console == 1274 +== (% data-sider-select-id="ea0a026a-c7f9-42a6-8a0c-4c805370b1dc" %)7.1 SSH Access for Linux console(%%) == 1132 1132 1133 1133 1134 1134 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. ... ... @@ -1147,6 +1147,7 @@ 1147 1147 [[image:1657158198733-338.png]] 1148 1148 1149 1149 1293 +(% data-sider-select-id="d80817f0-5014-49db-a781-63e9c9f0527f" %) 1150 1150 The “** (% style="background-color:yellow" %)logread -f(%%)**(% style="background-color:yellow" %)” (%%)command can be used to debug how system runs. 1151 1151 1152 1152
- 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
- image-20240518134543-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.6 KB - Content
- image-20240518134824-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.6 KB - Content
- image-20240518141059-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.0 KB - Content
- image-20240518142300-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +122.9 KB - Content
- image-20240518143050-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +81.8 KB - Content
- image-20241231155446-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.4 MB - Content