<
From version < 77.1 >
edited by Kilight Cao
on 2023/11/01 17:02
To version < 74.1 >
edited by Kilight Cao
on 2023/11/01 16:53
>
Change comment: Uploaded new attachment "image-20231101165306-5.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -32,9 +32,21 @@
32 32  
33 33  )))
34 34  )))
35 +
36 +Below list the products and requirements that support the use of LORIOT software:
35 35  )))
36 36  )))
37 37  
40 + ~1. LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]]
41 +
42 +(((
43 +(((
44 + 2. Firmware version since :[[dragino-LORIOT~~-~~-v5.4.1676942123-squashfs-sysupgrade.bin>>http://repo.dragino.com/release/openwrt-firmware/lgw/dragino-LORIOT--v5.4.1676942123-squashfs-sysupgrade.bin]]
45 +
46 +
47 +)))
48 +)))
49 +
38 38  = 2. Gateway Registration for Semtech UDP =
39 39  
40 40  == 2.1 Step 1: Get Gateway ETH0 MAC Address ==
... ... @@ -112,92 +112,165 @@
112 112  [[image:image-20220831114746-10.png||height="292" width="972"]]
113 113  
114 114  
127 += 3. Gateways are connected using LORIOT software =
115 115  
116 -= 3. Gateway Registration for Basics Station =
129 +== 3.1 Step 1: Get Gateway ETH0 MAC Address ==
117 117  
118 118  
119 -The LoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to LORIOT. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]]
132 +(((
133 +Dragino LoRaWAN gateway use ETH0 MAC address to generate Gateway ID to communicate with LORIOT, User can get the ETH0 MAC address from SSH access and run **ifconfig** command.
120 120  
135 +
136 +)))
137 +
138 +[[image:image-20220524175559-2.png]]
139 +
140 +Get ETH0 MAC address
141 +
142 +
121 121  (((
122 -(% style="color:blue" %)**Below list the support products and Requirements:**
144 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.**
145 +
146 +
123 123  )))
124 124  
125 -1. LoRaWAN Gateway model:  [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
149 +== 3.2 Step 2: Choose LORIOT service ==
126 126  
127 - 2.  Firmware version since :       
128 128  
152 +[[image:image-20220531182035-1.png]]
129 129  
130 -(% style="color:blue" %)**What do you need to prepare?**
154 +Choose to use LORIOT as LoRaWAN service provider
131 131  
132 -A gateway that can access the internet normally
133 133  
134 134  
135 -== 3.1 Step 1: Register Gateway ==
158 +[[image:image-20220531182109-2.png]]
136 136  
137 -[[image:image-20231101162122-1.png||height="528" width="1022"]]
160 +Install and choose the LORIOT server to be used
138 138  
139 139  
140 -Enter the gateway ID into the Custom EUI
163 +== 3.3 Step 3: Checking Connection Status ==
141 141  
142 -[[image:image-20231101162623-2.png||height="526" width="1024"]]
143 143  
166 +[[image:image-20220531182202-3.png]]
144 144  
145 -== 3.2  Step 2: Generate and Download TLS Certificate ==
168 +Click to Home page and check the connection status
146 146  
147 -[[image:image-20231101163647-3.png||height="529" width="1024"]]
148 148  
171 +== 3.4 Step 4: Setup Account in LORIOT ==
149 149  
150 -Download LORIOT's three TLS certificates, which are:
151 151  
152 -(% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key**
174 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account
153 153  
154 -[[image:image-20231101163743-4.png||height="528" width="1024"]]
176 +[[image:image-20220531182253-4.png]]
155 155  
178 +Log in LORIOT portal
156 156  
157 157  
158 -== 3.3  Step 3: Access the gateway GUI ==
159 159  
160 -User need to upload the TLS certificate and configure the LNS URI
182 +Choose to use the server same as the gateway setting
161 161  
184 +[[image:image-20220526111312-1.png||height="493" width="1098"]]
162 162  
163 -== 3.4  Step 4: Configure Station ==
186 +Choose server
164 164  
165 -User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate.
166 166  
167 -(% style="color:blue" %)**just to clarify:**
168 168  
169 - Server URI  ~-~->  Server Address, Example: wss:~/~/ap2.loriot.io:717
170 - TLS CA Certificate         ~-~-> 
171 - TLS Key  ~-~-> 
172 - TLS Certificate  ~-~->   
190 +Create a New Network
173 173  
192 +[[image:image-20220526111425-2.png||height="579" width="1378"]]
174 174  
175 -== 3.5  Start Station ==
194 +Create a New Network
176 176  
177 -When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT.
178 178  
197 +[[image:image-20220526111500-3.png]]
179 179  
180 -== 3.6  Check Connection ==
199 +Create a New Network
181 181  
182 -If user completes the above steps,which will see Log in the LORIOT.
183 183  
184 -[[image:image-20231101165306-5.png||height="542" width="1050"]]
202 +== 3.5 Step 5: Register the gateway ==
185 185  
186 186  
187 -== 3.7  Trouble Shooting ==
205 +[[image:image-20220526111650-4.png]]
188 188  
189 -User can check the station log in the** LogRead ~-~-> System Log **page.
207 +Register the Gateway in LORIOT
190 190  
191 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]]
192 192  
193 193  
194 -and recode the station log in the** LogRea ~-~->  Recode Log** page.
211 +Choose LG308 as gateway model
195 195  
196 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]]
213 +[[image:image-20220526111742-5.png||height="496" width="1372"]]
197 197  
215 +Choose LG308 as gateway model
198 198  
199 199  
200 200  
219 +Input Gateway ETH0 address
220 +
221 +[[image:image-20220526111918-6.png||height="744" width="1336"]]
222 +
223 +Choose SX1301 Reference and use SPI protocol
224 +
225 +
226 +
227 +Choose the right Frequency Band and input location
228 +
229 +[[image:image-20220526112029-7.png||height="620" width="1306"]]
230 +
231 +Set up regional settings.
232 +
233 +
234 +== 3.6 Step 6: Check Connection ==
235 +
236 +
237 +(((
238 +LORIOT will show disconnect if Gateway doesn't connect
239 +)))
240 +
241 +(((
242 +LORIOT will show connect if Gateway connect to LORIOT ok.
243 +
244 +
245 +)))
246 +
247 +[[image:image-20220526112143-8.png||height="654" width="1373"]]
248 +
249 +Status: Connected
250 +
251 +
252 +== 3.7 Debug If there is connection issue ==
253 +
254 +
255 +User can check if loriot is running by checking the web ui
256 +
257 +
258 +[[image:image-20220526112917-18.png]]
259 +
260 +Status: Connected
261 +
262 +
263 +(((
264 +If user want to see more log, he can run below commands in Linux and see the full log:
265 +)))
266 +
267 +(% class="box" %)
268 +(((
269 +(((
270 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9
271 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io
272 +)))
273 +)))
274 +
275 +(((
276 +
277 +
278 +Above two commands will first kill the loriot process and run it again to get more output.
279 +)))
280 +
281 +[[image:image-20220530145011-1.png]]
282 +
283 +Get more debug info
284 +
285 +
201 201  = 4. End Device Note =
202 202  
203 203  == 4.1 Downlink Setup ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0