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, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,15 +19,15 @@ 19 19 20 20 == 1.1 What is the DLOS8N == 21 21 22 -The DLOS8N is an(%style="color:#4f81bd" %)open source outdoor LoRaWAN Gateway.(%style="color:black"%)It lets you bridge LoRa wireless network to an IP network via WiFi, Ethernet, 3G or 4G cellular. The LoRa wireless allows users to send data and reach extremely long ranges at low data-rates.22 +The DLOS8N is (% class="mark" %)an open source outdoor LoRaWAN Gateway(%%). It lets you bridge LoRa wireless network to an IP network via WiFi, Ethernet, 3G or 4G cellular. The LoRa wireless allows users to send data and reach extremely long ranges at low data-rates. 23 23 24 -DLOS8N supports(%style="color:#4f81bd" %)Semtech packet forwarderstyle="color:black"%)and (%style="color:#4f81bd" %)LoRaWAN Station connection,(%style="color:black"%)it is fully compatible with LoRaWAN protocol. DLOS8N includes astyle="color:#4f81bd" %)SX1302 LoRaWAN concentrator.24 +DLOS8N (% class="mark" %)supports Semtech packet forwarder(%%) and (% class="mark" %)LoRaWAN Station connection(%%), it is fully compatible with LoRaWAN protocol. DLOS8N includes a(% class="mark" %) SX1302 LoRaWAN concentrator(%%). 25 25 26 -DLOS8N has (% style="color:#4f81bd" %)pre-configured standard LoRaWAN frequency bandsstyle="color:black"%)to use for different countries.User can also customize the frequency bands to use in their own LoRaWAN network.26 +DLOS8N has (% class="mark" %)pre-configured standard LoRaWAN frequency bands(%%) to use for different countries.User can also customize the frequency bands to use in their own LoRaWAN network. 27 27 28 28 DLOS8N can communicate with ABP LoRaWAN end node without LoRaWAN server. System integrator can use it to integrate with their existing IoT Service without set up own LoRaWAN server or use 3rd party LoRaWAN service. 29 29 30 -DLOS8N supports (% style="color:#4f81bd" %)style="color:black"%) for mass deployment and long term maintain. System intergrator can easily change the settings.30 +DLOS8N supports (% class="mark" %)auto-provision(%%) for mass deployment and long term maintain. System intergrator can easily change the settings. 31 31 32 32 [[image:1652411526195-923.png]] 33 33 ... ... @@ -628,7 +628,9 @@ 628 628 [[image:1652429624400-864.png||height="432" width="716"]] 629 629 630 630 631 -=== 5.5.8 System ~-~-> Firmware Upgrade === 631 +1. 632 +11. 633 +111. System ~-~-> Firmware Upgrade 632 632 633 633 We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 634 634 ... ... @@ -641,194 +641,218 @@ 641 641 ( [[http:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog]] ) 642 642 643 643 644 -The file named as (% style="color:green" %)**xxxxx–xxxxx-squashfs-sysupgrade.bin **(% style="color:black" %)is the upgrade Image. There are different methods to upgrade, as below.646 +The file named as **xxxxx–xxxxx-squashfs-sysupgrade.bin **is the upgrade Image. There are different methods to upgrade, as below. 645 645 646 -(% style="color:green" %)**Web~-~-> System~-~-> Firmware Upgrade** 647 647 648 - [[image:1652429711145-862.png||height="270" width="737"]]649 +**Web à System à Firmware Upgrade** 649 649 651 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image058.png]] 650 650 653 + 651 651 Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 652 652 653 -(% 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. 654 654 657 +**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. 658 + 659 + 660 + 661 + 655 655 The system will automatically boot into the new firmware after upgrade. 656 656 657 -[[image:1652429962190-224.png||height="358" width="729"]] 658 658 665 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image059.png]] 659 659 660 -(% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 661 661 662 - SCP the firmware tohesystem(%style="color:green" %)**/var**(%%)** **directoryandthenrun668 +Note *: User can also upgrade firmware via Linux console 663 663 664 - (%style="color:#4f81bd"%)**//root@OpenWrt:~~#/sbin/sysupgrade–n/var/Your_Image//**670 +SCP the firmware to the system** /var** directory and then run 665 665 666 - (% style="color:red" %)**NOTE**(%%) : it is important toransferheimageinthe/vardirectory, otherwise itmayexceed the available flash size.672 +**//root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 667 667 668 668 669 - ===5.5.9System~-~->Reboot/Reset===675 +**NOTE**: it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 670 670 671 -[[image:1652430197132-330.png||height="256" width="724"]] 672 672 678 +1. 679 +11. 680 +111. System ~-~-> Reboot/Reset 673 673 674 - === 5.5.10 System~-~-> PackageMaintain ===682 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image060.png]] 675 675 676 -[[image:1652430243826-126.png||height="289" width="723"]] 677 677 685 + 686 +1. 687 +11. 688 +111. System ~-~-> Package Maintain 689 + 690 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image061.png]] 691 + 678 678 Place to show what package has installed and possible to upgrade packages. 679 679 680 680 681 -== 5.6 LogRead == 682 682 683 -=== 5.6.1 LogRead ~-~-> LoRa Log === 684 684 685 -[[image:1652430356784-567.png||height="325" width="730"]] 697 +1. 698 +11. LogRead 699 +111. LogRead ~-~-> LoRa Log 686 686 701 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image062.png]] 702 + 687 687 Show the frequency for LoRa Radio and traffics. 688 688 689 689 690 -=== 5.6.2 LogRead ~-~-> System Log === 706 +1. 707 +11. 708 +111. LogRead ~-~-> System Log 691 691 692 692 Show the system log 693 693 694 -[[image: 1652430369760-511.png||height="373" width="730"]]712 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image063.png]] 695 695 696 696 697 -= 6. More features = 698 698 699 -== 6.1 More instructions == 716 +1. More features 717 +11. More instructions 700 700 701 701 [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction]] 702 702 703 703 704 -= 7. Linux System = 705 705 723 + 724 +1. Linux System 725 + 706 706 The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 707 707 708 -== 7.1 SSH Access for Linux console == 728 +1. 729 +11. SSH Access for Linux console 709 709 710 710 User can access the Linux console via the SSH protocol. Make sure your PC and the DLOS8N 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. 711 711 733 + 712 712 IP address: IP address of DLOS8N 713 713 714 714 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 715 715 716 -User Name: (% style="color:green" %)**root**738 +User Name: **root** 717 717 718 -Password: (% style="color:green" %)**dragino** (% style="color:black" %)(default)740 +Password: **dragino** (default) 719 719 742 + 720 720 After logging in, you will be in the Linux console and can enter commands as shown below. 721 721 722 -[[image:1652431588565-830.png]] 723 723 724 - The“(% class="mark" %)**logread -f**(%%)” commandcan beused todebughow systemruns.746 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image064.png]] 725 725 726 -[[image:1652431609193-637.png||height="214" width="732"]] 727 727 749 +The “logread -f” command can be used to debug how system runs. 728 728 729 - == 7.2 Editand Transferfiles==751 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image065.png]] 730 730 731 -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. 732 732 754 + 755 + 756 +1. 757 +11. Edit and Transfer files 758 + 759 +The DLOS8N supports the **SCP protocol** and has a built-in **SFTP server**. There are many ways to edit and transfer files using these protocols. 760 + 761 + 733 733 In Windows, one of the easiest methods is using the [[WinSCP>>url:https://winscp.net/eng/index.php]] utility. 734 734 735 735 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. 736 736 766 + 737 737 Screenshot is as below: 738 738 739 -[[image: 1652431650755-450.png]]769 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image066.png]] 740 740 741 741 742 -== 7.3 File System == 772 +1. 773 +11. File System 743 743 744 744 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. 745 745 777 + 746 746 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. 747 747 748 748 You can use an external USB flash memory device to extend the size of flash memory for storage. 749 749 750 750 751 -== 7.4 Package maintenance system == 752 752 753 -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 configure DLOS8N to use **//iperf //**. 754 754 755 -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]]) 785 +1. 786 +11. Package maintenance system 756 756 757 - **InLinuxConsole run:**788 +DLOS8N uses the OpenWrt [[OPKG package maint>>url:https://wiki.openwrt.org/doc/techref/opkg]][[e>>url:https://wiki.openwrt.org/doc/techref/opkg]][[n>>url:https://wiki.openwrt.org/doc/techref/opkg]][[ance>>url:https://wiki.openwrt.org/doc/techref/opkg]][[ system>>url:https://wiki.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 DLOS8N to use **//iperf //**. 758 758 759 -((( 760 -(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 761 -))) 762 762 763 -((( 764 -(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 765 -))) 791 +Below are some example **//opkg //** commands. For more information please refer to the [[OPKG package maintain system>>url:https://wiki.openwrt.org/doc/techref/opkg]]** **([[https:~~/~~/wiki.openwrt.org/doc/techref/opkg>>url:https://wiki.openwrt.org/doc/techref/opkg]]) 766 766 767 -((( 768 -(% style="color:green" %)**root@dragino-169d30:~~# opkg install iperf ** (% style="color:black" %)~/~/ install iperf 769 -))) 770 770 794 +In Linux Console run: 795 + 796 +**root@dragino-169d30:~~# opkg update** ~/~/ to get the latest packages list 797 + 798 +**root@dragino-169d30:~~# opkg list** ~/~/shows the available packages 799 + 800 +**root@dragino-169d30:~~# opkg install iperf **~/~/ install iperf 801 + 771 771 The system will automatically install the required packages as shown below. 772 772 773 773 774 -((( 775 -(% style="background-color:#dcdcdc" %)//root@dragino-169d30:/etc/opkg# opkg install iperf// 776 -))) 805 +//root@dragino-169d30:/etc/opkg# opkg install iperf// 777 777 778 -((( 779 -(% style="background-color:#dcdcdc" %)//Installing iperf (2.0.12-1) to root…// 780 -))) 807 +//Installing iperf (2.0.12-1) to root…// 781 781 782 -((( 783 -(% style="background-color:#dcdcdc" %)//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk]] 784 -))) 809 +//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk]] 785 785 786 -((( 787 -(% style="background-color:#dcdcdc" %)//Installing uclibcxx (0.2.4-3) to root…// 788 -))) 811 +//Installing uclibcxx (0.2.4-3) to root…// 789 789 790 -((( 791 -(% style="background-color:#dcdcdc" %)//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk]] 792 -))) 813 +//Downloading //[[//http:~~/~~/downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk//>>url:http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk]] 793 793 794 -((( 795 -(% style="background-color:#dcdcdc" %)//Configuring uclibcxx.// 796 -))) 815 +//Configuring uclibcxx.// 797 797 798 -((( 799 -(% style="background-color:#dcdcdc" %)//Configuring iperf.// 800 -))) 817 +//Configuring iperf.// 801 801 802 -== 8. Upgrade Linux Firmware == 803 803 804 - == 9. FAQ==820 +1. Upgrade Linux Firmware 805 805 806 -== 9.1 How can I configure for a customized frequency band? == 822 +1. FAQ 823 +11. How can I configure for a customized frequency band? 807 807 808 808 See below link for how to customize frequency band: 809 809 810 810 [[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]] 811 811 812 -== 9.2 Can I connect DLOS8N to LORIOT? == 813 813 830 +1. 831 +11. Can I connect DLOS8N to LORIOT? 832 + 814 814 Yes, the set up instruction is here: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_LORIOT>>url:http://wiki.dragino.com/index.php?title=Notes_for_LORIOT]] 815 815 816 -== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 817 817 836 +1. 837 +11. Can I make my own firmware for the gateway, where can I find the source code? 838 + 818 818 Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications. 819 819 820 820 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]] 821 821 822 -== 9.4 Can I use 868Mhz version for 915Mhz bands? == 823 823 844 +1. 845 +11. Can I use 868Mhz version for 915Mhz bands? 846 + 824 824 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. 825 825 826 -== 10. Trouble Shooting == 827 827 828 -== 10.1 I get kernel error when install new package, how to fix? == 829 829 851 + 852 +1. Trouble Shooting 853 +11. I get kernel error when install new package, how to fix? 854 + 830 830 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: 831 831 857 + 832 832 root@dragino-16c538:~~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk 833 833 834 834 Installing kmod-dragino2-si3217x (3.10.49+0.2-1) to root… ... ... @@ -846,14 +846,21 @@ 846 846 847 847 Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 848 848 849 -== 10.2 How to recover the DLOS8N if the firmware crashes == 850 850 876 +1. 877 +11. How to recover the DLOS8N if the firmware crashes 878 + 851 851 Please follow this instruction to recover your gateway: 852 852 853 853 [[http:~~/~~/wiki.dragino.com/index.php?title=Recover_Gateway>>url:http://wiki.dragino.com/index.php?title=Recover_Gateway]] 854 854 855 -== 10.3 I configured DLOS8N for WiFi access and lost its IP. What to do now? == 856 856 884 + 885 + 886 + 887 +1. 888 +11. I configured DLOS8N for WiFi access and lost its IP. What to do now? 889 + 857 857 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image067.png]] 858 858 859 859 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 access DLOS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit. ... ... @@ -876,8 +876,10 @@ 876 876 877 877 Please note the latest firmware uses port 8000 for http and 2222 for ssh access. 878 878 879 -= 11. Order Info = 880 880 913 + 914 +1. Order Info 915 + 881 881 **//PART: DLOS8N-XXX-YYY//:** 882 882 883 883 **//XXX: Frequency Band//** ... ... @@ -894,8 +894,11 @@ 894 894 895 895 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 896 896 897 -= 12. Packing Info = 898 898 933 + 934 + 935 +1. Packing Info 936 + 899 899 **Package Includes**: 900 900 901 901 * DLOS8N LoRaWAN Gateway x 1 ... ... @@ -909,9 +909,11 @@ 909 909 * Package Size: 14.5 x 13.5 x 6 cm 910 910 * Weight: 300g 911 911 912 - =13. Support=950 +1. Support 913 913 914 914 * Try to see if your questions already answered in the [[wiki>>url:http://wiki.dragino.com/]]. 915 915 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. 916 916 Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before mentioned schedule. 917 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to:[[support@dragino.com>>url:file:///C:/Users/11315/Documents/D:/Projects/LoRa%20Product%20Line/LG308%20Picocell%20Gateway/LG308/LG308%20%25E8%25AF%25B4%25E6%2598%258E%25E4%25B9%25A6/support@dragino.com]] 955 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to: 956 + 957 +[[support@dragino.com>>url:file:///C:/Users/11315/Documents/D:/Projects/LoRa%20Product%20Line/LG308%20Picocell%20Gateway/LG308/LG308%20%25E8%25AF%25B4%25E6%2598%258E%25E4%25B9%25A6/support@dragino.com]]
- 1652431153457-839.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.4 KB - Content
- 1652431569353-626.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -62.4 KB - Content
- 1652431588565-830.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -62.4 KB - Content
- 1652431609193-637.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -221.0 KB - Content
- 1652431650755-450.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.4 KB - Content
- 1652435238615-272.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -68.7 KB - Content