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
-
... ... @@ -104,9 +104,10 @@ 104 104 * Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage 105 105 * MIMO technology meets demands for data rate and link reliability in modem wireless communication systems 106 106 107 -== 1.3 Features == 108 108 109 109 109 +== 1.3 Features == 110 + 110 110 * Open Source OpenWrt system 111 111 * Managed by Web GUI, SSH via WAN or WiFi 112 112 * Remote access with Reverse-SSH or remote.it ... ... @@ -121,20 +121,18 @@ 121 121 * Support LoRaWAN basic station. 122 122 * Optional 3G/4G cellular connection 123 123 124 -== 1.4 Hardware System Structure == 125 125 126 126 127 +== 1.4 Hardware System Structure == 128 + 127 127 [[image:1657079015096-949.png]] 128 128 129 129 130 - 131 131 == 1.5 LPS8N Applications == 132 132 133 - 134 134 [[image:1657079055940-721.png]] 135 135 136 136 137 - 138 138 == 1.6 LED Indicators == 139 139 140 140 ... ... @@ -149,18 +149,17 @@ 149 149 150 150 * **ETH LED **[[image:image-20220706115518-4.png||height="15" width="17"]] : This LED shows the ETH interface connection status. 151 151 152 -= 2. Access and Configure LPS8N = 153 153 154 154 153 += 2. Access and Configure LPS8N = 154 + 155 155 ((( 156 156 The LPS8N is configured as a WiFi Access Point by factory default. You can access and configure the LPS8N after connecting to its WiFi network, or via its WAN Ethernet port. 157 157 ))) 158 158 159 159 160 - 161 161 == 2.1 Find IP address of LPS8N == 162 162 163 - 164 164 === 2.1.1 Connect via WiFi === 165 165 166 166 [[image:1657085974260-168.png]] ... ... @@ -184,7 +184,7 @@ 184 184 185 185 186 186 ((( 187 -Alternatively, connect the LPS8N Ethernet port to your router and L PS8N will obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LPS8N. You can also use this IP to connect.185 +Alternatively, connect the LPS8N Ethernet port to your router and DLOS8N will obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LPS8N. You can also use this IP to connect. 188 188 189 189 190 190 ... ... @@ -192,7 +192,6 @@ 192 192 193 193 === 2.1.3 Connect via WiFi with DHCP IP from router === 194 194 195 - 196 196 [[image:1657086192720-649.png]] 197 197 198 198 ... ... @@ -202,7 +202,6 @@ 202 202 203 203 === 2.1.4 Connect via Ethernet with fall back ip === 204 204 205 - 206 206 The WAN port also has a [[fall back ip address>>||anchor="H10.3A0IconfiguredLPS8NforWiFiaccessandlostitsIP.Whattodonow3F"]] for access if user doesn't connect to uplink router. Click [[here>>||anchor="H10.3A0IconfiguredLPS8NforWiFiaccessandlostitsIP.Whattodonow3F"]] to see how to configure. 207 207 208 208 ... ... @@ -209,7 +209,6 @@ 209 209 210 210 == 2.2 Access Configure Web UI == 211 211 212 - 213 213 **Web Interface** 214 214 215 215 Open a browser on the PC and type the LPS8N ip address (depends on your connect method) ... ... @@ -235,10 +235,8 @@ 235 235 236 236 = 3. Typical Network Setup = 237 237 238 - 239 239 == 3.1 Overview == 240 240 241 - 242 242 The LPS8N supports flexible network set up for different environments. This section describes the typical network topology. The network set up includes: 243 243 244 244 * **WAN Port Internet Mode** ... ... @@ -245,9 +245,10 @@ 245 245 * **WiFi Client Mode** 246 246 * **WiFi AP Mode** 247 247 248 -== 3.2 Use WAN port to access Internet == 249 249 250 250 243 +== 3.2 Use WAN port to access Internet == 244 + 251 251 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**: 252 252 253 253 ... ... @@ -254,16 +254,13 @@ 254 254 [[image:1657088560833-398.png]] 255 255 256 256 257 - 258 258 == 3.3 Access the Internet as a WiFi Client == 259 259 260 - 261 261 In the WiFi Client Mode, LPS8N acts as a WiFi client and gets DHCP from an upstream router via WiFi. 262 262 263 263 ((( 264 264 The settings for WiFi Client is under page (% style="color:#4f81bd" %)**System~-~-> WiFi ~-~-> WiFi WAN Client Settings** 265 265 266 - 267 267 [[image:1657088818095-182.png]] 268 268 ))) 269 269 ... ... @@ -271,13 +271,11 @@ 271 271 ((( 272 272 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect. 273 273 274 - 275 275 276 276 ))) 277 277 278 278 == 3.4 Use built-in 4G modem for internet access == 279 279 280 - 281 281 ((( 282 282 ((( 283 283 If the LPS8N has 3G/4G Cellular modem, user can use it as main internet connection or back up. ... ... @@ -313,10 +313,8 @@ 313 313 ))) 314 314 315 315 316 - 317 317 == 3.5 Check Internet connection == 318 318 319 - 320 320 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. 321 321 322 322 * GREEN Tick [[image:1652436675869-206.png||height="14" width="15"]] : This interface has Internet connection. ... ... @@ -329,10 +329,8 @@ 329 329 330 330 = 4. Example: Configure as a LoRaWAN gateway = 331 331 332 - 333 333 LPS8N is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below. 334 334 335 - 336 336 ((( 337 337 [[image:1657091257648-882.png]] 338 338 ))) ... ... @@ -345,7 +345,6 @@ 345 345 346 346 == 4.1 Create a gateway in TTN V3 Server == 347 347 348 - 349 349 (% style="color:#4f81bd" %)**Step 1: Get a Unique gateway ID.** 350 350 351 351 ((( ... ... @@ -359,7 +359,6 @@ 359 359 The example gateway id is: (% style="color:green" %)**a840411e96744154** 360 360 361 361 362 - 363 363 (% style="color:#4f81bd" %)**Step 2: Sign up a user account in TTN server** 364 364 365 365 [[**https:~~/~~/account.thethingsnetwork.org/register**>>url:https://account.thethingsnetwork.org/register]] ... ... @@ -367,7 +367,6 @@ 367 367 [[image:1657091739530-531.png]] 368 368 369 369 370 - 371 371 (% style="color:#4f81bd" %)**Step 3: Choose the TTNv3 Cluster Picker** 372 372 373 373 ((( ... ... @@ -382,6 +382,7 @@ 382 382 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 383 383 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 384 384 367 + 385 385 (% style="color:#4f81bd" %)**Step 4: Create a Gateway** 386 386 387 387 [[image:1657091941182-367.png]] ... ... @@ -398,9 +398,7 @@ 398 398 399 399 400 400 ((( 401 -(% style="color:red" %)**Notice: Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network.** 402 - 403 - 384 +(% style="color:red" %)**Notice: **Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network. 404 404 ))) 405 405 406 406 After creating the gateway, you can see the gateway info, as below. ... ... @@ -408,10 +408,8 @@ 408 408 [[image:1657094130908-567.png]](% style="display:none" %) 409 409 410 410 411 - 412 412 == 4.2 Configure LPS8N to connect to TTN v3 == 413 413 414 - 415 415 ((( 416 416 You can now configure the LPS8N to let it connect to TTN network V3. 417 417 ))) ... ... @@ -426,10 +426,9 @@ 426 426 427 427 [[image:1657094183213-301.png]] 428 428 408 +(% style="color:red" %)**Note: **The server address must match the Gateway server address you choose in TTN V3. 429 429 430 -(% style="color:red" %)**Note: The server address must match the Gateway server address you choose in TTN V3.** 431 431 432 - 433 433 In the home page, we can see the LoRaWAN connection is ready now. 434 434 435 435 [[image:1657094202420-798.png]] ... ... @@ -440,10 +440,8 @@ 440 440 [[image:1657094221515-510.png]] 441 441 442 442 443 - 444 444 == 4.3 Configure frequency == 445 445 446 - 447 447 We also need to set the frequency plan in LPS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. 448 448 449 449 [[image:1657094249818-468.png]] ... ... @@ -454,10 +454,8 @@ 454 454 [[image:1657094333704-207.png]] 455 455 456 456 457 - 458 458 == 4.4 Add a LoRaWAN End Device == 459 459 460 - 461 461 ((( 462 462 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 463 463 ))) ... ... @@ -469,7 +469,7 @@ 469 469 [[image:1652422794767-871.png]] 470 470 471 471 ((( 472 -(% style="color:b lue" %)**Step 1**: (%%)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device.446 +(% style="color:#4f81bd" %)**Step 1**: (% style="color:black" %)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device. 473 473 474 474 475 475 ))) ... ... @@ -540,39 +540,29 @@ 540 540 ))) 541 541 542 542 ((( 543 -(% style="color:blue" %)**Step 2**: (%%)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel. 544 - 545 - 517 +(% style="color:#4f81bd" %)**Step 2**: (% style="color:black" %)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel. 546 546 ))) 547 547 548 548 ((( 549 -(% style="color:red" %)**Note that it may take some time for the device data to appear in the TTN v3 display.** 550 - 551 - 521 +(% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 552 552 ))) 553 553 554 554 [[image:1657094791060-639.png]] 555 555 556 556 557 - 558 558 = 5. Web Configure Pages = 559 559 560 - 561 561 == 5.1 Home == 562 562 563 - 564 564 Shows the system running status. 565 565 566 566 [[image:1657094893942-726.png]] 567 567 568 568 569 - 570 570 == 5.2 LoRa Settings == 571 571 572 - 573 573 === 5.2.1 LoRa ~-~-> LoRa === 574 574 575 - 576 576 ((( 577 577 This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well. 578 578 ))) ... ... @@ -594,13 +594,11 @@ 594 594 595 595 [[image:1657094930903-357.png]] 596 596 597 - (% style="color:red" %)**Note *:****[[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]**561 +Note *: **[[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 598 598 599 599 600 - 601 601 === 5.2.2 LoRa ~-~-> ABP Decryption === 602 602 603 - 604 604 The LPS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: 605 605 606 606 * No internet connection. ... ... @@ -613,13 +613,10 @@ 613 613 [[image:1657095412271-942.png]] 614 614 615 615 616 - 617 617 == 5.3 LoRaWAN Settings == 618 618 619 - 620 620 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === 621 621 622 - 623 623 This page is for the connection set up to a general LoRaWAN Network server such as: [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]] etc 624 624 625 625 [[image:1652423628833-467.png||height="357" width="755"]] ... ... @@ -633,23 +633,18 @@ 633 633 **See:** **[[Filter unwanted LoRaWAN packets>>doc:Main.Filter unwanted LoRaWAN packets.WebHome]]** 634 634 635 635 636 - 637 637 === 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 638 638 639 - 640 640 [[image:1652428499323-384.png||height="275" width="723"]] 641 641 642 - 643 643 ((( 644 644 Please see this instruction to know more detail and demo for how to connect to **[[AWS-IoT LoRaWAN Core>>doc:Main.AWS IoT Core for LoRaWAN.WebHome]].** 645 645 646 - 647 647 648 648 ))) 649 649 650 650 === 5.3.3 LoRaWAN ~-~-> LORIOT === 651 651 652 - 653 653 ((( 654 654 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] 655 655 ))) ... ... @@ -661,10 +661,8 @@ 661 661 [[image:1652428648903-878.png||height="266" width="731"]] 662 662 663 663 664 - 665 665 == 5.4 MQTT Settings == 666 666 667 - 668 668 ((( 669 669 If end nodes works in ABP mode, user can configure LPS8N to transfer the data to MQTT broker, 670 670 ))) ... ... @@ -677,13 +677,10 @@ 677 677 [[image:1652428705046-212.png||height="417" width="733"]] 678 678 679 679 680 - 681 681 == 5.5 System == 682 682 683 - 684 684 === 5.5.1 System ~-~-> System Overview === 685 685 686 - 687 687 Shows the system info: 688 688 689 689 [[image:1657155158184-134.png]] ... ... @@ -692,12 +692,10 @@ 692 692 693 693 === 5.5.2 System ~-~-> General ( login settings) === 694 694 695 - 696 696 [[image:1657155183982-792.png]] 697 697 698 - 699 699 ((( 700 - (% style="color:#037691" %)**__System Password:__**647 +**__System Password:__** 701 701 ))) 702 702 703 703 ((( ... ... @@ -709,11 +709,11 @@ 709 709 ))) 710 710 711 711 ((( 712 - (% style="color:#037691" %)**__Timezone: __**(%%)Set device timezone.659 +**__Timezone: __**Set device timezone. 713 713 ))) 714 714 715 715 ((( 716 - (% style="color:#037691" %)**__Port forwarding: __**(%%)Enable/Disable the HTTP and SSH access via WAN interface.663 +**__Port forwarding: __**Enable/Disable the HTTP and SSH access via WAN interface. 717 717 718 718 719 719 ... ... @@ -724,15 +724,15 @@ 724 724 [[image:1657155288223-566.png]] 725 725 726 726 ((( 727 - (% style="color:#037691" %)**__LAN Settings: __**(%%)When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network.674 +**__LAN Settings: __**When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N's own network. 728 728 ))) 729 729 730 730 ((( 731 - (% style="color:#037691" %)__**WAN Settings: **__(%%)Setting for LPS8N WAN port678 +__**WAN Settings: **__Setting for LPS8N WAN port 732 732 ))) 733 733 734 734 ((( 735 - (% style="color:#037691" %)__**WiFi Settings: **__** **(%%)Setting for LPS8N WiFi IP when use it as WiFi Client682 +__**WiFi Settings: **__Setting for LPS8N WiFi IP when use it as WiFi Client 736 736 737 737 738 738 ... ... @@ -740,7 +740,6 @@ 740 740 741 741 === 5.5.4 System ~-~-> WiFi === 742 742 743 - 744 744 LPS8N WiFi Settings. 745 745 746 746 [[image:1657155457089-430.png]] ... ... @@ -749,17 +749,15 @@ 749 749 750 750 === 5.5.5 System ~-~-> Cellular === 751 751 752 - 753 753 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. 754 754 755 755 756 756 [[image:1657155507672-204.png]] 757 757 703 +(% style="color:red" %)Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected. 758 758 759 -(% style="color:red" %)**Note *: For LPS8N which doesn't have the cellular module, this page will shows Cellular not detected.** 760 760 761 761 762 - 763 763 === 5.5.6 System ~-~-> Network Status === 764 764 765 765 ... ... @@ -769,7 +769,6 @@ 769 769 770 770 === 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 771 771 772 - 773 773 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 774 774 775 775 ... ... @@ -793,7 +793,7 @@ 793 793 (% style="display:none" %) (%%) 794 794 795 795 ((( 796 -R-SSH is for remote access device and management, introduction for how to use: [[Remote Access Gateway>>doc:Main. Monitor &Remote Access Gateway.WebHome]]739 +R-SSH is for remote access device and management, introduction for how to use: [[Remote Access Gateway>>doc:Main.Remote Access Gateway.WebHome]] 797 797 ))) 798 798 799 799 [[image:1652429624400-864.png||height="432" width="716"]] ... ... @@ -802,7 +802,6 @@ 802 802 803 803 === 5.5.8 System ~-~-> Firmware Upgrade === 804 804 805 - 806 806 We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 807 807 808 808 * **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], ... ... @@ -825,14 +825,12 @@ 825 825 [[image:1657156052651-770.png]] 826 826 827 827 ((( 828 -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.770 +Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 829 829 ))) 830 830 831 831 832 832 ((( 833 -(% 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. 834 - 835 - 775 +(% 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. 836 836 ))) 837 837 838 838 ((( ... ... @@ -841,7 +841,6 @@ 841 841 842 842 [[image:1657156094153-520.png]] 843 843 844 - 845 845 (% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 846 846 847 847 SCP the firmware to the system(% style="color:green" %)**/var**(%%)** **directory and then run ... ... @@ -852,10 +852,8 @@ 852 852 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 853 853 854 854 855 - 856 856 === 5.5.9 System ~-~-> Reboot/Reset === 857 857 858 - 859 859 [[image:1652430197132-330.png||height="256" width="724"]] 860 860 861 861 ((( ... ... @@ -875,7 +875,6 @@ 875 875 876 876 == 5.6 LogRead == 877 877 878 - 879 879 === 5.6.1 LogRead ~-~-> LoRa Log === 880 880 881 881 ... ... @@ -887,7 +887,6 @@ 887 887 888 888 === 5.6.2 LogRead ~-~-> System Log === 889 889 890 - 891 891 Show the system log 892 892 893 893 [[image:1657156341198-226.png]] ... ... @@ -896,69 +896,41 @@ 896 896 897 897 = 6. More features = 898 898 899 - 900 900 == 6.1 Packet Filtering == 901 901 902 - 903 -((( 904 904 Drop unwanted packets. 905 -))) 906 906 907 -((( 908 908 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/]] 909 -))) 910 910 911 911 912 - 913 913 == 6.2 Remote Access == 914 914 915 - 916 -((( 917 917 Remote Access Devices for management. 918 -))) 919 919 920 -((( 921 -Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access]] 922 -))) 845 +Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Remote%20Access%20Gateway/]] 923 923 924 924 925 - 926 926 == 6.3 How to decode ABP LoRaWAN node == 927 927 928 - 929 -((( 930 930 Decode ABP: 931 -))) 932 932 933 -((( 934 934 [[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/]] 935 -))) 936 936 937 937 938 - 939 939 == 6.4 How to set data to MQTT broker == 940 940 941 - 942 -((( 943 943 Only support ABP LoRaWAN End Node 944 -))) 945 945 946 -((( 947 947 Instruction: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 948 -))) 949 949 950 950 951 - 952 952 == 6.5 More instructions == 953 953 954 - 955 955 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 956 956 957 957 958 - 959 959 == 6.6 Auto-Provision == 960 960 961 - 962 962 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 963 963 964 964 [[image:image-20220707092040-1.png||height="451" width="995"]] ... ... @@ -967,24 +967,20 @@ 967 967 968 968 [[image:image-20220707092040-3.png||height="449" width="956"]](% style="display:none" %) 969 969 970 -((( 971 -Please see this document for detail: [[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]] 972 -))) 877 +Please see this document for detail: 973 973 879 +[[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]] 880 + 974 974 (% style="display:none" %) (%%) 975 975 976 - 977 977 = 7. (% style="display:none" %) (%%)Linux System = 978 978 979 - 980 980 The LPS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 981 981 982 982 (% style="display:none" %) (%%) 983 983 984 - 985 985 == 7.1 SSH Access for Linux console == 986 986 987 - 988 988 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. 989 989 990 990 IP address: IP address of LPS8N ... ... @@ -1000,7 +1000,7 @@ 1000 1000 1001 1001 [[image:1657158198733-338.png]] 1002 1002 1003 -The “ **(%style="background-color:yellow" %)logread -f(%%)**(%style="background-color:yellow"%)”(%%)command can be used to debug how system runs.906 +The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 1004 1004 1005 1005 1006 1006 [[image:1657158190234-805.png]] ... ... @@ -1009,7 +1009,6 @@ 1009 1009 1010 1010 == 7.2 Edit and Transfer files == 1011 1011 1012 - 1013 1013 ((( 1014 1014 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. 1015 1015 ))) ... ... @@ -1032,7 +1032,6 @@ 1032 1032 1033 1033 == 7.3 File System == 1034 1034 1035 - 1036 1036 ((( 1037 1037 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. 1038 1038 ))) ... ... @@ -1046,10 +1046,8 @@ 1046 1046 ))) 1047 1047 1048 1048 1049 - 1050 1050 == 7.4 Package maintenance system == 1051 1051 1052 - 1053 1053 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 //**. 1054 1054 1055 1055 ((( ... ... @@ -1108,7 +1108,6 @@ 1108 1108 1109 1109 = 8. Upgrade Linux Firmware = 1110 1110 1111 - 1112 1112 We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 1113 1113 1114 1114 * **Latest firmware**: [[LoRa Gateway Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware/]], ... ... @@ -1120,15 +1120,11 @@ 1120 1120 ( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8N/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LIG16/Firmware/ChangeLog]] ) 1121 1121 1122 1122 1123 -((( 1124 1124 The file named as (% style="color:green" %)** xxxxx–xxxxx-squashfs-sysupgrade.bin **(%%)is the upgrade Image. There are different methods to upgrade, as below. 1125 -))) 1126 1126 1127 1127 1128 - 1129 1129 == 8.1 Upgrade via Web UI == 1130 1130 1131 - 1132 1132 ((( 1133 1133 Go to the page: (% style="color:green" %)**Web ~-~-> System ~-~-> Firmware Upgrade** 1134 1134 ))) ... ... @@ -1139,7 +1139,7 @@ 1139 1139 1140 1140 1141 1141 ((( 1142 -(% 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.1036 +(% 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. 1143 1143 ))) 1144 1144 1145 1145 ... ... @@ -1150,10 +1150,8 @@ 1150 1150 [[image:1657158986600-386.png]] 1151 1151 1152 1152 1153 - 1154 1154 == 8.2 Upgrade via Linux console == 1155 1155 1156 - 1157 1157 ((( 1158 1158 SCP the firmware to the system** (% style="color:green" %)/var(%%)** directory and then run 1159 1159 ))) ... ... @@ -1171,23 +1171,18 @@ 1171 1171 1172 1172 = 9. FAQ = 1173 1173 1174 - 1175 1175 == 9.1 How can I configure for a customized frequency band? == 1176 1176 1177 - 1178 1178 ((( 1179 -See below link for how to customize frequency band: [[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]] 1069 +See below link for how to customize frequency band: **[[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 1180 1180 ))) 1181 1181 1182 1182 ((( 1183 1183 1184 - 1185 - 1186 1186 ))) 1187 1187 1188 1188 == 9.2 Can I make my own firmware for the gateway, where can I find the source code? == 1189 1189 1190 - 1191 1191 ((( 1192 1192 Yes, You can make your own firmware for the LPS8N for branding purposes or to add customized applications. 1193 1193 ))) ... ... @@ -1198,23 +1198,17 @@ 1198 1198 1199 1199 ((( 1200 1200 1201 - 1202 - 1203 1203 ))) 1204 1204 1205 1205 == 9.3 Can I use 868Mhz version for 915Mhz bands? == 1206 1206 1207 - 1208 1208 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. 1209 1209 1210 1210 1211 - 1212 1212 = 10. Trouble Shooting = 1213 1213 1214 - 1215 1215 == 10.1 I get kernel error when install new package, how to fix? == 1216 1216 1217 - 1218 1218 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: 1219 1219 1220 1220 (% style="background-color:yellow" %)root@dragino-16c538:~~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk ... ... @@ -1236,23 +1236,18 @@ 1236 1236 (% style="background-color:yellow" %)Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 1237 1237 1238 1238 1239 - 1240 1240 == 10.2 How to recover the LPS8N if the firmware crashes == 1241 1241 1242 - 1243 1243 ((( 1244 -Please follow this instruction to recover your gateway: [[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]] 1123 +Please follow this instruction to recover your gateway: **[[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]]** 1245 1245 ))) 1246 1246 1247 1247 ((( 1248 1248 1249 - 1250 - 1251 1251 ))) 1252 1252 1253 1253 == 10.3 I configured LPS8N for WiFi access and lost its IP. What to do now? == 1254 1254 1255 - 1256 1256 [[image:1657159323292-776.png]] 1257 1257 1258 1258 ... ... @@ -1260,10 +1260,10 @@ 1260 1260 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. 1261 1261 ))) 1262 1262 1263 -(% style="color:red" %) **Note: fallback IP can be disabled in the WAN and DHCP page.**1139 +(% style="color:red" %)Note: fallback IP can be disabled in the WAN and DHCP page. 1264 1264 1265 1265 1266 - **Steps to connect via fall back IP:**1142 +Steps to connect via fall back IP: 1267 1267 1268 1268 ~1. Connect PC's Ethernet port to LG01's WAN port 1269 1269 ... ... @@ -1280,10 +1280,8 @@ 1280 1280 Please note the latest firmware uses port 8000 for http and 2222 for ssh access. 1281 1281 1282 1282 1283 - 1284 1284 == 10.4 I connect to the LPS8N's SSID but LPS8N didn't assign DHCP IP to my laptop? == 1285 1285 1286 - 1287 1287 ((( 1288 1288 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. 1289 1289 ))) ... ... @@ -1293,22 +1293,20 @@ 1293 1293 ))) 1294 1294 1295 1295 1296 - 1297 1297 = 11. Order Info = 1298 1298 1299 1299 1300 - **//PART:(% style="color:blue" %)LPS8N-XXX-YYY//:(%%)**1173 +(% style="color:#4f81bd" %)**//PART: LPS8N-XXX-YYY//: ** 1301 1301 1302 1302 1303 -(% style="color:b lue" %) **//XXX~://**(%%)**//Frequency Band//**1176 +(% style="color:#4f81bd" %) **//XXX: Frequency Band//** 1304 1304 1305 1305 * (% style="color:red" %)** 868**(% style="color:black" %) : valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 1306 1306 * (% style="color:red" %)** 915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 1307 1307 1308 1308 1182 +(% style="color:#4f81bd" %) **//YYY: 4G Cellular Option//** 1309 1309 1310 -(% style="color:blue" %) **//YYY~://**(%%)**// 4G Cellular Option//** 1311 - 1312 1312 * (% style="color:red" %)** EC25-E**(% style="color:black" %): EMEA, Korea, Thailand, India. 1313 1313 * (% style="color:red" %)** EC25-A**(% style="color:black" %): North America/ Rogers/AT&T/T-Mobile. 1314 1314 * (% style="color:red" %)** EC25-AU**(% style="color:black" %): Latin America, New Zeland, Taiwan ... ... @@ -1317,10 +1317,8 @@ 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 - 1321 1321 = 12. Packing Info = 1322 1322 1323 - 1324 1324 ((( 1325 1325 **Package Includes**: 1326 1326 )))