<
From version < 277.1 >
edited by Xiaoye
on 2023/12/01 17:19
To version < 290.1 >
edited by Kilight Cao
on 2023/12/07 14:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoye
1 +XWiki.Kilight
Content
... ... @@ -545,31 +545,54 @@
545 545  
546 546  
547 547  
548 -**Troubleshooting:**
548 +== **3). Troubleshooting:** ==
549 549  
550 -**~ 1. If the URL does not jump properly.**
551 551  
551 +* (((
552 +=== ** If the URL does not jump properly.** ===
553 +)))
554 +
552 552   For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
553 553  
554 554   For the Node-Red, you can use the local IP address and the port is **1880** to access it.
555 555  
556 - **2. How to install InfluxDB, Garfana.**
557 557  
558 - The LPS8V2 is not pre-installed InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]
560 +* (((
561 +=== ** How to install InfluxDB, Garfana.** ===
562 +)))
559 559  
560 - **3. How to upgade the gateway node.js to the latest version.**
564 + 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]]
561 561  
562 - The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
563 563  
567 +* (((
568 +=== ** How to upgrade the gateway node.js to the latest version.** ===
569 +)))
564 564  
571 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
565 565  
566 -== 4.3 How to disable the built-in server ==
567 567  
574 +* (((
575 +=== ** How to batch register device on the built-in Chirpstack network server** ===
576 +)))
568 568  
569 -Use the following commands to start and stop the TTNv3 service:
578 + 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]]
570 570  
580 +
581 +* (((
582 +=== ** Why my gateway is not Chirpstack?** ===
583 +)))
584 +
585 + 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]]**
586 +
587 +
588 +* (((
589 +=== ** How to disable the built-in server** ===
590 +)))
591 +
571 571  (% class="box infomessage" %)
572 572  (((
594 +Use the following commands to start and stop the TTNv3 service:**     **
595 +
573 573  **# start**
574 574  systemctl start ttnstack
575 575  
... ... @@ -583,10 +583,10 @@
583 583  systemctl disable ttnstack
584 584  )))
585 585  
586 -Use the following commands to start and stop the Node-Red service:
587 -
588 588  (% class="box infomessage" %)
589 589  (((
611 +Use the following commands to start and stop the Node-Red service:
612 +
590 590  **# start**
591 591  systemctl start nodered
592 592  
... ... @@ -601,21 +601,14 @@
601 601  )))
602 602  
603 603  
604 -== 4.4 Why my gateway is not Chirpstack? ==
627 +* (((
628 +=== ** How to choose the Chirpstack server frequency SubBand** ===
629 +)))
605 605  
631 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
606 606  
607 -The newly shipout LPS8v2 already have ChirpStack built-in by default. Older units might have built-in TTN Stack v3 server, in this case, user can change from TTN Stack v3 to ChirpStack by below instruction.
633 + 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.
608 608  
609 -**[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**
610 -
611 -
612 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand ===
613 -
614 -
615 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first.
616 -
617 -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.
618 -
619 619  [[image:image-20230602140406-3.png||height="480" width="918"]]
620 620  
621 621  
... ... @@ -622,7 +622,7 @@
622 622  When the configuration is complete, click** "Save&Apply"**.
623 623  
624 624  
625 -(% 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.
641 +(% 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.
626 626  
627 627  [[image:image-20230602143122-4.png||height="511" width="983"]]
628 628  
... ... @@ -735,33 +735,29 @@
735 735  
736 736  Migrate guide:
737 737  
738 -**1. Ensure that the gateway is in good network condition, Recommended use of ETH.**
754 +To stabilize the completion of the migration, The users can migrate in one of the following ways
739 739  
740 -**2. On the Server ~-~-> Network Server interface, click "Management"**
756 +**Method 1. Using the Linux shell, **
741 741  
742 -[[image:image-20230616162454-1.png]]
758 +**Method 2. Flash a new image with the Chirpstack**
743 743  
744 744  
745 -**3. Click "Migrate-Chirpstack"**
746 746  
747 -[[image:image-20230616162742-2.png]]
762 +=== Method 1: Using the Linux shell ===
748 748  
764 +(% class="box infomessage" %)
765 +(((
766 +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
767 +)))
749 749  
750 -**4. Strat Install **
751 751  
752 -Click start Install and wait until the migration succeeds
753 753  
754 -[[image:image-20230616162934-3.png]]
771 +=== Method 2: Flash a new image ===
755 755  
773 +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]]
756 756  
757 -**5.Migration complete check result**
758 758  
759 -[[image:image-20230616174526-4.png||height="706" width="983"]]
760 760  
761 -
762 -[[image:image-20230616180004-9.png]]
763 -
764 -
765 765  == 8.3 How to reduce the 4g data consumed ==
766 766  
767 767  
... ... @@ -831,6 +831,7 @@
831 831  
832 832  [[image:image-20231017114417-3.png||height="543" width="679"]]
833 833  
846 +
834 834  === 8.6.3 Dmesg Log ===
835 835  
836 836  Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
... ... @@ -845,6 +845,37 @@
845 845  [[image:image-20231017115124-4.png||height="215" width="880"]]
846 846  
847 847  
861 +=== 8.6.5 View gateway logs via Linux Command ===
862 +
863 +**Semtech UDP Log :**
864 +
865 +(% class="box infomessage" %)
866 +(((
867 +**journalctl -u draginofwd -f**
868 +)))
869 +
870 +[[image:image-20231207144627-1.png||height="371" width="1017"]]
871 +
872 +
873 +**Station Log:**
874 +
875 +(% class="box infomessage" %)
876 +(((
877 +**tail -f /var/log/station.log **
878 +)))
879 +
880 +[[image:image-20231207144758-2.png||height="132" width="1022"]]
881 +
882 +
883 +**Dmesg Log:**
884 +
885 +(% class="box infomessage" %)
886 +(((
887 +**dmesg**
888 +)))
889 +
890 +[[image:image-20231207145210-3.png||height="310" width="1021"]]
891 +
848 848  = 9. Trouble Shooting =
849 849  
850 850  == 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0