<
From version < 208.1 >
edited by Kilight Cao
on 2024/05/18 12:00
To version < 214.1 >
edited by Kilight Cao
on 2024/05/18 14:30
>
Change comment: Uploaded new attachment "image-20240518143050-8.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -1064,7 +1064,7 @@
1064 1064  
1065 1065  
1066 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 ==
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 ==
1068 1068  
1069 1069  
1070 1070  (% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %)
... ... @@ -1100,11 +1100,9 @@
1100 1100  (% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login**
1101 1101  
1102 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:
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:**[[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"]]**
1104 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 1106  
1107 -
1108 1108  (% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %)
1109 1109  (% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK**
1110 1110  
... ... @@ -1116,10 +1116,84 @@
1116 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 1117  )))
1118 1118  
1119 -[[image:image-20240518115955-3.png]]
1117 +(% data-sider-select-id="27190188-ef2a-4d53-8b94-c4653b69b266" %)
1118 +(% data-sider-select-id="3fe3ef50-33b9-4c6b-b228-7364e01382f3" %)**Install IPK**
1120 1120  
1120 +Use the opkg package-manager to install the downloaded package. Example:
1121 1121  
1122 +(% class="box infomessage" data-sider-select-id="86f1197c-5aaf-4a1b-a21f-09266a2805e7" %)
1123 +(((
1124 +opkg install chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk
1125 +)))
1122 1122  
1127 +[[image:image-20240518134824-5.png]]
1128 +
1129 +
1130 +(% data-sider-select-id="e8065348-1a8e-45a9-bb73-171b9322d2b2" %)
1131 +(% data-sider-select-id="e9401e38-e30d-4c39-94fa-927c9a40e151" %)**Configuration**
1132 +
1133 +(% data-sider-select-id="2a70737e-070b-4a83-a474-2fef1076a006" %)
1134 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
1135 +
1136 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %)
1137 +This file is located at: (% data-sider-select-id="b010c8b8-6367-49bf-9c2e-3ee0b8a6ef0e" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
1138 +
1139 +
1140 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %)
1141 +(% data-sider-select-id="fab61fd5-2c9f-4b72-9b65-457dca26cbd0" %)**ChirpStack MQTT Forwarder Setting:**
1142 +
1143 +(% class="box" data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %)
1144 +(((
1145 +topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
1146 +
1147 +server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
1148 +)))
1149 +
1150 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %)
1151 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
1152 +
1153 +
1154 +Use commands to modify configuration files:
1155 +
1156 +(% class="box infomessage" data-sider-select-id="b84cf72d-69e4-441c-a8fb-bd21a500d223" %)
1157 +(((
1158 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
1159 +)))
1160 +
1161 +[[image:image-20240518141059-6.png]]
1162 +
1163 +
1164 +(% data-sider-select-id="3312b6d5-334c-43ae-8cd9-2f73989940e2" %)
1165 +(% data-sider-select-id="2b334f7c-35d3-4771-8b17-5760685430ac" %)**(Re)start and stop commands**
1166 +
1167 +(% data-sider-select-id="b8175b05-70b1-4251-97a1-8c0b2644e4d4" %)
1168 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
1169 +
1170 +(% class="box infomessage" data-sider-select-id="fc0e9684-3620-4f52-8045-9f6b7dd083e3" %)
1171 +(((
1172 +# start
1173 +
1174 +(% data-sider-select-id="5a644c5c-1ca5-4680-877e-c6aecd21f9de" %)
1175 +/etc/init.d/chirpstack-mqtt-forwarder start
1176 +
1177 +# stop
1178 +
1179 +/etc/init.d/chirpstack-mqtt-forwarder stop
1180 +
1181 +# restart
1182 +
1183 +/etc/init.d/chirpstack-mqtt-forwarder restart
1184 +)))
1185 +
1186 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %)
1187 +(% data-sider-select-id="fcef88f4-ef44-4459-9154-6cd154c5b298" %)**Check result**
1188 +
1189 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %)
1190 +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.
1191 +
1192 +[[image:image-20240518142300-7.png]]
1193 +
1194 +
1123 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 1124  
1125 1125  
... ... @@ -1207,6 +1207,7 @@
1207 1207  [[image:1657158198733-338.png]]
1208 1208  
1209 1209  
1282 +(% data-sider-select-id="d80817f0-5014-49db-a781-63e9c9f0527f" %)
1210 1210  The “** (% style="background-color:yellow" %)logread -f(%%)**(% style="background-color:yellow" %)” (%%)command can be used to debug how system runs.
1211 1211  
1212 1212  
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0