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 (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 9 removed)
Details
- Page properties
-
- 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"]]: This (% style="color:green" %)**GREENLED**(%%) will be **solidon** ifhe device enablelWiFi AP.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 function yet. 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: image-20241231155446-1.jpeg||height="263" width="888"]]294 +[[image:1657090855037-497.png]] 295 295 296 296 ((( 297 297 ... ... @@ -312,9 +312,6 @@ 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 Debug if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 317 - 318 318 == 3.5 Check Internet connection == 319 319 320 320 ... ... @@ -757,7 +757,6 @@ 757 757 758 758 (% style="color:red" %)**Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected.** 759 759 760 -When cellular fails to connect or has problems, users can refer to this link to Trouble Shooting:**[[How to Debug if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 761 761 762 762 == (% data-sider-select-id="9da31818-a029-4f0a-b9ff-645e219e4f4e" %)5.6 System(%%) == 763 763 ... ... @@ -980,22 +980,18 @@ 980 980 981 981 (% class="box" %) 982 982 ((( 983 - ~#~##Linuxcommand979 +uci set system.ntp.server='0.openwrt.pool.ntp.org' 984 984 985 -uci s et system.ntp.server='0.openwrt.pool.ntp.org'#Required981 +uci add_list system.ntp.server='1.openwrt.pool.ntp.org' 986 986 987 -uci add_list system.ntp.server=' 1.openwrt.pool.ntp.org'#Optional983 +uci add_list system.ntp.server='2.openwrt.pool.ntp.org' 988 988 989 -uci add_list system.ntp.server=' 2.openwrt.pool.ntp.org'#Optional985 +uci add_list system.ntp.server='3.openwrt.pool.ntp.org' 990 990 991 -uci add_list system.ntp.server='3.openwrt.pool.ntp.org' #Optional 992 - 993 -uci commit system #Required 987 +uci commit system 994 994 ))) 995 995 996 -**Note: If the NTP server is a Windows host, it may cause the time synchronization to fail, ** 997 997 998 - 999 999 == (% data-sider-select-id="9ae226bc-051a-4d47-8a2f-13187e54c382" %)6.2 Packet Filtering(%%) == 1000 1000 1001 1001 ... ... @@ -1067,143 +1067,9 @@ 1067 1067 After updating the Chirpstack gateway-bridge firmware, there is no need to re-download and install the Chirpstack gateway-bridge package 1068 1068 1069 1069 1070 -(% data-sider-select-id="eb4b3bf2-9e33-4650-b4d6-1bc049896baa" %) 1071 -== (% 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(%%) == 1062 +== (% 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 1072 1073 1073 1074 -(% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %) 1075 -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. 1076 - 1077 - 1078 -(% data-sider-select-id="73a14e4a-5128-4f13-8207-7837c412ff54" %) 1079 -=== 6.7.1 Configure Packet Forwarder === 1080 - 1081 - 1082 -In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700. 1083 - 1084 -(% data-sider-select-id="2972d256-3078-403f-9e33-3740a5869405" %) 1085 -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**(%%). 1086 - 1087 -* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 1088 -* Configure the following settings: 1089 -** **Service Provider:** //Custom / Private LoRaWAN// 1090 -** **Server Address:** //localhost// 1091 -** **Uplink Port:** //1700// 1092 -** **Downlink Port:** //1700// 1093 -* Click **Save&Apply** 1094 - 1095 -[[image:image-20240518114149-2.png||height="683" width="876"]] 1096 - 1097 - 1098 -(% data-sider-select-id="7ada6cd9-b472-473e-b709-31db23947a9c" %) 1099 -=== 6.7.2 Install ChirpStack MQTT Forwarder === 1100 - 1101 - 1102 -(% data-sider-select-id="cd761ad9-41f8-4cc3-8dc8-cf25ebe79e69" %) 1103 -(% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login** 1104 - 1105 -(% data-sider-select-id="f4b22a8a-3b87-4cc7-b4ed-451fdd8aa9a7" %) 1106 -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"]]** 1107 - 1108 - 1109 -(% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %) 1110 -(% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK** 1111 - 1112 -Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package: 1113 - 1114 -(% class="box infomessage" data-sider-select-id="b970d0e5-64ca-47c8-8c9c-6261200a719f" %) 1115 -((( 1116 -cd /tmp 1117 -wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1118 -))) 1119 - 1120 - 1121 -(% data-sider-select-id="27190188-ef2a-4d53-8b94-c4653b69b266" %) 1122 -(% data-sider-select-id="3fe3ef50-33b9-4c6b-b228-7364e01382f3" %)**Install IPK** 1123 - 1124 -Use the opkg package-manager to install the downloaded package. Example: 1125 - 1126 -(% class="box infomessage" data-sider-select-id="86f1197c-5aaf-4a1b-a21f-09266a2805e7" %) 1127 -((( 1128 -opkg install chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1129 -))) 1130 - 1131 -[[image:image-20240518134824-5.png]] 1132 - 1133 - 1134 -(% data-sider-select-id="e8065348-1a8e-45a9-bb73-171b9322d2b2" %) 1135 -(% data-sider-select-id="e9401e38-e30d-4c39-94fa-927c9a40e151" %)**Configuration** 1136 - 1137 -(% data-sider-select-id="2a70737e-070b-4a83-a474-2fef1076a006" %) 1138 -To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file. 1139 - 1140 -(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1141 -This file is located at: (% data-sider-select-id="b010c8b8-6367-49bf-9c2e-3ee0b8a6ef0e" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml** 1142 - 1143 - 1144 -(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1145 -(% data-sider-select-id="fab61fd5-2c9f-4b72-9b65-457dca26cbd0" %)**ChirpStack MQTT Forwarder Setting:** 1146 - 1147 -(% class="box" data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1148 -((( 1149 -topic_prefix ~-~-> This corresponds to the frequency of the ChirpStack server 1150 - 1151 -server ~-~-> Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883 1152 -))) 1153 - 1154 -(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1155 -username,password,ca_cert,tls_cert,tls_key parameters should be set as required. 1156 - 1157 - 1158 -Use commands to modify configuration files: 1159 - 1160 -(% class="box infomessage" data-sider-select-id="b84cf72d-69e4-441c-a8fb-bd21a500d223" %) 1161 -((( 1162 -vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml 1163 -))) 1164 - 1165 -[[image:image-20240518141059-6.png]] 1166 - 1167 - 1168 -(% data-sider-select-id="3312b6d5-334c-43ae-8cd9-2f73989940e2" %) 1169 -(% data-sider-select-id="2b334f7c-35d3-4771-8b17-5760685430ac" %)**(Re)start and stop commands** 1170 - 1171 -(% data-sider-select-id="b8175b05-70b1-4251-97a1-8c0b2644e4d4" %) 1172 -Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service: 1173 - 1174 -(% class="box infomessage" data-sider-select-id="fc0e9684-3620-4f52-8045-9f6b7dd083e3" %) 1175 -((( 1176 -# start 1177 - 1178 -(% data-sider-select-id="5a644c5c-1ca5-4680-877e-c6aecd21f9de" %) 1179 -/etc/init.d/chirpstack-mqtt-forwarder start 1180 - 1181 -# stop 1182 - 1183 -/etc/init.d/chirpstack-mqtt-forwarder stop 1184 - 1185 -# restart 1186 - 1187 -/etc/init.d/chirpstack-mqtt-forwarder restart 1188 -))) 1189 - 1190 -(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1191 -(% data-sider-select-id="fcef88f4-ef44-4459-9154-6cd154c5b298" %)**Check result** 1192 - 1193 -(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1194 -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. 1195 - 1196 -[[image:image-20240518142300-7.png]] 1197 - 1198 -(% data-sider-select-id="a4ab5ddc-dbfe-4c41-ac6e-6159b517d02f" %) 1199 -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. 1200 - 1201 -[[image:image-20240518143050-8.png||height="702" width="1170"]] 1202 - 1203 - 1204 -== (% 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).(%%) == 1205 - 1206 - 1207 1207 USB card reader plugged into the USB port of the gateway 1208 1208 1209 1209 ... ... @@ -1238,13 +1238,13 @@ 1238 1238 [[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"]] 1239 1239 1240 1240 1241 -== (% data-sider-select-id="549c1118-9953-4d63-b060-f29990a0efff" %)6. 9More instructions(%%) ==1099 +== (% data-sider-select-id="549c1118-9953-4d63-b060-f29990a0efff" %)6.8 More instructions(%%) == 1242 1242 1243 1243 1244 1244 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 1245 1245 1246 1246 1247 -== (% data-sider-select-id="259fae0e-46c2-4483-8d6a-2025695cbb8e" %)6. 10Auto-Provision(%%) ==1105 +== (% data-sider-select-id="259fae0e-46c2-4483-8d6a-2025695cbb8e" %)6.9 Auto-Provision(%%) == 1248 1248 1249 1249 1250 1250 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: ... ... @@ -1269,7 +1269,7 @@ 1269 1269 1270 1270 (% style="display:none" %) (%%) 1271 1271 1272 -== (% data-sider-select-id="ea0a026a-c7f9-42a6-8a0c-4c805370b1dc" %)7.1 SSH Access for Linux console(%%)==1130 +== 7.1 SSH Access for Linux console == 1273 1273 1274 1274 1275 1275 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. ... ... @@ -1288,7 +1288,6 @@ 1288 1288 [[image:1657158198733-338.png]] 1289 1289 1290 1290 1291 -(% data-sider-select-id="d80817f0-5014-49db-a781-63e9c9f0527f" %) 1292 1292 The “** (% style="background-color:yellow" %)logread -f(%%)**(% style="background-color:yellow" %)” (%%)command can be used to debug how system runs. 1293 1293 1294 1294
- image-20240518114103-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -66.7 KB - Content
- image-20240518114149-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -65.5 KB - Content
- image-20240518115955-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.4 KB - Content
- image-20240518134543-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.6 KB - Content
- image-20240518134824-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.6 KB - Content
- image-20240518141059-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.0 KB - Content
- image-20240518142300-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -122.9 KB - Content
- image-20240518143050-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -81.8 KB - Content
- image-20241231155446-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.4 MB - Content