From version 1.1 >
edited by Xiaoling
on 2022/05/13 10:38
To version < 1.2 >
edited by Xiaoling
on 2022/05/13 10:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,32 +1,1249 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}
2 -{{toc/}}
3 -{{/box}}
1 +
4 4  
5 -= Paragraph 1 =
6 6  
7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
8 8  
9 -== Sub-paragraph ==
10 10  
11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
6 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg]]
12 12  
13 -== Sub-paragraph ==
14 14  
15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
16 16  
17 -=== Sub-sub paragraph ===
10 +**DLOS8N Outdoor LoRaWAN Gateway User Manual**
18 18  
19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
12 +Document Version: 1.0
20 20  
14 +Firmware Version: lgw~-~-build-v5.4.1644990565-20220216-1352
21 21  
22 -= Paragraph 2 =
16 +|**Version**|**Description**|**Date**
17 +|1.0|Release|2022-Apr-9
18 +| | |
19 +| | |
20 +| | |
21 +| | |
22 +| | |
23 23  
24 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
25 25  
26 -== Sub-paragraph ==
27 27  
28 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 29  
30 -== Sub-paragraph ==
27 +Table of Contents
31 31  
32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 +[[1        Introduction............................................................................................................... 5>>path:#_Toc100412763]]
30 +
31 +[[1.1     What is the DLOS8N................................................................................................................................. 5>>path:#_Toc100412764]]
32 +
33 +[[1.2     Specifications............................................................................................................................................ 7>>path:#_Toc100412765]]
34 +
35 +[[1.3     Features..................................................................................................................................................... 8>>path:#_Toc100412766]]
36 +
37 +[[1.4     Hardware System Structure.................................................................................................................... 9>>path:#_Toc100412767]]
38 +
39 +[[1.5     DLOS8N Applications............................................................................................................................. 10>>path:#_Toc100412768]]
40 +
41 +[[1.6     LED Indicators......................................................................................................................................... 10>>path:#_Toc100412769]]
42 +
43 +[[1.7     WiFi Direction......................................................................................................................................... 11>>path:#_Toc100412770]]
44 +
45 +[[2        Access and Configure DLOS8N..................................................................................... 11>>path:#_Toc100412771]]
46 +
47 +[[2.1     Find IP address of DLOS8N................................................................................................................... 11>>path:#_Toc100412772]]
48 +
49 +[[2.1.1       Connect via WiFi.......................................................................................................................... 11>>path:#_Toc100412773]]
50 +
51 +[[2.1.2       Connect via Ethernet with DHCP IP from router................................................................... 12>>path:#_Toc100412774]]
52 +
53 +[[2.1.3       Connect via WiFi with DHCP IP from router........................................................................... 12>>path:#_Toc100412775]]
54 +
55 +[[2.1.4       Connect via Ethernet with fall back ip..................................................................................... 12>>path:#_Toc100412776]]
56 +
57 +[[2.2     Access Configure Web UI...................................................................................................................... 13>>path:#_Toc100412777]]
58 +
59 +[[3        Typical Network Setup............................................................................................... 14>>path:#_Toc100412778]]
60 +
61 +[[3.1     Overview.................................................................................................................................................. 14>>path:#_Toc100412779]]
62 +
63 +[[3.2     Use WAN port to access Internet......................................................................................................... 14>>path:#_Toc100412780]]
64 +
65 +[[3.3     Access the Internet as a WiFi Client.................................................................................................... 15>>path:#_Toc100412781]]
66 +
67 +[[3.4     Access the Internet via Cellular............................................................................................................ 15>>path:#_Toc100412782]]
68 +
69 +[[3.5     Check Internet connection.................................................................................................................... 16>>path:#_Toc100412783]]
70 +
71 +[[4        Example: Configure as a LoRaWAN gateway.................................................................. 18>>path:#_Toc100412784]]
72 +
73 +[[4.1     Create a gateway in TTN V3 Server.................................................................................................... 19>>path:#_Toc100412785]]
74 +
75 +[[4.2     Configure DLOS8N to connect to TTN v3............................................................................................ 22>>path:#_Toc100412786]]
76 +
77 +[[4.3     Configure frequency.............................................................................................................................. 24>>path:#_Toc100412787]]
78 +
79 +[[4.4     Add a LoRaWAN End Device................................................................................................................. 25>>path:#_Toc100412788]]
80 +
81 +[[5        Web Configure Pages................................................................................................. 29>>path:#_Toc100412789]]
82 +
83 +[[5.1     Home........................................................................................................................................................ 29>>path:#_Toc100412790]]
84 +
85 +[[5.2     LoRa Settings.......................................................................................................................................... 30>>path:#_Toc100412791]]
86 +
87 +[[5.2.1       LoRa ~~-~~-~> LoRa................................................................................................................................ 30>>path:#_Toc100412792]]
88 +
89 +[[5.2.2       LoRa ~~-~~-~> ABP Decryption............................................................................................................ 31>>path:#_Toc100412793]]
90 +
91 +[[5.3     LoRaWAN Settings................................................................................................................................. 32>>path:#_Toc100412794]]
92 +
93 +[[5.3.1       LoRaWAN ~~-~~-~> LoRaWAN............................................................................................................. 32>>path:#_Toc100412795]]
94 +
95 +[[5.3.2       LoRaWAN ~~-~~-~> Amazon AWS-IoT................................................................................................ 32>>path:#_Toc100412796]]
96 +
97 +[[5.3.3       LoRaWAN ~~-~~-~> LORIOT.................................................................................................................. 33>>path:#_Toc100412797]]
98 +
99 +[[5.4     MQTT Settings........................................................................................................................................ 34>>path:#_Toc100412798]]
100 +
101 +[[5.5     System...................................................................................................................................................... 34>>path:#_Toc100412799]]
102 +
103 +[[5.5.1       System ~~-~~-~> System Overview..................................................................................................... 34>>path:#_Toc100412800]]
104 +
105 +[[5.5.2       System ~~-~~-~> General ( login settings)......................................................................................... 35>>path:#_Toc100412801]]
106 +
107 +[[5.5.3       System ~~-~~-~> Network..................................................................................................................... 36>>path:#_Toc100412802]]
108 +
109 +[[5.5.4       System ~~-~~-~> WiFi............................................................................................................................ 37>>path:#_Toc100412803]]
110 +
111 +[[5.5.5       System ~~-~~-~> Cellular....................................................................................................................... 37>>path:#_Toc100412804]]
112 +
113 +[[5.5.6       System ~~-~~-~> Network Status........................................................................................................ 38>>path:#_Toc100412805]]
114 +
115 +[[5.5.7       System ~~-~~-~> Remote Mgnt & Auto Provision............................................................................ 39>>path:#_Toc100412806]]
116 +
117 +[[5.5.8       System ~~-~~-~> Firmware Upgrade................................................................................................... 40>>path:#_Toc100412807]]
118 +
119 +[[5.5.9       System ~~-~~-~> Reboot/Reset........................................................................................................... 42>>path:#_Toc100412808]]
120 +
121 +[[5.5.10     System ~~-~~-~> Package Maintain.................................................................................................... 43>>path:#_Toc100412809]]
122 +
123 +[[5.6     LogRead................................................................................................................................................... 44>>path:#_Toc100412810]]
124 +
125 +[[5.6.1       LogRead ~~-~~-~> LoRa Log.................................................................................................................. 44>>path:#_Toc100412811]]
126 +
127 +[[5.6.2       LogRead ~~-~~-~> System Log.............................................................................................................. 44>>path:#_Toc100412812]]
128 +
129 +[[6        More features.......................................................................................................... 45>>path:#_Toc100412813]]
130 +
131 +[[6.1     More instructions................................................................................................................................... 45>>path:#_Toc100412814]]
132 +
133 +[[7        Linux System............................................................................................................ 46>>path:#_Toc100412815]]
134 +
135 +[[7.1     SSH Access for Linux console................................................................................................................ 46>>path:#_Toc100412816]]
136 +
137 +[[7.2     Edit and Transfer files............................................................................................................................ 47>>path:#_Toc100412817]]
138 +
139 +[[7.3     File System............................................................................................................................................... 47>>path:#_Toc100412818]]
140 +
141 +[[7.4     Package maintenance system.............................................................................................................. 48>>path:#_Toc100412819]]
142 +
143 +[[8        Upgrade Linux Firmware............................................................................................ 49>>path:#_Toc100412820]]
144 +
145 +[[9        FAQ......................................................................................................................... 50>>path:#_Toc100412821]]
146 +
147 +[[9.1     How can I configure for a customized frequency band?................................................................. 50>>path:#_Toc100412822]]
148 +
149 +[[9.2     Can I connect DLOS8N to LORIOT?...................................................................................................... 50>>path:#_Toc100412823]]
150 +
151 +[[9.3     Can I make my own firmware for the gateway, where can I find the source code?................... 50>>path:#_Toc100412824]]
152 +
153 +[[9.4     Can I use 868Mhz version for 915Mhz bands?................................................................................. 50>>path:#_Toc100412825]]
154 +
155 +[[10      Trouble Shooting....................................................................................................... 51>>path:#_Toc100412826]]
156 +
157 +[[10.1        I get kernel error when install new package, how to fix?.......................................................... 51>>path:#_Toc100412827]]
158 +
159 +[[10.2        How to recover the DLOS8N if the firmware crashes................................................................. 51>>path:#_Toc100412828]]
160 +
161 +[[10.3        I configured DLOS8N for WiFi access and lost its IP. What to do now?................................... 52>>path:#_Toc100412829]]
162 +
163 +[[11      Order Info................................................................................................................ 53>>path:#_Toc100412830]]
164 +
165 +[[12      Packing Info............................................................................................................. 54>>path:#_Toc100412831]]
166 +
167 +[[13      Support................................................................................................................... 54>>path:#_Toc100412832]]
168 +
169 +
170 +
171 +
172 +
173 +1. Introduction
174 +11. What is the DLOS8N
175 +
176 +The DLOS8N is an open source outdoor LoRaWAN Gateway. It lets you bridge LoRa wireless
177 +
178 +network to an IP network via WiFi, Ethernet, 3G or 4G cellular. The LoRa wireless allows users
179 +
180 +to send data and reach extremely long ranges at low data-rates.
181 +
182 +
183 +DLOS8N supports Semtech packet forwarder and LoRaWAN Station connection, it is fully
184 +
185 +compatible with LoRaWAN protocol. DLOS8N includes a SX1302 LoRaWAN concentrator.
186 +
187 +
188 +DLOS8N has pre-configured standard LoRaWAN frequency bands to use for different countries.
189 +
190 +User can also customize the frequency bands to use in their own LoRaWAN network.
191 +
192 +
193 +DLOS8N can communicate with ABP LoRaWAN end node without LoRaWAN server.
194 +
195 +System integrator can use it to integrate with their existing IoT Service without set up own
196 +
197 +LoRaWAN server or use 3rd party LoRaWAN service.
198 +
199 +
200 +DLOS8N supports auto-provision for mass deployment and long term maintain. System
201 +
202 +intergrator can easily change the settings.
203 +
204 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
205 +
206 +
207 +
208 +1.
209 +11. Specifications
210 +
211 +**Hardware System:**
212 +
213 + Linux Part:
214 +
215 +* 400Mhz ar9331 processor
216 +* 64MB RAM
217 +* 16MB Flash
218 +
219 +
220 +**Interface:**
221 +
222 +* 10M/100M RJ45 Ports x 1
223 +* WiFi : 802.11 b/g/n
224 +* LoRaWAN Wireless
225 +* Power Input: 12 ~~ 24 V DC, 2 A
226 +* IEEE 802.3 af compliant PoE port (DC 37  ~~ 57 v)
227 +* USB 2.0 host connector x 1
228 +* Mini-PCI E connector x 1
229 +* SX1302 + 2 x SX1250
230 +
231 +
232 +**WiFi Spec:**
233 +
234 +* IEEE 802.11 b/g/n
235 +* Frequency Band: 2.4 ~~ 2.462GHz
236 +* Tx power:
237 +** 11n tx power : mcs7/15: 11db     mcs0 : 17db
238 +** 11b tx power: 18db
239 +** 11g 54M tx power: 12db
240 +** 11g 6M tx power: 18db
241 +* Wifi Sensitivity
242 +** 11g 54M : -71dbm
243 +** 11n 20M : -67dbm
244 +
245 +**LoRa Spec:**
246 +
247 +* Up to -140 dBm sensitivity with SX1250 Tx/Rx front-end
248 +* 70 dB CW interferer rejection at 1 MHz offset
249 +* Able to operate with negative SNR, CCR up to 9dB
250 +* Emulates 49 x LoRa demodulators and 1 x (G)FSK demodulator
251 +* Dual digital TX & RX radio front-end interfaces
252 +* 10 programmable parallel demodulation paths
253 +* Dynamic data-rate (DDR) adaptation
254 +* True antenna diversity or simultaneous dual-band operation
255 +
256 +
257 +**Cellular 4G LTE (optional):**
258 +
259 +* Quectel: [[**EC25 LTE module**>>url:https://www.quectel.com/product/ec25minipcie.htm]]
260 +* Standard Size SIM Slot
261 +* 2 x 4G Sticker Antenna.
262 +* Up to 150Mbps downlink and 50Mbps uplink data rates
263 +* Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage
264 +* MIMO technology meets demands for data rate and link reliability in modem wireless communication systems
265 +
266 +
267 +**Power over Ethernet:**
268 +
269 +* IEEE 802.3af compliant.
270 +* Support wide input voltage range  37Vdc to 57Vdc.
271 +* Thermal cut off.
272 +* Short circuit protection.
273 +* Over current protection
274 +* Isolation level 4 KVrms.
275 +* Enhanced surge protection
276 +
277 +
278 +*
279 +*1. Features
280 +* Open Source Embedded Linux system
281 +* Managed by Web GUI, SSH via LAN or WiFi
282 +* Support Semtech UDP packet forwarder
283 +* Support LoRaWAN Station Connection
284 +* Cellular Failover conntection(option)
285 +* Direct Communication to LoRaWAN ABP Node
286 +* LoRaWAN packet filtering
287 +* Far seeing LED indicator
288 +* Built-in GPS module for location & timing
289 +* External fiber glass antenna
290 +* Auto-Provision
291 +* Remote Monitoring
292 +* 802.3af PoE
293 +* IP65
294 +* Lighting Protection
295 +* Power Consumption:12v ,300-500mA
296 +
297 +
298 +
299 +
300 +1.
301 +11. Hardware System Structure
302 +
303 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
304 +
305 +
306 +
307 +
308 +
309 +
310 +
311 +1.
312 +11. DLOS8N Applications
313 +
314 +
315 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
316 +
317 +
318 +1.
319 +11. LED Indicators
320 +
321 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
322 +
323 +
324 +There is a waterproof triple color LED on DLOS8N enclosure, the meaning of the LED is:
325 +
326 +*
327 +** **SOLID GREEN**: DLOS8N is alive with LoRaWAN server connection.
328 +** **BLINKING GREEN**: a) Device has internet connection but no LoRaWAN Connection.  or b) Device is in booting stage, in this stage, it will **BLINKING GREEN** for several seconds and then **RED** and **YELLOW** will blink together.
329 +** **SOLID RED**: Device doesn’t have Internet connection.
330 +
331 +
332 +
333 +1.
334 +11. WiFi Direction
335 +
336 +DLOS8N use directional WiFi Antenna. The best direction is as below:
337 +
338 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
339 +
340 +
341 +
342 +1. Access and Configure DLOS8N
343 +
344 +
345 +The DLOS8N is configured as a WiFi Access Point by default. User can access and configure the DLOS8N after connecting to its WiFi network, or via its Ethernet port.
346 +
347 +
348 +1.
349 +11. Find IP address of DLOS8N
350 +111. Connect via WiFi
351 +
352 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
353 +
354 +
355 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]] At the first boot of DLOS8N, it will auto generate a WiFi network called **//dragino-xxxxxx //**with password:
356 +
357 +
358 +dragino+dragino
359 +
360 +
361 +
362 +User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the DLOS8N has the default IP 10.130.1.1
363 +
364 +
365 +
366 +1.
367 +11.
368 +111. Connect via Ethernet with DHCP IP from router
369 +
370 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
371 +
372 +
373 +Alternatively, connect the DLOS8N Ethernet port to your router and DLOS8N will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the DLOS8N. You can also use this IP to connect.
374 +
375 +
376 +1.
377 +11.
378 +111. Connect via WiFi with DHCP IP from router
379 +
380 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
381 +
382 +
383 +If the DLOS8N already connect to the router via WiFi, use can use the WiFi IP to connect to DLOS8N.
384 +
385 +1.
386 +11.
387 +111. Connect via Ethernet with fall back ip
388 +
389 +The WAN port also has a [[fall back ip address>>path:#_I_configured_LPS8]] for access if user doesn’t connect to uplink router. Click [[here>>path:#_I_configured_LPS8]] to see how to configure.
390 +
391 +
392 +
393 +
394 +1.
395 +11. Access Configure Web UI
396 +
397 +**Web Interface**
398 +
399 +Open a browser on the PC and type the DLOS8N ip address (depends on your connect method)
400 +
401 +[[http:~~/~~/10.130.1.1/>>url:http://10.130.1.1/]] (Access via WiFi AP network)
402 +
403 +or
404 +
405 +http:~/~/IP_ADDRESS or [[http:~~/~~/ IP_ADDRESS:8000>>url:http://192.168.1.xx:8000]]
406 +
407 +
408 +You will see the login interface of DLOS8N as shown below.
409 +
410 +The account details for Web Login are:
411 +
412 +**User Name: root**
413 +
414 +**Password:   dragino**
415 +
416 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
417 +
418 +
419 +
420 +
421 +
422 +1. Typical Network Setup
423 +11. Overview
424 +
425 +The DLOS8N supports flexible network set up for different environments. This section describes the typical network topology. The network set up includes:
426 +
427 +* **WAN Port Internet Mode**
428 +* **WiFi Client Mode**
429 +* **WiFi AP Mode**
430 +* **Cellular Mode**
431 +
432 +
433 +
434 +1.
435 +11. Use WAN port to access Internet
436 +
437 +By default, the DLOS8N is set to use the WAN port to connect to an upstream network. When you connect the DLOS8N’s WAN port to an upstream router, DLOS8N will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the **home page**:
438 +
439 +
440 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
441 +
442 +
443 +
444 +
445 +1.
446 +11. Access the Internet as a WiFi Client.
447 +
448 +In the WiFi Client Mode, DLOS8N acts as a WiFi client and gets DHCP from an upstream router via WiFi.
449 +
450 +
451 +The settings for WiFi Client is under page **System à WiFi ** **à WiFi WAN Client Settings**
452 +
453 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
454 +
455 +
456 +In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect.
457 +
458 +
459 +1.
460 +11. Access the Internet via Cellular
461 +
462 +If the DLOS8N support 3G/4G Cellular modem option, When the label on the shell is displayed as Model : DLOS8N-EC25, it indicates that DLOS8 already has EC25 3G/4G modules,user can use it as main internet connection or back up.
463 +
464 +
465 +First, release the four screws of DLOS8N, pull out PCB and install SIM card as below:
466 +
467 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]]
468 +
469 +
470 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]
471 +
472 +
473 +The set up page is **System à Cellular**
474 +
475 +
476 +While use the cellular as Backup WAN, device will use Cellular for internet connection while WAN port or WiFi is not valid and switch back to WAN port or WiFi after they recover.
477 +
478 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]
479 +
480 +**Note** *: For DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected.
481 +
482 +
483 +1.
484 +11. Check Internet connection
485 +
486 +In the **Home** page, we can check the Internet connection.
487 +
488 +* GREEN Tick  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]] : This interface has Internet connection.
489 +* Yellow Tick [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] : This interface has IP address but don’t use it for internet connection.
490 +* RED Cross [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]] : This interface doesn’t connected.
491 +
492 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
493 +
494 +
495 +
496 +
497 +
498 +1. Example: Configure as a LoRaWAN gateway
499 +
500 +DLOS8N is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below.
501 +
502 +
503 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
504 +
505 +
506 +This chapter describes how to use the DLOS8Nto work with
507 +
508 +[[T>>url:https://www.thethingsnetwork.org/]]heThingsNetwork v3(T[[TN>>url:https://www.thethingsnetwork.org/]] v3[[)>>url:http://)]][[ LoRaWAN Server>>url:https://www.thethingsnetwork.org/]]  ([[www.thethingsnetwork.org>>url:http://www.thethingsnetwork.org/]])
509 +
510 +
511 +
512 +
513 +1.
514 +11. Create a gateway in TTN V3 Server
515 +
516 +
517 +**Step 1: Get a Unique gateway ID.**
518 +
519 +Every DLOS8N has a unique gateway id. The ID can be found at LoRaWAN page:
520 +
521 +
522 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
523 +
524 +
525 +The example gateway id is: **a840411e96744154**
526 +
527 +
528 +**Step 2: Sign up a user account in TTN server**
529 +
530 +[[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]]
531 +
532 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
533 +
534 +
535 +
536 +
537 +
538 +
539 +
540 +**Step 3: Choose the TTNv3 Cluster Picker**
541 +
542 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
543 +
544 +
545 +**Note: Choose the cluster corresponds to a specific Gateway server address**
546 +
547 +* Europe 1 **corresponding Gateway server address: **eu1.cloud.thethings.network
548 +* North America 1 **corresponding Gateway server address:** nam1.cloud.thethings.network
549 +* Australia 1 **corresponding Gateway server address:** au1.cloud.thethings.network
550 +* Legacy V2 Console : **TTN v2 shuts down in December 2021**
551 +
552 +
553 +**Step 4: Create a Gateway**
554 +
555 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
556 +
557 +Click the Gateway icon and then click Add gateway.
558 +
559 +Open the following page:
560 +
561 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
562 +
563 +**Notice: **Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network.
564 +
565 +
566 +
567 +After creating the gateway, you can see the gateway info, as below.
568 +
569 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
570 +
571 +
572 +1.
573 +11. Configure DLOS8N to connect to TTN v3
574 +
575 +You can now configure the DLOS8N to let it connect to TTN network V3.
576 +
577 +Make sure your DLOS8N has a working Internet Connection first.
578 +
579 +
580 +Choose the right server provider and click **Save&Apply**
581 +
582 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
583 +
584 +
585 +
586 +**Note: **The server address must match the Gateway server address you choose in TTN V3.
587 +
588 +
589 +In the home page, we can see the LoRaWAN connection is ready now.
590 +
591 +
592 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
593 +
594 +
595 +
596 +In TTN v3 portal, we can also see the gateway is connected.
597 +
598 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
599 +
600 +
601 +
602 +
603 +1.
604 +11. Configure frequency
605 +
606 +We also need to set the frequency plan in DLOS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.
607 +
608 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png]]
609 +
610 +
611 +In logread page, user can check the frequency actually used.
612 +
613 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png]]
614 +
615 +
616 +
617 +
618 +1.
619 +11. Add a LoRaWAN End Device
620 +
621 +This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site.
622 +
623 +
624 +We use [[LT-22222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
625 +
626 +
627 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.jpg]]
628 +
629 +**Step 1**: Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device.
630 +
631 +
632 +Three codes are required to define the device in TTN v3:
633 +
634 +* DEV EUI - Unique ID code for a particular device.
635 +* APP EUI - ID code for an Application defined in TTN v3.
636 +* APP Key - Unique key to secure communications with a particular device.
637 +
638 +
639 +A set of these codes are stored in each device by the manufacturer as the default codes for that particular device. Each device is shipped with a sticker with the default Device EUI as shown below.
640 +
641 +
642 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png]]
643 +
644 +
645 +Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands.  Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server.
646 +
647 +
648 +For the TTN v3 server, you can use the codes set in the device as in the following example.
649 +
650 +
651 +Select **Add Application** to open the screen below.
652 +
653 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png]]
654 +
655 +Open the **Application **select** Add end device**
656 +
657 +
658 +Start Register the end device
659 +
660 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png]]
661 +
662 +Select OTAA activation mode
663 +
664 +
665 +The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3.
666 +
667 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]]
668 +
669 +First, input the End device ID, AppEUI and DevEUI.
670 +
671 +
672 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image039.png]]
673 +
674 +Secondly, choose the corresponding frequency and LoRaWAN class capabilities.
675 +
676 +
677 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png]]
678 +
679 +Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device.
680 +
681 +
682 +**Step 2**: Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel.
683 +
684 +
685 +Note that it may take some time for the device data to appear in the TTN v3 display.
686 +
687 +
688 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image041.png]]
689 +
690 +
691 +
692 +
693 +
694 +1. Web Configure Pages
695 +
696 +
697 +1.
698 +11. Home
699 +
700 +Shows the system running status.
701 +
702 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image042.png]]
703 +
704 +
705 +
706 +
707 +1.
708 +11. LoRa Settings
709 +111. LoRa ~-~-> LoRa
710 +
711 +This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well.
712 +
713 +
714 +Different DLOS8N hardware version can support different frequency range:
715 +
716 +* **868**: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
717 +* **915**: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920
718 +
719 +
720 +After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log**
721 +
722 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image043.png]]
723 +
724 +Note *: See this instruction for how to customize frequency band:
725 +
726 +[[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]]
727 +
728 +
729 +
730 +1.
731 +11.
732 +111. LoRa ~-~-> ABP Decryption
733 +
734 +The DLOS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as:
735 +
736 +* No internet connection.
737 +* User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc. (Combine ABP communication method and [[MQTT forward together>>url:http://wiki.dragino.com/index.php?title=MQTT_Forward_Instruction]]).
738 +
739 +Detail of this feature: [[http:~~/~~/wiki.dragino.com/index.php?title=Communication_with_ABP_End_Node>>url:http://wiki.dragino.com/index.php?title=Communication_with_ABP_End_Node]]
740 +
741 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image044.png]]
742 +
743 +
744 +
745 +1.
746 +11. LoRaWAN Settings
747 +111. LoRaWAN ~-~-> LoRaWAN
748 +
749 +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
750 +
751 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image045.png]]
752 +
753 +Note
754 +
755 +~*: User can ignore the latitude and longitude settings here, DLOS8N will use the actually value from GPS module.
756 +
757 +~**: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here:
758 +
759 +See [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets>>url:http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets]]
760 +
761 +
762 +
763 +1.
764 +11.
765 +111. LoRaWAN ~-~-> Amazon AWS-IoT
766 +
767 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image046.png]]
768 +
769 +Please see this instruction to know more detail and demo for how to connect to AWS-IoT LoRaWAN Core: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:http://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]]
770 +
771 +
772 +
773 +
774 +1.
775 +11.
776 +111. LoRaWAN ~-~-> LORIOT
777 +
778 +Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]]
779 +
780 +Instruction: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_LORIOT>>url:http://wiki.dragino.com/index.php?title=Notes_for_LORIOT]]
781 +
782 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image047.png]]
783 +
784 +
785 +
786 +
787 +1.
788 +11. MQTT Settings
789 +
790 +If end nodes works in ABP mode, user can configure DLOS8N to transfer the data to MQTT broker,
791 +
792 +Instruction:
793 +
794 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction>>url:http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction]]
795 +
796 +
797 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image048.png]]
798 +
799 +
800 +1.
801 +11. System
802 +111. System ~-~-> System Overview
803 +
804 +Shows the system info:
805 +
806 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image049.png]]
807 +
808 +1.
809 +11.
810 +111. System ~-~-> General ( login settings)
811 +
812 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image050.png]]
813 +
814 +System Password:
815 +
816 +There are two login for DLOS8N: root /dragino or admin /dragino. Both root and admin has the same right for WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB interface.
817 +
818 +This page can be used to set the password for them.
819 +
820 +
821 +Timezone:
822 +
823 +Set device timezone.
824 +
825 +
826 +Port forwarding:
827 +
828 +Enable/Disable the HTTP and SSH access via WAN interface.
829 +
830 +
831 +
832 +
833 +1.
834 +11.
835 +111. System ~-~-> Network
836 +
837 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image051.png]]
838 +
839 +LAN Settings:
840 +
841 +When the DLOS8N has the AP enable, LAN settings specify the network info for DLOS8N’s own network.
842 +
843 +
844 +WAN Settings:
845 +
846 +Setting for DLOS8N WAN port
847 +
848 +
849 +WiFi Settings:
850 +
851 +Setting for DLOS8N WiFi IP when use it as WiFi Client
852 +
853 +
854 +
855 +
856 +
857 +1.
858 +11.
859 +111. System ~-~-> WiFi
860 +
861 +DLOS8N WiFi Settings.
862 +
863 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image052.png]]
864 +
865 +
866 +1.
867 +11.
868 +111. System ~-~-> Cellular
869 +
870 +While use the cellular as Backup WAN, device will use Cellular for internet connection while WAN port or WiFi is not valid and switch back to WAN port or WiFi after they recover.
871 +
872 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]
873 +
874 +Note *: For DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected.
875 +
876 +
877 +
878 +
879 +1.
880 +11.
881 +111. System ~-~-> Network Status
882 +
883 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image053.png]]
884 +
885 +
886 +
887 +1.
888 +11.
889 +111. System ~-~-> Remote Mgnt & Auto Provision
890 +
891 +Auto Provision is the feature for batch configure and remote management. It can be used in below two cases:
892 +
893 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image054.png]]
894 +
895 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image055.png]]
896 +
897 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image056.png]]
898 +
899 +Please see this document for detail:
900 +
901 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]]
902 +
903 +
904 +R-SSH is for remote access device and management, introduction for how to use:
905 +
906 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH>>url:http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH]]
907 +
908 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image057.png]]
909 +
910 +
911 +1.
912 +11.
913 +111. System ~-~-> Firmware Upgrade
914 +
915 +We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference.
916 +
917 +* **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]],
918 +
919 +( [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]] )
920 +
921 +* **Change Log**: [[Firmware Change Log>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]].
922 +
923 +( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]] )
924 +
925 +
926 +The file named as **xxxxx–xxxxx-squashfs-sysupgrade.bin **is the upgrade Image. There are different methods to upgrade, as below.
927 +
928 +
929 +**Web à System à Firmware Upgrade**
930 +
931 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image058.png]]
932 +
933 +
934 +Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade.
935 +
936 +
937 +**NOTE**: You normally need to **//uncheck//** the **Preserve Settings** checkbox when doing an upgrade to ensure that there is no conflict between the old settings and the new firmware. The new firmware will start up with its default settings.
938 +
939 +
940 +
941 +
942 +The system will automatically boot into the new firmware after upgrade.
943 +
944 +
945 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image059.png]]
946 +
947 +
948 +Note *: User can also upgrade firmware via Linux console
949 +
950 +SCP the firmware to the system** /var** directory and then run
951 +
952 +**//root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//**
953 +
954 +
955 +**NOTE**: it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size.
956 +
957 +
958 +1.
959 +11.
960 +111. System ~-~-> Reboot/Reset
961 +
962 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image060.png]]
963 +
964 +
965 +
966 +1.
967 +11.
968 +111. System ~-~-> Package Maintain
969 +
970 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image061.png]]
971 +
972 +Place to show what package has installed and possible to upgrade packages.
973 +
974 +
975 +
976 +
977 +1.
978 +11. LogRead
979 +111. LogRead ~-~-> LoRa Log
980 +
981 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image062.png]]
982 +
983 +Show the frequency for LoRa Radio and traffics.
984 +
985 +
986 +1.
987 +11.
988 +111. LogRead ~-~-> System Log
989 +
990 +Show the system log
991 +
992 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image063.png]]
993 +
994 +
995 +
996 +1. More features
997 +11. More instructions
998 +
999 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction]]
1000 +
1001 +
1002 +
1003 +
1004 +1. Linux System
1005 +
1006 +The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings.
1007 +
1008 +1.
1009 +11. SSH Access for Linux console
1010 +
1011 +User can access the Linux console via the SSH protocol. Make sure your PC and the DLOS8N 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.
1012 +
1013 +
1014 +IP address:  IP address of DLOS8N
1015 +
1016 +Port:         22 (via WiFi AP mode) or 2222 (via WAN Interface)
1017 +
1018 +User Name:      **root**
1019 +
1020 +Password:         **dragino** (default)
1021 +
1022 +
1023 +After logging in, you will be in the Linux console and can enter commands as shown below.
1024 +
1025 +
1026 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image064.png]]
1027 +
1028 +
1029 +The “logread -f” command can be used to debug how system runs.
1030 +
1031 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image065.png]]
1032 +
1033 +
1034 +
1035 +
1036 +1.
1037 +11. Edit and Transfer files
1038 +
1039 +The DLOS8N supports the **SCP protocol** and has a built-in **SFTP server**. There are many ways to edit and transfer files using these protocols.
1040 +
1041 +
1042 +In Windows, one of the easiest methods is using the [[WinSCP>>url:https://winscp.net/eng/index.php]] utility.
1043 +
1044 +After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the DLOS8N, or edit the files directly in the windows.
1045 +
1046 +
1047 +Screenshot is as below:
1048 +
1049 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image066.png]]
1050 +
1051 +
1052 +1.
1053 +11. File System
1054 +
1055 +The DLOS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot.
1056 +
1057 +
1058 +The Linux system uses around 8MB ~~10MB flash size which means there is not much room for user to store data in the DLOS8N flash.
1059 +
1060 +You can use an external USB flash memory device to extend the size of flash memory for storage.
1061 +
1062 +
1063 +
1064 +
1065 +1.
1066 +11. Package maintenance system
1067 +
1068 +DLOS8N uses the OpenWrt [[OPKG package maint>>url:https://wiki.openwrt.org/doc/techref/opkg]][[e>>url:https://wiki.openwrt.org/doc/techref/opkg]][[n>>url:https://wiki.openwrt.org/doc/techref/opkg]][[ance>>url:https://wiki.openwrt.org/doc/techref/opkg]][[ system>>url:https://wiki.openwrt.org/doc/techref/opkg]]. There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the **//iperf //** tool, you can install the related packages and configure DLOS8N to use **//iperf //**.
1069 +
1070 +
1071 +Below are some example **//opkg //** commands. For more information please refer to the [[OPKG package maintain system>>url:https://wiki.openwrt.org/doc/techref/opkg]]** **([[https:~~/~~/wiki.openwrt.org/doc/techref/opkg>>url:https://wiki.openwrt.org/doc/techref/opkg]])
1072 +
1073 +
1074 +In Linux Console run:
1075 +
1076 +**root@dragino-169d30:~~# opkg update**  ~/~/ to get the latest packages list
1077 +
1078 +**root@dragino-169d30:~~# opkg list**         ~/~/shows the available packages
1079 +
1080 +**root@dragino-169d30:~~# opkg install iperf **~/~/ install iperf
1081 +
1082 +The system will automatically install the required packages as shown below.
1083 +
1084 +
1085 +//root@dragino-169d30:/etc/opkg# opkg install iperf//
1086 +
1087 +//Installing iperf (2.0.12-1) to root…//
1088 +
1089 +//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk]]
1090 +
1091 +//Installing uclibcxx (0.2.4-3) to root…//
1092 +
1093 +//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk]]
1094 +
1095 +//Configuring uclibcxx.//
1096 +
1097 +//Configuring iperf.//
1098 +
1099 +
1100 +1. Upgrade Linux Firmware
1101 +
1102 +
1103 +
1104 +
1105 +1. FAQ
1106 +11. How can I configure for a customized frequency band?
1107 +
1108 +
1109 +See below link for how to customize frequency band:
1110 +
1111 +[[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]]
1112 +
1113 +
1114 +1.
1115 +11. Can I connect DLOS8N to LORIOT?
1116 +
1117 +Yes, the set up instruction is here: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_LORIOT>>url:http://wiki.dragino.com/index.php?title=Notes_for_LORIOT]]
1118 +
1119 +
1120 +1.
1121 +11. Can I make my own firmware for the gateway, where can I find the source code?
1122 +
1123 +Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications.
1124 +
1125 +The source code and compile instructions can be found at: [[https:~~/~~/github.com/dragino/openwrt_lede-18.06>>url:https://github.com/dragino/openwrt_lede-18.06]]
1126 +
1127 +
1128 +1.
1129 +11. Can I use 868Mhz version for 915Mhz bands?
1130 +
1131 +It is possible but the distance will be very short, you can select US915 frequency band in 868Mhz version hardware. It will work but you will see the performance is greatly decreased because the 868Mhz version has an RF filter for band 863~~870Mhz, all other frequencies will have high attenuation.
1132 +
1133 +
1134 +
1135 +
1136 +1. Trouble Shooting
1137 +11. I get kernel error when install new package, how to fix?
1138 +
1139 +In some cases, when installing a package with **//opkg//**, it will generate a kernel error such as below due to a mismatch I the kernel ID:
1140 +
1141 +
1142 +root@dragino-16c538:~~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk
1143 +
1144 +Installing kmod-dragino2-si3217x (3.10.49+0.2-1) to root…
1145 +
1146 +Collected errors:
1147 +
1148 +~* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-dragino2-si3217x:
1149 +
1150 +*      kernel (= 3.10.49-1-4917516478a753314254643facdf360a) *
1151 +
1152 + ~* opkg_install_cmd: Cannot install package kmod-dragino2-si3217x.
1153 +
1154 +
1155 +In this case, you can use the –force-depends option to install such package as long as the actual kernel version is the same.
1156 +
1157 +Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends
1158 +
1159 +
1160 +1.
1161 +11. How to recover the DLOS8N if the firmware crashes
1162 +
1163 +
1164 +Please follow this instruction to recover your gateway:
1165 +
1166 +[[http:~~/~~/wiki.dragino.com/index.php?title=Recover_Gateway>>url:http://wiki.dragino.com/index.php?title=Recover_Gateway]]
1167 +
1168 +
1169 +
1170 +
1171 +
1172 +1.
1173 +11. I configured DLOS8N for WiFi access and lost its IP. What to do now?
1174 +
1175 +
1176 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image067.png]]
1177 +
1178 +The DLOS8N has a fall-back IP address on its WAN port. This IP is always enabled so you can use the fall-back IP to access DLOS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.
1179 +
1180 +(Note: fallback IP can be disabled in the WAN and DHCP page)
1181 +
1182 +
1183 +Steps to connect via fall back IP:
1184 +
1185 +1. Connect PC’s Ethernet port to DLOS8N’s WAN port
1186 +1. Configure PC’s Ethernet port has
1187 +IP: 172.31.255.253 and
1188 +Netmask: 255.255.255.252
1189 +
1190 +
1191 +As below photo:
1192 +
1193 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image068.jpg]]
1194 +
1195 +1. In the PC, use IP address 172.31.255.254 to access the DLOS8N via Web or Console.
1196 +
1197 +Please note the latest firmware uses port 8000 for http and 2222 for ssh access.
1198 +
1199 +
1200 +
1201 +1. Order Info
1202 +
1203 +**//PART: DLOS8N-XXX-YYY//:**
1204 +
1205 +**//XXX: Frequency Band//**
1206 +
1207 +* **868**: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
1208 +* **915**: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920
1209 +
1210 +
1211 +**//YYY: 4G Cellular Option//**
1212 +
1213 +* **E**: EMEA, Korea, Thailand, India.
1214 +* **A**: North America/ Rogers/AT&T/T-Mobile.
1215 +* **AU**: Latin America, New Zeland, Taiwan
1216 +* **J**: Japan, DOCOMO/SoftBank/ KDDI
1217 +
1218 +More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
1219 +
1220 +
1221 +
1222 +
1223 +1. Packing Info
1224 +
1225 +**Package Includes**:
1226 +
1227 +* DLOS8N LoRaWAN Gateway x 1
1228 +* Stick Antenna for LoRa RF part. Frequency is one of 470 or 868 or 915Mhz depends the model ordered
1229 +* Packaging with environmental protection paper box
1230 +
1231 +
1232 +**Dimension and weight**:
1233 +
1234 +* Device Size: 12 x 12 x 3 cm
1235 +* Weight: 187g
1236 +* Package Size: 14.5 x 13.5 x 6 cm
1237 +* Weight: 300g
1238 +
1239 +
1240 +1. Support
1241 +
1242 +* Try to see if your questions already answered in the [[wiki>>url:http://wiki.dragino.com/]].
1243 +* Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8.
1244 +Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before mentioned schedule.
1245 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to:
1246 +
1247 +[[support@dragino.com>>url:file:///C:/Users/11315/Documents/D:/Projects/LoRa%20Product%20Line/LG308%20Picocell%20Gateway/LG308/LG308%20%25E8%25AF%25B4%25E6%2598%258E%25E4%25B9%25A6/support@dragino.com]]
1248 +
1249 +
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0