Version 213.1 by Xiaoye on 2023/06/07 09:38

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
70
71 == 1.3 Features ==
72
73
74 * Open Source Debian system
75 * Managed by Web GUI, SSH via WAN or WiFi
76 * Remote Management
77 * Auto-provisioning for batch deployment and management
78 * LoRaWAN Gateway
79 * 10 programmable parallel demodulation paths
80 * Pre-configured to support different LoRaWAN regional settings.
81 * Allow customizing LoRaWAN regional parameters.
82 * Different kinds of LoRaWAN Connections such as
83 ** Semtech UDP Packet Forwarder
84 ** LoRaWAN Basic Station
85 ** ChirpStack-Gateway-Bridge (MQTT)
86 * Built-in (% style="color:#037691" %)**The Things Network**(%%) local LoRaWAN server
87 * Built-in  (% style="color:#037691" %)**Node-Red** (%%)local Application server
88
89
90
91 == 1.4 Block Diagram ==
92
93
94
95 == 1.5 LED Indicators ==
96
97
98 LPS8-V2 has totally four LEDs, They are:
99
100
101 (% style="color:blue" %)**➢ Power LED**(%%): This RED LED will be solid if the device is properly powered
102
103 (% style="color:blue" %)**➢ ETH LED**(%%):  This RGB LED will blink GREEN when the ETH port is connecting
104
105 (% style="color:blue" %)**➢ SYS LED**(%%):  This RGB LED will show different colors in different states:
106
107 ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
108
109 ✓ **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
110
111 ✓** SOLID RED:** Device doesn't have an Internet connection.
112
113 (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status.
114
115
116 == 1.6 Button Intruction ==
117
118
119 LPS8-V2 has a black toggle button, which is:
120
121
122 (% style="color:blue" %)**//➢ //Long press 4-5s  : **(%%)the gateway will reload the Network and Initialize wifi configuration
123
124 // // **LED status: ** ETH LED will BLINKIND BULE Until the reload is finished.
125
126
127 (% style="color:blue" %)**➢ Long press more than 10s:**(%%)**    **the gateway will restore the factory settings.
128
129 **LED status: ** ETH LED will SOLID BULE Until the restore is finished.
130
131
132 = 2. Quick Start =
133
134
135 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
136
137 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
138
139
140 == 2.1 Connects to the network and accesses the gateway Web UI ==
141
142 === 2.1.1 connect the network ===
143
144
145 ==== (% style="color:blue" %)**Method 1**(%%):  Connect via LPS8-V2 WiFi ====
146
147
148 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:
149
150 (% style="background-color:yellow" %)**dragino+dragino**
151
152 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**
153
154 [[image:image-20230527084515-1.png]]
155
156 [[image:image-20230527085250-2.png||height="495" width="284"]]
157
158
159
160 ==== (% style="color:blue" %)**Method 2**(%%):  Connect via Ethernet with DHCP IP from the router ====
161
162
163 (((
164 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.
165 )))
166
167 (((
168 You can also use this IP to connect.
169 )))
170
171 [[image:image-20220622100129-1.png||height="332" width="1263"]]
172
173
174
175 ==== (% style="color:blue" %)**Method 3**(%%):  Connect via LPS8-V2 Fallback IP ====
176
177
178 [[image:image-20230107084650-2.png||height="310" width="839"]]
179
180
181 (% style="color:blue" %)**Steps to connect via fallback IP:**
182
183 ~1. Connect the PC's Ethernet port to LPS8-V2's WAN port
184
185 2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252
186
187
188 **Settings ~-~-> Network & Internet ~-~-> Ethernet ~-~-> Change advanced sharing options ~-~-> Double-click"Ethernet" ~-~-> Internet Protocol Version 4 (TCP/IPv4)**
189
190
191 As in the below photo:
192
193 [[image:image-20230413172038-1.png||height="732" width="1243"]]
194
195
196 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]**
197
198 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.2A0FallbackIPdoesnotwork2Chowcanuserscheck]]**
199
200
201 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.
202
203 [[image:image-20230111094247-2.png||height="619" width="1250"]]
204
205
206
207 ==== (% style="color:blue" %)**Method 4**(%%):  Connect via WiFi with DHCP IP from the router ====
208
209 [[image:image-20220622100542-2.png||height="369" width="1256"]]
210
211
212 Fill in the WiFi information by checking the box and clicking (% style="color:red" %)**Save&Apply**
213
214
215 [[image:image-20220622102702-6.png]]
216
217
218
219 **Wi-Fi configuration successful**
220
221
222 [[image:image-20220622102847-7.png]]
223
224
225 [[image:image-20220622102901-8.png||height="476" width="938"]]
226
227
228 === 2.1.2 Access Configure Web UI ===
229
230
231 **Web Interface**
232
233 Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method)
234
235
236 [[(% 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)
237
238 You will see the login interface of LPS8-V2 as shown below.
239
240 The account details for Web Login are:
241
242 (% style="color:blue" %)**User Name: root**
243
244 (% style="color:blue" %)**Password:   dragino**
245
246 [[image:image-20230106153501-1.png||height="367" width="894"]]
247
248
249 == 2.2  Typical Network Setup ==
250
251 === 2.2.1  Overview ===
252
253
254 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:
255
256 * **WAN Port Internet Mode**
257
258 * **WiFi Client Mode**
259
260 * **Cellular Mode**
261
262
263
264 === 2.2.2  Use WAN port to access Internet ===
265
266
267 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**(%%):
268
269
270 [[image:image-20230411100633-2.png||height="501" width="935"]]
271
272
273 === 2.2.3  Access the Internet as a WiFi Client ===
274
275
276 In the WiFi Client Mode, LPS8-V2 acts as a WiFi client and gets DHCP from an upstream router via WiFi.
277
278 The settings for WiFi Client is under page (% style="color:blue" %)**Network ~-~-> Wi-Fi**
279
280 [[image:image-20230411095739-1.png||height="264" width="691"]]
281
282 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click(% style="color:blue" %)** Save & Apply**(%%) to connect.
283
284
285 === 2.2.4  Use built-in 4G modem for internet access ===
286
287
288 (% style="color:blue" %)**Since Hardware version HP0C 1.4**
289
290 Users can see whether LPS8v2 has EC25 on the label of the gateway to determine whether there is 3G/4G Cellular modem.
291
292
293 If the LPS8-V2 has 3G/4G Cellular modem, user can use it as main internet connection or back up.
294
295 First, install the Micro SIM card as below direction
296
297 Second, Power off/ ON LPS8-V2 to let it detect the SIM card.
298
299
300 [[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"]]
301
302
303 The set up page is (% style="color:blue" %)**Network ~-~-> Cellular**
304
305 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.
306
307
308 [[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"]]
309
310
311 === 2.2.5  Check Internet connection ===
312
313
314 In the **home** page, we can check the Internet connection.
315
316 * 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.
317 * 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.
318 * 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.
319
320 [[image:image-20230411101534-3.png||height="544" width="942"]]
321
322
323 == 2.3 The LPS8-V2 is registered and connected to The Things Network ==
324
325 === 2.3.1 Select your area frequency ===
326
327
328 (((
329 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.
330
331
332 )))
333
334 [[image:image-20220622103332-9.png||height="485" width="938"]]
335
336
337 === 2.3.2 Get the only gateway EUI ===
338
339
340 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
341
342
343 [[image:image-20220622103355-10.png||height="698" width="949"]]
344
345
346 (% style="color:red" %)**Note: Choose the cluster that corresponds to a specific Gateway server address**
347
348
349 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
350
351 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
352
353 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
354
355 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
356
357
358 [[image:image-20220622103956-12.png]]
359
360
361 === 2.3.3 Register the gateway to The Things Network ===
362
363
364 **Login to The Things Network**
365
366 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
367
368
369 **Add the gateway**
370
371 [[image:image-20220622104252-13.png||height="511" width="953"]]
372
373
374 **Get it online**
375
376
377 = 3. Web Configure Pages =
378
379 == 3.1 Home ==
380
381
382 Shows the system running status:
383
384 [[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"]]
385
386
387 == 3.2 LoRa Settings ==
388
389 === 3.2.1 LoRa ~-~-> LoRa ===
390
391
392 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.
393
394 Different LPS8v2 hardware versions can support different frequency ranges:
395
396 * (% style="color:#0000ff" %)**868**(% style="color:black" %): valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865, or KZ865.
397 * (% style="color:#0000ff" %)**915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920
398
399 (% class="wikigeneratedid" %)
400 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**
401
402
403 (% class="wikigeneratedid" %)
404 [[image:image-20220616110739-1.png||height="372" width="682"]]
405
406
407 (((
408 (% 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]]__//**
409 )))
410
411
412 == 3.3 LoRaWAN Settings ==
413
414 === 3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP ===
415
416
417 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.
418
419
420 [[image:image-20220616111932-2.png||height="516" width="672"]]
421
422
423 === 3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station ===
424
425
426 This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.
427
428
429 [[image:image-20220616113246-3.png||height="396" width="672"]]
430
431
432 (((
433 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]]__
434 )))
435
436
437 == 3.4 Network Settings ==
438
439 === 3.4.1 Network ~-~-> WiFi ===
440
441
442 [[image:image-20220616114756-4.png||height="251" width="669"]]
443
444
445 === 3.4.2 Network ~-~-> System Status ===
446
447
448 [[image:image-20220820134112-2.png||height="539" width="668"]]
449
450
451 === 3.4.3 Network ~-~-> Network ===
452
453
454 In the **Network ~-~-> Network** interface, Users can set the Ethernet WAN static ip address.
455
456 [[image:image-20230214093657-2.png||height="333" width="858"]]
457
458
459 === 3.4.4 Network ~-~-> Cellular ===
460
461
462 In the **Network ~-~-> Cellular** interface, Users can Enable Cellular WAN and configure Celluar.
463
464 (% style="color:red" %)**Note: APN cannot be empty.**
465
466 [[image:image-20230228115126-1.png]]
467
468
469 After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellualr state.
470
471 [[image:image-20230228115535-2.png||height="478" width="888"]]
472
473
474 == 3.5 System ==
475
476 === 3.5.1 System ~-~-> System Overview ===
477
478
479 Shows the system info:
480
481 [[image:image-20220917144512-5.png||height="618" width="853"]]
482
483
484 === 3.5.2 System ~-~-> System General ===
485
486
487 In the **System-> System General** interface, Users can customize the configuration System Password and set Timezone.
488
489 In addition, Users can customize the FallBack IP address.
490
491 [[image:image-20230214094058-3.png]]
492
493
494 === 3.5.3 System ~-~-> Backup/Restore ===
495
496
497 [[image:image-20220917144725-6.png||height="208" width="869"]]
498
499
500 === 3.5.4 System ~-~-> Remoteit ===
501
502
503 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
504
505
506 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.]]**
507
508 [[image:image-20221230092303-2.png]]
509
510
511 === 3.5.5 System ~-~-> Package Management ===
512
513
514 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
515
516 [[image:image-20230214094316-4.png]]
517
518
519 = 4. Build-in Server =
520
521
522 The default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red, and**(%%) LoRaWAN Server: (% style="color:blue" %)**The Things Network - Stack (Open Source 3.19 Version).**
523
524
525 [[image:image-20230214095318-5.png||height="347" width="980"]]
526
527
528 (% style="color:red" %)**Note:**
529
530 **Path**: System ~-~-> Built-in Server
531
532
533 **Troubleshooting:**
534
535
536 **~ 1. URL does not jump properly**
537
538 For the ttn-stack, you can click the update the URL which will update the configuration where change the hostname to the current local IP address as the URL.
539
540 For the Node-Red, you can use the local IP address and the port is 1880 to access it.
541
542
543 == 4.1 LoRaWAN Network  Server ~-~- The Things Network - Stack (TTN-V3) ==
544
545
546 You can access the gateway's built-in LNS server of (% style="color:blue" %)**The Things Network - Stack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.
547
548 Such as  (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
549
550
551 Login account:
552
553 **User ID: ** ** (% style="background-color:yellow" %)admin(%%)**
554
555 **Password: ** ** (% style="background-color:yellow" %)dragino(%%)**
556
557
558 [[image:image-20220725171719-1.png||height="570" width="769"]]
559
560
561 === 4.1.1 The LPS8-V2 is registered and connected to Built-in The Things Network ===
562
563
564 Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply"
565
566 The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
567
568 [[image:image-20230321092456-1.png]]
569
570
571 == 4.2 Application Server ~-~- Node-Red ==
572
573
574 You can access the gateway's built-in AS server of (% style="color:blue" %)**Node-Red **(%%)via the URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>//**__(%%)) in your browser.
575
576
577 Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>//**__
578
579
580 [[image:image-20220725172124-3.png||height="610" width="843"]]
581
582
583
584 === **Using Node-Red, InfluxDB and Grafana** ===
585
586 The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed.
587
588
589 the users can refer to this link to install them.
590
591 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]
592
593
594 === **Upgrade the node.js** ===
595
596 By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old.
597
598
599 the users can refer to this link to upgrade them.
600
601 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
602
603
604 == 4.3 How to disable the built-in server ==
605
606
607 Use the following commands to start and stop the TTNv3 service:
608
609 (% class="box infomessage" %)
610 (((
611 **# start**
612 systemctl start ttnstack
613
614 **# stop**
615 systemctl stop ttnstack
616
617 **# enable**
618 systemctl enable ttnstack
619
620 **#disable**
621 systemctl disable ttnstack
622 )))
623
624 Use the following commands to start and stop the Node-Red service:
625
626 (% class="box infomessage" %)
627 (((
628 **# start**
629 systemctl start nodered
630
631 **# stop**
632 systemctl stop nodered
633
634 **# enable**
635 systemctl enable nodered
636
637 **#disable**
638 systemctl disable nodered
639 )))
640
641
642 == 4.4 How to use ChirpStack on LPS8-V2 ==
643
644
645 By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack:
646
647 **[[Build-in The Things Network migrate to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**
648
649
650 === 4.4.1 How do users choose the chirpstack server frequency Sub Band ===
651
652
653 On the **Server ~-~-> Network Server** interface, choose the frequency Plan first.
654
655 If the frequency Plan used is CN470, US915, AU915, AS923, the user needs to choose a frequency sub band, because the frequency Sub Band of ChirpStack starts from 0, so for example, us915_1 corresponds to the actual frequency US915_2.
656
657 [[image:image-20230602140406-3.png||height="480" width="918"]]
658
659
660 When the configuration is complete, click** "Save&Apply"**.
661
662
663 (% style="color:red" %)**Note:**(%%) When adding device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2.
664
665 [[image:image-20230602143122-4.png||height="511" width="983"]]
666
667
668 = 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge =
669
670
671
672 = 6. How users can access LPS8-V2 using serial USB =
673
674
675 (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
676
677
678 Port 1 of the UART on the LPS8-V2 is GND
679
680 (% class="box infomessage" %)
681 (((
682 **TXD  <~-~--> UART RXD (Gray line)**
683
684 **RXD  <~-~--> UART TXD (White line)**
685
686 **GND <~-~--> GND (Black line)**
687 )))
688
689
690 **LPS8v2 UART connection photo**
691
692
693 [[image:image-20230421094319-2.png||height="351" width="392"]]
694
695 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:
696
697
698 [[image:image-20220804164928-3.png||height="320" width="332"]]
699
700
701 [[image:image-20220804164747-2.png||height="622" width="594"]]
702
703
704 = 7. Use the helium gateway-rs as the Data-only Hotspot =
705
706
707 == **Step 1: Configure Frequency Band** ==
708
709
710 //Each country has a requirement for frequency region. Choose the right one for your area.//
711
712 [[image:image-20220905164308-1.png]]
713
714
715
716 == **Step 2: Configure the forward address** ==
717
718
719 **Select one of the servers to configure.**
720
721 **For example:**
722
723 [[image:image-20220905164847-2.png]]
724
725
726
727 == **Step 3: Download and Install the Helium-gateway-rs** ==
728
729
730 **Access the gateway CLI via SSH.**
731
732 [[image:image-20230425153417-2.png]]
733
734
735 **Install the new gateway-rs**
736
737 (% class="box infomessage" %)
738 (((
739 **apt update && apt install helium-gateway**
740 )))
741
742 [[image:image-20230425154058-4.png]]
743
744
745
746 Option: If you installed the older gateway-rs, you have clean it
747
748 (% class="box infomessage" %)
749 (((
750 **apt remove helium_gateway && dpkg ~-~-purge helium_gateway**
751 )))
752
753 [[image:image-20230425153823-3.png]]
754
755
756 **Change the region setting:**
757
758
759 (% class="box infomessage" %)
760 (((
761 **sed  -i '27cregion\ \= \ <REGION>' /etc/helium_gateway/settings.toml**
762
763
764 **e.g: **
765
766 **US915  ~-~-->  sed -i '27cregion\ \= \ \"US915\"' /etc/helium_gateway/settings.toml**
767
768 **EU868  ~-~-->  sed -i '27cregion\ \= ~\~\" EU868\"' /etc/helium_gateway/settings.toml**
769 )))
770
771
772 **Restart the gateway-rs**
773
774 (% class="box infomessage" %)
775 (((
776 **systemctl restart helium_gateway**
777 )))
778
779 [[image:image-20230425155612-7.png||height="265" width="911"]]
780
781
782
783 **Check the helium_gateway running status**
784
785
786 (% class="box infomessage" %)
787 (((
788 **systemctl status helium_gateway**
789 )))
790
791
792 [[image:image-20230425154740-5.png]]
793
794
795
796 **Check the helium_gateway Log:**
797
798 (% class="box infomessage" %)
799 (((
800 **journalctl -u helium_gateway -f**
801 )))
802
803
804 [[image:image-20230425155659-8.png]]
805
806
807 = 8. OTA System Update =
808
809
810 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.
811
812
813 = 9. FAQ =
814
815 == 9.1 How to change Hostname ==
816
817
818 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:
819
820 (% class="box infomessage" %)
821 (((
822 hostnamectl set-hostname dragino-123456
823 )))
824
825 [[image:image-20230517102429-1.png]]
826
827 After the configuration is complete, run "reboot" to restart the gateway.
828
829
830 == 9.2 Build-in The Things Network migrate to ChirpStack ==
831
832
833 Migrate guide:
834
835 1. Ensure that the gateway is in good network condition, Recommended use of ETH.
836
837 2. Download migrate script and run it.
838
839 (% class="box infomessage" %)
840 (((
841 wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>url:http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack
842 )))
843
844 [[image:image-20230602135658-1.png||height="545" width="986"]]
845
846
847 3. Wait for the script to complete,Enable the Chirpstack on Web UI
848
849 [[image:image-20230602135825-2.png||height="356" width="855"]]
850
851 The default account for chirpstack is: **admin/admin**
852
853
854 = 10. Trouble Shooting =
855
856 == 10.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
857
858
859 [[image:image-20220920135918-1.png]]
860
861
862 This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.
863
864 By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.
865
866
867 So you can change the domain name of the TTN-Stack configuration to the IPv4 address.
868
869 **Click the update URL button to configure the URL with the current eth port address.**
870
871 [[image:image-20220920141936-2.png]]
872
873
874 == 10.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
875
876
877 When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
878
879 [[image:image-20230508171607-1.png]]
880
881
882 == 10.3  Fallback IP does not work, how can users check ==
883
884
885 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
886
887
888 **1.Check whether the configuration is correct**
889
890 Run the CMD command to ipconfig and ping 172.31.255.254.
891
892 If this fails, the user needs to reconfigure.
893
894 [[image:image-20230413170224-3.png||height="433" width="707"]]
895
896 [[image:image-20230413170246-4.png]]
897
898
899 **2. Check whether the firewall is disabled**
900
901 If the firewall is not down, this will affect access to the gateway.
902
903
904 == 10.4  Click "Manual_Update", why there is no response? ==
905
906
907 When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
908
909
910 [[image:image-20230527090555-3.png||height="660" width="832"]]
911
912
913 = (% style="color:inherit; font-family:inherit; font-size:29px" %)11. Supports(%%) =
914
915
916 (((
917 If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
918 )))
919
920 (((
921 With your question as detailed as possible. We will reply and help you in the shortest.
922
923
924 = 12. Reference =
925
926
927 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
928 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
929
930
931
932 )))
933
934 = 13. Order Info =
935
936
937 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
938
939 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
940
941 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
942 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
943 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
944 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
945 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
946 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
947
948 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
949
950 * (% style="color:red" %)**E**(%%):  EMEA, Korea, Thailand, India.
951 * (% style="color:red" %)**A**(%%):  North America/ Rogers/AT&T/T-Mobile.
952 * (% style="color:red" %)**AU**(%%): Latin America, New Zeland, Taiwan
953 * (% style="color:red" %)**J**(%%):  Japan, DOCOMO/SoftBank/ KDDI
954
955 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
956
957
958 = 14. Manufacturer Info =
959
960
961 **Shenzhen Dragino Technology Development co. LTD**
962
963 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
964
965 LongCheng Street, LongGang District ; Shenzhen 518116,China
966
967
968 = 15. FCC Warning =
969
970
971 (((
972 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:
973 )))
974
975 (((
976 ~-~- Reorient or relocate the receiving antenna.
977 )))
978
979 (((
980 ~-~- Increase the separation between the equipment and receiver.
981 )))
982
983 (((
984 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
985 )))
986
987 (((
988 ~-~- Consult the dealer or an experienced radio/TV technician for help.
989 )))
990
991
992 (((
993 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
994 )))
995
996
997 (((
998 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.
999
1000
1001 )))
1002 )))