Changes for page LPS8N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2024/05/18 14:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -103,8 +103,6 @@ 103 103 * Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage 104 104 * MIMO technology meets demands for data rate and link reliability in modem wireless communication systems 105 105 106 - 107 - 108 108 == 1.3 Features == 109 109 110 110 * Open Source OpenWrt system ... ... @@ -121,8 +121,6 @@ 121 121 * Support LoRaWAN basic station. 122 122 * Optional 3G/4G cellular connection 123 123 124 - 125 - 126 126 == 1.4 Hardware System Structure == 127 127 128 128 [[image:1657079015096-949.png]] ... ... @@ -147,8 +147,6 @@ 147 147 148 148 * **ETH LED **[[image:image-20220706115518-4.png||height="15" width="17"]] : This LED shows the ETH interface connection status. 149 149 150 - 151 - 152 152 = 2. Access and Configure LPS8N = 153 153 154 154 ((( ... ... @@ -237,8 +237,6 @@ 237 237 * **WiFi Client Mode** 238 238 * **WiFi AP Mode** 239 239 240 - 241 - 242 242 == 3.2 Use WAN port to access Internet == 243 243 244 244 By default, the LPS8N is set to use the WAN port to connect to an upstream network. When you connect the LPS8N's WAN port to an upstream router, LPS8N will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the (% style="color:#4f81bd" %)**home page**: ... ... @@ -363,8 +363,6 @@ 363 363 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 364 364 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 365 365 366 - 367 - 368 368 (% style="color:#4f81bd" %)**Step 4: Create a Gateway** 369 369 370 370 [[image:1657091941182-367.png]] ... ... @@ -666,7 +666,7 @@ 666 666 [[image:1657155288223-566.png]] 667 667 668 668 ((( 669 -**__LAN Settings: 659 +**__LAN Settings: __**When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network. 670 670 ))) 671 671 672 672 ((( ... ... @@ -674,7 +674,7 @@ 674 674 ))) 675 675 676 676 ((( 677 -__**WiFi Settings: 667 +__**WiFi Settings: **__Setting for LPS8N WiFi IP when use it as WiFi Client 678 678 679 679 680 680 ... ... @@ -708,21 +708,20 @@ 708 708 709 709 === 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 710 710 711 -Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 701 +Auto Provision is the feature for batch configure and remote management. It can be used in below two cases:(% style="display:none" %) 712 712 713 -[[image:165 2429518191-846.png||height="332" width="733"]]703 +(% style="display:none" %) [[image:1657157402578-508.png||height="450" width="992"]] 714 714 715 -[[image: 1652429527544-247.png||height="327" width="724"]]705 +(% id="cke_bm_589629S" style="display:none" %) [[image:image-20220707092040-2.png||height="452" width="1002"]] 716 716 717 -[[image: 1652429537849-154.png||height="339" width="722"]]707 +[[image:image-20220707092040-3.png||height="449" width="956"]] 718 718 719 -Please see this document for detail: 720 720 721 -((( 722 -[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 723 -))) 710 +Please see this document for detail:(% style="display:none" %) 724 724 712 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 725 725 714 + 726 726 R-SSH is for remote access device and management, introduction for how to use: **[[Remote Access Gateway>>doc:Main.Remote Access Gateway.WebHome]]** 727 727 728 728 [[image:1652429624400-864.png||height="432" width="716"]] ... ... @@ -771,65 +771,107 @@ 771 771 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 772 772 773 773 774 -=== 5.5.9 System ~-~-> Reboot/Reset === 763 +=== 5.5.9 System ~-~-> Reboot/Reset === 775 775 776 776 [[image:1652430197132-330.png||height="256" width="724"]] 777 777 778 778 ((( 779 779 769 + 770 + 780 780 ))) 781 781 782 -=== 5.5.10 System ~-~-> Package Maintain === 773 +=== 5.5.10 System ~-~-> Package Maintain === 783 783 784 -[[image:1652430243826-126.png||height="289" width="723"]] 785 785 776 +[[image:1657156199070-491.png]] 777 + 786 786 Place to show what package has installed and possible to upgrade packages. 787 787 788 -== 5.6 LogRead == 789 789 790 -=== 5.6.1 LogRead ~-~-> LoRa Log === 791 791 782 +== 5.6 LogRead == 792 792 784 +=== 5.6.1 LogRead ~-~-> LoRa Log === 785 + 786 + 793 793 Show the frequency for LoRa Radio and traffics. 794 794 795 -[[image: image-20220615204306-1.png||height="575" width="733"]]789 +[[image:1657156300781-933.png]] 796 796 797 797 798 -Show the IoT Server Connection State and FWD State 799 799 800 - [[image:image-20220616083933-1.png||height="556"width="729"]]793 +=== 5.6.2 LogRead ~-~-> System Log === 801 801 802 - DLOS8 can viewGPS locationintheLogread FWD State795 +Show the system log 803 803 797 +[[image:1657156341198-226.png]] 804 804 805 -Show the Error logs, RxTxJson lorawan packages, and PULL State 806 806 807 -[[image:image-20220615205416-6.png||height="442" width="884"]] 808 808 801 += 6. More features = 809 809 810 -== =5.6.2LogRead~-~-> System Log ===803 +== 6.1 Packet Filtering == 811 811 812 - Showthesystem log805 +Drop unwanted packets. 813 813 814 -[[i mage:1652430369760-511.png||height="373"width="730"]]807 +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/]] 815 815 816 -= 6. More features = 817 817 818 -== 6. 1Moreinstructions ==810 +== 6.2 Remote Access == 819 819 812 +Remote Access Devices for management. 813 + 814 +Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/]] 815 + 816 + 817 +== 6.3 How to decode ABP LoRaWAN node == 818 + 819 +Decode ABP: 820 + 821 +[[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/]] 822 + 823 + 824 +== 6.4 How to set data to MQTT broker == 825 + 826 +Only support ABP LoRaWAN End Node 827 + 828 +Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 829 + 830 + 831 +== 6.5 More instructions == 832 + 820 820 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 821 821 822 822 823 -= 7.LinuxSystem=836 +== 6.6 Auto-Provision == 824 824 825 - TheDLOS8Nisbasedonthe OpenWrt Linuxsystem.Itis opensource,andusers are freetoconfigure and modifytheLinux settings.838 +Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 826 826 827 - ==7.1SSH Access for Linuxconsole==840 +[[image:image-20220707092040-1.png||height="451" width="995"]] 828 828 829 - User can access the Linux console viatheSSH protocol.Make sure your PC and theDLOS8N are connected to the same network,then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]in Windows) to access it.842 +[[image:image-20220707092040-2.png||height="452" width="1002"]] 830 830 831 - IPaddress:IPaddressofDLOS8N844 +[[image:image-20220707092040-3.png||height="449" width="956"]](% style="display:none" %) 832 832 846 +Please see this document for detail: 847 + 848 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Application_Note/&file=Auto-update-feature.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-update-feature.pdf]] 849 + 850 +(% style="display:none" %) (%%) 851 + 852 += 7. (% style="display:none" %) (%%)Linux System = 853 + 854 +The LPS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 855 + 856 +(% style="display:none" %) (%%) 857 + 858 +== 7.1 SSH Access for Linux console == 859 + 860 +User can access the Linux console via the SSH protocol. Make sure your PC and the LPS8N are connected to the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows) to access it. 861 + 862 +IP address: IP address of LPS8N 863 + 833 833 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 834 834 835 835 User Name: (% style="color:green" %)**root** ... ... @@ -838,17 +838,20 @@ 838 838 839 839 After logging in, you will be in the Linux console and can enter commands as shown below. 840 840 841 -[[image:1652431588565-830.png]] 842 842 873 +[[image:1657158198733-338.png]] 874 + 843 843 The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 844 844 845 -[[image:1652431609193-637.png||height="214" width="732"]] 846 846 878 +[[image:1657158190234-805.png]] 847 847 848 -== 7.2 Edit and Transfer files == 849 849 881 + 882 +== 7.2 Edit and Transfer files == 883 + 850 850 ((( 851 -The DLOS8N supports the (% style="color:green" %)**SCP protocol** (% style="color:black" %)and has a built-in (% style="color:green" %)**SFTP server**. (% style="color:black" %)There are many ways to edit and transfer files using these protocols.885 +The LPS8N supports the (% style="color:green" %)**SCP protocol** (% style="color:black" %)and has a built-in (% style="color:green" %)**SFTP server**. (% style="color:black" %)There are many ways to edit and transfer files using these protocols. 852 852 ))) 853 853 854 854 ((( ... ... @@ -856,7 +856,7 @@ 856 856 ))) 857 857 858 858 ((( 859 -After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the DLOS8N, or edit the files directly in the windows.893 +After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the LPS8N, or edit the files directly in the windows. 860 860 ))) 861 861 862 862 ((( ... ... @@ -866,14 +866,15 @@ 866 866 [[image:1652431650755-450.png]] 867 867 868 868 869 -== 7.3 File System == 870 870 904 +== 7.3 File System == 905 + 871 871 ((( 872 -The DLOS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot.907 +The LPS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot. 873 873 ))) 874 874 875 875 ((( 876 -The Linux system uses around 8MB ~~10MB flash size which means there is not much room for user to store data in the DLOS8N flash.911 +The Linux system uses around 8MB ~~10MB flash size which means there is not much room for user to store data in the LPS8N flash. 877 877 ))) 878 878 879 879 ((( ... ... @@ -881,9 +881,9 @@ 881 881 ))) 882 882 883 883 884 -== 7.4 Package maintenance system == 919 +== 7.4 Package maintenance system == 885 885 886 - DLOS8N uses the OpenWrt [[**OPKG package maintenance system**>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]. There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the **//iperf //** tool, you can install the related packages and configureDLOS8N to use **//iperf //**.921 +LPS8N uses the OpenWrt [[**OPKG package maintenance system**>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]. There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the **//iperf //** tool, you can install the related packages and configure LPS8N to use **//iperf //**. 887 887 888 888 ((( 889 889 Below are some example **//opkg //** commands. For more information please refer to the [[OPKG package maintain system>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]** **([[https:~~/~~/oldwiki.archive.openwrt.org/doc/techref/opkg>>https://oldwiki.archive.openwrt.org/doc/techref/opkg]]) ... ... @@ -894,11 +894,11 @@ 894 894 ))) 895 895 896 896 ((( 897 -(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 932 +(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 898 898 ))) 899 899 900 900 ((( 901 -(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 936 +(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 902 902 ))) 903 903 904 904 ((( ... ... @@ -934,15 +934,57 @@ 934 934 935 935 ((( 936 936 (% style="background-color:#dcdcdc" %)//Configuring iperf.// 972 + 973 + 974 + 937 937 ))) 938 938 939 -= 8. Upgrade Linux Firmware = 977 += 8. Upgrade Linux Firmware = 940 940 979 +We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 941 941 942 - =9.FAQ=981 +* **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], 943 943 944 - ==9.1 HowcanIconfigure foracustomizedfrequency band?=983 +( [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware]]) 945 945 985 +* **Change Log**: [[Firmware Change Log>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]]. 986 + 987 +( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8N/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LIG16/Firmware/ChangeLog]] ) 988 + 989 + 990 +The file named as (% style="color:green" %)** xxxxx–xxxxx-squashfs-sysupgrade.bin **(%%)is the upgrade Image. There are different methods to upgrade, as below. 991 + 992 + 993 +== 8.1 Upgrade via Web UI == 994 + 995 +Go to the page: (% style="color:green" %)**Web ~-~-> System ~-~-> Firmware Upgrade** 996 + 997 +Select the required image and click (% style="color:red" %)**Flash Image.**(%%) The image will be uploaded to the device, and then click (% style="color:red" %)**Process Update**(%%) to upgrade. 998 + 999 + 1000 +(% style="color:red" %)**NOTE**(%%): You normally need to **//uncheck//** the //**Preserve Settings**// checkbox when doing an upgrade to ensure that there is no conflict between the old settings and the new firmware. The new firmware will start up with its default settings. 1001 + 1002 + 1003 +The system will automatically boot into the new firmware after upgrade. 1004 + 1005 +[[image:1657158986600-386.png]] 1006 + 1007 + 1008 +== 8.2 Upgrade via Linux console == 1009 + 1010 +SCP the firmware to the system** (% style="color:green" %)/var(%%)** directory and then run 1011 + 1012 +(% style="color:#4472c4" %)** //root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 1013 + 1014 + 1015 +(% style="color:red" %)**NOTE**(%%): it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 1016 + 1017 + 1018 + 1019 += 9. FAQ = 1020 + 1021 +== 9.1 How can I configure for a customized frequency band? == 1022 + 946 946 ((( 947 947 See below link for how to customize frequency band: **[[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 948 948 ))) ... ... @@ -951,15 +951,11 @@ 951 951 952 952 ))) 953 953 954 -== 9.2 Can I connectDLOS8NtoLORIOT? ==1031 +== 9.2 Can I make my own firmware for the gateway, where can I find the source code? == 955 955 956 -Yes, the set up instruction is here: **[[Notes for LORIOT>>doc:Main.Notes for LORIOT.WebHome]]** 957 957 958 - 959 -== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 960 - 961 961 ((( 962 -Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications.1035 +Yes, You can make your own firmware for the LPS8N for branding purposes or to add customized applications. 963 963 ))) 964 964 965 965 ((( ... ... @@ -966,15 +966,18 @@ 966 966 The source code and compile instructions can be found at: [[https:~~/~~/github.com/dragino/openwrt_lede-18.06>>url:https://github.com/dragino/openwrt_lede-18.06]] 967 967 ))) 968 968 1042 +((( 1043 + 1044 +))) 969 969 970 -== 9. 4Can I use 868Mhz version for 915Mhz bands? ==1046 +== 9.3 Can I use 868Mhz version for 915Mhz bands? == 971 971 972 972 It is possible but the distance will be very short, you can select US915 frequency band in 868Mhz version hardware. It will work but you will see the performance is greatly decreased because the 868Mhz version has an RF filter for band 863~~870Mhz, all other frequencies will have high attenuation. 973 973 974 974 975 -= 10. Trouble Shooting = 1051 += 10. Trouble Shooting = 976 976 977 -== 10.1 I get kernel error when install new package, how to fix? == 1053 +== 10.1 I get kernel error when install new package, how to fix? == 978 978 979 979 In some cases, when installing a package with **//opkg//**, it will generate a kernel error such as below due to a mismatch I the kernel ID: 980 980 ... ... @@ -997,7 +997,7 @@ 997 997 (% style="background-color:yellow" %)Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 998 998 999 999 1000 -== 10.2 How to recover the DLOS8N if the firmware crashes ==1076 +== 10.2 How to recover the LPS8N if the firmware crashes == 1001 1001 1002 1002 ((( 1003 1003 Please follow this instruction to recover your gateway: **[[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]]** ... ... @@ -1007,12 +1007,13 @@ 1007 1007 1008 1008 ))) 1009 1009 1010 -== 10.3 I configured DLOS8N for WiFi access and lost its IP. What to do now? ==1086 +== 10.3 I configured LPS8N for WiFi access and lost its IP. What to do now? == 1011 1011 1012 -[[image:165 2435238615-272.png||height="247" width="727"]]1088 +[[image:1657159323292-776.png]] 1013 1013 1090 + 1014 1014 ((( 1015 -The DLOS8N has a fall-back IP address on its WAN port. This IP is always enabled so you can use the fall-back IP to accessDLOS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.1092 +The LPS8N has a fall-back IP address on its WAN port. This IP is always enabled so you can use the fall-back IP to access LPS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit. 1016 1016 ))) 1017 1017 1018 1018 (% style="color:red" %)Note: fallback IP can be disabled in the WAN and DHCP page.
- 1657156199070-491.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.9 KB - Content
- 1657156300781-933.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.2 KB - Content
- 1657156341198-226.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.2 KB - Content
- 1657157402578-508.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.2 KB - Content
- 1657158190234-805.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +221.0 KB - Content
- 1657158198733-338.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- 1657158255685-710.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.4 KB - Content
- 1657158986600-386.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.3 KB - Content
- 1657159323292-776.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.5 KB - Content
- image-20220707092040-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +106.4 KB - Content
- image-20220707092040-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +105.1 KB - Content
- image-20220707092040-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +142.9 KB - Content