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, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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,71 +641,90 @@ 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 ... ... @@ -714,39 +714,56 @@ 714 714 715 715 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 716 716 717 -User Name: ** (% style="color:green" %)root**738 +User Name: **root** 718 718 719 -Password: ** (% style="color:green" %)dragino** (% style="color:black" %)(default)740 +Password: **dragino** (default) 720 720 721 721 722 722 After logging in, you will be in the Linux console and can enter commands as shown below. 723 723 745 + 746 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image064.png]] 747 + 748 + 724 724 The “logread -f” command can be used to debug how system runs. 725 725 726 726 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image065.png]] 727 727 728 -== 7.2 Edit and Transfer files == 729 729 730 -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. 731 731 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 + 732 732 In Windows, one of the easiest methods is using the [[WinSCP>>url:https://winscp.net/eng/index.php]] utility. 733 733 734 734 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. 735 735 766 + 736 736 Screenshot is as below: 737 737 738 738 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image066.png]] 739 739 740 -== File System == 741 741 772 +1. 773 +11. File System 774 + 742 742 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. 743 743 777 + 744 744 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. 745 745 746 746 You can use an external USB flash memory device to extend the size of flash memory for storage. 747 747 748 -== Package maintenance system == 749 749 783 + 784 + 785 +1. 786 +11. Package maintenance system 787 + 750 750 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 //**. 751 751 752 752 ... ... @@ -789,13 +789,13 @@ 789 789 [[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]] 790 790 791 791 792 -1. 830 +1. 793 793 11. Can I connect DLOS8N to LORIOT? 794 794 795 795 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]] 796 796 797 797 798 -1. 836 +1. 799 799 11. Can I make my own firmware for the gateway, where can I find the source code? 800 800 801 801 Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications. ... ... @@ -803,7 +803,7 @@ 803 803 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]] 804 804 805 805 806 -1. 844 +1. 807 807 11. Can I use 868Mhz version for 915Mhz bands? 808 808 809 809 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. ... ... @@ -835,7 +835,7 @@ 835 835 Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 836 836 837 837 838 -1. 876 +1. 839 839 11. How to recover the DLOS8N if the firmware crashes 840 840 841 841 Please follow this instruction to recover your gateway: ... ... @@ -846,7 +846,7 @@ 846 846 847 847 848 848 849 -1. 887 +1. 850 850 11. I configured DLOS8N for WiFi access and lost its IP. What to do now? 851 851 852 852 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image067.png]]
- 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