Last modified by Kilight Cao on 2025/08/14 09:54

Show last authors
1 [[image:image-20220620202334-2.png||data-xwiki-image-style-alignment="center" height="467" width="809"]]
2
3
4 (((
5
6
7
8 )))
9
10 **Table of Contents:**
11
12 {{toc/}}
13
14
15
16
17
18 = 1. Introduction =
19
20 == (% data-sider-select-id="66d5195f-ab1f-47c7-83cb-b027d0903e53" %)1.1 What is LPS8v2(%%) ==
21
22
23 (((
24 (((
25 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.
26 )))
27
28 (((
29 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.
30 )))
31
32 (((
33 LPS8v2 also includes a (% style="color:blue" %)**built-in LoRaWAN Server ChirpStack-V4 and IoT server Node-red**(%%), which provide the possibility for the system integrator to deploy the IoT service without cloud service or 3rd servers.
34 )))
35
36 (((
37 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.
38 )))
39
40 (((
41 LPS8v2 supports (% style="color:blue" %)**remote management**(%%). System Integrator can easy to remote monitor the gateway and maintain it.
42 )))
43
44
45
46
47
48
49 == 1.2 Specifications ==
50
51
52 (% style="color:#037691" %)**Hardware System:**
53
54 * CPU: Quad-core Cortex-A7 1.2Ghz
55 * RAM: 512MB
56 * eMMC: 4GB
57
58 (% style="color:#037691" %)**Interface:**
59
60 * 10M/100M RJ45 Ports x 1
61 * Multi-Channel LoRaWAN Wireless
62 * WiFi 802.11 b/g/n
63 * Sensitivity: -140dBm
64 * Max Output Power: 27dBm
65
66 (% style="color:#037691" %)**Operating Condition:**
67
68 * Work Temperature: -20 ~~ 70°C
69 * Storage Temperature: -20 ~~ 70°C
70 * Power Input: 5V, 2A, DC
71
72 == 1.3 Features ==
73
74
75 * Open Source Debian system
76 * Managed by Web GUI, SSH via WAN or WiFi
77 * Remote Management
78 * Auto-provisioning for batch deployment and management
79 * LoRaWAN Gateway
80 * 10 programmable parallel demodulation paths
81 * Pre-configured to support different LoRaWAN regional settings.
82 * Allow customizing LoRaWAN regional parameters.
83 * Different kinds of LoRaWAN Connections such as
84 ** Semtech UDP Packet Forwarder
85 ** LoRaWAN Basic Station
86 ** ChirpStack-Gateway-Bridge (MQTT)
87 * Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server
88 * Built-in  (% style="color:#037691" %)**Node-Red** (%%)local Application server
89
90 == 1.4 LED Indicators ==
91
92
93 LPS8-V2 has totally four LEDs, They are:
94
95
96 (% style="color:blue" %)**➢ Power LED**(%%): This RED LED will be solid if the device is properly powered
97
98 (% style="color:blue" %)**➢ ETH LED**(%%):  This RGB LED will blink GREEN when the ETH port is connecting
99
100 (% style="color:blue" %)**➢ SYS LED**(%%):  This RGB LED will show different colors in different states:
101
102 ✓  **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
103
104 ✓  **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
105
106 ✓**  SOLID RED:** Device doesn't have an Internet connection.
107
108 (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status.
109
110
111 == 1.5 Button Instruction ==
112
113
114 LPS8-V2 has a black toggle button, which is:
115
116
117 (% style="color:blue" %)**//➢ //Long press 4-5s  : **(%%)the gateway will reload the Network and Initialize wifi configuration
118
119 // // **LED status: ** ETH LED will BLINKIND BULE Until the reload is finished.
120
121
122 (% style="color:blue" %)**➢ Long press more than 10s:**(%%)**    **the gateway will restore the factory settings.
123
124 **LED status: ** ETH LED will SOLID BULE Until the restore is finished.
125
126
127 (% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server**
128
129 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]]**
130
131
132 When the gateway restores the factory settings is complete,
133
134 The WiFi configuration will enable WiFi Access Point by default.
135
136 The other configuration will be restored to the default configuration.
137
138
139 = 2. Quick Start =
140
141
142 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
143
144 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
145
146
147 == 2.1 Access and Configure LPS8-V2 ==
148
149 === 2.1.1 Find IP address of LPS8-V2 ===
150
151
152 ==== (% style="color:blue" %)**Method 1**(%%):  Connect via LPS8-V2 WiFi ====
153
154
155 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:
156
157 (% style="background-color:yellow" %)**dragino+dragino**
158
159 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**
160
161 [[image:image-20230527084515-1.png]]
162
163 [[image:image-20230527085250-2.png||height="495" width="284"]]
164
165
166 ==== (% style="color:blue" %)**Method 2**(%%):  Connect via Ethernet with DHCP IP from the router ====
167
168
169 (((
170 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.
171 )))
172
173 (((
174 You can also use this IP to connect.
175 )))
176
177 [[image:image-20220622100129-1.png||height="332" width="1263"]]
178
179
180 ==== (% style="color:blue" %)**Method 3**(%%):  Connect via LPS8-V2 Fallback IP ====
181
182
183 [[image:image-20230107084650-2.png||height="310" width="839"]]
184
185
186 (% style="color:blue" %)**Steps to connect via fallback IP:**
187
188 ~1. Connect the PC's Ethernet port to LPS8-V2's WAN port
189
190 2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252
191
192
193 **Settings ~-~-> Network & Internet ~-~-> Ethernet ~-~-> Change advanced sharing options ~-~-> Double-click"Ethernet" ~-~-> Internet Protocol Version 4 (TCP/IPv4)**
194
195
196 As in the below photo:
197
198 [[image:image-20230413172038-1.png||height="732" width="1243"]]
199
200
201 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]**
202
203 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]]**
204
205
206 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.
207
208 [[image:image-20230111094247-2.png||height="619" width="1250"]]
209
210
211 ==== (% style="color:blue" %)**Method 4**(%%):  Connect via WiFi with DHCP IP from the router ====
212
213 [[image:image-20220622100542-2.png||height="369" width="1256"]]
214
215
216 Fill in the WiFi information by checking the box and clicking (% style="color:red" %)**Save&Apply**
217
218
219 [[image:image-20241231151635-3.png||height="481" width="944"]]
220
221
222
223 **Wi-Fi configuration successful**
224
225 [[image:image-20241231151810-4.png||height="487" width="947"]]
226
227
228 [[image:image-20241231152015-6.png||height="506" width="1001"]]
229
230
231 === 2.1.2 Access Configure Web UI ===
232
233
234 **Web Interface**
235
236 Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method)
237
238
239 [[(% 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)
240
241 You will see the login interface of LPS8-V2 as shown below.
242
243 The account details for Web Login are:
244
245 (% style="color:blue" %)**User Name: root**
246
247 (% style="color:blue" %)**Password:   dragino**
248
249 [[image:image-20240318160845-1.png]]
250
251
252 == 2.2  Typical Network Setup ==
253
254 === 2.2.1  Overview ===
255
256
257 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:
258
259 * **WAN Port Internet Mode**
260
261 * **WiFi Client Mode**
262
263 * **Cellular Mode**
264
265 === 2.2.2  Use WAN port to access Internet ===
266
267
268 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**(%%):
269
270
271 [[image:image-20230411100633-2.png||height="501" width="935"]]
272
273
274 === 2.2.3  Access the Internet as a WiFi Client ===
275
276
277 In the WiFi Client Mode, LPS8-V2 acts as a WiFi client and gets DHCP from an upstream router via WiFi.
278
279 The settings for WiFi Client is under page (% style="color:blue" %)**Network ~-~-> Wi-Fi**
280
281 [[image:image-20241231151512-2.png]]
282
283 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click(% style="color:blue" %)** Save & Apply**(%%) to connect.
284
285
286 === 2.2.4  Use built-in 4G modem for internet access ===
287
288
289 (% style="color:blue" %)**Since Hardware version HP0C 1.4**
290
291 Users can see whether LPS8v2 has EC25 on the label of the gateway to determine whether there is 3G/4G Cellular modem.
292
293
294 If the LPS8-V2 has 3G/4G Cellular modem, user can use it as main internet connection or back up.
295
296 First, install the Micro SIM card as below direction
297
298 Second, Power off/ ON LPS8-V2 to let it detect the SIM card.
299
300
301 [[image:image-20241231153425-1.jpeg||height="262" width="884"]]
302
303
304 The set up page is (% style="color:blue" %)**Network ~-~-> Cellular**
305
306 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.
307
308
309 [[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"]]
310
311
312 (% style="color:red" %)**Note: In most cases, the user simply types in the APN and checks the enable checkbox, without typing Pincode, Username, or Password settings.**
313
314
315 When cellular fails to connect or has problems, users can refer to this link to (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)Trouble Shooting(%%):**[[How to Trouble Shooting if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.2ForLPS8v22FMS48-LR]]**
316
317
318 === 2.2.5  Check Internet connection ===
319
320
321 In the **home** page, we can check the Internet connection.
322
323 * 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.
324 * 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.
325 * 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.
326
327 [[image:image-20230411101534-3.png||height="544" width="942"]]
328
329
330 == 2.3 The LPS8-V2 is registered and connected to The Things Network ==
331
332 === 2.3.1 Select your area frequency ===
333
334
335 (((
336 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.
337
338
339 )))
340
341 [[image:image-20220622103332-9.png||height="485" width="938"]]
342
343
344 === 2.3.2 Get the only gateway EUI ===
345
346
347 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
348
349
350 [[image:image-20220622103355-10.png||height="698" width="949"]]
351
352
353 (% style="color:red" %)**Note: Choose the cluster that corresponds to a specific Gateway server address**
354
355
356 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
357
358 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
359
360 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
361
362 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
363
364
365 [[image:image-20220622103956-12.png]]
366
367
368 === 2.3.3 Register the gateway to The Things Network ===
369
370
371 **Login to The Things Network**
372
373 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
374
375
376 **Add the gateway**
377
378 [[image:image-20220622104252-13.png||height="511" width="953"]]
379
380
381 **Get it online**
382
383
384 = 3. Web Configure Pages =
385
386 == 3.1 Home ==
387
388
389 Shows the system running status:
390
391 [[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"]]
392
393
394 == 3.2 LoRa Settings ==
395
396 === 3.2.1 LoRa ~-~-> LoRa ===
397
398
399 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.
400
401 Different LPS8v2 hardware versions can support different frequency ranges:
402
403 * (% style="color:#0000ff" %)**868**(% style="color:black" %): valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865, or KZ865.
404 * (% style="color:#0000ff" %)**915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920
405
406 (% class="wikigeneratedid" %)
407 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**
408
409
410 (% class="wikigeneratedid" %)
411 [[image:image-20220616110739-1.png||height="457" width="836"]]
412
413
414 (((
415 (% 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]]__//**
416 )))
417
418
419 == 3.3 LoRaWAN Settings ==
420
421 === 3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP ===
422
423
424 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.
425
426
427 [[image:image-20220616111932-2.png||height="516" width="672"]]
428
429
430 === 3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station ===
431
432
433 This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.
434
435
436 [[image:image-20220616113246-3.png||height="396" width="672"]]
437
438
439 (((
440 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]]__
441
442
443 == (% style="color:inherit; font-family:inherit; font-size:26px" %)3.4  Forwarder(%%) ==
444 )))
445
446 === 3.4.1 Forwarder ~-~-> MQTT Forwarder ===
447
448
449 In the latest version, MQTT Forwarder functionality has been added to the LPS8V2 gateway by default
450
451 Users can configure the MQTT Forwarder on the **Forwarder~-~->MQTT** interface, and when the configuration is successful, it will forward the sensor data of the lorawan server chirpstack built in LPS8v2
452
453 For a detailed example of this feature, see this link:**[[MQTT Forward Instruction - DRAGINO>>http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/#H3.3A0UseLoRaWANProtocolforcommunication--ForLPS8V2]]**
454
455 (% class="wikigeneratedid" %)
456 [[image:image-20240902092034-1.png]]
457
458
459 == 3.5 Network Settings ==
460
461 === 3.5.1 Network ~-~-> WiFi ===
462
463 Users can configure the wifi WAN and enable Wifi Access Point on this interface
464
465 [[image:image-20241231151434-1.png||height="608" width="1195"]]
466
467
468 === 3.5.2 Network ~-~-> System Status ===
469
470
471 [[image:image-20220820134112-2.png||height="539" width="668"]]
472
473
474 === 3.5.3 Network ~-~-> Network ===
475
476
477 In the **Network ~-~-> Network** interface, Users can set the Ethernet WAN static ip address.
478
479 [[image:image-20230214093657-2.png||height="333" width="858"]]
480
481
482 === 3.5.4 Network ~-~-> Cellular ===
483
484
485 In the **Network ~-~-> Cellular** interface, Users can Enable Cellular WAN and configure Celluar.
486
487 (% style="color:red" %)**Note: APN cannot be empty.**
488
489 [[image:image-20230228115126-1.png]]
490
491
492 After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellular state.
493
494 [[image:image-20230228115535-2.png||height="478" width="888"]]
495
496
497 Note: Known bugs: 4g consumes a lot of data which has been fixed by the package: dragino-ui-230716
498
499 **[[Reduce data method>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H8.3Howtoreducethe4gdataconsumed]]**
500
501 (% class="wikigeneratedid" id="H5.MQTTForwarder" %)
502 (% id="cke_bm_4823S" style="display:none" %)
503
504 When cellular fails to connect or has problems, users can refer to this link to (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)Trouble Shooting(%%):**[[How to Trouble Shooting if Cellular connection fails>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.2ForLPS8v22FMS48-LR]]**
505
506
507 == 3.6 System ==
508
509 === 3.6.1 System ~-~-> System Overview ===
510
511
512 Shows the system info:
513
514 [[image:image-20231031162854-1.png]]
515
516
517 === 3.6.2 System ~-~-> System General ===
518
519
520 In the **System-> System General** interface, Users can customize the configuration System Password and set Timezone.
521
522 In addition, Users can customize the FallBack IP address.
523
524 [[image:image-20230214094058-3.png]]
525
526
527 === 3.6.3 System ~-~-> Backup/Restore ===
528
529
530 [[image:image-20231031162927-2.png]]
531
532 === 3.6.4 System ~-~-> Reboot / Reset ===
533
534 In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway.
535
536 ETH LED will SOLID BULE Until the restore is finished.
537
538 When the gateway restores the factory settings is complete,
539
540 The WiFi configuration will enable WiFi Access Point by default.
541
542 The other configuration will be restored to the default configuration.
543
544 [[image:image-20240203172853-1.png||height="365" width="901"]]
545
546
547 === 3.6.5 System ~-~-> Remoteit ===
548
549
550 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
551
552
553 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.]]**
554
555 [[image:image-20221230092303-2.png]]
556
557
558 === 3.6.6 System ~-~-> Package Management ===
559
560
561 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
562
563 [[image:image-20230214094316-4.png]]
564
565
566 == 3.7 Logread ==
567
568 === 3.7.1 LoRa Log ===
569
570
571 In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection
572
573 [[image:image-20240416112509-1.png]]
574
575
576 === 3.7.2 Gateway Traffic ===
577
578 In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests
579
580 [[image:image-20240416112618-2.png||height="705" width="1122"]]
581
582
583 === 3.7.3 System Log ===
584
585 In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system
586
587 [[image:image-20240416112649-3.png||height="820" width="1122"]]
588
589
590 === 3.7.4 Record Log ===
591
592 In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log.
593
594 [[image:image-20240416112712-4.png||height="319" width="1128"]]
595
596
597
598 = 4. Build-in Server =
599
600 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**(%%).
601
602 (% style="color:red" %)**Note: LPS8V2 has built-in chirpstack based on Docker, so customers do not need to install it manually again**
603
604
605 == 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) ==
606
607 [[image:image-20231106180816-4.png||height="416" width="896"]]
608
609 [[image:image-20231201165904-1.png||height="466" width="899"]]
610
611 (% 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(%%)**
612
613 For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
614
615
616
617 == 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) ==
618
619
620 [[image:image-20230616175558-7.png||height="362" width="894"]]
621
622 [[image:image-20231201170355-2.png||height="536" width="899"]]
623
624 (% style="color:red" %)**Note:  The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)**
625
626
627
628 == **3). Troubleshooting:** ==
629
630
631 * (((
632 === ** If the URL does not jump properly.** ===
633 )))
634
635 For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
636
637 For the Node-Red, you can use the local IP address and the port is **1880** to access it.
638
639
640 * (((
641 === ** How to install InfluxDB, Garfana.** ===
642 )))
643
644 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]]
645
646
647 * (((
648 === ** How to upgrade the gateway node.js to the latest version.** ===
649 )))
650
651 The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
652
653
654 * (((
655 === ** How to batch register device on the built-in Chirpstack network server** ===
656 )))
657
658 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]]
659
660
661 * (((
662 === ** Why my gateway is not Chirpstack?** ===
663 )))
664
665 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]]**
666
667
668 * (((
669 === ** How to disable the built-in server** ===
670 )))
671
672 (% class="box infomessage" %)
673 (((
674 Use the following commands to start and stop the TTNv3 service:**     **
675
676 **# start**
677 systemctl start ttnstack
678
679 **# stop**
680 systemctl stop ttnstack
681
682 **# enable**
683 systemctl enable ttnstack
684
685 **#disable**
686 systemctl disable ttnstack
687 )))
688
689 (% class="box infomessage" %)
690 (((
691 Use the following commands to start and stop the Node-Red service:
692
693 **# start**
694 systemctl start nodered
695
696 **# stop**
697 systemctl stop nodered
698
699 **# enable**
700 systemctl enable nodered
701
702 **#disable**
703 systemctl disable nodered
704 )))
705
706 * (((
707 === ** How to choose the Chirpstack server frequency SubBand** ===
708 )))
709
710 **~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
711
712 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.
713
714 [[image:image-20230602140406-3.png||height="480" width="918"]]
715
716
717 When the configuration is complete, click** "Save&Apply"**.
718
719
720 (% 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.
721
722 [[image:image-20230602143122-4.png||height="511" width="983"]]
723
724
725
726 = 5. Watch Dog =
727
728
729 The watchdog will guard the LPS8V2 to avoid the need to perform a reboot manually after down occurs
730
731
732 LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
733
734 The uses can be via the below method to enable Watch Dog:
735
736 (% class="box infomessage" %)
737 (((
738 wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh
739 )))
740
741 [[image:image-20231124113209-1.png||height="470" width="1157"]]
742
743
744 = 6. How users can access LPS8-V2 using serial USB =
745
746
747 (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
748
749 Port 1 of the UART on the LPS8-V2 is GND
750
751 (% class="box infomessage" %)
752 (((
753 **TXD  <~-~--> UART RXD (Gray line)**
754
755 **RXD  <~-~--> UART TXD (White line)**
756
757 **GND <~-~--> GND (Black line)**
758 )))
759
760 **LPS8v2 UART connection photo**
761
762 [[image:image-20230421094319-2.png||height="351" width="392"]]
763
764 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:
765
766
767 [[image:image-20220804164928-3.png||height="320" width="332"]]
768
769
770 [[image:image-20220804164747-2.png||height="622" width="594"]]
771
772
773 = 7. OTA System Update =
774
775
776 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.
777
778
779 == 7.1 Auto-update method ==
780
781
782 The default, each gateway will enable the auto-update function.
783
784 this function will be triggered every boot and every midnight.
785
786
787 Users can enable/disable it via Web Page
788
789 [[image:image-20230607094447-2.png]]
790
791
792 == 7.2 Manual upgrade method ==
793
794
795 1). Using the Linux command to upgrade the system
796
797 (% class="box infomessage" %)
798 (((
799 **apt update && apt install *dragino***
800 )))
801
802
803 2). Upgrade the system via the Web page button of "Manual Update"
804
805 (% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
806
807 [[image:image-20230607093849-1.png]]
808
809
810 = (% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %)8 How do I view gateway logs(%%) =
811
812 === (% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %)8.1 LoRaWAN Log:(%%) ===
813
814
815 ==== Semtech UDP Log : ====
816
817 When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
818
819 [[image:image-20231017112115-2.png||height="611" width="821"]]
820
821
822 ==== Station Log: ====
823
824 When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
825
826 [[image:image-20231017111606-1.png||height="622" width="821"]]
827
828
829 === (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)8.2  4G Log(%%) ===
830
831
832 User needs to access the Linux console of the gateway and enter the following command:
833
834 (% class="box infomessage" %)
835 (((
836 cat /var/log/qmilog.txt
837 )))
838
839 [[image:image-20231017114417-3.png||height="543" width="679"]]
840
841
842 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]].
843
844 Below are some commands as reference:
845
846 >Usage:  /usr/bin/quectel-CM [options]
847 > -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
848 > -p pincode Verify sim card pin if sim card is locked
849 > -p [quectel-][qmi|mbim]-proxy  Request to use proxy
850 > -f logfilename Save log message of this program to file
851 > -u usbmonlog filename  Save usbmon log to file
852 > -i interface Specify which network interface to setup data call when multi-modems exits
853 > -4 Setup IPv4 data call (default)
854 > -6 Setup IPv6 data call
855 > -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
856 > -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
857 > -b Enable network interface bridge function (default 0)
858 > -v Verbose log mode, for debug purpose.[Examples]
859 >Example 1: /usr/bin/quectel-CM
860 >Example 2: /usr/bin/quectel-CM -s 3gnet
861 >Example 3: /usr/bin/quectel-CM -s 3gnet -v
862
863
864
865 === (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4" %)8.3 Dmesg Log(%%) ===
866
867
868 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
869
870 [[image:image-20231017115330-5.png||height="565" width="740"]]
871
872
873 === (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)8.4 Record Log(%%) ===
874
875
876 Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
877
878 [[image:image-20231017115124-4.png||height="215" width="880"]]
879
880
881 === (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)8.5 View gateway logs via Linux Command(%%) ===
882
883
884 **Semtech UDP Log :**
885
886 (% class="box infomessage" %)
887 (((
888 **journalctl -u draginofwd -f**
889 )))
890
891 [[image:image-20231207144627-1.png||height="371" width="1017"]]
892
893
894 **Station Log:**
895
896 (% class="box infomessage" %)
897 (((
898 **tail -f /var/log/station.log **
899 )))
900
901 [[image:image-20231207144758-2.png||height="132" width="1022"]]
902
903
904 **Dmesg Log:**
905
906 (% class="box infomessage" %)
907 (((
908 **dmesg**
909 )))
910
911 [[image:image-20231207145210-3.png||height="310" width="1021"]]
912
913
914 **SysLog :**
915
916 (% class="box infomessage" %)
917 (((
918 **tail -f /var/log/syslog **
919 )))
920
921 [[image:1754364208742-890.png||height="295" width="1023"]]
922
923 (% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %)
924 = (% data-sider-select-id="ce97a758-4348-4c0c-86eb-412b6b8d3996" %)9. More Services(%%) =
925
926 == (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)9.1 NTP Service/Time Synchronization(%%) ==
927
928 The gateway time sync service is provided by chrony service
929
930
931 === 1). Modify the NTP server address: ===
932
933 (% class="box infomessage" %)
934 (((
935 Configuration file path:  /etc/chrony/chrony.conf
936 )))
937
938
939 === 2). Start/Stop/Enable/Disable NTP service: ===
940
941 (% class="box infomessage" %)
942 (((
943 systemctl start chrony
944 \\systemctl stop chrony
945 \\systemctl disable chrony
946 \\systemctl enable chrony
947 )))
948
949
950 (% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %)
951 = (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10. More features(%%) =
952
953 (% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %)
954 == (% data-sider-select-id="ec6a5e23-ba91-46d9-8042-1e4c6a7b3b36" %)10.1 Chirpstack MQTT Forwarder(%%) ==
955
956
957 ChirpStack MQTT Forwarder is a MQTT packet forwarder for LoRa gateways. By default it forwards packets in Protobuf binary format, optionally it can be configured to use JSON encoding for debugging. In contrast to the ChirpStack Gateway Bridge, this component must always be installed on the gateway.
958
959
960 (% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %)
961 === (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="0870eb11-ff25-47fc-9e3c-80a68bbf3933" %).1.1 Configure Packet Forwarder(%%) ===
962
963 In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.
964
965 (% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %)
966 By default, the web-interface can be accessed by entering the following URL in your browser: (% data-sider-select-id="c2683c51-0bf8-4ac5-87be-c50edacc8f4b" %)**http:~/~/GATEWAY-IP-ADDRESS**(%%) (replace GATEWAY-IP-ADDRESS by the actual IP address of your gateway). The default credentials are root / dragino.
967
968 * In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP**
969 * Configure the following settings:
970 ** **Service Provider:** //Custom / Private LoRaWAN//
971 ** **Server Address:** localhost
972 ** **Uplink Port:** 1700
973 ** **Downlink Port:** 1700
974 * Click **Save & Apply**
975
976 [[image:image-20240518145929-2.png||height="652" width="727"]]
977
978
979 (% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %)
980 === (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="ffba644f-a9d5-4e93-a9da-9f9e49d596d9" %).1.2 Install ChirpStack MQTT Forwarder(%%) ===
981
982
983 (% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %)
984 (% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login**
985
986 First you must login into the gateway using SSH:
987
988 (% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %)
989 (((
990 ssh root@GATEWAY-IP-ADDRESS
991 )))
992
993 (% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %)
994 The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%).
995
996
997 (% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %)
998 (% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package**
999
1000 (% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %)
1001 Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package:
1002
1003 (% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858" %)
1004 (((
1005 cd /tmp
1006 wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
1007 )))
1008
1009
1010 (% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %)
1011 (% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install **
1012
1013 Use the dpkg package-manager to install the downloaded package. Example:
1014
1015 (% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %)
1016 (((
1017 dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
1018 )))
1019
1020 [[image:image-20240518152148-4.png]]
1021
1022
1023 (% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %)
1024 **Configuration**
1025
1026 To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
1027
1028 (% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %)
1029 This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
1030
1031
1032 **ChirpStack MQTT Forwarder Setting:**
1033
1034 (% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %)
1035 (((
1036 topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
1037
1038 server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
1039 )))
1040
1041 username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
1042
1043
1044 Use commands to modify configuration files:
1045
1046 (% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %)
1047 (((
1048 vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
1049 )))
1050
1051 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518141059-6.png?rev=1.1||alt="image-20240518141059-6.png"]]
1052
1053
1054 **(Re)start and stop commands**
1055
1056 Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
1057
1058 (% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %)
1059 (((
1060 # start
1061
1062 (% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %)
1063 systemctl start chirpstack-mqtt-forwarder
1064
1065 # stop
1066
1067 systemctl stop chirpstack-mqtt-forwarder
1068
1069 # restart
1070
1071 systemctl restart chirpstack-mqtt-forwarder
1072 )))
1073
1074 (% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %)
1075 (% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict**
1076
1077
1078 **Check result**
1079
1080 (% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %)
1081 Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder.
1082
1083 [[image:image-20240518154223-5.png]]
1084
1085 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518143050-8.png?width=1170&height=702&rev=1.1||alt="image-20240518143050-8.png"]]
1086
1087
1088 == (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)10.2 As a Data-only hotspot connect the helium blockchain(%%) ==
1089
1090
1091 (% class="box infomessage" %)
1092 (((
1093 (% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %)
1094 apt update && apt install helium-gateway
1095 )))
1096
1097
1098 == (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)10.3 (%%)How does LPS8v2 filter unwanted lorawan packets ==
1099
1100
1101 This feature is to filter the unwanted LoRaWAN packets. Purpose is to save the upstream traffic especially for a 4G cellular connection.
1102
1103 Please refer to the link below for specific usage:**[[Filter unwanted LoRaWAN packets>>https://wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]]**
1104
1105
1106 = (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11. FAQ(%%) =
1107
1108 == (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)11.1 How to change Hostname(%%) ==
1109
1110
1111 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:
1112
1113 (% class="box infomessage" %)
1114 (((
1115 hostnamectl set-hostname dragino-123456
1116 )))
1117
1118 [[image:image-20230517102429-1.png]]
1119
1120 After the configuration is complete, run "reboot" to restart the gateway.
1121
1122
1123 == (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="62cdc3f4-fb6f-4e4d-92a5-60449c8b462f" %).2 Build-in The Things Network migrate to ChirpStack(%%) ==
1124
1125
1126 Migrate guide:
1127
1128 To stabilize the completion of the migration, The users can migrate in one of the following ways
1129
1130 **Method 1. Using the Linux shell, **
1131
1132 **Method 2. Flash a new image with the Chirpstack**
1133
1134
1135 === Method 1: Using the Linux shell ===
1136
1137 (% class="box infomessage" %)
1138 (((
1139 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
1140 )))
1141
1142
1143 === Method 2: Flash a new image ===
1144
1145 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]]**
1146
1147
1148 == (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="b2a44672-8abb-425d-a823-f2faa334cdb7" %).3 How to reduce the 4g data consumed(%%) ==
1149
1150
1151 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.
1152
1153 [[image:image-20230719100239-1.png||height="724" width="994"]]
1154
1155
1156 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
1157
1158 [[image:image-20230719100332-2.png]]
1159
1160
1161 3. Disable the auto-update:
1162
1163 [[image:image-20230719100419-3.png||height="458" width="995"]]
1164
1165
1166 == (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).4 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3.(%%) ==
1167
1168
1169 By default, the LPS8v2's built-in server is ChirpStack v4,
1170
1171 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:
1172
1173 **[[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]]**
1174
1175
1176 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]]**
1177
1178
1179 == (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="457c03ce-1aaa-44c6-bf8e-0298ca8045e4" %).5 (%%)How to check my USB port dev/tty after i plug in USB device. ==
1180
1181
1182 When an external USB device is connected to LPS8v2, the user can access the Linux console of the LPS8v2 gateway and run the following command to check the USB port dev/tty:
1183
1184 (% class="box infomessage" %)
1185 (((
1186 dmesg
1187 )))
1188
1189 [[image:image-20240803095144-1.png]]
1190
1191
1192
1193 == (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %).6 DIN Mount Reference:(%%) ==
1194
1195
1196 [[image:image-20240318095605-1.jpeg||height="472" width="472"]]
1197
1198 [[image:image-20240318095617-2.png]]
1199
1200
1201
1202
1203 = (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12. Trouble Shooting(%%) =
1204
1205 == (% data-sider-select-id="cb7a0b2f-4144-4f58-86d0-64a15944840e" %)12.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'.(%%) ==
1206
1207 [[image:image-20220920135918-1.png]]
1208
1209
1210 This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.
1211
1212 By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.
1213
1214
1215 So you can change the domain name of the TTN-Stack configuration to the IPv4 address.
1216
1217 **Click the update URL button to configure the URL with the current eth port address.**
1218
1219 [[image:image-20220920141936-2.png]]
1220
1221
1222 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="f34b4950-25aa-4a6d-a2b4-4af0ec0010a7" %).2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem(%%) ==
1223
1224
1225 When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
1226
1227 [[image:image-20230508171607-1.png]]
1228
1229
1230 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="a7b8cd40-2ec5-4b4b-8220-d32ce0a303a0" %).3  Fallback IP does not work, how can users check(%%) ==
1231
1232
1233 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
1234
1235
1236 **~1. Check whether the configuration is correct**
1237
1238 Run the CMD command to ipconfig and ping 172.31.255.254.
1239
1240 If this fails, the user needs to reconfigure.
1241
1242 [[image:image-20230413170224-3.png||height="433" width="707"]]
1243
1244 [[image:image-20230413170246-4.png]]
1245
1246
1247 **2. Check whether the firewall is disabled**
1248
1249 If the firewall is not down, this will affect access to the gateway.
1250
1251
1252 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="b7eec45b-ad8c-4621-a815-f457810d25f4" %).4  Click "Manual_Update", why there is no response?(%%) ==
1253
1254
1255 When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
1256
1257
1258 [[image:image-20230527090555-3.png||height="660" width="832"]]
1259
1260
1261 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="ac1f33b3-1f28-477d-880c-534ac36adcbe" %).5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access(%%) ==
1262
1263 (% style="color:red" %)**Note: The following steps are only applicable to Wi-Fi module MT7601U**
1264
1265 Users can find the model of the wifi module on the LogRead~-~->System Log page:
1266
1267 [[image:1755136434780-847.png]]
1268
1269 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.
1270
1271 (% class="box infomessage" %)
1272 (((
1273 apt update && apt install *dragino*
1274
1275 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]]
1276 )))
1277
1278
1279 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).6  How to reset the built-in server(%%) ==
1280
1281
1282 **1) Build-in The Things Network**
1283
1284 Refer to this link to delete the Built-in server's device.
1285
1286 **[[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/]]**
1287
1288
1289 **2) Build-in Chirpstack**
1290
1291 Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset.
1292
1293 [[image:image-20231106180846-5.png||height="310" width="668"]]
1294
1295
1296 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).7  (%%)How to check the Storage of the gateway ==
1297
1298
1299 Run the following command on the command line interface of the gateway to check the disk space usage:
1300
1301 (% class="box infomessage" %)
1302 (((
1303 df -h
1304 )))
1305
1306 [[image:image-20250207145702-2.png]]
1307
1308 On the Linux console of the gateway, enter the following command to check the total disk space occupied by the files running on the gateway:
1309
1310 (% class="box infomessage" %)
1311 (((
1312 du -sh /usr/local/ /usr/* /var/*
1313 )))
1314
1315 [[image:image-20250207145617-1.png]]
1316
1317 == (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12(% data-sider-select-id="0621ef51-7fc1-47ca-86ee-cc1f28f6754b" %).8  (%%)How to clear the local server cache of the gateway using the command ==
1318
1319 Use the following commands to clear the local server cache:
1320
1321 (% class="box infomessage" %)
1322 (((
1323 **#Stop the chirpstack service**
1324
1325 systemctl stop chirpstack
1326
1327
1328 **#Stop the redis container**
1329
1330 docker stop chirpstack_redis_1
1331
1332
1333 **#Remove the Redis container**
1334
1335 docker-compose -f /usr/local/chirpstack/docker-compose.yml rm -f redis
1336
1337
1338 **#Remove the Redis data volume**
1339
1340 docker volume rm chirpstack_redisdata
1341
1342
1343 **#start the chirpstack service**
1344
1345 systemctl start chirpstack
1346 )))
1347
1348
1349
1350 = (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)13. Supports(%%) =
1351
1352
1353 (((
1354 If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
1355 )))
1356
1357 (((
1358 With your question as detailed as possible. We will reply and help you in the shortest.
1359
1360
1361 = (% data-sider-select-id="f8ca68c9-99ed-4795-97c5-3d0d259131e9" %)14. Reference(%%) =
1362
1363
1364 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
1365 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
1366
1367
1368 )))
1369
1370 = (% data-sider-select-id="a056b4ad-7d05-42b4-ad74-7a3134f8010a" %)15. Order Info(%%) =
1371
1372
1373 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
1374
1375 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
1376
1377 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1378
1379 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1380
1381 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1382
1383 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1384
1385 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1386
1387 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
1388
1389 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
1390
1391 * (% style="color:red" %)**EC25-E**(% style="color:black" %):  EMEA, Korea, Thailand, India
1392
1393 * (% style="color:red" %)**EC25-AFX**(% style="color:black" %): America:Verizon, AT&T(FirstNet), U.S.Cellular; Canada:Telus
1394
1395 * (% style="color:red" %)**EC25-AUX**(% style="color:black" %): Latin America, New Zeland, Taiwan
1396
1397 * (% style="color:red" %)**EC25-J**(% style="color:black" %):  Japan, DOCOMO, SoftBank, KDDI
1398
1399 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
1400
1401
1402 = (% data-sider-select-id="a4433cd3-3bbc-4e6b-8b18-0bd2bc4d6904" %)16. Manufacturer Info(%%) =
1403
1404
1405 **Shenzhen Dragino Technology Development co. LTD**
1406
1407 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
1408
1409 LongCheng Street, LongGang District ; Shenzhen 518116,China
1410
1411
1412 = (% data-sider-select-id="b353afd6-b0f5-48e5-a114-3b5062cbf0d1" %)17. FCC Warning(%%) =
1413
1414
1415 (((
1416 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:
1417 )))
1418
1419 (((
1420 ~-~- Reorient or relocate the receiving antenna.
1421 )))
1422
1423 (((
1424 ~-~- Increase the separation between the equipment and receiver.
1425 )))
1426
1427 (((
1428 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
1429 )))
1430
1431 (((
1432 ~-~- Consult the dealer or an experienced radio/TV technician for help.
1433 )))
1434
1435
1436 (((
1437 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
1438 )))
1439
1440
1441 (((
1442 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.
1443
1444
1445 )))
1446 )))