<
From version < 237.2 >
edited by Xiaoling
on 2023/07/26 09:07
To version < 306.1 >
edited by Edwin Chen
on 2024/05/03 20:49
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LPS8v2 LoRaWAN Indoor Gateway User Manual
1 +LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -8,7 +8,7 @@
8 8  
9 9  )))
10 10  
11 -**Table of Contents**
11 +**Table of Contents:**
12 12  
13 13  {{toc/}}
14 14  
... ... @@ -66,8 +66,6 @@
66 66  * Storage Temperature: -20 ~~ 70°C
67 67  * Power Input: 5V, 2A, DC
68 68  
69 -
70 -
71 71  == 1.3 Features ==
72 72  
73 73  
... ... @@ -83,11 +83,9 @@
83 83  ** Semtech UDP Packet Forwarder
84 84  ** LoRaWAN Basic Station
85 85  ** ChirpStack-Gateway-Bridge (MQTT)
86 -* Built-in (% style="color:#037691" %)**The Things Network**(%%) local LoRaWAN server
84 +* Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server
87 87  * Built-in  (% style="color:#037691" %)**Node-Red** (%%)local Application server
88 88  
89 -
90 -
91 91  == 1.4 LED Indicators ==
92 92  
93 93  
... ... @@ -100,11 +100,11 @@
100 100  
101 101  (% style="color:blue" %)**➢ SYS LED**(%%):  This RGB LED will show different colors in different states:
102 102  
103 - ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
99 + ✓  **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
104 104  
105 - ✓ **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
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
106 106  
107 - ✓** SOLID RED:** Device doesn't have an Internet connection.
103 + ✓**  SOLID RED:** Device doesn't have an Internet connection.
108 108  
109 109  (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status.
110 110  
... ... @@ -125,6 +125,18 @@
125 125   **LED status: ** ETH LED will SOLID BULE Until the restore is finished.
126 126  
127 127  
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 +
128 128  = 2. Quick Start =
129 129  
130 130  
... ... @@ -152,7 +152,6 @@
152 152  [[image:image-20230527085250-2.png||height="495" width="284"]]
153 153  
154 154  
155 -
156 156  ==== (% style="color:blue" %)**Method 2**(%%):  Connect via Ethernet with DHCP IP from the router ====
157 157  
158 158  
... ... @@ -167,7 +167,6 @@
167 167  [[image:image-20220622100129-1.png||height="332" width="1263"]]
168 168  
169 169  
170 -
171 171  ==== (% style="color:blue" %)**Method 3**(%%):  Connect via LPS8-V2 Fallback IP ====
172 172  
173 173  
... ... @@ -191,7 +191,7 @@
191 191  
192 192  Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]**
193 193  
194 -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]]**
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]]**
195 195  
196 196  
197 197  3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.
... ... @@ -199,7 +199,6 @@
199 199  [[image:image-20230111094247-2.png||height="619" width="1250"]]
200 200  
201 201  
202 -
203 203  ==== (% style="color:blue" %)**Method 4**(%%):  Connect via WiFi with DHCP IP from the router ====
204 204  
205 205  [[image:image-20220622100542-2.png||height="369" width="1256"]]
... ... @@ -239,7 +239,7 @@
239 239  
240 240  (% style="color:blue" %)**Password:   dragino**
241 241  
242 -[[image:image-20230106153501-1.png||height="367" width="894"]]
247 +[[image:image-20240318160845-1.png]]
243 243  
244 244  
245 245  == 2.2  Typical Network Setup ==
... ... @@ -255,8 +255,6 @@
255 255  
256 256  * **Cellular Mode**
257 257  
258 -
259 -
260 260  === 2.2.2  Use WAN port to access Internet ===
261 261  
262 262  
... ... @@ -480,7 +480,7 @@
480 480  
481 481  Shows the system info:
482 482  
483 -[[image:image-20220917144512-5.png||height="618" width="853"]]
486 +[[image:image-20231031162854-1.png]]
484 484  
485 485  
486 486  === 3.5.2 System ~-~-> System General ===
... ... @@ -496,12 +496,26 @@
496 496  === 3.5.3 System ~-~-> Backup/Restore ===
497 497  
498 498  
499 -[[image:image-20220917144725-6.png||height="208" width="869"]]
502 +[[image:image-20231031162927-2.png]]
500 500  
504 +=== 3.5.4 System ~-~-> Reboot / Reset ===
501 501  
502 -=== 3.5.4 System ~-~-> Remoteit ===
506 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway.
503 503  
508 +ETH LED will SOLID BULE Until the restore is finished.
504 504  
510 +When the gateway restores the factory settings is complete,
511 +
512 +The WiFi configuration will enable WiFi Access Point by default.
513 +
514 +The other configuration will be restored to the default configuration.
515 +
516 +[[image:image-20240203172853-1.png||height="365" width="901"]]
517 +
518 +
519 +=== 3.5.5 System ~-~-> Remoteit ===
520 +
521 +
505 505  In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
506 506  
507 507  
... ... @@ -510,7 +510,7 @@
510 510  [[image:image-20221230092303-2.png]]
511 511  
512 512  
513 -=== 3.5.5 System ~-~-> Package Management ===
530 +=== 3.5.6 System ~-~-> Package Management ===
514 514  
515 515  
516 516  In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
... ... @@ -518,103 +518,114 @@
518 518  [[image:image-20230214094316-4.png]]
519 519  
520 520  
521 -= 4. Build-in Server =
538 +== 3.5 Logread ==
522 522  
540 +=== 3.5.1 LoRa Log ===
523 523  
524 -Since software version 0606,the default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red**(%%), LoRaWAN Server: (% style="color:blue" %)**ChirpStack**(%%).
525 525  
526 -[[image:image-20230616175617-8.png||height="390" width="894"]]
543 +In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection
527 527  
528 -[[image:image-20230616175558-7.png||height="362" width="894"]]
545 +[[image:image-20240416112509-1.png]]
529 529  
530 530  
548 +=== 3.5.2 Gateway Traffic ===
531 531  
532 -(% style="color:red" %)**Note:**
550 +In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests
533 533  
534 - **Path**: Server ~-~-> Network Server
552 +[[image:image-20240416112618-2.png||height="705" width="1122"]]
535 535  
536 - Server ~-~-> Application Server
537 537  
555 +=== 3.5.3 System Log ===
538 538  
539 -**Troubleshooting:**
557 +In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system
540 540  
559 +[[image:image-20240416112649-3.png||height="820" width="1122"]]
541 541  
542 -**~ 1. URL does not jump properly**
543 543  
544 - For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
562 +=== 3.5.4 Record Log ===
545 545  
546 - For the Node-Red, you can use the local IP address and the port is **1880** to access it.
564 +In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log.
547 547  
566 +[[image:image-20240416112712-4.png||height="319" width="1128"]]
548 548  
549 -== 4.1 LoRaWAN Network  Server ~-~- ChirpStack ==
550 550  
551 551  
552 -You can access the gateway's built-in LNS server of (% style="color:blue" %)**ChirpStack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.
570 += 4. Build-in Server =
553 553  
554 -Such a (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
572 +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**(%%).
555 555  
556 556  
557 -Login account:
575 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) ==
558 558  
559 -**Username : ** (% style="background-color:yellow" %)**admin**
577 +[[image:image-20231106180816-4.png||height="416" width="896"]]
560 560  
561 -**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)**
579 +[[image:image-20231201165904-1.png||height="466" width="899"]]
562 562  
563 -[[image:image-20230616175332-6.png||height="519" width="1029"]]
581 +(% 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(%%)**
564 564  
583 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
565 565  
566 566  
567 -=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack ===
568 568  
587 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) ==
569 569  
570 -Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply"
571 571  
572 -The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
590 +[[image:image-20230616175558-7.png||height="362" width="894"]]
573 573  
574 -[[image:image-20230321092456-1.png]]
592 +[[image:image-20231201170355-2.png||height="536" width="899"]]
575 575  
594 +(% style="color:red" %)**Note:  The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)**
576 576  
577 577  
578 -== 4.2 Application Server ~-~- Node-Red ==
579 579  
598 +== **3). Troubleshooting:** ==
580 580  
581 -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.
582 582  
601 +* (((
602 +=== ** If the URL does not jump properly.** ===
603 +)))
583 583  
584 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>//**__
605 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
585 585  
607 + For the Node-Red, you can use the local IP address and the port is **1880** to access it.
586 586  
587 -[[image:image-20220725172124-3.png||height="610" width="843"]]
588 588  
610 +* (((
611 +=== ** How to install InfluxDB, Garfana.** ===
612 +)))
589 589  
614 + 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]]
590 590  
591 -=== **Using Node-Red, InfluxDB and Grafana** ===
592 592  
593 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed.
617 +* (((
618 +=== ** How to upgrade the gateway node.js to the latest version.** ===
619 +)))
594 594  
621 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
595 595  
596 -the users can refer to this link to install them.
597 597  
598 -[[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]]
624 +* (((
625 +=== ** How to batch register device on the built-in Chirpstack network server** ===
626 +)))
599 599  
628 + 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]]
600 600  
601 -=== **Upgrade the node.js** ===
602 602  
603 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old.
631 +* (((
632 +=== ** Why my gateway is not Chirpstack?** ===
633 +)))
604 604  
635 + 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]]**
605 605  
606 -the users can refer to this link to upgrade them.
607 607  
608 -[[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.]]
638 +* (((
639 +=== ** How to disable the built-in server** ===
640 +)))
609 609  
610 -
611 -== 4.3 How to disable the built-in server ==
612 -
613 -
614 -Use the following commands to start and stop the TTNv3 service:
615 -
616 616  (% class="box infomessage" %)
617 617  (((
644 +Use the following commands to start and stop the TTNv3 service:**     **
645 +
618 618  **# start**
619 619  systemctl start ttnstack
620 620  
... ... @@ -628,10 +628,10 @@
628 628  systemctl disable ttnstack
629 629  )))
630 630  
631 -Use the following commands to start and stop the Node-Red service:
632 -
633 633  (% class="box infomessage" %)
634 634  (((
661 +Use the following commands to start and stop the Node-Red service:
662 +
635 635  **# start**
636 636  systemctl start nodered
637 637  
... ... @@ -646,36 +646,40 @@
646 646  )))
647 647  
648 648  
649 -== 4.4 How to use ChirpStack on LPS8-V2 ==
677 +* (((
678 +=== ** How to choose the Chirpstack server frequency SubBand** ===
679 +)))
650 650  
681 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
651 651  
652 -By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack:
683 + 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.
653 653  
654 -**[[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]]**
685 +[[image:image-20230602140406-3.png||height="480" width="918"]]
655 655  
656 656  
657 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand ===
688 +When the configuration is complete, click** "Save&Apply"**.
658 658  
659 659  
660 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first.
691 +(% 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.
661 661  
662 -If the frequency Plan used is CN470, US915, AU915, or 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.
693 +[[image:image-20230602143122-4.png||height="511" width="983"]]
663 663  
664 -[[image:image-20230602140406-3.png||height="480" width="918"]]
665 665  
696 += 5. Watch Dog =
666 666  
667 -When the configuration is complete, click** "Save&Apply"**.
668 668  
699 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
669 669  
670 -(% 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.
701 +The uses can be via the below method to enable Watch Dog:
671 671  
672 -[[image:image-20230602143122-4.png||height="511" width="983"]]
703 +(% class="box infomessage" %)
704 +(((
705 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh
706 +)))
673 673  
708 +[[image:image-20231124113209-1.png||height="470" width="1157"]]
674 674  
675 -= 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge =
676 676  
677 -
678 -
679 679  = 6. How users can access LPS8-V2 using serial USB =
680 680  
681 681  
... ... @@ -729,7 +729,6 @@
729 729  
730 730  1). Using the Linux command to upgrade the system
731 731  
732 -
733 733  (% class="box infomessage" %)
734 734  (((
735 735  **apt update && apt install *dragino***
... ... @@ -738,13 +738,11 @@
738 738  
739 739  2). Upgrade the system via the Web page button of "Manual Update"
740 740  
772 +(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
741 741  
742 -**Note: this method needs about 10 mins, so you will get the log after 10 mins.  **
743 -
744 744  [[image:image-20230607093849-1.png]]
745 745  
746 746  
747 -
748 748  = 8. FAQ =
749 749  
750 750  == 8.1 How to change Hostname ==
... ... @@ -767,33 +767,26 @@
767 767  
768 768  Migrate guide:
769 769  
770 -**1. Ensure that the gateway is in good network condition, Recommended use of ETH.**
799 +To stabilize the completion of the migration, The users can migrate in one of the following ways
771 771  
772 -**2. On the Server ~-~-> Network Server interface, click "Management"**
801 +**Method 1. Using the Linux shell, **
773 773  
774 -[[image:image-20230616162454-1.png]]
803 +**Method 2. Flash a new image with the Chirpstack**
775 775  
776 776  
777 -**3. Click "Migrate-Chirpstack"**
806 +=== Method 1: Using the Linux shell ===
778 778  
779 -[[image:image-20230616162742-2.png]]
808 +(% class="box infomessage" %)
809 +(((
810 +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
811 +)))
780 780  
781 781  
782 -**4. Strat Install **
814 +=== Method 2: Flash a new image ===
783 783  
784 -Click start Install and wait until the migration succeeds
816 +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]]
785 785  
786 -[[image:image-20230616162934-3.png]]
787 787  
788 -
789 -**5.Migration complete check result**
790 -
791 -[[image:image-20230616174526-4.png||height="706" width="983"]]
792 -
793 -
794 -[[image:image-20230616180004-9.png]]
795 -
796 -
797 797  == 8.3 How to reduce the 4g data consumed ==
798 798  
799 799  
... ... @@ -821,11 +821,164 @@
821 821  )))
822 822  
823 823  
846 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
847 +
848 +
849 +By default, the LPS8v2's built-in server is ChirpStack v4,
850 +
851 +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:
852 +
853 +[[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]]
854 +
855 +
856 +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]]
857 +
858 +
859 +== 8.6 How do I view gateway logs ==
860 +
861 +=== 8.6.1 LoRaWAN Log: ===
862 +
863 +
864 +==== Semtech UDP Log : ====
865 +
866 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
867 +
868 +[[image:image-20231017112115-2.png||height="611" width="821"]]
869 +
870 +
871 +==== Station Log: ====
872 +
873 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
874 +
875 +[[image:image-20231017111606-1.png||height="622" width="821"]]
876 +
877 +
878 +=== 8.6.2  4G Log ===
879 +
880 +
881 +User needs to access the Linux console of the gateway and enter the following command:
882 +
883 +(% class="box infomessage" %)
884 +(((
885 +cat /var/log/qmilog.txt
886 +)))
887 +
888 +[[image:image-20231017114417-3.png||height="543" width="679"]]
889 +
890 +
891 +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]].
892 +
893 +Below are some commands as reference:
894 +
895 +Usage:  /usr/bin/quectel-CM [options]
896 + -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
897 + -p pincode Verify sim card pin if sim card is locked
898 + -p [quectel-][qmi|mbim]-proxy  Request to use proxy
899 + -f logfilename Save log message of this program to file
900 + -u usbmonlog filename  Save usbmon log to file
901 + -i interface Specify which network interface to setup data call when multi-modems exits
902 + -4 Setup IPv4 data call (default)
903 + -6 Setup IPv6 data call
904 + -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
905 + -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
906 + -b Enable network interface bridge function (default 0)
907 + -v Verbose log mode, for debug purpose.
908 +
909 +[Examples]
910 +Example 1: /usr/bin/quectel-CM
911 +Example 2: /usr/bin/quectel-CM -s 3gnet
912 +Example 3: /usr/bin/quectel-CM -s 3gnet -v
913 +
914 +
915 +
916 +
917 +
918 +=== 8.6.3 Dmesg Log ===
919 +
920 +
921 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
922 +
923 +[[image:image-20231017115330-5.png||height="565" width="740"]]
924 +
925 +
926 +=== 8.6.4 Record Log ===
927 +
928 +
929 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
930 +
931 +[[image:image-20231017115124-4.png||height="215" width="880"]]
932 +
933 +
934 +=== 8.6.5 View gateway logs via Linux Command ===
935 +
936 +
937 +**Semtech UDP Log :**
938 +
939 +(% class="box infomessage" %)
940 +(((
941 +**journalctl -u draginofwd -f**
942 +)))
943 +
944 +[[image:image-20231207144627-1.png||height="371" width="1017"]]
945 +
946 +
947 +**Station Log:**
948 +
949 +(% class="box infomessage" %)
950 +(((
951 +**tail -f /var/log/station.log **
952 +)))
953 +
954 +[[image:image-20231207144758-2.png||height="132" width="1022"]]
955 +
956 +
957 +**Dmesg Log:**
958 +
959 +(% class="box infomessage" %)
960 +(((
961 +**dmesg**
962 +)))
963 +
964 +[[image:image-20231207145210-3.png||height="310" width="1021"]]
965 +
966 +
967 +== 8.7 DIN Mount Reference: ==
968 +
969 +
970 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
971 +
972 +[[image:image-20240318095617-2.png]]
973 +
974 +
975 +== 8.8 NTP Service/Time Synchronization ==
976 +
977 +The gateway time sync service is provided by chrony service
978 +
979 +
980 +=== 1). Modify the NTP server address: ===
981 +
982 +(% class="box infomessage" %)
983 +(((
984 +Configuration file path:  /etc/chrony/chrony.conf
985 +)))
986 +
987 +
988 +=== 2). Start/Stop/Enable/Disable NTP service: ===
989 +
990 +(% class="box infomessage" %)
991 +(((
992 +systemctl start chrony
993 +\\systemctl stop chrony
994 +\\systemctl disable chrony
995 +\\systemctl enable chrony
996 +)))
997 +
998 +
999 +
824 824  = 9. Trouble Shooting =
825 825  
826 826  == 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
827 827  
828 -
829 829  [[image:image-20220920135918-1.png]]
830 830  
831 831  
... ... @@ -855,7 +855,7 @@
855 855  When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
856 856  
857 857  
858 -**1.Check whether the configuration is correct**
1033 +**~1. Check whether the configuration is correct**
859 859  
860 860  Run the CMD command to ipconfig and ping 172.31.255.254.
861 861  
... ... @@ -885,15 +885,31 @@
885 885  
886 886  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.
887 887  
888 -
889 889  (% class="box infomessage" %)
890 890  (((
891 -apt update && apt install dragino-fallback
1065 +apt update && apt install *dragino*
892 892  
893 893  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]]
894 894  )))
895 895  
896 896  
1071 +== 9.6  How to reset the built-in server ==
1072 +
1073 +
1074 +**1) Build-in The Things Network**
1075 +
1076 +Refer to this link to delete the Built-in server's device.
1077 +
1078 +[[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/]]
1079 +
1080 +
1081 +**2) Build-in Chirpstack**
1082 +
1083 +Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset.
1084 +
1085 +[[image:image-20231106180846-5.png||height="310" width="668"]]
1086 +
1087 +
897 897  = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
898 898  
899 899  
... ... @@ -911,7 +911,6 @@
911 911  * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
912 912  * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
913 913  
914 -
915 915  
916 916  )))
917 917  
Delete Device.docx
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +336.4 KB
Content
image-20231017111606-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +117.6 KB
Content
image-20231017112115-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +114.3 KB
Content
image-20231017114417-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +130.4 KB
Content
image-20231017115124-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +28.6 KB
Content
image-20231017115330-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +110.1 KB
Content
image-20231031162854-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +64.9 KB
Content
image-20231031162927-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +35.0 KB
Content
image-20231106175329-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +63.7 KB
Content
image-20231106175457-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +63.7 KB
Content
image-20231106175523-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +64.8 KB
Content
image-20231106180816-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +41.6 KB
Content
image-20231106180846-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +41.9 KB
Content
image-20231124113209-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +198.7 KB
Content
image-20231201165904-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +29.5 KB
Content
image-20231201170355-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +70.2 KB
Content
image-20231207144627-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +182.9 KB
Content
image-20231207144758-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +51.0 KB
Content
image-20231207145210-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +104.4 KB
Content
image-20240203172853-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +24.5 KB
Content
image-20240318095605-1.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +37.3 KB
Content
image-20240318095617-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +32.9 KB
Content
image-20240318160845-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +36.5 KB
Content
image-20240416112509-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +82.7 KB
Content
image-20240416112618-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +128.5 KB
Content
image-20240416112649-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +119.8 KB
Content
image-20240416112712-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +29.6 KB
Content
image-20240416112948-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoye
Size
... ... @@ -1,0 +1,1 @@
1 +29.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0