<
From version < 329.1 >
edited by Kilight Cao
on 2024/09/02 09:20
To version < 309.1 >
edited by Kilight Cao
on 2024/05/18 14:59
>
Change comment: Uploaded new attachment "image-20240518145859-1.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,7 @@
18 18  
19 19  = 1. Introduction =
20 20  
21 -== (% data-sider-select-id="66d5195f-ab1f-47c7-83cb-b027d0903e53" %)1.1 What is LPS8v2(%%) ==
21 +== 1.1 What is LPS8v2 ==
22 22  
23 23  
24 24  (((
... ... @@ -433,40 +433,25 @@
433 433  
434 434  (((
435 435  Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: __[[Use of LoRaWAN Basic Station - DRAGINO>>doc:Main.Use of LoRaWAN Basic Station.WebHome]]__
436 -
437 -
438 -== (% style="color:inherit; font-family:inherit; font-size:26px" %)3.4  Forwarder(%%) ==
439 439  )))
440 440  
441 -=== 3.4.1 Forwarder ~-~-> MQTT Forwarder ===
442 442  
439 +== 3.4 Network Settings ==
443 443  
444 -In the latest version, MQTT Forwarder functionality has been added to the LPS8V2 gateway by default
441 +=== 3.4.1 Network ~-~-> WiFi ===
445 445  
446 -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
447 -
448 -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]]**
449 -
450 -(% class="wikigeneratedid" %)
451 -[[image:image-20240831152113-2.png]]
452 -
453 -
454 -== 3.5 Network Settings ==
455 -
456 -=== 3.5.1 Network ~-~-> WiFi ===
457 -
458 458  Users can configure the wifi WAN and enable Wifi Access Point on this interface
459 459  
460 460  [[image:image-20230619095946-1.png||height="332" width="827"]]
461 461  
462 462  
463 -=== 3.5.2 Network ~-~-> System Status ===
448 +=== 3.4.2 Network ~-~-> System Status ===
464 464  
465 465  
466 466  [[image:image-20220820134112-2.png||height="539" width="668"]]
467 467  
468 468  
469 -=== 3.5.3 Network ~-~-> Network ===
454 +=== 3.4.3 Network ~-~-> Network ===
470 470  
471 471  
472 472  In the **Network ~-~-> Network** interface, Users can set the Ethernet WAN static ip address.
... ... @@ -474,7 +474,7 @@
474 474  [[image:image-20230214093657-2.png||height="333" width="858"]]
475 475  
476 476  
477 -=== 3.5.4 Network ~-~-> Cellular ===
462 +=== 3.4.4 Network ~-~-> Cellular ===
478 478  
479 479  
480 480  In the **Network ~-~-> Cellular** interface, Users can Enable Cellular WAN and configure Celluar.
... ... @@ -493,21 +493,18 @@
493 493  
494 494  [[Reduce data method>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H8.3Howtoreducethe4gdataconsumed]]
495 495  
496 -(% class="wikigeneratedid" id="H5.MQTTForwarder" %)
497 -(% id="cke_bm_4823S" style="display:none" %)
498 498  
482 +== 3.5 System ==
499 499  
500 -== 3.6 System ==
484 +=== 3.5.1 System ~-~-> System Overview ===
501 501  
502 -=== 3.6.1 System ~-~-> System Overview ===
503 503  
504 -
505 505  Shows the system info:
506 506  
507 507  [[image:image-20231031162854-1.png]]
508 508  
509 509  
510 -=== 3.6.2 System ~-~-> System General ===
492 +=== 3.5.2 System ~-~-> System General ===
511 511  
512 512  
513 513  In the **System-> System General** interface, Users can customize the configuration System Password and set Timezone.
... ... @@ -517,12 +517,12 @@
517 517  [[image:image-20230214094058-3.png]]
518 518  
519 519  
520 -=== 3.6.3 System ~-~-> Backup/Restore ===
502 +=== 3.5.3 System ~-~-> Backup/Restore ===
521 521  
522 522  
523 523  [[image:image-20231031162927-2.png]]
524 524  
525 -=== 3.6.4 System ~-~-> Reboot / Reset ===
507 +=== 3.5.4 System ~-~-> Reboot / Reset ===
526 526  
527 527  In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway.
528 528  
... ... @@ -537,7 +537,7 @@
537 537  [[image:image-20240203172853-1.png||height="365" width="901"]]
538 538  
539 539  
540 -=== 3.6.5 System ~-~-> Remoteit ===
522 +=== 3.5.5 System ~-~-> Remoteit ===
541 541  
542 542  
543 543  In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it.
... ... @@ -548,7 +548,7 @@
548 548  [[image:image-20221230092303-2.png]]
549 549  
550 550  
551 -=== 3.6.6 System ~-~-> Package Management ===
533 +=== 3.5.6 System ~-~-> Package Management ===
552 552  
553 553  
554 554  In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages.
... ... @@ -556,9 +556,9 @@
556 556  [[image:image-20230214094316-4.png]]
557 557  
558 558  
559 -== 3.7 Logread ==
541 +== 3.5 Logread ==
560 560  
561 -=== 3.7.1 LoRa Log ===
543 +=== 3.5.1 LoRa Log ===
562 562  
563 563  
564 564  In the **Lograde ~-~-> LoRa Log page**, The users can view information about the gateway lora channel and the status of the IoT connection
... ... @@ -566,7 +566,7 @@
566 566  [[image:image-20240416112509-1.png]]
567 567  
568 568  
569 -=== 3.7.2 Gateway Traffic ===
551 +=== 3.5.2 Gateway Traffic ===
570 570  
571 571  In the **Lograde ~-~-> Gateway Traffic page**, The users can view sensor packages about Recent LoRa uplink/downlink/Join requests
572 572  
... ... @@ -573,7 +573,7 @@
573 573  [[image:image-20240416112618-2.png||height="705" width="1122"]]
574 574  
575 575  
576 -=== 3.7.3 System Log ===
558 +=== 3.5.3 System Log ===
577 577  
578 578  In the **Lograde ~-~-> System Log page**, The users can view information about the gateway system
579 579  
... ... @@ -580,7 +580,7 @@
580 580  [[image:image-20240416112649-3.png||height="820" width="1122"]]
581 581  
582 582  
583 -=== 3.7.4 Record Log ===
565 +=== 3.5.4 Record Log ===
584 584  
585 585  In the **Lograde ~-~-> Recod Log page**, The users can record the gateway curren running log.
586 586  
... ... @@ -714,13 +714,9 @@
714 714  [[image:image-20230602143122-4.png||height="511" width="983"]]
715 715  
716 716  
717 -
718 718  = 5. Watch Dog =
719 719  
720 720  
721 -The watchdog will guard the LPS8V2 to avoid the need to perform a reboot manually after down occurs
722 -
723 -
724 724  LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 )
725 725  
726 726  The uses can be via the below method to enable Watch Dog:
... ... @@ -799,388 +799,231 @@
799 799  [[image:image-20230607093849-1.png]]
800 800  
801 801  
802 -= (% data-sider-select-id="f31494a0-5f58-4b5c-820e-9cb1be76d96f" %)8 How do I view gateway logs(%%) =
780 += 8. FAQ =
803 803  
804 -=== (% data-sider-select-id="2c782a3d-7138-45c4-bbdf-09c0e27ef896" %)8.1 LoRaWAN Log:(%%) ===
782 +== 8.1 How to change Hostname ==
805 805  
806 806  
807 -==== Semtech UDP Log : ====
785 +By default, Hostname is dragino-xxxxxx,If the user needs to change the hostname, the user needs to access the linux console of LPS8v2 and enter the following command:
808 808  
809 -When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
810 -
811 -[[image:image-20231017112115-2.png||height="611" width="821"]]
812 -
813 -
814 -==== Station Log: ====
815 -
816 -When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
817 -
818 -[[image:image-20231017111606-1.png||height="622" width="821"]]
819 -
820 -
821 -=== (% data-sider-select-id="de76f982-b2e5-4327-aab4-8890814f5f53" %)8.2  4G Log(%%) ===
822 -
823 -
824 -User needs to access the Linux console of the gateway and enter the following command:
825 -
826 826  (% class="box infomessage" %)
827 827  (((
828 -cat /var/log/qmilog.txt
789 +hostnamectl set-hostname dragino-123456
829 829  )))
830 830  
831 -[[image:image-20231017114417-3.png||height="543" width="679"]]
792 +[[image:image-20230517102429-1.png]]
832 832  
794 +After the configuration is complete, run "reboot" to restart the gateway.
833 833  
834 -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]].
835 835  
836 -Below are some commands as reference:
797 +== 8.2 Build-in The Things Network migrate to ChirpStack ==
837 837  
838 ->Usage:  /usr/bin/quectel-CM [options]
839 -> -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
840 -> -p pincode Verify sim card pin if sim card is locked
841 -> -p [quectel-][qmi|mbim]-proxy  Request to use proxy
842 -> -f logfilename Save log message of this program to file
843 -> -u usbmonlog filename  Save usbmon log to file
844 -> -i interface Specify which network interface to setup data call when multi-modems exits
845 -> -4 Setup IPv4 data call (default)
846 -> -6 Setup IPv6 data call
847 -> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
848 -> -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
849 -> -b Enable network interface bridge function (default 0)
850 -> -v Verbose log mode, for debug purpose.[Examples]
851 ->Example 1: /usr/bin/quectel-CM
852 ->Example 2: /usr/bin/quectel-CM -s 3gnet
853 ->Example 3: /usr/bin/quectel-CM -s 3gnet -v
854 854  
800 +Migrate guide:
855 855  
802 +To stabilize the completion of the migration, The users can migrate in one of the following ways
856 856  
857 -=== (% data-sider-select-id="ec43d85c-19ec-48b0-a4fc-0ecd76f17fc4" %)8.3 Dmesg Log(%%) ===
804 +**Method 1. Using the Linux shell, **
858 858  
806 +**Method 2. Flash a new image with the Chirpstack**
859 859  
860 -Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
861 861  
862 -[[image:image-20231017115330-5.png||height="565" width="740"]]
809 +=== Method 1: Using the Linux shell ===
863 863  
864 -
865 -=== (% data-sider-select-id="3a977a3e-9417-40fa-bdfb-2544a88744a9" %)8.4 Record Log(%%) ===
866 -
867 -
868 -Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
869 -
870 -[[image:image-20231017115124-4.png||height="215" width="880"]]
871 -
872 -
873 -=== (% data-sider-select-id="b988f832-4b37-4a61-b951-ff2138ad9cba" %)8.5 View gateway logs via Linux Command(%%) ===
874 -
875 -
876 -**Semtech UDP Log :**
877 -
878 878  (% class="box infomessage" %)
879 879  (((
880 -**journalctl -u draginofwd -f**
813 +wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack
881 881  )))
882 882  
883 -[[image:image-20231207144627-1.png||height="371" width="1017"]]
884 884  
817 +=== Method 2: Flash a new image ===
885 885  
886 -**Station Log:**
819 +Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]
887 887  
888 -(% class="box infomessage" %)
889 -(((
890 -**tail -f /var/log/station.log **
891 -)))
892 892  
893 -[[image:image-20231207144758-2.png||height="132" width="1022"]]
822 +== 8.3 How to reduce the 4g data consumed ==
894 894  
895 895  
896 -**Dmesg Log:**
825 +1). The gateway will check the network via ping 1.1.1.1/8.8.8.8 which will consume a lot of data, you can set the interval time to reduce data consume.
897 897  
898 -(% class="box infomessage" %)
899 -(((
900 -**dmesg**
901 -)))
827 +[[image:image-20230719100239-1.png||height="724" width="994"]]
902 902  
903 -[[image:image-20231207145210-3.png||height="310" width="1021"]]
904 904  
830 +2. Change the LoRa status package interval time: It does not affect the connection between the gateway and the server, just the status packet interval
905 905  
832 +[[image:image-20230719100332-2.png]]
906 906  
907 -(% data-sider-select-id="65e92cfb-62df-4513-8469-b74edd72dea5" %)
908 -= (% data-sider-select-id="ce97a758-4348-4c0c-86eb-412b6b8d3996" %)9. More Services(%%) =
909 909  
910 -== (% data-sider-select-id="6b164b64-51ae-4144-8ffd-5cd725b3bb5f" %)9.1 NTP Service/Time Synchronization(%%) ==
835 +3. Disable the auto-update:
911 911  
912 -The gateway time sync service is provided by chrony service
837 +[[image:image-20230719100419-3.png||height="458" width="995"]]
913 913  
914 914  
915 -=== 1). Modify the NTP server address: ===
840 +== 8.4 How to connect the helium blockchain as a Data-only hotspot ==
916 916  
917 -(% class="box infomessage" %)
918 -(((
919 -Configuration file path:  /etc/chrony/chrony.conf
920 -)))
921 921  
922 -
923 -=== 2). Start/Stop/Enable/Disable NTP service: ===
924 -
925 925  (% class="box infomessage" %)
926 926  (((
927 -systemctl start chrony
928 -\\systemctl stop chrony
929 -\\systemctl disable chrony
930 -\\systemctl enable chrony
845 +apt update && apt install helium-gateway
931 931  )))
932 932  
933 933  
934 -(% data-sider-select-id="61881d06-3f91-437c-8b64-7032dea3c970" %)
935 -= (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10. More features(%%) =
849 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. ==
936 936  
937 -(% data-sider-select-id="692f00f1-a7cc-4954-ac62-0a5dddb0a0c6" %)
938 -== (% data-sider-select-id="ec6a5e23-ba91-46d9-8042-1e4c6a7b3b36" %)10.1 Chirpstack MQTT Forwarder(%%) ==
939 939  
852 +By default, the LPS8v2's built-in server is ChirpStack v4,
940 940  
941 -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.
854 +If the user needs to change the built-in server from ChirpStack v4 to TTN Stack v3, the User needs to download the image and flash it to the LPS8v2 gateway:
942 942  
856 +[[https:~~/~~/www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0>>https://www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0]]
943 943  
944 -(% data-sider-select-id="d2b54844-aad8-4198-9f17-841cd68db9b3" %)
945 -=== (% data-sider-select-id="fb64fcfa-81b6-41b5-ae81-81d94960d7dd" %)10(% data-sider-select-id="0870eb11-ff25-47fc-9e3c-80a68bbf3933" %).1.1 Configure Packet Forwarder(%%) ===
946 946  
947 -In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.
859 +Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]
948 948  
949 -(% data-sider-select-id="48576a4e-42ef-4ac9-83b4-122fc10c6629" %)
950 -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.
951 951  
952 -* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP**
953 -* Configure the following settings:
954 -** **Service Provider:** //Custom / Private LoRaWAN//
955 -** **Server Address:** localhost
956 -** **Uplink Port:** 1700
957 -** **Downlink Port:** 1700
958 -* Click **Save & Apply**
862 +== 8.6 How do I view gateway logs ==
959 959  
960 -[[image:image-20240518145929-2.png||height="652" width="727"]]
864 +=== 8.6.1 LoRaWAN Log: ===
961 961  
962 962  
963 -(% data-sider-select-id="716df9b1-d844-4797-bce9-9b1adf49b072" %)
964 -=== (% 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(%%) ===
867 +==== Semtech UDP Log : ====
965 965  
869 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface
966 966  
967 -(% data-sider-select-id="2a752131-c23e-4da4-b142-5880dd688c39" %)
968 -(% data-sider-select-id="833bbe42-c175-4e13-ab7a-c8abc30378d0" %)**SSH login**
871 +[[image:image-20231017112115-2.png||height="611" width="821"]]
969 969  
970 -First you must login into the gateway using SSH:
971 971  
972 -(% class="box infomessage" data-sider-select-id="608a94b0-8dee-453d-9433-5fe12c6559e5" %)
973 -(((
974 -ssh root@GATEWAY-IP-ADDRESS
975 -)))
874 +==== Station Log: ====
976 976  
977 -(% data-sider-select-id="63adc977-8227-4585-ab1d-eea44a01c34c" %)
978 -The default password is: (% data-sider-select-id="5fad2844-9bd3-49e2-979b-ffd184b923cf" %)**dragino**(%%).
876 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface
979 979  
878 +[[image:image-20231017111606-1.png||height="622" width="821"]]
980 980  
981 -(% data-sider-select-id="216fb9b4-6cee-4cb6-8b71-0a9cda3bd96a" %)
982 -(% data-sider-select-id="914750d6-03c5-48fe-ad27-49e99d95d877" %)**Download **(% data-sider-select-id="94e274ee-d341-40dc-8ca8-dc3c3b4c4981" %)**package**
983 983  
984 -(% data-sider-select-id="f95485e3-b535-4ea2-b0aa-0c46b5254782" %)
985 -Use the following commands to download the latest version of the ChirpStack MQTT Forwarder package:
881 +=== 8.6.2  4G Log ===
986 986  
987 -(% class="box infomessage" data-sider-select-id="ab1338ab-a215-4185-8552-1efd6e067858" %)
988 -(((
989 -cd /tmp
990 -wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
991 -)))
992 992  
884 +User needs to access the Linux console of the gateway and enter the following command:
993 993  
994 -(% data-sider-select-id="e59f1bad-427f-47b8-bc97-a818490576c4" %)
995 -(% data-sider-select-id="1b512eaf-c564-4835-afac-548b9a6a7045" %)**Install **
996 -
997 -Use the dpkg package-manager to install the downloaded package. Example:
998 -
999 -(% class="box infomessage" data-sider-select-id="7e7ff0cf-c367-4ff0-9387-f4eb82f3c89e" %)
886 +(% class="box infomessage" %)
1000 1000  (((
1001 -dpkg -i chirpstack-mqtt-forwarder_4.3.0_linux_armhf.deb
888 +cat /var/log/qmilog.txt
1002 1002  )))
1003 1003  
1004 -[[image:image-20240518152148-4.png]]
891 +[[image:image-20231017114417-3.png||height="543" width="679"]]
1005 1005  
1006 1006  
1007 -(% data-sider-select-id="69e4a485-6ea8-46e7-97a3-8666bc9423a7" %)
1008 -**Configuration**
894 +LPS8v2 use **quectel-CM** linux drive for dial up. The manual of this driver can be found here: [[**quectel-CM driver user manual**>>https://www.dropbox.com/scl/fi/73n2jl2c5r8h4i187to4n/Quectel_WCDMA_LTE_Linux_USB_Driver_User_Guide_V1.9-20190212.pdf?rlkey=j8834bw38d4neieisg54zngu9&st=kjsd4zx4&dl=0]].
1009 1009  
1010 -To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file.
896 +Below are some commands as reference:
1011 1011  
1012 -(% data-sider-select-id="e98443ef-dcc1-4be1-ad3e-ec31b0a580b4" %)
1013 -This file is located at: (% data-sider-select-id="60301edc-5082-44e9-a91a-688327092116" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml**
898 +>Usage:  /usr/bin/quectel-CM [options]
899 +> -s [apn [user password auth]]  Set apn/user/password/auth get from your network provider. auth: 1~~pap, 2~~chap
900 +> -p pincode Verify sim card pin if sim card is locked
901 +> -p [quectel-][qmi|mbim]-proxy  Request to use proxy
902 +> -f logfilename Save log message of this program to file
903 +> -u usbmonlog filename  Save usbmon log to file
904 +> -i interface Specify which network interface to setup data call when multi-modems exits
905 +> -4 Setup IPv4 data call (default)
906 +> -6 Setup IPv6 data call
907 +> -k pdn Specify which pdn to hangup data call (by send SIGINT to 'quectel-CM -n pdn')
908 +> -m iface-idx Bind QMI data call to wwan0_<iface idx> when QMAP used. E.g '-n 7 -m 1' bind pdn-7 data call to wwan0_1
909 +> -b Enable network interface bridge function (default 0)
910 +> -v Verbose log mode, for debug purpose.[Examples]
911 +>Example 1: /usr/bin/quectel-CM
912 +>Example 2: /usr/bin/quectel-CM -s 3gnet
913 +>Example 3: /usr/bin/quectel-CM -s 3gnet -v
1014 1014  
1015 1015  
1016 -**ChirpStack MQTT Forwarder Setting:**
1017 1017  
1018 -(% class="box" data-sider-select-id="1d70062d-64ab-410b-bd8e-476c73d5dd70" %)
1019 -(((
1020 -topic_prefix  ~-~->  This corresponds to the frequency of the ChirpStack server
1021 1021  
1022 -server  ~-~->  Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883
1023 -)))
1024 1024  
1025 -username,password,ca_cert,tls_cert,tls_key parameters should be set as required.
919 +=== 8.6.3 Dmesg Log ===
1026 1026  
1027 1027  
1028 -Use commands to modify configuration files:
922 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
1029 1029  
1030 -(% class="box infomessage" data-sider-select-id="d552b27f-cfd2-4f5a-9b7f-b627f5dd3387" %)
1031 -(((
1032 -vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml
1033 -)))
924 +[[image:image-20231017115330-5.png||height="565" width="740"]]
1034 1034  
1035 -[[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"]]
1036 1036  
927 +=== 8.6.4 Record Log ===
1037 1037  
1038 -**(Re)start and stop commands**
1039 1039  
1040 -Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:
930 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface
1041 1041  
1042 -(% class="box infomessage" data-sider-select-id="61c3c343-2cb9-4b07-8741-5d5da2d88ec3" %)
1043 -(((
1044 -# start
932 +[[image:image-20231017115124-4.png||height="215" width="880"]]
1045 1045  
1046 -(% data-sider-select-id="5482a31e-3aa0-403c-aec5-117839958068" %)
1047 -systemctl start chirpstack-mqtt-forwarder
1048 1048  
1049 -# stop
935 +=== 8.6.5 View gateway logs via Linux Command ===
1050 1050  
1051 -systemctl stop chirpstack-mqtt-forwarder
1052 1052  
1053 -# restart
938 +**Semtech UDP Log :**
1054 1054  
1055 -systemctl restart chirpstack-mqtt-forwarder
940 +(% class="box infomessage" %)
941 +(((
942 +**journalctl -u draginofwd -f**
1056 1056  )))
1057 1057  
1058 -(% data-sider-select-id="1cea423f-9653-47e6-8022-aadcb684f191" %)
1059 -(% data-sider-select-id="f385e712-68bc-48fd-8b94-67a0c7e7cb70" %)**Note: If the LPS8v2 built-in server is running, it will cause a port conflict**
945 +[[image:image-20231207144627-1.png||height="371" width="1017"]]
1060 1060  
1061 1061  
1062 -**Check result**
948 +**Station Log:**
1063 1063  
1064 -(% data-sider-select-id="43d1d40a-2620-4547-b00d-f78dd5427215" %)
1065 -Use "** journalctl -u chirpstack-mqtt-forwarder -f(% data-sider-select-id="ab74df8a-b859-4afa-9c26-d0807e860e6c" %) (%%)**" to check the operation of ChirpStack MQTT Forwarder.
1066 -
1067 -[[image:image-20240518154223-5.png]]
1068 -
1069 -[[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"]]
1070 -
1071 -
1072 -== (% data-sider-select-id="de90793f-d833-4885-8b59-d0880f7256e6" %)10.2 As a Data-only hotspot connect the helium blockchain(%%) ==
1073 -
1074 -
1075 1075  (% class="box infomessage" %)
1076 1076  (((
1077 -(% data-sider-select-id="3359233b-fcc9-4415-9bee-4151919fbb2e" %)
1078 -apt update && apt install helium-gateway
952 +**tail -f /var/log/station.log **
1079 1079  )))
1080 1080  
955 +[[image:image-20231207144758-2.png||height="132" width="1022"]]
1081 1081  
1082 1082  
1083 -= (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11. FAQ(%%) =
958 +**Dmesg Log:**
1084 1084  
1085 -== (% data-sider-select-id="9fbcac50-3c87-43d9-8611-8d311fcb7820" %)11.1 How to change Hostname(%%) ==
1086 -
1087 -
1088 -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:
1089 -
1090 1090  (% class="box infomessage" %)
1091 1091  (((
1092 -hostnamectl set-hostname dragino-123456
962 +**dmesg**
1093 1093  )))
1094 1094  
1095 -[[image:image-20230517102429-1.png]]
965 +[[image:image-20231207145210-3.png||height="310" width="1021"]]
1096 1096  
1097 -After the configuration is complete, run "reboot" to restart the gateway.
1098 1098  
968 +== 8.7 DIN Mount Reference: ==
1099 1099  
1100 -== (% 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(%%) ==
1101 1101  
971 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
1102 1102  
1103 -Migrate guide:
973 +[[image:image-20240318095617-2.png]]
1104 1104  
1105 -To stabilize the completion of the migration, The users can migrate in one of the following ways
1106 1106  
1107 -**Method 1. Using the Linux shell, **
976 +== 8.8 NTP Service/Time Synchronization ==
1108 1108  
1109 -**Method 2. Flash a new image with the Chirpstack**
978 +The gateway time sync service is provided by chrony service
1110 1110  
1111 1111  
1112 -=== Method 1: Using the Linux shell ===
981 +=== 1). Modify the NTP server address: ===
1113 1113  
1114 1114  (% class="box infomessage" %)
1115 1115  (((
1116 -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
985 +Configuration file path:  /etc/chrony/chrony.conf
1117 1117  )))
1118 1118  
1119 1119  
1120 -=== Method 2: Flash a new image ===
989 +=== 2). Start/Stop/Enable/Disable NTP service: ===
1121 1121  
1122 -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]]
1123 -
1124 -
1125 -== (% 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(%%) ==
1126 -
1127 -
1128 -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.
1129 -
1130 -[[image:image-20230719100239-1.png||height="724" width="994"]]
1131 -
1132 -
1133 -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
1134 -
1135 -[[image:image-20230719100332-2.png]]
1136 -
1137 -
1138 -3. Disable the auto-update:
1139 -
1140 -[[image:image-20230719100419-3.png||height="458" width="995"]]
1141 -
1142 -
1143 -== (% 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.(%%) ==
1144 -
1145 -
1146 -By default, the LPS8v2's built-in server is ChirpStack v4,
1147 -
1148 -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:
1149 -
1150 -[[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]]
1151 -
1152 -
1153 -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]]
1154 -
1155 -
1156 -== (% 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. ==
1157 -
1158 -
1159 -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:
1160 -
1161 1161  (% class="box infomessage" %)
1162 1162  (((
1163 -dmesg
993 +systemctl start chrony
994 +\\systemctl stop chrony
995 +\\systemctl disable chrony
996 +\\systemctl enable chrony
1164 1164  )))
1165 1165  
1166 -[[image:image-20240803095144-1.png]]
1167 1167  
1168 1168  
1001 += 9. Trouble Shooting =
1169 1169  
1170 -== (% data-sider-select-id="20d4ea6b-7328-46c6-bc97-f0050cfe382e" %)11(% data-sider-select-id="82550df9-987d-4f58-9877-86a0c5e621a4" %).6 DIN Mount Reference:(%%) ==
1003 +== 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
1171 1171  
1172 -
1173 -[[image:image-20240318095605-1.jpeg||height="472" width="472"]]
1174 -
1175 -[[image:image-20240318095617-2.png]]
1176 -
1177 -
1178 -
1179 -
1180 -= (% data-sider-select-id="9b024263-b754-45b6-ac15-22f86a4e1436" %)12. Trouble Shooting(%%) =
1181 -
1182 -== (% 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**'.(%%) ==
1183 -
1184 1184  [[image:image-20220920135918-1.png]]
1185 1185  
1186 1186  
... ... @@ -1196,7 +1196,7 @@
1196 1196  [[image:image-20220920141936-2.png]]
1197 1197  
1198 1198  
1199 -== (% 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(%%) ==
1020 +== 9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem ==
1200 1200  
1201 1201  
1202 1202  When this problem occurs, click "**Update To DEFAULT**" ,this problem will be fixed.
... ... @@ -1204,7 +1204,7 @@
1204 1204  [[image:image-20230508171607-1.png]]
1205 1205  
1206 1206  
1207 -== (% 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(%%) ==
1028 +== 9.3  Fallback IP does not work, how can users check ==
1208 1208  
1209 1209  
1210 1210  When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.
... ... @@ -1226,7 +1226,7 @@
1226 1226  If the firewall is not down, this will affect access to the gateway.
1227 1227  
1228 1228  
1229 -== (% 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?(%%) ==
1050 +== 9.4  Click "Manual_Update", why there is no response? ==
1230 1230  
1231 1231  
1232 1232  When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.
... ... @@ -1235,7 +1235,7 @@
1235 1235  [[image:image-20230527090555-3.png||height="660" width="832"]]
1236 1236  
1237 1237  
1238 -== (% 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(%%) ==
1059 +== 9.5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access ==
1239 1239  
1240 1240  
1241 1241  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.
... ... @@ -1248,7 +1248,7 @@
1248 1248  )))
1249 1249  
1250 1250  
1251 -== (% 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(%%) ==
1072 +== 9.6  How to reset the built-in server ==
1252 1252  
1253 1253  
1254 1254  **1) Build-in The Things Network**
... ... @@ -1265,7 +1265,7 @@
1265 1265  [[image:image-20231106180846-5.png||height="310" width="668"]]
1266 1266  
1267 1267  
1268 -= (% data-sider-select-id="7e5e9cb1-c1dc-4ea9-a9f7-9da676c581a5" style="color:inherit; font-family:inherit; font-size:29px" %)13. Supports(%%) =
1089 += (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
1269 1269  
1270 1270  
1271 1271  (((
... ... @@ -1276,7 +1276,7 @@
1276 1276  With your question as detailed as possible. We will reply and help you in the shortest.
1277 1277  
1278 1278  
1279 -= (% data-sider-select-id="f8ca68c9-99ed-4795-97c5-3d0d259131e9" %)14. Reference(%%) =
1100 += 11. Reference =
1280 1280  
1281 1281  
1282 1282  * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
... ... @@ -1285,7 +1285,7 @@
1285 1285  
1286 1286  )))
1287 1287  
1288 -= (% data-sider-select-id="a056b4ad-7d05-42b4-ad74-7a3134f8010a" %)15. Order Info(%%) =
1109 += 12. Order Info =
1289 1289  
1290 1290  
1291 1291  (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
... ... @@ -1317,7 +1317,7 @@
1317 1317  More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
1318 1318  
1319 1319  
1320 -= (% data-sider-select-id="a4433cd3-3bbc-4e6b-8b18-0bd2bc4d6904" %)16. Manufacturer Info(%%) =
1141 += 13. Manufacturer Info =
1321 1321  
1322 1322  
1323 1323  **Shenzhen Dragino Technology Development co. LTD**
... ... @@ -1327,7 +1327,7 @@
1327 1327  LongCheng Street, LongGang District ; Shenzhen 518116,China
1328 1328  
1329 1329  
1330 -= (% data-sider-select-id="b353afd6-b0f5-48e5-a114-3b5062cbf0d1" %)17. FCC Warning(%%) =
1151 += 14. FCC Warning =
1331 1331  
1332 1332  
1333 1333  (((
image-20240518145929-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -59.5 KB
Content
image-20240518152100-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -39.5 KB
Content
image-20240518152148-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -78.0 KB
Content
image-20240518154223-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -71.7 KB
Content
image-20240803095144-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -52.0 KB
Content
image-20240831151427-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -63.2 KB
Content
image-20240831152113-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -62.3 KB
Content
image-20240902092034-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -69.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0