Changes for page DLOS8N - Outdoor LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2025/03/08 14:35
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -373,6 +373,8 @@ 373 373 (% style="color:red" %)**Note** ***: For DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected.** 374 374 375 375 376 +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>>url:https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 377 + 376 376 == 3.5 Check Internet connection == 377 377 378 378 ... ... @@ -519,7 +519,7 @@ 519 519 [[image:1652422763536-750.png||height="514" width="730"]] 520 520 521 521 522 -== 4.4 Add a LoRaWAN End Device == 524 +== (% data-sider-select-id="5bc80c23-9f00-4475-8de0-dc684ffabb7d" %)4.4 Add a LoRaWAN End Device(%%) == 523 523 524 524 525 525 ((( ... ... @@ -636,7 +636,7 @@ 636 636 [[image:image-20220916113702-4.png||height="331" width="727"]] 637 637 638 638 639 -== 5.2 LoRa Settings == 641 +== (% data-sider-select-id="f01d6e3f-c35d-47d2-9a33-65fdc9b3a72e" %)5.2 LoRa Settings(%%) == 640 640 641 641 === 5.2.1 LoRa ~-~-> LoRa === 642 642 ... ... @@ -680,14 +680,14 @@ 680 680 [[image:image-20220916114346-7.png||height="363" width="886"]] 681 681 682 682 683 -== 5.3 LoRaWAN Settings == 685 +== (% data-sider-select-id="e4f0e724-e454-4aa9-adc3-2d2fb381a93c" %)5.3 LoRaWAN Settings(%%) == 684 684 685 -=== 5.3.1 LoRaWAN ~-~-> LoRaWAN===687 +=== (% data-sider-select-id="46832cd3-1415-4286-a897-1fbda6ed3a2a" %)5.3.1 LoRaWAN ~-~-> Semtech UDP(%%) === 686 686 687 687 688 688 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. 689 689 690 -[[image:image-202 20916114929-8.png||height="716" width="871"]]692 +[[image:image-20240517101310-1.png||height="656" width="879"]] 691 691 692 692 693 693 (% style="color:red" %)**Note:** ... ... @@ -791,6 +791,7 @@ 791 791 (% data-sider-select-id="9cc42c8b-0049-4b4b-b053-5aa0175dcdb7" %) 792 792 (% data-sider-select-id="1470493c-3c33-42a0-89eb-132d9554b028" %)**Note *: For DLOS8N which doesn't have the cellular module, this page will shows Cellular not detected.** 793 793 796 +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>>url:https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 794 794 795 795 == (% data-sider-select-id="b34f40d0-e802-4e45-8a8c-6620e692699e" %)5.6 System(%%) == 796 796 ... ... @@ -873,7 +873,7 @@ 873 873 ))) 874 874 875 875 876 -R-SSH is for remote access device and management, introduction for how to use: **[[Remote Access Gateway>>doc :Main.Monitor&RemoteWebHome]]**879 +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]]** 877 877 878 878 [[image:image-20220916140017-16.png||height="619" width="911"]] 879 879 ... ... @@ -976,17 +976,42 @@ 976 976 977 977 [[image:image-20240416112510-2.png||height="296" width="870"]] 978 978 979 -= 6. More features = 982 += (% data-sider-select-id="53575777-5441-4a56-84e2-d3a229a8ece3" %)6. More features(%%) = 980 980 981 -== 6.1 Packet Filtering == 982 982 985 +== (% data-sider-select-id="2ef025e3-4214-4b1c-bb01-ee03e1db2bc2" %)6.1 NTP Service/Time Synchronization(%%) == 983 983 987 +The gateway time sync service is provided by ntpd 988 + 989 +=== 1). Modify the NTP server address: === 990 + 991 +(% class="box" %) 992 +((( 993 +~#~##Linux command 994 + 995 +uci set system.ntp.server='0.openwrt.pool.ntp.org' #Required 996 + 997 +uci add_list system.ntp.server='1.openwrt.pool.ntp.org' #Optional 998 + 999 +uci add_list system.ntp.server='2.openwrt.pool.ntp.org' #Optional 1000 + 1001 +uci add_list system.ntp.server='3.openwrt.pool.ntp.org' #Optional 1002 + 1003 +uci commit system #Required 1004 +))) 1005 + 1006 +**Note: If the NTP server is a Windows host, it may cause the time synchronization to fail, ** 1007 + 1008 + 1009 +== (% data-sider-select-id="68c5d9c8-0690-4e39-abae-0a921c179211" %)6.2 Packet Filtering(%%) == 1010 + 1011 + 984 984 Drop unwanted packets. 985 985 986 986 See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]] 987 987 988 988 989 -== 6 .2 Remote Access ==1017 +== (% data-sider-select-id="6b98cd6d-f2db-4647-ae38-aee4a3d7227b" %)6.3 Remote Access(%%) == 990 990 991 991 992 992 Remote Access Devices for management. ... ... @@ -994,7 +994,7 @@ 994 994 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access]] 995 995 996 996 997 -== 6 .3 How to decode ABP LoRaWAN node ==1025 +== (% data-sider-select-id="8084465c-aa6f-4536-b97d-383cd952e46c" %)6.4 How to decode ABP LoRaWAN node(%%) == 998 998 999 999 1000 1000 Decode ABP: ... ... @@ -1002,7 +1002,7 @@ 1002 1002 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20~~-~~--%20LG308/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 1003 1003 1004 1004 1005 -== 6 .4 How to set data to MQTT broker ==1033 +== (% data-sider-select-id="a4a3d7bb-c435-47b3-a926-46788a4f9e6f" %)6.5 How to set data to MQTT broker(%%) == 1006 1006 1007 1007 1008 1008 Only support ABP LoRaWAN End Node ... ... @@ -1010,7 +1010,7 @@ 1010 1010 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 1011 1011 1012 1012 1013 -== 6 .5 How the gateway connects to Chirpstack v3/v4 via gateway-bridge ==1041 +== (% data-sider-select-id="0074e70a-5030-4401-916c-b12bd0557d05" %)6.6 How the gateway connects to Chirpstack v3/v4 via gateway-bridge(%%) == 1014 1014 1015 1015 1016 1016 If the Chirpstack v3 Gateway-bridge is used, the corresponding gateway firmware must be used : ... ... @@ -1031,10 +1031,142 @@ 1031 1031 1032 1032 After updating the Chirpstack gateway-bridge firmware, there is no need to re-download and install the Chirpstack gateway-bridge package 1033 1033 1062 +(% data-sider-select-id="eb4b3bf2-9e33-4650-b4d6-1bc049896baa" %) 1063 +== (% 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(%%) == 1034 1034 1035 -== 6.6 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive). == 1036 1036 1066 +(% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %) 1067 +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. 1037 1037 1069 + 1070 +(% data-sider-select-id="73a14e4a-5128-4f13-8207-7837c412ff54" %) 1071 +=== 6.7.1 Configure Packet Forwarder === 1072 + 1073 + 1074 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700. 1075 + 1076 +(% data-sider-select-id="2972d256-3078-403f-9e33-3740a5869405" %) 1077 +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**(%%). 1078 + 1079 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 1080 +* Configure the following settings: 1081 +** **Service Provider:** //Custom / Private LoRaWAN// 1082 +** **Server Address:** //localhost// 1083 +** **Uplink Port:** //1700// 1084 +** **Downlink Port:** //1700// 1085 +* Click **Save&Apply** 1086 + 1087 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518114149-2.png?width=876&height=683&rev=1.1||alt="image-20240518114149-2.png"]] 1088 + 1089 +(% data-sider-select-id="7ada6cd9-b472-473e-b709-31db23947a9c" %) 1090 +=== 6.7.2 Install ChirpStack MQTT Forwarder === 1091 + 1092 + 1093 +(% data-sider-select-id="cd761ad9-41f8-4cc3-8dc8-cf25ebe79e69" %) 1094 +(% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login** 1095 + 1096 +(% data-sider-select-id="f4b22a8a-3b87-4cc7-b4ed-451fdd8aa9a7" %) 1097 +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/DLOS8N/#H7.LinuxSystem||data-sider-select-id="27b6862a-68e4-4f69-a5b2-b33d8a06a09c"]]** 1098 + 1099 + 1100 +(% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %) 1101 +(% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK** 1102 + 1103 +Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package: 1104 + 1105 +(% class="box infomessage" data-sider-select-id="b970d0e5-64ca-47c8-8c9c-6261200a719f" %) 1106 +((( 1107 +cd /tmp 1108 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1109 +))) 1110 + 1111 + 1112 +(% data-sider-select-id="27190188-ef2a-4d53-8b94-c4653b69b266" %) 1113 +(% data-sider-select-id="3fe3ef50-33b9-4c6b-b228-7364e01382f3" %)**Install IPK** 1114 + 1115 +Use the opkg package-manager to install the downloaded package. Example: 1116 + 1117 +(% class="box infomessage" data-sider-select-id="86f1197c-5aaf-4a1b-a21f-09266a2805e7" %) 1118 +((( 1119 +opkg install chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1120 +))) 1121 + 1122 + 1123 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518134824-5.png?rev=1.1||alt="image-20240518134824-5.png"]] 1124 + 1125 +(% data-sider-select-id="e8065348-1a8e-45a9-bb73-171b9322d2b2" %) 1126 +(% data-sider-select-id="e9401e38-e30d-4c39-94fa-927c9a40e151" %)**Configuration** 1127 + 1128 +(% data-sider-select-id="2a70737e-070b-4a83-a474-2fef1076a006" %) 1129 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file. 1130 + 1131 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1132 +This file is located at: (% data-sider-select-id="b010c8b8-6367-49bf-9c2e-3ee0b8a6ef0e" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml** 1133 + 1134 + 1135 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1136 +(% data-sider-select-id="fab61fd5-2c9f-4b72-9b65-457dca26cbd0" %)**ChirpStack MQTT Forwarder Setting:** 1137 + 1138 +(% class="box" data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1139 +((( 1140 +topic_prefix ~-~-> This corresponds to the frequency of the ChirpStack server 1141 + 1142 +server ~-~-> Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883 1143 +))) 1144 + 1145 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1146 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required. 1147 + 1148 + 1149 +Use commands to modify configuration files: 1150 + 1151 +(% class="box infomessage" data-sider-select-id="b84cf72d-69e4-441c-a8fb-bd21a500d223" %) 1152 +((( 1153 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml 1154 +))) 1155 + 1156 + 1157 +[[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"]] 1158 + 1159 +(% data-sider-select-id="3312b6d5-334c-43ae-8cd9-2f73989940e2" %) 1160 +(% data-sider-select-id="2b334f7c-35d3-4771-8b17-5760685430ac" %)**(Re)start and stop commands** 1161 + 1162 +(% data-sider-select-id="b8175b05-70b1-4251-97a1-8c0b2644e4d4" %) 1163 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service: 1164 + 1165 +(% class="box infomessage" data-sider-select-id="fc0e9684-3620-4f52-8045-9f6b7dd083e3" %) 1166 +((( 1167 +# start 1168 + 1169 +(% data-sider-select-id="5a644c5c-1ca5-4680-877e-c6aecd21f9de" %) 1170 +/etc/init.d/chirpstack-mqtt-forwarder start 1171 + 1172 +# stop 1173 + 1174 +/etc/init.d/chirpstack-mqtt-forwarder stop 1175 + 1176 +# restart 1177 + 1178 +/etc/init.d/chirpstack-mqtt-forwarder restart 1179 +))) 1180 + 1181 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1182 +(% data-sider-select-id="fcef88f4-ef44-4459-9154-6cd154c5b298" %)**Check result** 1183 + 1184 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1185 +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.[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518142300-7.png?rev=1.1||alt="image-20240518142300-7.png"]] 1186 + 1187 + 1188 +(% data-sider-select-id="a4ab5ddc-dbfe-4c41-ac6e-6159b517d02f" %) 1189 +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. 1190 + 1191 + 1192 +[[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"]] 1193 + 1194 + 1195 +== (% data-sider-select-id="c6cadb28-a27e-4499-92bb-189a644b8fda" %)6.8 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive).(%%) == 1196 + 1197 + 1038 1038 USB card reader plugged into the USB port of the gateway. 1039 1039 1040 1040 Access the gateway Linux Command Line. ... ... @@ -1067,7 +1067,7 @@ 1067 1067 [[image:image-20230425173831-3.png||height="105" width="833"]] 1068 1068 1069 1069 1070 -== 6. 7How to view DLOS8N GPS information ==1230 +== (% data-sider-select-id="2f4b3d14-0080-4223-bc52-d74facde85a6" %)6.9 How to view DLOS8N GPS information(%%) == 1071 1071 1072 1072 1073 1073 By default, when the DLOS8N GPS positioning is complete, it will be displayed in the state package on the **LogRead ~-~-> System Log** interface. ... ... @@ -1080,7 +1080,7 @@ 1080 1080 [[image:image-20230508134603-2.png||height="435" width="927"]] 1081 1081 1082 1082 1083 -== 6. 8More instructions ==1243 +== (% data-sider-select-id="9c733551-ff43-41d9-9c06-2a6157a6b46f" %)6.10 More instructions(%%) == 1084 1084 1085 1085 1086 1086 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway)