Changes for page LG308N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2025/02/07 08:57
From version 143.2
edited by Xiaoling
on 2023/11/17 08:54
on 2023/11/17 08:54
Change comment:
There is no comment for this version
To version 153.1
edited by Kilight Cao
on 2024/12/31 16:34
on 2024/12/31 16:34
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -LG308N - LoRaWAN Gateway User Manual 1 +LG308N -- LoRaWAN Gateway User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Kilight - Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 6 6 7 -**Table of Contents :**7 +**Table of Contents:** 8 8 9 9 {{toc/}} 10 10 ... ... @@ -17,7 +17,7 @@ 17 17 18 18 = 1. Introduction = 19 19 20 -== 1.1 What is the LG308N == 20 +== (% data-sider-select-id="b56f45fb-88b0-4b64-98a2-012c4c56800e" %)1.1 What is the LG308N(%%) == 21 21 22 22 23 23 ((( ... ... @@ -87,7 +87,7 @@ 87 87 * Up to -142.5 dBm sensitivity with SX1250 Tx/Rx front-end 88 88 * 70 dB CW interferer rejection at 1 MHz offset 89 89 * Able to operate with negative SNR, CCR up to 9dB 90 -* Emulates49x LoRa demodulators and 1 x (G)FSK demodulator90 +* 8 x 8 channels LoRa packet detectors,8 x SF5-SF12 LoRa demodulators,8 x SF5-SF10 LoRa demodulators,125/250/500 kHz LoRa demodulator and 1 x (G)FSK demodulator 91 91 * Dual digital TX & RX radio front-end interfaces 92 92 * 10 programmable parallel demodulation paths 93 93 * Dynamic data-rate (DDR) adaptation ... ... @@ -320,6 +320,9 @@ 320 320 ))) 321 321 322 322 323 +When cellular fails to connect or has problems, users can refer to this link to Trouble Shooting:**[[How to Trouble Shooting if Cellular connection fails>>url:https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 324 + 325 + 323 323 == 3.5 Check Internet connection == 324 324 325 325 ... ... @@ -377,7 +377,7 @@ 377 377 (% style="color:blue" %)**Step 2: Sign up a user account in TTN server** 378 378 379 379 380 -[[**https:~~/~~/account.thethingsnetwork.org/register**>> url:https://account.thethingsnetwork.org/register]]383 +[[**https:~~/~~/account.thethingsnetwork.org/register**>>https://id.thethingsnetwork.org/]] 381 381 382 382 383 383 [[image:1652422127479-258.png||height="346" width="738"]] ... ... @@ -428,7 +428,6 @@ 428 428 429 429 [[image:1652422509034-682.png||height="299" width="739"]] 430 430 431 - 432 432 == 4.2 Configure LG308N to connect to TTN v3 == 433 433 434 434 ... ... @@ -640,7 +640,7 @@ 640 640 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916114346-7.png?rev=1.1||alt="image-20220916114346-7.png" height="359" width="876"]] 641 641 642 642 643 -== 5.3 LoRaWAN Settings == 645 +== (% data-sider-select-id="82a87698-9674-4d38-bd25-98bcb08551b2" %)5.3 LoRaWAN Settings(%%) == 644 644 645 645 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === 646 646 ... ... @@ -715,93 +715,118 @@ 715 715 [[image:1652428705046-212.png||height="417" width="733"]] 716 716 717 717 718 -== 5.5 System==720 +== 5.5 Network == 719 719 720 -=== 5.5.1 System~-~->System Overview ===722 +=== 5.5.1 Network ~-~-> Network Status === 721 721 724 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419143226-2.png?width=950&height=742&rev=1.1||alt="image-20240419143226-2.png"]] 722 722 723 -Shows the system info: 724 724 727 +=== 5.5.2 Network ~-~-> Network === 725 725 726 -[[image:image-20220916173046-3.png||height="613" width="868"]] 727 727 730 +(% data-sider-select-id="cddf8b4f-5a22-42d2-bdd8-8ee8180a1f07" %) 731 +**__LAN Settings: __**When the LG308N has the AP enable, LAN settings specify the network info for LG308N's own network. 728 728 729 -=== 5.5.2 System ~-~-> General ( login settings) === 733 +(% data-sider-select-id="b4859c0c-d733-4fa4-bbc8-509d985342cc" %) 734 +__**WAN Settings: **__Setting for LG308N WAN port 730 730 736 +(% data-sider-select-id="a653ed2d-c570-4cfa-9689-27fea7b5f581" %) 737 +__**WiFi Settings: **__** **Setting for LG308N WiFi IP when use it as WiFi Client 731 731 732 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/ DLOS8N/WebHome/image-20220916134411-11.png?rev=1.1||alt="image-20220916134411-11.png"height="499" width="865"]](% style="display:none" %)739 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419143347-3.png?rev=1.1||alt="image-20240419143347-3.png"]] 733 733 734 734 735 -((( 736 -(% style="color:#037691" %)**__System Password:__** 737 -))) 742 +=== 5.5.3 Network ~-~-> WiFi === 738 738 739 -((( 740 -There are two login for DLOS8: (% style="color:#4f81bd" %)**root /dragino** (% style="color:black" %)or (% style="color:#4f81bd" %)**admin /dragino**. (% style="color:black" %)Both root and admin has the same right for WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB interface. 741 -))) 742 742 743 -((( 744 -This page can be used to set the password for them. 745 -))) 745 +(% data-sider-select-id="005f89b3-ae2e-410c-b2ac-db80867d5660" %) 746 +LG308N WiFi Settings. 746 746 747 -((( 748 -(% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone. 749 -))) 748 +(% data-sider-select-id="005f89b3-ae2e-410c-b2ac-db80867d5660" %) 749 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419143504-4.png?width=946&height=500&rev=1.1||alt="image-20240419143504-4.png"]] 750 750 751 -((( 752 -(% style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface. 753 753 754 - 755 -))) 752 +=== 5.5.4 Network ~-~-> Cellular === 756 756 757 - ===5.5.3 System~-~->Network===754 +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. 758 758 756 +(% data-sider-select-id="005f89b3-ae2e-410c-b2ac-db80867d5660" %) 757 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657155507672-204.png?rev=1.1||alt="1657155507672-204.png"]] 759 759 760 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916134642-12.png?rev=1.1||alt="image-20220916134642-12.png" height="411" width="873"]] 759 +(% data-sider-select-id="005f89b3-ae2e-410c-b2ac-db80867d5660" %) 760 +(% data-sider-select-id="262b1aeb-7601-4231-ba98-63f35bcd6775" %)**Note *: For LG308N which doesn't have the cellular module, this page will shows Cellular not detected.** 761 761 762 762 763 +When cellular fails to connect or has problems, users can refer to this link to Trouble Shooting:**[[How to Trouble Shooting if Cellular connection fails>>url:https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20cellular%20network%20connection/#H2.1ForLPS8N2FDLOS8N2FLG308N]]** 764 + 765 +== (% data-sider-select-id="c723b2da-a166-48cd-ab9e-3632fd95e945" %)5.6 System(%%) == 766 + 767 +=== (% data-sider-select-id="573ebcc8-61e5-4f99-8729-b580f3f3fe27" %)5.6.1 System ~-~-> System Overview(%%) === 768 + 769 + 770 +Shows the system info: 771 + 772 + 773 +[[image:image-20220916173046-3.png||height="613" width="868"]] 774 + 775 + 776 +(% data-sider-select-id="a7ee9375-c1cf-4a6c-a61d-38426e50d84a" %) 777 +=== 5.6.2 System ~-~-> General ( login settings) === 778 + 779 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419144019-5.png?rev=1.1||alt="image-20240419144019-5.png" height="813" width="863"]] 780 + 763 763 ((( 764 -(% style="color:#037691" %)**__LAN Settings: __**(%%)When the LG308N has the AP enable, LAN settings specify the network info for LG308N's own network. 782 + 783 + 784 +(% data-sider-select-id="00e0325f-1698-4166-b578-eba5340e7e8e" style="color:#037691" %)**__System Password:__** 765 765 ))) 766 766 767 767 ((( 768 -(% style="color:#037691" %)__**WAN Settings: **__(%%)Setting for LG308N WAN port 788 +(% data-sider-select-id="95b842a8-0924-40db-acb5-4bc0aa4da2ea" %) 789 +There are two login for LG308N: (% style="color:blue" %)**root /dragino** (%%)or (% style="color:blue" %)**admin /dragino**. (%%)Both root and admin has the same right for WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB interface. 769 769 ))) 770 770 771 771 ((( 772 - (%style="color:#037691"%)__**WiFi Settings:**__(%%)SettingforLG308N WiFi IP when useit asWiFiClient793 +This page can be used to set the password for them. 773 773 ))) 774 774 796 +((( 797 +(% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone. 798 +))) 775 775 776 -=== 5.5.4 System ~-~-> WiFi === 800 +((( 801 +(% data-sider-select-id="be6bdce7-110b-4367-bcd5-d176d288153e" %) 802 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface. 777 777 804 +(% data-sider-select-id="0e3c0e0e-5796-4a1a-b3da-cdfc059c383d" %) 805 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Fallback Settings: __**(%%)Enable/Disable the Fallback interface. 778 778 779 - LG308NWiFi Settings.807 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Keepalive_Script: __**(%%)Set the keepalive_scrpt interval. 780 780 781 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916134831-13.png?rev=1.1||alt="image-20220916134831-13.png"height="408"width="870"]]809 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Logread Level: __**(%%)Change the logread level. 782 782 811 +(% data-sider-select-id="2140bc4a-c71f-4387-845a-510c0b050940" %) 812 +(% data-sider-select-id="31384c06-f8bc-420e-ba58-0a2d5916e600" style="color:#037691" %)**__Eable Internet Detect and Recover: __**(%%)Enable/Disable the Internet Detect interface,Internet Detect is enabled by default. When there is no gateway network, it will reboot after 15 minutes. 783 783 784 -=== 5.5.5 System ~-~-> Cellular === 785 785 815 +=== 5.6.3 System ~-~-> Backup/Restore Config === 786 786 787 - Whileuse the cellular as BackupWAN,devicewill useCellularforinternet connection whileWANportor WiFi isot validand switchbackto WAN portor WiFiafter they recover.817 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419145717-7.png?width=890&height=240&rev=1.1||alt="image-20240419145717-7.png"]] 788 788 789 789 790 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916135100-14.png?rev=1.1||alt="image-20220916135100-14.png" height="347"width="874"]](% style="display:none" %)820 +=== 5.6.4 System ~-~-> Remote.it === 791 791 822 +In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 792 792 793 - (%style="color:red" %)**Note*: ForLG308N which doesn'thave thecellular module,thispageill shows Cellularnotdetected.**824 +the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]** 794 794 826 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419150201-8.png?width=882&height=535&rev=1.1||alt="image-20240419150201-8.png"]] 795 795 796 -=== 5.5.6 System ~-~-> Network Status === 797 797 829 +=== (% data-sider-select-id="bf7cc535-bf5b-48cc-ade1-8cd02793cc24" %)5.6.5 System ~-~-> Remote Mgnt & Auto Provision(%%) === 798 798 799 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916135207-15.png?rev=1.1||alt="image-20220916135207-15.png" height="599" width="882"]] 800 800 801 - 802 -=== 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 803 - 804 - 805 805 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 806 806 807 807 [[image:1652429518191-846.png||height="332" width="733"]] ... ... @@ -822,7 +822,7 @@ 822 822 823 823 (% style="display:none" %) (%%) 824 824 825 -=== 5 .5.8System ~-~-> Firmware Upgrade ===852 +=== (% data-sider-select-id="933284ec-43aa-4f3a-866d-3652cf9d6d99" %)5.6.6 System ~-~-> Firmware Upgrade(%%) === 826 826 827 827 828 828 We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference. ... ... @@ -881,7 +881,7 @@ 881 881 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 882 882 883 883 884 -=== 5 .5.9 System ~-~-> Reboot/Reset ===911 +=== (% data-sider-select-id="f1b2982b-d798-497e-9a52-aa589063cac4" %)5.6.7 System ~-~-> Reboot/Reset(%%) === 885 885 886 886 887 887 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916140312-18.png?rev=1.1||alt="image-20220916140312-18.png" height="274" width="873"]] ... ... @@ -890,7 +890,7 @@ 890 890 891 891 ))) 892 892 893 -=== 5 .5.10 System ~-~-> Package Maintain ===920 +=== (% data-sider-select-id="0a08d67d-8e7f-41da-9bff-1355300ae3d7" %)5.6.8 System ~-~-> Package Maintain(%%) === 894 894 895 895 896 896 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916140421-19.png?rev=1.1||alt="image-20220916140421-19.png" height="687" width="868"]] ... ... @@ -899,9 +899,9 @@ 899 899 Place to show what package has installed and possible to upgrade packages. 900 900 901 901 902 -== 5. 6LogRead ==929 +== (% data-sider-select-id="038c76a1-26b1-41cb-9ab2-19e7644f5554" %)5.7 LogRead(%%) == 903 903 904 -=== 5 .6.1931 +=== (% data-sider-select-id="b4919c93-5eca-4b73-862c-9ea062f2196d" %)5.7.1 LogRead ~-~-> LoRa Log(%%) === 905 905 906 906 907 907 Show the frequency for LoRa Radio and traffics. ... ... @@ -910,9 +910,16 @@ 910 910 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916140549-20.png?rev=1.1||alt="image-20220916140549-20.png" height="734" width="883"]] 911 911 912 912 913 -=== 5. 6.2SystemLog===940 +=== (% data-sider-select-id="63e3559f-44af-4948-9e1e-d1d43817d95b" %)5.7.2 LogRead ~-~-> Gateway Traffic(%%) === 914 914 942 +Show the gateway traffic: 915 915 944 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20240416112159-1.png?width=872&height=610&rev=1.1||alt="image-20240416112159-1.png"]] 945 + 946 + 947 +=== (% data-sider-select-id="77c6f3a0-3f73-4808-b92c-4d511a57b006" %)5.7.3 LogRead ~-~-> System Log(%%) === 948 + 949 + 916 916 Show the system log 917 917 918 918 ... ... @@ -919,17 +919,49 @@ 919 919 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20220916140732-21.png?rev=1.1||alt="image-20220916140732-21.png" height="706" width="867"]] 920 920 921 921 956 +=== (% data-sider-select-id="5b732c0d-cdf6-42bb-b7a1-584b93d7c430" %)5.7.4 LogRead ~-~-> Record Log(%%) === 957 + 958 +This interface can record gateway logs: 959 + 960 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20240416112510-2.png?width=870&height=296&rev=1.1||alt="image-20240416112510-2.png"]] 961 + 962 + 922 922 = 6. More features = 923 923 924 -== 6.1 Packet Filtering == 925 925 966 +== (% data-sider-select-id="2ef025e3-4214-4b1c-bb01-ee03e1db2bc2" %)6.1 NTP Service/Time Synchronization(%%) == 926 926 968 +The gateway time sync service is provided by ntpd 969 + 970 +=== 1). Modify the NTP server address: === 971 + 972 +(% class="box" %) 973 +((( 974 +~#~##Linux command 975 + 976 +uci set system.ntp.server='0.openwrt.pool.ntp.org' #Required 977 + 978 +uci add_list system.ntp.server='1.openwrt.pool.ntp.org' #Optional 979 + 980 +uci add_list system.ntp.server='2.openwrt.pool.ntp.org' #Optional 981 + 982 +uci add_list system.ntp.server='3.openwrt.pool.ntp.org' #Optional 983 + 984 +uci commit system #Required 985 +))) 986 + 987 +**Note: If the NTP server is a Windows host, it may cause the time synchronization to fail, ** 988 + 989 + 990 +== (% data-sider-select-id="060d238c-36fc-4453-b667-8dca3129ae44" %)6.2 Packet Filtering(%%) == 991 + 992 + 927 927 Drop unwanted packets. 928 928 929 929 See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]] 930 930 931 931 932 -== 6. 2Remote Access ==998 +== (% data-sider-select-id="8f1b89cd-d9d7-4d17-b064-f4615093f894" %)6.3 Remote Access(%%) == 933 933 934 934 935 935 Remote Access Devices for management. ... ... @@ -937,7 +937,7 @@ 937 937 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access]] 938 938 939 939 940 -== 6. 3How to decode ABP LoRaWAN node ==1006 +== (% data-sider-select-id="ef830314-529b-4dc8-8ec6-29545522bf2e" %)6.4 How to decode ABP LoRaWAN node(%%) == 941 941 942 942 943 943 Decode ABP: ... ... @@ -945,7 +945,7 @@ 945 945 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20~~-~~--%20LG308/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 946 946 947 947 948 -== 6 .4 How to set data to MQTT broker ==1014 +== (% data-sider-select-id="304cacb4-477c-454f-90ec-649ffbe028fd" %)6.5 How to set data to MQTT broker(%%) == 949 949 950 950 951 951 Only support ABP LoRaWAN End Node ... ... @@ -953,7 +953,7 @@ 953 953 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 954 954 955 955 956 -== 6 .5 How the gateway connects to Chirpstack v3/v4 via gateway-bridge ==1022 +== (% data-sider-select-id="af36f615-2cec-4e1d-991d-436d8a56567d" %)6.6 How the gateway connects to Chirpstack v3/v4 via gateway-bridge(%%) == 957 957 958 958 959 959 **For Chirpstack v3 Gateway-bridge**: ... ... @@ -979,9 +979,145 @@ 979 979 After updating the Chirpstack gateway-bridge firmware, there is no need to re-download and install the Chirpstack gateway-bridge package 980 980 981 981 982 -== 6.6 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive). == 1048 +(% data-sider-select-id="eb4b3bf2-9e33-4650-b4d6-1bc049896baa" %) 1049 +== (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)6.7 (% data-sider-select-id="1ae6690c-7910-44d5-999b-cd3b05be575f" %)How does the gateway connect to (% data-sider-select-id="e5ea7147-f618-4c9a-b8f9-e108ee76b9da" %)Chirpstack(% data-sider-select-id="1ae6690c-7910-44d5-999b-cd3b05be575f" %) via MQTT Forwarder(%%) == 983 983 984 984 1052 +(% data-sider-select-id="33f2a7a8-cb1a-4c53-bd5b-716d3cc3d74f" %) 1053 +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. 1054 + 1055 + 1056 +(% data-sider-select-id="73a14e4a-5128-4f13-8207-7837c412ff54" %) 1057 +=== 6.7.1 Configure Packet Forwarder === 1058 + 1059 + 1060 +In the Dragino web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700. 1061 + 1062 +(% data-sider-select-id="2972d256-3078-403f-9e33-3740a5869405" %) 1063 +By default, the web-interface can be accessed by entering the following URL in your browser: (% data-sider-select-id="a9e64ab2-7a80-4174-b834-dba4904e3c85" %)**https:~/~/GATEWAY-IP-ADDRESS:8000**(%%) (replace GATEWAY-IP-ADDRESS by the actual IP address of your gateway). The default credentials are (% data-sider-select-id="16f9bbed-ffd7-4881-9cd1-33332f063857" %)**root / dragino**(%%). 1064 + 1065 +* In the **LoRaWAN** menu, click **LoRaWAN ~-~- Semtech UDP** 1066 +* Configure the following settings: 1067 +** **Service Provider:** //Custom / Private LoRaWAN// 1068 +** **Server Address:** //localhost// 1069 +** **Uplink Port:** //1700// 1070 +** **Downlink Port:** //1700// 1071 +* Click **Save&Apply** 1072 + 1073 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518114149-2.png?width=876&height=683&rev=1.1||alt="image-20240518114149-2.png"]] 1074 + 1075 + 1076 +(% data-sider-select-id="7ada6cd9-b472-473e-b709-31db23947a9c" %) 1077 +=== 6.7.2 Install ChirpStack MQTT Forwarder === 1078 + 1079 + 1080 +(% data-sider-select-id="cd761ad9-41f8-4cc3-8dc8-cf25ebe79e69" %) 1081 +(% data-sider-select-id="74577a45-a26e-4ab8-b56c-2ba79220e6c6" %)**SSH login** 1082 + 1083 +(% data-sider-select-id="f4b22a8a-3b87-4cc7-b4ed-451fdd8aa9a7" %) 1084 +First user must login into the gateway using SSH,user can refer to the link to access the Linux console via SSH to the gateway: **[[SSH Access for Linux console>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LG308N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H7.A0LinuxSystem||data-sider-select-id="27b6862a-68e4-4f69-a5b2-b33d8a06a09c"]]** 1085 + 1086 + 1087 +(% data-sider-select-id="e9c9429f-f7c4-4eb3-b3f4-99553fe741b0" %) 1088 +(% data-sider-select-id="83ee7071-3524-45ba-99b2-9f3472815cd8" %)**Download IPK** 1089 + 1090 +Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package: 1091 + 1092 +(% class="box infomessage" data-sider-select-id="b970d0e5-64ca-47c8-8c9c-6261200a719f" %) 1093 +((( 1094 +cd /tmp 1095 +wget https:~/~/artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1096 +))) 1097 + 1098 + 1099 +(% data-sider-select-id="27190188-ef2a-4d53-8b94-c4653b69b266" %) 1100 +(% data-sider-select-id="3fe3ef50-33b9-4c6b-b228-7364e01382f3" %)**Install IPK** 1101 + 1102 +Use the opkg package-manager to install the downloaded package. Example: 1103 + 1104 +(% class="box infomessage" data-sider-select-id="86f1197c-5aaf-4a1b-a21f-09266a2805e7" %) 1105 +((( 1106 +opkg install chirpstack-mqtt-forwarder_4.3.0-r1_mips_24kc.ipk 1107 +))) 1108 + 1109 + 1110 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518134824-5.png?rev=1.1||alt="image-20240518134824-5.png"]] 1111 + 1112 +(% data-sider-select-id="e8065348-1a8e-45a9-bb73-171b9322d2b2" %) 1113 +(% data-sider-select-id="e9401e38-e30d-4c39-94fa-927c9a40e151" %)**Configuration** 1114 + 1115 +(% data-sider-select-id="2a70737e-070b-4a83-a474-2fef1076a006" %) 1116 +To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file. 1117 + 1118 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1119 +This file is located at: (% data-sider-select-id="b010c8b8-6367-49bf-9c2e-3ee0b8a6ef0e" %)**/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml** 1120 + 1121 + 1122 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1123 +(% data-sider-select-id="fab61fd5-2c9f-4b72-9b65-457dca26cbd0" %)**ChirpStack MQTT Forwarder Setting:** 1124 + 1125 +(% class="box" data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1126 +((( 1127 +topic_prefix ~-~-> This corresponds to the frequency of the ChirpStack server 1128 + 1129 +server ~-~-> Fill in the ChirpStack server address, Example: tcp:~/~/10.130.2.15:1883 1130 +))) 1131 + 1132 +(% data-sider-select-id="be45c14f-1537-457e-9c9b-3fec22c024ac" %) 1133 +username,password,ca_cert,tls_cert,tls_key parameters should be set as required. 1134 + 1135 + 1136 +Use commands to modify configuration files: 1137 + 1138 +(% class="box infomessage" data-sider-select-id="b84cf72d-69e4-441c-a8fb-bd21a500d223" %) 1139 +((( 1140 +vim /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml 1141 +))) 1142 + 1143 + 1144 +[[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"]] 1145 + 1146 +(% data-sider-select-id="3312b6d5-334c-43ae-8cd9-2f73989940e2" %) 1147 +(% data-sider-select-id="2b334f7c-35d3-4771-8b17-5760685430ac" %)**(Re)start and stop commands** 1148 + 1149 +(% data-sider-select-id="b8175b05-70b1-4251-97a1-8c0b2644e4d4" %) 1150 +Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service: 1151 + 1152 +(% class="box infomessage" data-sider-select-id="fc0e9684-3620-4f52-8045-9f6b7dd083e3" %) 1153 +((( 1154 +# start 1155 + 1156 +(% data-sider-select-id="5a644c5c-1ca5-4680-877e-c6aecd21f9de" %) 1157 +/etc/init.d/chirpstack-mqtt-forwarder start 1158 + 1159 +# stop 1160 + 1161 +/etc/init.d/chirpstack-mqtt-forwarder stop 1162 + 1163 +# restart 1164 + 1165 +/etc/init.d/chirpstack-mqtt-forwarder restart 1166 +))) 1167 + 1168 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1169 +(% data-sider-select-id="fcef88f4-ef44-4459-9154-6cd154c5b298" %)**Check result** 1170 + 1171 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1172 +Use "(% data-sider-select-id="494c67e8-3e62-45ee-8464-e2bb33057003" %)** **(%%)(% data-sider-select-id="494c67e8-3e62-45ee-8464-e2bb33057003" style="background-color:yellow" %)**logread -f **(%%)" to check the operation of ChirpStack MQTT Forwarder. 1173 + 1174 +(% data-sider-select-id="bd72b54d-7316-46eb-8f1e-008a17aa6e9e" %) 1175 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240518142300-7.png?rev=1.1||alt="image-20240518142300-7.png"]] 1176 + 1177 + 1178 +(% data-sider-select-id="a4ab5ddc-dbfe-4c41-ac6e-6159b517d02f" %) 1179 +Go back to the Chirpstack server to check whether the gateway is (% data-sider-select-id="0689bd86-c7a8-4831-b064-d1c4ed6241e5" %)**"online"**(%%) and whether the packets are displayed normally. 1180 + 1181 + 1182 +[[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"]] 1183 + 1184 +== (% data-sider-select-id="07a93540-35ce-4d6d-b77f-89e13682dd60" %)6.8 How to extend the gateway size of memory with USB device (SD/TF card, USB flash drive).(%%) == 1185 + 1186 + 985 985 USB card reader plugged into the USB port of the gateway 986 986 987 987 Access the gateway Linux Command Line ... ... @@ -1012,7 +1012,7 @@ 1012 1012 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/DLOS8N/WebHome/image-20230425173831-3.png?width=833&height=105&rev=1.1||alt="image-20230425173831-3.png"]] 1013 1013 1014 1014 1015 -== 6 .7 More instructions ==1217 +== (% data-sider-select-id="7ef57ac2-68e7-4fa6-bb6b-54f622bb6131" %)6.9 More instructions(%%) == 1016 1016 1017 1017 1018 1018 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) ... ... @@ -1256,7 +1256,7 @@ 1256 1256 1257 1257 ))) 1258 1258 1259 -== 11.3 I configured LG308N for WiFi access and lost its IP. What to do now? == 1461 +== (% data-sider-select-id="4a86b654-4887-420c-8049-1c447cf98cbb" %)11.3 I configured LG308N for WiFi access and lost its IP. What to do now?(%%) == 1260 1260 1261 1261 1262 1262 [[image:1657074078183-336.png]] ... ... @@ -1300,6 +1300,15 @@ 1300 1300 3. In PC, use 172.31.255.254 to access LG308N via Web or Console. 1301 1301 1302 1302 1505 +== (% data-sider-select-id="4a86b654-4887-420c-8049-1c447cf98cbb" %)11.4 (%%)Why does the gateway reboot every 15 minutes without Internet? == 1506 + 1507 +Check whether Internet Detect is enabled on the System~-~->General interface. 1508 + 1509 +Internet Detect is enabled by default. When there is no gateway network, it will reboot after 15 minutes. 1510 + 1511 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20240419145139-6.png?width=856&height=639&rev=1.1||alt="image-20240419145139-6.png"]] 1512 + 1513 + 1303 1303 = 12. Order Info = 1304 1304 1305 1305 ... ... @@ -1366,3 +1366,4 @@ 1366 1366 * Firmware: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308N-OLG308N/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]] 1367 1367 1368 1368 * Hardware Source code: [[https:~~/~~/github.com/dragino/motherboard-hardware/tree/master/LG308N>>url:https://github.com/dragino/motherboard-hardware/tree/master/LG308]] 1580 +)))