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)
Details
- Page properties
-
- Content
-
... ... @@ -61,8 +61,6 @@ 61 61 * 64MB RAM 62 62 * 16MB Flash 63 63 64 - 65 - 66 66 (% style="color:#037691" %)**Interface:** 67 67 68 68 * 10M/100M RJ45 Ports x 1 ... ... @@ -73,8 +73,6 @@ 73 73 * Mini-PCI E connector x 1 74 74 * SX1302 + 2 x SX1250 75 75 76 - 77 - 78 78 (% style="color:#037691" %)**WiFi Spec:** 79 79 80 80 * IEEE 802.11 b/g/n ... ... @@ -88,8 +88,6 @@ 88 88 ** 11g 54M : -71dbm 89 89 ** 11n 20M : -67dbm 90 90 91 - 92 - 93 93 (% style="color:#037691" %)**LoRa Spec:** 94 94 95 95 * Up to -140 dBm sensitivity ... ... @@ -101,8 +101,6 @@ 101 101 * Dynamic data-rate (DDR) adaptation 102 102 * True antenna diversity or simultaneous dual-band operation 103 103 104 - 105 - 106 106 (% style="color:#037691" %)**Cellular 4G LTE (optional):** 107 107 108 108 * Quectel [[**EC25 LTE module**>>url:https://www.quectel.com/product/ec25minipcie.htm]] ... ... @@ -134,6 +134,7 @@ 134 134 135 135 136 136 129 + 137 137 == 1.4 Hardware System Structure == 138 138 139 139 ... ... @@ -164,6 +164,7 @@ 164 164 165 165 166 166 160 + 167 167 = 2. Access and Configure LPS8N = 168 168 169 169 ... ... @@ -262,6 +262,7 @@ 262 262 263 263 264 264 259 + 265 265 == 3.2 Use WAN port to access Internet == 266 266 267 267 ... ... @@ -363,7 +363,7 @@ 363 363 == 4.1 Create a gateway in TTN V3 Server == 364 364 365 365 366 -(% style="color: #4f81bd" %)**Step 1: Get a Unique gateway ID.**361 +(% style="color:blue" %)**Step 1: Get a Unique gateway ID.** 367 367 368 368 ((( 369 369 Every LPS8N has a unique gateway id. The ID can be found at LoRaWAN page: ... ... @@ -377,7 +377,7 @@ 377 377 378 378 379 379 380 -(% style="color: #4f81bd" %)**Step 2: Sign up a user account in TTN server**375 +(% style="color:blue" %)**Step 2: Sign up a user account in TTN server** 381 381 382 382 [[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]] 383 383 ... ... @@ -385,10 +385,12 @@ 385 385 386 386 387 387 388 -(% style="color: #4f81bd" %)**Step 3: Choose the TTNv3 Cluster Picker**383 +(% style="color:blue" %)**Step 3: Choose the TTNv3 Cluster Picker** 389 389 390 390 ((( 391 391 [[image:1657091719947-297.png]] 387 + 388 + 392 392 ))) 393 393 394 394 (% style="color:red" %)**Note: Choose the cluster corresponds to a specific Gateway server address** ... ... @@ -401,7 +401,7 @@ 401 401 402 402 403 403 404 -(% style="color: #4f81bd" %)**Step 4: Create a Gateway**401 +(% style="color:blue" %)**Step 4: Create a Gateway** 405 405 406 406 [[image:1657091941182-367.png]] 407 407 ... ... @@ -507,8 +507,9 @@ 507 507 508 508 [[image:1657094382177-591.png]] 509 509 507 + 510 510 ((( 511 -(% style="color:red" %)Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands. Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server. 509 +(% style="color:red" %)**Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands. Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server.** 512 512 513 513 514 514 ))) ... ... @@ -680,8 +680,10 @@ 680 680 [[image:1652428648903-878.png||height="266" width="731"]] 681 681 682 682 681 + 683 683 == 5.4 MQTT Settings == 684 684 684 + 685 685 ((( 686 686 If end nodes works in ABP mode, user can configure LPS8N to transfer the data to MQTT broker, 687 687 ))) ... ... @@ -694,10 +694,13 @@ 694 694 [[image:1652428705046-212.png||height="417" width="733"]] 695 695 696 696 697 + 697 697 == 5.5 System == 698 698 700 + 699 699 === 5.5.1 System ~-~-> System Overview === 700 700 703 + 701 701 Shows the system info: 702 702 703 703 [[image:1657155158184-134.png]] ... ... @@ -706,10 +706,12 @@ 706 706 707 707 === 5.5.2 System ~-~-> General ( login settings) === 708 708 712 + 709 709 [[image:1657155183982-792.png]] 710 710 715 + 711 711 ((( 712 -**__System Password:__** 717 +(% style="color:#037691" %)**__System Password:__** 713 713 ))) 714 714 715 715 ((( ... ... @@ -721,11 +721,11 @@ 721 721 ))) 722 722 723 723 ((( 724 -**__Timezone: __**Set device timezone. 729 +(% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone. 725 725 ))) 726 726 727 727 ((( 728 -**__Port forwarding: __**Enable/Disable the HTTP and SSH access via WAN interface. 733 +(% style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface. 729 729 730 730 731 731 ... ... @@ -736,15 +736,15 @@ 736 736 [[image:1657155288223-566.png]] 737 737 738 738 ((( 739 -**__LAN Settings: __**When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network. 744 +(% style="color:#037691" %)**__LAN Settings: __**(%%)When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network. 740 740 ))) 741 741 742 742 ((( 743 -__**WAN Settings: **__Setting for LPS8N WAN port 748 +(% style="color:#037691" %)__**WAN Settings: **__(%%)Setting for LPS8N WAN port 744 744 ))) 745 745 746 746 ((( 747 -__**WiFi Settings: 752 +(% style="color:#037691" %)__**WiFi Settings: **__** **(%%)Setting for LPS8N WiFi IP when use it as WiFi Client 748 748 749 749 750 750 ... ... @@ -752,6 +752,7 @@ 752 752 753 753 === 5.5.4 System ~-~-> WiFi === 754 754 760 + 755 755 LPS8N WiFi Settings. 756 756 757 757 [[image:1657155457089-430.png]] ... ... @@ -760,15 +760,17 @@ 760 760 761 761 === 5.5.5 System ~-~-> Cellular === 762 762 769 + 763 763 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. 764 764 765 765 766 766 [[image:1657155507672-204.png]] 767 767 768 -(% style="color:red" %)Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected. 769 769 776 +(% style="color:red" %)**Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected.** 770 770 771 771 779 + 772 772 === 5.5.6 System ~-~-> Network Status === 773 773 774 774 ... ... @@ -778,6 +778,7 @@ 778 778 779 779 === 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 780 780 789 + 781 781 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 782 782 783 783 ... ... @@ -801,7 +801,7 @@ 801 801 (% style="display:none" %) (%%) 802 802 803 803 ((( 804 -R-SSH is for remote access device and management, introduction for how to use: [[Remote Access Gateway>>doc:Main.Remote Access Gateway.WebHome]] 813 +R-SSH is for remote access device and management, introduction for how to use: [[Remote Access Gateway>>doc:Main.Monitor & Remote Access Gateway.WebHome]] 805 805 ))) 806 806 807 807 [[image:1652429624400-864.png||height="432" width="716"]] ... ... @@ -810,6 +810,7 @@ 810 810 811 811 === 5.5.8 System ~-~-> Firmware Upgrade === 812 812 822 + 813 813 We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 814 814 815 815 * **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], ... ... @@ -832,12 +832,14 @@ 832 832 [[image:1657156052651-770.png]] 833 833 834 834 ((( 835 -Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 845 +Select the required image and click (% style="color:blue" %)**Flash Image.**(%%) The image will be uploaded to the device, and then click (% style="color:blue" %)**Process Update**(%%) to upgrade. 836 836 ))) 837 837 838 838 839 839 ((( 840 -(% style="color:red" %)**NOTE**: (% style="color:black" %)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. 850 +(% style="color:red" %)**NOTE**: (%%)You normally need to (% style="color:blue" %)**//uncheck//**(%%) the (% style="color:blue" %)**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. 851 + 852 + 841 841 ))) 842 842 843 843 ((( ... ... @@ -846,6 +846,7 @@ 846 846 847 847 [[image:1657156094153-520.png]] 848 848 861 + 849 849 (% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 850 850 851 851 SCP the firmware to the system(% style="color:green" %)**/var**(%%)** **directory and then run ... ... @@ -856,8 +856,10 @@ 856 856 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 857 857 858 858 872 + 859 859 === 5.5.9 System ~-~-> Reboot/Reset === 860 860 875 + 861 861 [[image:1652430197132-330.png||height="256" width="724"]] 862 862 863 863 ((( ... ... @@ -877,6 +877,7 @@ 877 877 878 878 == 5.6 LogRead == 879 879 895 + 880 880 === 5.6.1 LogRead ~-~-> LoRa Log === 881 881 882 882 ... ... @@ -888,6 +888,7 @@ 888 888 889 889 === 5.6.2 LogRead ~-~-> System Log === 890 890 907 + 891 891 Show the system log 892 892 893 893 [[image:1657156341198-226.png]] ... ... @@ -896,8 +896,10 @@ 896 896 897 897 = 6. More features = 898 898 916 + 899 899 == 6.1 Packet Filtering == 900 900 919 + 901 901 ((( 902 902 Drop unwanted packets. 903 903 ))) ... ... @@ -907,8 +907,10 @@ 907 907 ))) 908 908 909 909 929 + 910 910 == 6.2 Remote Access == 911 911 932 + 912 912 ((( 913 913 Remote Access Devices for management. 914 914 ))) ... ... @@ -918,8 +918,10 @@ 918 918 ))) 919 919 920 920 942 + 921 921 == 6.3 How to decode ABP LoRaWAN node == 922 922 945 + 923 923 ((( 924 924 Decode ABP: 925 925 ))) ... ... @@ -929,8 +929,10 @@ 929 929 ))) 930 930 931 931 955 + 932 932 == 6.4 How to set data to MQTT broker == 933 933 958 + 934 934 ((( 935 935 Only support ABP LoRaWAN End Node 936 936 ))) ... ... @@ -940,13 +940,17 @@ 940 940 ))) 941 941 942 942 968 + 943 943 == 6.5 More instructions == 944 944 971 + 945 945 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 946 946 947 947 975 + 948 948 == 6.6 Auto-Provision == 949 949 978 + 950 950 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 951 951 952 952 [[image:image-20220707092040-1.png||height="451" width="995"]] ... ... @@ -961,14 +961,18 @@ 961 961 962 962 (% style="display:none" %) (%%) 963 963 993 + 964 964 = 7. (% style="display:none" %) (%%)Linux System = 965 965 996 + 966 966 The LPS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 967 967 968 968 (% style="display:none" %) (%%) 969 969 1001 + 970 970 == 7.1 SSH Access for Linux console == 971 971 1004 + 972 972 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. 973 973 974 974 IP address: IP address of LPS8N ... ... @@ -984,7 +984,7 @@ 984 984 985 985 [[image:1657158198733-338.png]] 986 986 987 -The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs.1020 +The “** (% style="background-color:yellow" %)logread -f(%%)**(% style="background-color:yellow" %)” (%%)command can be used to debug how system runs. 988 988 989 989 990 990 [[image:1657158190234-805.png]] ... ... @@ -993,6 +993,7 @@ 993 993 994 994 == 7.2 Edit and Transfer files == 995 995 1029 + 996 996 ((( 997 997 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. 998 998 ))) ... ... @@ -1015,6 +1015,7 @@ 1015 1015 1016 1016 == 7.3 File System == 1017 1017 1052 + 1018 1018 ((( 1019 1019 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. 1020 1020 ))) ... ... @@ -1028,8 +1028,10 @@ 1028 1028 ))) 1029 1029 1030 1030 1066 + 1031 1031 == 7.4 Package maintenance system == 1032 1032 1069 + 1033 1033 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 //**. 1034 1034 1035 1035 ((( ... ... @@ -1088,6 +1088,7 @@ 1088 1088 1089 1089 = 8. Upgrade Linux Firmware = 1090 1090 1128 + 1091 1091 We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 1092 1092 1093 1093 * **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], ... ... @@ -1104,8 +1104,10 @@ 1104 1104 ))) 1105 1105 1106 1106 1145 + 1107 1107 == 8.1 Upgrade via Web UI == 1108 1108 1148 + 1109 1109 ((( 1110 1110 Go to the page: (% style="color:green" %)**Web ~-~-> System ~-~-> Firmware Upgrade** 1111 1111 ))) ... ... @@ -1116,7 +1116,7 @@ 1116 1116 1117 1117 1118 1118 ((( 1119 -(% 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. 1159 +(% style="color:red" %)**NOTE**(%%): You normally need to (% style="color:blue" %)**//uncheck//**(%%) the (% style="color:blue" %)//**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. 1120 1120 ))) 1121 1121 1122 1122 ... ... @@ -1127,8 +1127,10 @@ 1127 1127 [[image:1657158986600-386.png]] 1128 1128 1129 1129 1170 + 1130 1130 == 8.2 Upgrade via Linux console == 1131 1131 1173 + 1132 1132 ((( 1133 1133 SCP the firmware to the system** (% style="color:green" %)/var(%%)** directory and then run 1134 1134 ))) ... ... @@ -1146,8 +1146,10 @@ 1146 1146 1147 1147 = 9. FAQ = 1148 1148 1191 + 1149 1149 == 9.1 How can I configure for a customized frequency band? == 1150 1150 1194 + 1151 1151 ((( 1152 1152 See below link for how to customize frequency band: [[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]] 1153 1153 ))) ... ... @@ -1154,10 +1154,13 @@ 1154 1154 1155 1155 ((( 1156 1156 1201 + 1202 + 1157 1157 ))) 1158 1158 1159 1159 == 9.2 Can I make my own firmware for the gateway, where can I find the source code? == 1160 1160 1207 + 1161 1161 ((( 1162 1162 Yes, You can make your own firmware for the LPS8N for branding purposes or to add customized applications. 1163 1163 ))) ... ... @@ -1168,17 +1168,23 @@ 1168 1168 1169 1169 ((( 1170 1170 1218 + 1219 + 1171 1171 ))) 1172 1172 1173 1173 == 9.3 Can I use 868Mhz version for 915Mhz bands? == 1174 1174 1224 + 1175 1175 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. 1176 1176 1177 1177 1228 + 1178 1178 = 10. Trouble Shooting = 1179 1179 1231 + 1180 1180 == 10.1 I get kernel error when install new package, how to fix? == 1181 1181 1234 + 1182 1182 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: 1183 1183 1184 1184 (% style="background-color:yellow" %)root@dragino-16c538:~~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk ... ... @@ -1200,8 +1200,10 @@ 1200 1200 (% style="background-color:yellow" %)Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 1201 1201 1202 1202 1256 + 1203 1203 == 10.2 How to recover the LPS8N if the firmware crashes == 1204 1204 1259 + 1205 1205 ((( 1206 1206 Please follow this instruction to recover your gateway: [[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]] 1207 1207 ))) ... ... @@ -1208,10 +1208,13 @@ 1208 1208 1209 1209 ((( 1210 1210 1266 + 1267 + 1211 1211 ))) 1212 1212 1213 1213 == 10.3 I configured LPS8N for WiFi access and lost its IP. What to do now? == 1214 1214 1272 + 1215 1215 [[image:1657159323292-776.png]] 1216 1216 1217 1217 ... ... @@ -1219,10 +1219,10 @@ 1219 1219 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. 1220 1220 ))) 1221 1221 1222 -(% style="color:red" %)Note: fallback IP can be disabled in the WAN and DHCP page. 1280 +(% style="color:red" %)**Note: fallback IP can be disabled in the WAN and DHCP page.** 1223 1223 1224 1224 1225 -Steps to connect via fall back IP: 1283 +**Steps to connect via fall back IP:** 1226 1226 1227 1227 ~1. Connect PC's Ethernet port to LG01's WAN port 1228 1228 ... ... @@ -1239,8 +1239,10 @@ 1239 1239 Please note the latest firmware uses port 8000 for http and 2222 for ssh access. 1240 1240 1241 1241 1300 + 1242 1242 == 10.4 I connect to the LPS8N's SSID but LPS8N didn't assign DHCP IP to my laptop? == 1243 1243 1303 + 1244 1244 ((( 1245 1245 This is a known bug for the firmware version before 2019-09-23 for LPS, the issue was fixed since version: LG02_LG08~-~-build-v5.2.1569218466-20190923-1402. 1246 1246 ))) ... ... @@ -1250,18 +1250,19 @@ 1250 1250 ))) 1251 1251 1252 1252 1313 + 1253 1253 = 11. Order Info = 1254 1254 1255 1255 1256 -(% style="color: #4f81bd" %)**//PART:LPS8N-XXX-YYY//: **1317 +**//PART: (% style="color:blue" %)LPS8N-XXX-YYY//: (%%)** 1257 1257 1258 1258 1259 -(% style="color: #4f81bd" %) **//XXX:1320 +(% style="color:blue" %) **//XXX~://**(%%)**// Frequency Band//** 1260 1260 1261 1261 * (% style="color:red" %)** 868**(% style="color:black" %) : valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 1262 1262 * (% style="color:red" %)** 915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 1263 1263 1264 -(% style="color: #4f81bd" %) **//YYY:1325 +(% style="color:blue" %) **//YYY~://**(%%)**// 4G Cellular Option//** 1265 1265 1266 1266 * (% style="color:red" %)** EC25-E**(% style="color:black" %): EMEA, Korea, Thailand, India. 1267 1267 * (% style="color:red" %)** EC25-A**(% style="color:black" %): North America/ Rogers/AT&T/T-Mobile. ... ... @@ -1271,8 +1271,10 @@ 1271 1271 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 1272 1272 1273 1273 1335 + 1274 1274 = 12. Packing Info = 1275 1275 1338 + 1276 1276 ((( 1277 1277 **Package Includes**: 1278 1278 )))