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, 10 added, 0 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 (% class="mark" %)anopen 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.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. 23 23 24 -DLOS8N (% class="mark" %)supportsSemtech packet forwarder(%%)class="mark" %)LoRaWAN Station connection(%%),it is fully compatible with LoRaWAN protocol. DLOS8N includes a(%class="mark" %)(%%).24 +DLOS8N supports (% style="color:#4f81bd" %)Semtech packet forwarder (% style="color:black" %)and (% style="color:#4f81bd" %)LoRaWAN Station connection, (% style="color:black" %)it is fully compatible with LoRaWAN protocol. DLOS8N includes a (% style="color:#4f81bd" %)SX1302 LoRaWAN concentrator. 25 25 26 -DLOS8N has (% class="mark" %)pre-configured standard LoRaWAN frequency bands(%%)26 +DLOS8N has (% style="color:#4f81bd" %)pre-configured standard LoRaWAN frequency bands (% style="color:black" %)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 (% class="mark" %)auto-provision(%%) for mass deployment and long term maintain. System intergrator can easily change the settings.30 +DLOS8N supports (% style="color:#4f81bd" %) auto-provision (% style="color:black" %) 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,9 +628,7 @@ 628 628 [[image:1652429624400-864.png||height="432" width="716"]] 629 629 630 630 631 -1. 632 -11. 633 -111. System ~-~-> Firmware Upgrade 631 +=== 5.5.8 System ~-~-> Firmware Upgrade === 634 634 635 635 We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 636 636 ... ... @@ -643,218 +643,192 @@ 643 643 ( [[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]] ) 644 644 645 645 646 -The file named as **xxxxx–xxxxx-squashfs-sysupgrade.bin **is the upgrade Image. There are different methods to upgrade, as below. 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. 647 647 646 +(% style="color:green" %)**Web~-~-> System~-~-> Firmware Upgrade** 648 648 649 - **Web à System à FirmwareUpgrade**648 +[[image:1652429711145-862.png||height="270" width="737"]] 650 650 651 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image058.png]] 652 652 653 - 654 654 Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 655 655 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. 656 656 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 - 662 662 The system will automatically boot into the new firmware after upgrade. 663 663 657 +[[image:1652429962190-224.png||height="358" width="729"]] 664 664 665 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image059.png]] 666 666 660 +(% style="color:red" %)**NOTE***(%%): User can also upgrade firmware via Linux console 667 667 668 - Note*:Usercan alsoupgradefirmware viaLinuxconsole662 +SCP the firmware to the system(% style="color:green" %)**/var**(%%)** **directory and then run 669 669 670 - SCPthefirmwaretohe system**/var** directoryand then run664 +(% style="color:#4f81bd" %)**//root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 671 671 672 - **//root@OpenWrt:~~#/sbin/sysupgrade–n /var/Your_Image//**666 +(% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 673 673 674 674 675 - **NOTE**:itisimportant to transfer the imageinthe/var directory,otherwiseitmay exceed the available flash size.669 +=== 5.5.9 System ~-~-> Reboot/Reset === 676 676 671 +[[image:1652430197132-330.png||height="256" width="724"]] 677 677 678 -1. 679 -11. 680 -111. System ~-~-> Reboot/Reset 681 681 682 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image060.png]]674 +=== 5.5.10 System ~-~-> Package Maintain === 683 683 676 +[[image:1652430243826-126.png||height="289" width="723"]] 684 684 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 - 692 692 Place to show what package has installed and possible to upgrade packages. 693 693 694 694 681 +== 5.6 LogRead == 695 695 683 +=== 5.6.1 LogRead ~-~-> LoRa Log === 696 696 697 -1. 698 -11. LogRead 699 -111. LogRead ~-~-> LoRa Log 685 +[[image:1652430356784-567.png||height="325" width="730"]] 700 700 701 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image062.png]] 702 - 703 703 Show the frequency for LoRa Radio and traffics. 704 704 705 705 706 -1. 707 -11. 708 -111. LogRead ~-~-> System Log 690 +=== 5.6.2 LogRead ~-~-> System Log === 709 709 710 710 Show the system log 711 711 712 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image063.png]]694 +[[image:1652430369760-511.png||height="373" width="730"]] 713 713 714 714 697 += 6. More features = 715 715 716 -1. More features 717 -11. More instructions 699 +== 6.1 More instructions == 718 718 719 719 [[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]] 720 720 721 721 704 += 7. Linux System = 722 722 723 - 724 -1. Linux System 725 - 726 726 The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 727 727 728 -1. 729 -11. SSH Access for Linux console 708 +== 7.1 SSH Access for Linux console == 730 730 731 731 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. 732 732 733 - 734 734 IP address: IP address of DLOS8N 735 735 736 736 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 737 737 738 -User Name: **root** 716 +User Name: (% style="color:green" %)**root** 739 739 740 -Password: **dragino** (default) 718 +Password: (% style="color:green" %)**dragino** (% style="color:black" %)(default) 741 741 742 - 743 743 After logging in, you will be in the Linux console and can enter commands as shown below. 744 744 722 +[[image:1652431588565-830.png]] 745 745 746 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image064.png]]724 +The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 747 747 726 +[[image:1652431609193-637.png||height="214" width="732"]] 748 748 749 -The “logread -f” command can be used to debug how system runs. 750 750 751 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image065.png]]729 +== 7.2 Edit and Transfer files == 752 752 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. 753 753 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 - 762 762 In Windows, one of the easiest methods is using the [[WinSCP>>url:https://winscp.net/eng/index.php]] utility. 763 763 764 764 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. 765 765 766 - 767 767 Screenshot is as below: 768 768 769 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image066.png]]739 +[[image:1652431650755-450.png]] 770 770 771 771 772 -1. 773 -11. File System 742 +== 7.3 File System == 774 774 775 775 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. 776 776 777 - 778 778 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. 779 779 780 780 You can use an external USB flash memory device to extend the size of flash memory for storage. 781 781 782 782 751 +== 7.4 Package maintenance system == 783 783 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 //**. 784 784 785 -1. 786 -11. Package maintenance system 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]]) 787 787 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+ packagesavailable inour package server for users to install for theirapplications. Forexample, if youwant to add the**//iperf //** tool, you can install the related packages and configure DLOS8N to use **//iperf //**.757 +**In Linux Console run:** 789 789 759 +((( 760 +(% style="color:green" %)**root@dragino-169d30:~~# opkg update** (% style="color:black" %)~/~/ to get the latest packages list 761 +))) 790 790 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]]) 763 +((( 764 +(% style="color:green" %)**root@dragino-169d30:~~# opkg list** (% style="color:black" %) ~/~/shows the available packages 765 +))) 792 792 767 +((( 768 +(% style="color:green" %)**root@dragino-169d30:~~# opkg install iperf ** (% style="color:black" %)~/~/ install iperf 769 +))) 793 793 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 - 802 802 The system will automatically install the required packages as shown below. 803 803 804 804 805 -//root@dragino-169d30:/etc/opkg# opkg install iperf// 774 +((( 775 +//(% style="background-color:grey" %)root@dragino-169d30:/etc/opkg# opkg install iperf// 776 +))) 806 806 807 -//Installing iperf (2.0.12-1) to root…// 778 +((( 779 +//(% style="background-color:grey" %)Installing iperf (2.0.12-1) to root…// 780 +))) 808 808 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]] 782 +((( 783 +//(% style="background-color:grey" %)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 +))) 810 810 811 -//Installing uclibcxx (0.2.4-3) to root…// 786 +((( 787 +//(% style="background-color:grey" %)Installing uclibcxx (0.2.4-3) to root…// 788 +))) 812 812 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]] 790 +((( 791 +//(% style="background-color:grey" %)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 +))) 814 814 815 -//Configuring uclibcxx.// 794 +((( 795 +//(% style="background-color:grey" %)Configuring uclibcxx.// 796 +))) 816 816 817 -//Configuring iperf.// 798 +((( 799 +//(% style="background-color:grey" %)Configuring iperf.// 800 +))) 818 818 802 +== 8. Upgrade Linux Firmware == 819 819 820 -1. Upgrade Linux Firmware 804 +== 9. FAQ == 805 +== 9.1 How can I configure for a customized frequency band? == 821 821 822 -1. FAQ 823 -11. How can I configure for a customized frequency band? 824 - 825 825 See below link for how to customize frequency band: 826 826 827 827 [[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]] 828 828 811 +== 9.2 Can I connect DLOS8N to LORIOT? == 829 829 830 -1. 831 -11. Can I connect DLOS8N to LORIOT? 832 - 833 833 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]] 834 834 815 +== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 835 835 836 -1. 837 -11. Can I make my own firmware for the gateway, where can I find the source code? 838 - 839 839 Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications. 840 840 841 841 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]] 842 842 821 +== 9.4 Can I use 868Mhz version for 915Mhz bands? == 843 843 844 -1. 845 -11. Can I use 868Mhz version for 915Mhz bands? 846 - 847 847 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. 848 848 825 +== 10. Trouble Shooting == 826 +== 10.1 I get kernel error when install new package, how to fix? == 849 849 850 - 851 - 852 -1. Trouble Shooting 853 -11. I get kernel error when install new package, how to fix? 854 - 855 855 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: 856 856 857 - 858 858 root@dragino-16c538:~~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk 859 859 860 860 Installing kmod-dragino2-si3217x (3.10.49+0.2-1) to root… ... ... @@ -872,21 +872,14 @@ 872 872 873 873 Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 874 874 847 +== 10.2 How to recover the DLOS8N if the firmware crashes == 875 875 876 -1. 877 -11. How to recover the DLOS8N if the firmware crashes 878 - 879 879 Please follow this instruction to recover your gateway: 880 880 881 881 [[http:~~/~~/wiki.dragino.com/index.php?title=Recover_Gateway>>url:http://wiki.dragino.com/index.php?title=Recover_Gateway]] 882 882 853 +== 10.3 I configured DLOS8N for WiFi access and lost its IP. What to do now? == 883 883 884 - 885 - 886 - 887 -1. 888 -11. I configured DLOS8N for WiFi access and lost its IP. What to do now? 889 - 890 890 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image067.png]] 891 891 892 892 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. ... ... @@ -909,10 +909,8 @@ 909 909 910 910 Please note the latest firmware uses port 8000 for http and 2222 for ssh access. 911 911 877 +== 11. Order Info == 912 912 913 - 914 -1. Order Info 915 - 916 916 **//PART: DLOS8N-XXX-YYY//:** 917 917 918 918 **//XXX: Frequency Band//** ... ... @@ -929,11 +929,8 @@ 929 929 930 930 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 931 931 895 +== 12. Packing Info == 932 932 933 - 934 - 935 -1. Packing Info 936 - 937 937 **Package Includes**: 938 938 939 939 * DLOS8N LoRaWAN Gateway x 1 ... ... @@ -947,7 +947,7 @@ 947 947 * Package Size: 14.5 x 13.5 x 6 cm 948 948 * Weight: 300g 949 949 950 -1. 910 +== 13. Support == 951 951 952 952 * Try to see if your questions already answered in the [[wiki>>url:http://wiki.dragino.com/]]. 953 953 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8.
- 1652430197132-330.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.2 KB - Content
- 1652430243826-126.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.9 KB - Content
- 1652430356784-567.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.2 KB - Content
- 1652430369760-511.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.2 KB - Content
- 1652430800213-833.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- 1652431153457-839.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.4 KB - Content
- 1652431569353-626.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- 1652431588565-830.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- 1652431609193-637.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +221.0 KB - Content
- 1652431650755-450.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.4 KB - Content