Version 313.1 by Kilight Cao on 2024/05/18 15:42

Show last authors
1 (% style="text-align:center" %)
2 [[image:image-20220620202334-2.png||height="467" width="809"]]
3
4
5 (((
6
7
8
9 )))
10
11 **Table of Contents:**
12
13 {{toc/}}
14
15
16
17
18
19 = 1. Introduction =
20
21 == 1.1 What is LPS8v2 ==
22
23
24 (((
25 (((
26 The LPS8v2 is an (% style="color:blue" %)**open-source LoRaWAN Gateway**(%%). It lets you bridge LoRa wireless network to an IP network via (% style="color:blue" %)**WiFi , Ethernet or Cellular Network**(%%) (via Optional 4G module). The LoRa wireless allows users to send data and reach extremely long ranges at low data rates.
27 )))
28
29 (((
30 The LPS8v2 is fully compatible with LoRaWAN protocol. It supports different kinds of LoRaWAN Network Connections such as: (% style="color:blue" %)**Semtech UDP Packet Forwarder, LoRaWAN Basic Station, ChirpStack MQTT Bridge**(%%), and so on. This makes LPS8V2 work with most LoRaWAN platforms in the market.
31 )))
32
33 (((
34 LPS8v2 also includes a (% style="color:blue" %)**built-in LoRaWAN Server and IoT server**(%%), which provide the possibility for the system integrator to deploy the IoT service without cloud service or 3rd servers.
35 )))
36
37 (((
38 Different countries use different LoRaWAN frequency bands. LPS8v2 has these bands pre-configured. Users can also customize the frequency bands to use in their own LoRa network.
39 )))
40
41 (((
42 LPS8v2 supports (% style="color:blue" %)**remote management**(%%). System Integrator can easy to remote monitor the gateway and maintain it.
43 )))
44
45
46 == 1.2 Specifications ==
47
48
49 (% style="color:#037691" %)**Hardware System:**
50
51 * CPU: Quad-core Cortex-A7 1.2Ghz
52 * RAM: 512MB
53 * eMMC: 4GB
54
55 (% style="color:#037691" %)**Interface:**
56
57 * 10M/100M RJ45 Ports x 1
58 * Multi-Channel LoRaWAN Wireless
59 * WiFi 802.11 b/g/n
60 * Sensitivity: -140dBm
61 * Max Output Power: 27dBm
62
63 (% style="color:#037691" %)**Operating Condition:**
64
65 * Work Temperature: -20 ~~ 70°C
66 * Storage Temperature: -20 ~~ 70°C
67 * Power Input: 5V, 2A, DC
68
69 == 1.3 Features ==
70
71
72 * Open Source Debian system
73 * Managed by Web GUI, SSH via WAN or WiFi
74 * Remote Management
75 * Auto-provisioning for batch deployment and management
76 * LoRaWAN Gateway
77 * 10 programmable parallel demodulation paths
78 * Pre-configured to support different LoRaWAN regional settings.
79 * Allow customizing LoRaWAN regional parameters.
80 * Different kinds of LoRaWAN Connections such as
81 ** Semtech UDP Packet Forwarder
82 ** LoRaWAN Basic Station
83 ** ChirpStack-Gateway-Bridge (MQTT)
84 * Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server
85 * Built-in  (% style="color:#037691" %)**Node-Red** (%%)local Application server
86
87 == 1.4 LED Indicators ==
88
89
90 LPS8-V2 has totally four LEDs, They are:
91
92
93 (% style="color:blue" %)**➢ Power LED**(%%): This RED LED will be solid if the device is properly powered
94
95 (% style="color:blue" %)**➢ ETH LED**(%%):  This RGB LED will blink GREEN when the ETH port is connecting
96
97 (% style="color:blue" %)**➢ SYS LED**(%%):  This RGB LED will show different colors in different states:
98
99 ✓  **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
100
101 ✓  **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 with BLINKING GREEN together
102
103 ✓**  SOLID RED:** Device doesn't have an Internet connection.
104
105 (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status.
106
107
108 == 1.5 Button Intruction ==
109
110
111 LPS8-V2 has a black toggle button, which is:
112
113
114 (% style="color:blue" %)**//➢ //Long press 4-5s  : **(%%)the gateway will reload the Network and Initialize wifi configuration
115
116 // // **LED status: ** ETH LED will BLINKIND BULE Until the reload is finished.
117
118
119 (% style="color:blue" %)**➢ Long press more than 10s:**(%%)**    **the gateway will restore the factory settings.
120
121 **LED status: ** ETH LED will SOLID BULE Until the restore is finished.
122
123
124 (% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server**
125
126 See this link for steps on how to clear data from the built-in server: **[[How to reset the built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtoresetthebuilt-inserver]]**
127
128
129 When the gateway restores the factory settings is complete,
130
131 The WiFi configuration will enable WiFi Access Point by default.
132
133 The other configuration will be restored to the default configuration.
134
135
136 = 2. Quick Start =
137
138
139 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
140
141 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
142
143
144 == 2.1 Access and Configure LPS8-V2 ==
145
146 === 2.1.1 Find IP address of LPS8-V2 ===
147
148
149 ==== (% style="color:blue" %)**Method 1**(%%):  Connect via LPS8-V2 WiFi ====
150
151
152 Since software version **230524**,At the first boot of LPS8-V2, it will auto generate a WiFi network called (% style="color:green" %)**//dragino-xxxxxx //**(%%)with password:
153
154 (% style="background-color:yellow" %)**dragino+dragino**
155
156 User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LPS8-V2 has the default IP (% style="color:green" %)**10.130.1.1**
157
158 [[image:image-20230527084515-1.png]]
159
160 [[image:image-20230527085250-2.png||height="495" width="284"]]
161
162
163 ==== (% style="color:blue" %)**Method 2**(%%):  Connect via Ethernet with DHCP IP from the router ====
164
165
166 (((
167 Connect the LPS8-V2 Ethernet port to your router and LPS8-V2 can 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 LPS8-V2.
168 )))
169
170 (((
171 You can also use this IP to connect.
172 )))
173
174 [[image:image-20220622100129-1.png||height="332" width="1263"]]
175
176
177 ==== (% style="color:blue" %)**Method 3**(%%):  Connect via LPS8-V2 Fallback IP ====
178
179
180 [[image:image-20230107084650-2.png||height="310" width="839"]]
181
182
183 (% style="color:blue" %)**Steps to connect via fallback IP:**
184
185 ~1. Connect the PC's Ethernet port to LPS8-V2's WAN port
186
187 2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252
188
189
190 **Settings ~-~-> Network & Internet ~-~-> Ethernet ~-~-> Change advanced sharing options ~-~-> Double-click"Ethernet" ~-~-> Internet Protocol Version 4 (TCP/IPv4)**
191
192
193 As in the below photo:
194
195 [[image:image-20230413172038-1.png||height="732" width="1243"]]
196
197
198 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]**
199
200 If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : **[[Trouble Shooting>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.3A0FallbackIPdoesnotwork2Chowcanuserscheck]]**
201
202
203 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.
204
205 [[image:image-20230111094247-2.png||height="619" width="1250"]]
206
207
208 ==== (% style="color:blue" %)**Method 4**(%%):  Connect via WiFi with DHCP IP from the router ====
209
210 [[image:image-20220622100542-2.png||height="369" width="1256"]]
211
212
213 Fill in the WiFi information by checking the box and clicking (% style="color:red" %)**Save&Apply**
214
215
216 [[image:image-20220622102702-6.png]]
217
218
219
220 **Wi-Fi configuration successful**
221
222
223 [[image:image-20220622102847-7.png]]
224
225
226 [[image:image-20220622102901-8.png||height="476" width="938"]]
227
228
229 === 2.1.2 Access Configure Web UI ===
230
231
232 **Web Interface**
233
234 Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method)
235
236
237 [[(% style="background-color:yellow" %)**//http:~~/~~/IP_ADDRESS //**>>http://IP_ADDRESS]](%%) or (% style="background-color:yellow" %)//**[[http:~~/~~/172.31.255.254>>http://172.31.255.254(]]**//(Fallback IP)
238
239 You will see the login interface of LPS8-V2 as shown below.
240
241 The account details for Web Login are:
242
243 (% style="color:blue" %)**User Name: root**
244
245 (% style="color:blue" %)**Password:   dragino**
246
247 [[image:image-20240318160845-1.png]]
248
249
250 == 2.2  Typical Network Setup ==
251
252 === 2.2.1  Overview ===
253
254
255 LPS8-V2 supports flexible network set up for different environment. This section describes the typical network topology can be set in LPS8-V2. The typical network set up includes:
256
257 * **WAN Port Internet Mode**
258
259 * **WiFi Client Mode**
260
261 * **Cellular Mode**
262
263 === 2.2.2  Use WAN port to access Internet ===
264
265
266 By default, the LPS8-V2 is set to use the WAN port to connect to an upstream network. When you connect the LPS8-V2's WAN port to an upstream router, LPS8-V2 will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the (% style="color:blue" %)**home page**(%%):
267
268
269 [[image:image-20230411100633-2.png||height="501" width="935"]]
270
271
272 === 2.2.3  Access the Internet as a WiFi Client ===
273
274
275 In the WiFi Client Mode, LPS8-V2 acts as a WiFi client and gets DHCP from an upstream router via WiFi.
276
277 The settings for WiFi Client is under page (% style="color:blue" %)**Network ~-~-> Wi-Fi**
278
279 [[image:image-20230411095739-1.png||height="264" width="691"]]
280
281 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click(% style="color:blue" %)** Save & Apply**(%%) to connect.
282
283
284 === 2.2.4  Use built-in 4G modem for internet access ===
285
286
287 (% style="color:blue" %)**Since Hardware version HP0C 1.4**
288
289 Users can see whether LPS8v2 has EC25 on the label of the gateway to determine whether there is 3G/4G Cellular modem.
290
291
292 If the LPS8-V2 has 3G/4G Cellular modem, user can use it as main internet connection or back up.
293
294 First, install the Micro SIM card as below direction
295
296 Second, Power off/ ON LPS8-V2 to let it detect the SIM card.
297
298
299 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657090855037-497.png?rev=1.1||alt="1657090855037-497.png"]]
300
301
302 The set up page is (% style="color:blue" %)**Network ~-~-> Cellular**
303
304 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.
305
306
307 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657090932270-444.png?rev=1.1||alt="1657090932270-444.png"]]
308
309
310 **Note: In most cases, the user simply types in the APN and checks the enable checkbox, without typing Pincode, Username, or Password settings.**
311
312
313 === 2.2.5  Check Internet connection ===
314
315
316 In the **home** page, we can check the Internet connection.
317
318 * GREEN Tick ​​​​ [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1652436675869-206.png?width=15&height=14&rev=1.1||alt="1652436675869-206.png"]] : This interface has Internet connection.
319 * Yellow  Tick  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1652436705761-420.png?width=15&height=15&rev=1.1||alt="1652436705761-420.png"]] : This interface has IP address but don't use it for internet connection.
320 * RED Cross  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1652436787176-950.png?width=15&height=14&rev=1.1||alt="1652436787176-950.png"]] : This interface doesn't connected or no internet.
321
322 [[image:image-20230411101534-3.png||height="544" width="942"]]
323
324
325 == 2.3 The LPS8-V2 is registered and connected to The Things Network ==
326
327 === 2.3.1 Select your area frequency ===
328
329
330 (((
331 First, you need to set the frequency plan in LPS8-V2 to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.
332
333
334 )))
335
336 [[image:image-20220622103332-9.png||height="485" width="938"]]
337
338
339 === 2.3.2 Get the only gateway EUI ===
340
341
342 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
343
344
345 [[image:image-20220622103355-10.png||height="698" width="949"]]
346
347
348 (% style="color:red" %)**Note: Choose the cluster that corresponds to a specific Gateway server address**
349
350
351 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
352
353 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
354
355 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
356
357 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
358
359
360 [[image:image-20220622103956-12.png]]
361
362
363 === 2.3.3 Register the gateway to The Things Network ===
364
365
366 **Login to The Things Network**
367
368 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
369
370
371 **Add the gateway**
372
373 [[image:image-20220622104252-13.png||height="511" width="953"]]
374
375
376 **Get it online**
377
378
379 = 3. Web Configure Pages =
380
381 == 3.1 Home ==
382
383
384 Shows the system running status:
385
386 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220622102901-8.png?rev=1.1||alt="image-20220622102901-8.png" height="476" width="939"]]
387
388
389 == 3.2 LoRa Settings ==
390
391 === 3.2.1 LoRa ~-~-> LoRa ===
392
393
394 This page shows the LoRa Radio Settings. There is a set of default frequency bands according to LoRaWAN protocol, and users can customize the band* as well.
395
396 Different LPS8v2 hardware versions can support different frequency ranges:
397
398 * (% style="color:#0000ff" %)**868**(% style="color:black" %): valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865, or KZ865.
399 * (% style="color:#0000ff" %)**915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920
400
401 (% class="wikigeneratedid" %)
402 After the user choose the frequency plan,  the user can see the actual frequency is used by checking the page (% style="color:#037691" %)**LogRead ~-~-> LoRa Log**
403
404
405 (% class="wikigeneratedid" %)
406 [[image:image-20220616110739-1.png||height="372" width="682"]]
407
408
409 (((
410 (% style="color:red" %)//**Note *: See this instruction for how to customize the frequency band: **//(%%)**//__[[How to customized LoRaWAN frequency band - DRAGINO>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]__//**
411 )))
412
413
414 == 3.3 LoRaWAN Settings ==
415
416 === 3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP ===
417
418
419 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.
420
421
422 [[image:image-20220616111932-2.png||height="516" width="672"]]
423
424
425 === 3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station ===
426
427
428 This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.
429
430
431 [[image:image-20220616113246-3.png||height="396" width="672"]]
432
433
434 (((
435 Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: __[[Use of LoRaWAN Basic Station - DRAGINO>>doc:Main.Use of LoRaWAN Basic Station.WebHome]]__
436 )))
437
438
439 == 3.4 Network Settings ==
440
441 === 3.4.1 Network ~-~-> WiFi ===
442
443 Users can configure the wifi WAN and enable Wifi Access Point on this interface
444
445 [[image:image-20230619095946-1.png||height="332" width="827"]]
446
447
448 === 3.4.2 Network ~-~-> System Status ===
449
450
451 [[image:image-20220820134112-2.png||height="539" width="668"]]
452
453
454 === 3.4.3 Network ~-~-> Network ===
455
456
457 In the **Network ~-~-> Network** interface, Users can set the Ethernet WAN static ip address.
458
459 [[image:image-20230214093657-2.png||height="333" width="858"]]
460
461
462 === 3.4.4 Network ~-~-> Cellular ===
463
464
465 In the **Network ~-~-> Cellular** interface, Users can Enable Cellular WAN and configure Celluar.
466
467 (% style="color:red" %)**Note: APN cannot be empty.**
468
469 [[image:image-20230228115126-1.png]]
470
471
472 After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellular state.
473
474 [[image:image-20230228115535-2.png||height="478" width="888"]]
475
476
477 Note: Known bugs: 4g consumes a lot of data which has been fixed by the package: dragino-ui-230716
478
479 [[Reduce data method>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H8.3Howtoreducethe4gdataconsumed]]
480
481
482 == 3.5 System ==
483
484 === 3.5.1 System ~-~-> System Overview ===
485
486
487 Shows the system info:
488
489 [[image:image-20231031162854-1.png]]
490
491
492 === 3.5.2 System ~-~-> System General ===
493
494
495 In the **System-> System General** interface, Users can customize the configuration System Password and set Timezone.
496
497 In addition, Users can customize the FallBack IP address.
498
499 [[image:image-20230214094058-3.png]]
500
501
502 === 3.5.3 System ~-~-> Backup/Restore ===
503
504
505 [[image:image-20231031162927-2.png]]
506
507 === 3.5.4 System ~-~-> Reboot / Reset ===
508
509 In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway.
510
511 ETH LED will SOLID BULE Until the restore is finished.
512
513 When the gateway restores the factory settings is complete,
514
515 The WiFi configuration will enable WiFi Access Point by default.
516
517 The other configuration will be restored to the default configuration.
518
519 [[image:image-20240203172853-1.png||height="365" width="901"]]
520
521
522 === 3.5.5 System ~-~-> Remoteit ===
523
524
525 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
526
527
528 the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]**
529
530 [[image:image-20221230092303-2.png]]
531
532
533 === 3.5.6 System ~-~-> Package Management ===
534
535
536 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
537
538 [[image:image-20230214094316-4.png]]
539
540
541 == 3.5 Logread ==
542
543 === 3.5.1 LoRa Log ===
544
545
546 In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection
547
548 [[image:image-20240416112509-1.png]]
549
550
551 === 3.5.2 Gateway Traffic ===
552
553 In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests
554
555 [[image:image-20240416112618-2.png||height="705" width="1122"]]
556
557
558 === 3.5.3 System Log ===
559
560 In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system
561
562 [[image:image-20240416112649-3.png||height="820" width="1122"]]
563
564
565 === 3.5.4 Record Log ===
566
567 In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log.
568
569 [[image:image-20240416112712-4.png||height="319" width="1128"]]
570
571
572
573 = 4. Build-in Server =
574
575 After the v1.7-230606 version, the LPS8-V2 default factory pre-installed the LoRaWAN Server: (% style="color:blue" %)**ChirpStack-V4**(%%), Application Server: (% style="color:blue" %)**Node-Red**(%%).
576
577
578 == 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) ==
579
580 [[image:image-20231106180816-4.png||height="416" width="896"]]
581
582 [[image:image-20231201165904-1.png||height="466" width="899"]]
583
584 (% style="color:red" %)**Note:  The user can access the**(%%)** (% style="color:blue" %)ChirpStack-V4 (% style="color:red" %)via click the 'Launch' button, and the login account: admin/admin(%%)**
585
586 For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
587
588
589
590 == 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) ==
591
592
593 [[image:image-20230616175558-7.png||height="362" width="894"]]
594
595 [[image:image-20231201170355-2.png||height="536" width="899"]]
596
597 (% style="color:red" %)**Note:  The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)**
598
599
600
601 == **3). Troubleshooting:** ==
602
603
604 * (((
605 === ** If the URL does not jump properly.** ===
606 )))
607
608 For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
609
610 For the Node-Red, you can use the local IP address and the port is **1880** to access it.
611
612
613 * (((
614 === ** How to install InfluxDB, Garfana.** ===
615 )))
616
617 The LPS8V2 is not pre-installed with InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]
618
619
620 * (((
621 === ** How to upgrade the gateway node.js to the latest version.** ===
622 )))
623
624 The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
625
626
627 * (((
628 === ** How to batch register device on the built-in Chirpstack network server** ===
629 )))
630
631 The user can register devices in batch on the gateway Web UI, see [[Batch Register>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H11.A0HowtouseChirpstackAPItobatchregisterSensorNode2FGatewayinChistapstackServer]]
632
633
634 * (((
635 === ** Why my gateway is not Chirpstack?** ===
636 )))
637
638 After June '23, the default factory LPS8V2 pre-installed Chirpstack-V4 instead of The Things Stack, the users can migrate to Chistack-V4, see **[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**
639
640
641 * (((
642 === ** How to disable the built-in server** ===
643 )))
644
645 (% class="box infomessage" %)
646 (((
647 Use the following commands to start and stop the TTNv3 service:**     **
648
649 **# start**
650 systemctl start ttnstack
651
652 **# stop**
653 systemctl stop ttnstack
654
655 **# enable**
656 systemctl enable ttnstack
657
658 **#disable**
659 systemctl disable ttnstack
660 )))
661
662 (% class="box infomessage" %)
663 (((
664 Use the following commands to start and stop the Node-Red service:
665
666 **# start**
667 systemctl start nodered
668
669 **# stop**
670 systemctl stop nodered
671
672 **# enable**
673 systemctl enable nodered
674
675 **#disable**
676 systemctl disable nodered
677 )))
678
679
680 * (((
681 === ** How to choose the Chirpstack server frequency SubBand** ===
682 )))
683
684 **~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
685
686 Note: Since the subbands of the Chirpstack are counted from 0, us915_1 of the Chirpstack is equal to US915 FSB2, so if your LoRa Rdio is using the US915 FSB2 you have to choose the us915_1 as the Chirpstack FSB.
687
688 [[image:image-20230602140406-3.png||height="480" width="918"]]
689
690
691 When the configuration is complete, click** "Save&Apply"**.
692
693
694 (% style="color:red" %)**Note:**(%%) When adding the device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2.
695
696 [[image:image-20230602143122-4.png||height="511" width="983"]]
697
698
699 = 5. Watch Dog =
700
701
702 LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
703
704 The uses can be via the below method to enable Watch Dog:
705
706 (% class="box infomessage" %)
707 (((
708 wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh
709 )))
710
711 [[image:image-20231124113209-1.png||height="470" width="1157"]]
712
713
714 = 6. How users can access LPS8-V2 using serial USB =
715
716
717 (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
718
719 Port 1 of the UART on the LPS8-V2 is GND
720
721 (% class="box infomessage" %)
722 (((
723 **TXD  <~-~--> UART RXD (Gray line)**
724
725 **RXD  <~-~--> UART TXD (White line)**
726
727 **GND <~-~--> GND (Black line)**
728 )))
729
730 **LPS8v2 UART connection photo**
731
732 [[image:image-20230421094319-2.png||height="351" width="392"]]
733
734 In the PC,you can use the serial port tool(such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows), you need to set the serial baud rate to (% style="color:blue" %)**115200**(%%) to access the serial console for LPS8v2. LPS8v2 will output system info once power on as below:
735
736
737 [[image:image-20220804164928-3.png||height="320" width="332"]]
738
739
740 [[image:image-20220804164747-2.png||height="622" width="594"]]
741
742
743 = 7. OTA System Update =
744
745
746 LPS8v2 supports system auto-update via OTA, please see **[[this URL>>url:http://wiki.dragino.com/xwiki/bin/view/OTA%20Update/]]** for the detail of this feature.
747
748
749 == 7.1 Auto-update method ==
750
751
752 The default, each gateway will enable the auto-update function.
753
754 this function will be triggered every boot and every midnight.
755
756
757 Users can enable/disable it via Web Page
758
759 [[image:image-20230607094447-2.png]]
760
761
762 == 7.2 Manual upgrade method ==
763
764
765 1). Using the Linux command to upgrade the system
766
767 (% class="box infomessage" %)
768 (((
769 **apt update && apt install *dragino***
770 )))
771
772
773 2). Upgrade the system via the Web page button of "Manual Update"
774
775 (% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
776
777 [[image:image-20230607093849-1.png]]
778
779
780 = 8. FAQ =
781
782 == 8.1 How to change Hostname ==
783
784
785 By default, Hostname is dragino-xxxxxx,If the user needs to change the hostname, the user needs to access the linux console of LPS8v2 and enter the following command:
786
787 (% class="box infomessage" %)
788 (((
789 hostnamectl set-hostname dragino-123456
790 )))
791
792 [[image:image-20230517102429-1.png]]
793
794 After the configuration is complete, run "reboot" to restart the gateway.
795
796
797 == 8.2 Build-in The Things Network migrate to ChirpStack ==
798
799
800 Migrate guide:
801
802 To stabilize the completion of the migration, The users can migrate in one of the following ways
803
804 **Method 1. Using the Linux shell, **
805
806 **Method 2. Flash a new image with the Chirpstack**
807
808
809 === Method 1: Using the Linux shell ===
810
811 (% class="box infomessage" %)
812 (((
813 wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack
814 )))
815
816
817 === Method 2: Flash a new image ===
818
819 Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]
820
821
822 == 8.3 How to reduce the 4g data consumed ==
823
824
825 1). The gateway will check the network via ping 1.1.1.1/8.8.8.8 which will consume a lot of data, you can set the interval time to reduce data consume.
826
827 [[image:image-20230719100239-1.png||height="724" width="994"]]
828
829
830 2. Change the LoRa status package interval time: It does not affect the connection between the gateway and the server, just the status packet interval
831
832 [[image:image-20230719100332-2.png]]
833
834
835 3. Disable the auto-update:
836
837 [[image:image-20230719100419-3.png||height="458" width="995"]]
838
839
840 == 8.4 How to connect the helium blockchain as a Data-only hotspot ==
841
842
843 (% class="box infomessage" %)
844 (((
845 apt update && apt install helium-gateway
846 )))
847
848
849 == 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
850
851
852 By default, the LPS8v2's built-in server is ChirpStack v4,
853
854 If the user needs to change the built-in server from ChirpStack v4 to TTN Stack v3, the User needs to download the image and flash it to the LPS8v2 gateway:
855
856 [[https:~~/~~/www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0>>https://www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0]]
857
858
859 Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]
860
861
862 == 8.6 How do I view gateway logs ==
863
864 === 8.6.1 LoRaWAN Log: ===
865
866
867 ==== Semtech UDP Log : ====
868
869 When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
870
871 [[image:image-20231017112115-2.png||height="611" width="821"]]
872
873
874 ==== Station Log: ====
875
876 When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
877
878 [[image:image-20231017111606-1.png||height="622" width="821"]]
879
880
881 === 8.6.2  4G Log ===
882
883
884 User needs to access the Linux console of the gateway and enter the following command:
885
886 (% class="box infomessage" %)
887 (((
888 cat /var/log/qmilog.txt
889 )))
890
891 [[image:image-20231017114417-3.png||height="543" width="679"]]
892
893
894 LPS8v2 use **quectel-CM** linux drive for dial up. The manual of this driver can be found here: [[**quectel-CM driver user manual**>>https://www.dropbox.com/scl/fi/73n2jl2c5r8h4i187to4n/Quectel_WCDMA_LTE_Linux_USB_Driver_User_Guide_V1.9-20190212.pdf?rlkey=j8834bw38d4neieisg54zngu9&st=kjsd4zx4&dl=0]].
895
896 Below are some commands as reference:
897
898 >Usage:  /usr/bin/quectel-CM [options]
899 > -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
900 > -p pincode Verify sim card pin if sim card is locked
901 > -p [quectel-][qmi|mbim]-proxy  Request to use proxy
902 > -f logfilename Save log message of this program to file
903 > -u usbmonlog filename  Save usbmon log to file
904 > -i interface Specify which network interface to setup data call when multi-modems exits
905 > -4 Setup IPv4 data call (default)
906 > -6 Setup IPv6 data call
907 > -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
908 > -m iface-idx Bind QMI data call to wwan0_<iface idx> when QMAP used. E.g '-n 7 -m 1' bind pdn-7 data call to wwan0_1
909 > -b Enable network interface bridge function (default 0)
910 > -v Verbose log mode, for debug purpose.[Examples]
911 >Example 1: /usr/bin/quectel-CM
912 >Example 2: /usr/bin/quectel-CM -s 3gnet
913 >Example 3: /usr/bin/quectel-CM -s 3gnet -v
914
915
916
917
918
919 === 8.6.3 Dmesg Log ===
920
921
922 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
923
924 [[image:image-20231017115330-5.png||height="565" width="740"]]
925
926
927 === 8.6.4 Record Log ===
928
929
930 Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
931
932 [[image:image-20231017115124-4.png||height="215" width="880"]]
933
934
935 === 8.6.5 View gateway logs via Linux Command ===
936
937
938 **Semtech UDP Log :**
939
940 (% class="box infomessage" %)
941 (((
942 **journalctl -u draginofwd -f**
943 )))
944
945 [[image:image-20231207144627-1.png||height="371" width="1017"]]
946
947
948 **Station Log:**
949
950 (% class="box infomessage" %)
951 (((
952 **tail -f /var/log/station.log **
953 )))
954
955 [[image:image-20231207144758-2.png||height="132" width="1022"]]
956
957
958 **Dmesg Log:**
959
960 (% class="box infomessage" %)
961 (((
962 **dmesg**
963 )))
964
965 [[image:image-20231207145210-3.png||height="310" width="1021"]]
966
967
968 == 8.7 DIN Mount Reference: ==
969
970
971 [[image:image-20240318095605-1.jpeg||height="472" width="472"]]
972
973 [[image:image-20240318095617-2.png]]
974
975
976 == 8.8 NTP Service/Time Synchronization ==
977
978 The gateway time sync service is provided by chrony service
979
980
981 === 1). Modify the NTP server address: ===
982
983 (% class="box infomessage" %)
984 (((
985 Configuration file path:  /etc/chrony/chrony.conf
986 )))
987
988
989 === 2). Start/Stop/Enable/Disable NTP service: ===
990
991 (% class="box infomessage" %)
992 (((
993 systemctl start chrony
994 \\systemctl stop chrony
995 \\systemctl disable chrony
996 \\systemctl enable chrony
997 )))
998
999
1000
1001 = 9. Trouble Shooting =
1002
1003 == 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
1004
1005 [[image:image-20220920135918-1.png]]
1006
1007
1008 This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.
1009
1010 By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.
1011
1012
1013 So you can change the domain name of the TTN-Stack configuration to the IPv4 address.
1014
1015 **Click the update URL button to configure the URL with the current eth port address.**
1016
1017 [[image:image-20220920141936-2.png]]
1018
1019
1020 == 9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
1021
1022
1023 When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
1024
1025 [[image:image-20230508171607-1.png]]
1026
1027
1028 == 9.3  Fallback IP does not work, how can users check ==
1029
1030
1031 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
1032
1033
1034 **~1. Check whether the configuration is correct**
1035
1036 Run the CMD command to ipconfig and ping 172.31.255.254.
1037
1038 If this fails, the user needs to reconfigure.
1039
1040 [[image:image-20230413170224-3.png||height="433" width="707"]]
1041
1042 [[image:image-20230413170246-4.png]]
1043
1044
1045 **2. Check whether the firewall is disabled**
1046
1047 If the firewall is not down, this will affect access to the gateway.
1048
1049
1050 == 9.4  Click "Manual_Update", why there is no response? ==
1051
1052
1053 When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
1054
1055
1056 [[image:image-20230527090555-3.png||height="660" width="832"]]
1057
1058
1059 == 9.5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access ==
1060
1061
1062 Earlier versions of the LPS8V2 which missing the AP driver and not installed the fallback package, so the users have to do an extra update.
1063
1064 (% class="box infomessage" %)
1065 (((
1066 apt update && apt install *dragino*
1067
1068 wget -P /tmp/ [[http:~~/~~/repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]] && dpkg -i /tmp/[[linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]]
1069 )))
1070
1071
1072 == 9.6  How to reset the built-in server ==
1073
1074
1075 **1) Build-in The Things Network**
1076
1077 Refer to this link to delete the Built-in server's device.
1078
1079 [[Delete devices from Build-in The Things Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Delete%20devices%20from%20Build-in%20The%20Things%20Network/]]
1080
1081
1082 **2) Build-in Chirpstack**
1083
1084 Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset.
1085
1086 [[image:image-20231106180846-5.png||height="310" width="668"]]
1087
1088
1089 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
1090
1091
1092 (((
1093 If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
1094 )))
1095
1096 (((
1097 With your question as detailed as possible. We will reply and help you in the shortest.
1098
1099
1100 = 11. Reference =
1101
1102
1103 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
1104 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
1105
1106
1107 )))
1108
1109 = 12. Order Info =
1110
1111
1112 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
1113
1114 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
1115
1116 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1117
1118 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1119
1120 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1121
1122 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1123
1124 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1125
1126 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
1127
1128 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
1129
1130 * (% style="color:red" %)**EC25-E**(% style="color:black" %):  EMEA, Korea, Thailand, India
1131
1132 * (% style="color:red" %)**EC25-AFX**(% style="color:black" %): America:Verizon, AT&T(FirstNet), U.S.Cellular; Canada:Telus
1133
1134 * (% style="color:red" %)**EC25-AUX**(% style="color:black" %): Latin America, New Zeland, Taiwan
1135
1136 * (% style="color:red" %)**EC25-J**(% style="color:black" %):  Japan, DOCOMO, SoftBank, KDDI
1137
1138 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
1139
1140
1141 = 13. Manufacturer Info =
1142
1143
1144 **Shenzhen Dragino Technology Development co. LTD**
1145
1146 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
1147
1148 LongCheng Street, LongGang District ; Shenzhen 518116,China
1149
1150
1151 = 14. FCC Warning =
1152
1153
1154 (((
1155 This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
1156 )))
1157
1158 (((
1159 ~-~- Reorient or relocate the receiving antenna.
1160 )))
1161
1162 (((
1163 ~-~- Increase the separation between the equipment and receiver.
1164 )))
1165
1166 (((
1167 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
1168 )))
1169
1170 (((
1171 ~-~- Consult the dealer or an experienced radio/TV technician for help.
1172 )))
1173
1174
1175 (((
1176 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
1177 )))
1178
1179
1180 (((
1181 The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
1182
1183
1184 )))
1185 )))