Changes for page LG308N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2025/02/07 08:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -247,6 +247,7 @@ 247 247 * **WiFi AP Mode** 248 248 * **Cellular Mode** 249 249 250 + 250 250 == 3.2 Use WAN port to access Internet == 251 251 252 252 By default, the DLOS8N is set to use the WAN port to connect to an upstream network. When you connect the DLOS8N’s WAN port to an upstream router, DLOS8N 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**: ... ... @@ -363,6 +363,7 @@ 363 363 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 364 364 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 365 365 367 + 366 366 (% style="color:#4f81bd" %)**Step 4: Create a Gateway** 367 367 368 368 [[image:1652422440891-514.png||height="360" width="747"]] ... ... @@ -616,7 +616,7 @@ 616 616 [[image:1652428648903-878.png||height="266" width="731"]] 617 617 618 618 619 -== 5.4 621 +== 5.4 MQTT Settings == 620 620 621 621 If end nodes works in ABP mode, user can configure LG308N to transfer the data to MQTT broker, 622 622 ... ... @@ -627,9 +627,9 @@ 627 627 628 628 629 629 630 -== 5.5 632 +== 5.5 System == 631 631 632 -=== 5.5.1 634 +=== 5.5.1 System ~-~-> System Overview === 633 633 634 634 Shows the system info: 635 635 ... ... @@ -637,7 +637,7 @@ 637 637 638 638 639 639 640 -=== 5.5.2 642 +=== 5.5.2 System ~-~-> General ( login settings) === 641 641 642 642 [[image:1652428861256-300.png||height="354" width="724"]] 643 643 ... ... @@ -664,7 +664,7 @@ 664 664 665 665 ))) 666 666 667 -=== 5.5.3 669 +=== 5.5.3 System ~-~-> Network === 668 668 669 669 [[image:1652429149053-824.png||height="467" width="725"]] 670 670 ... ... @@ -682,7 +682,7 @@ 682 682 683 683 684 684 685 -=== 5.5.4 687 +=== 5.5.4 System ~-~-> WiFi === 686 686 687 687 LG308N WiFi Settings. 688 688 ... ... @@ -690,7 +690,7 @@ 690 690 691 691 692 692 693 -=== 5.5.5 695 +=== 5.5.5 System ~-~-> Cellular === 694 694 695 695 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. 696 696 ... ... @@ -700,13 +700,13 @@ 700 700 701 701 702 702 703 -=== 5.5.6 705 +=== 5.5.6 System ~-~-> Network Status === 704 704 705 705 [[image:1652429486609-208.png||height="415" width="728"]] 706 706 707 707 708 708 709 -=== 5.5.7 711 +=== 5.5.7 System ~-~-> Remote Mgnt & Auto Provision === 710 710 711 711 Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: 712 712 ... ... @@ -731,7 +731,7 @@ 731 731 732 732 733 733 734 -=== 5.5.8 736 +=== 5.5.8 System ~-~-> Firmware Upgrade === 735 735 736 736 We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference. 737 737 ... ... @@ -755,7 +755,6 @@ 755 755 756 756 [[image:1652429711145-862.png||height="270" width="737"]] 757 757 758 - 759 759 Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 760 760 761 761 (% 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. ... ... @@ -770,22 +770,18 @@ 770 770 771 771 (% style="color:#4f81bd" %)**//root@OpenWrt:~~# /sbin/sysupgrade –n /var/Your_Image//** 772 772 773 - 774 774 (% style="color:red" %)**NOTE**(%%) : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 775 775 776 776 777 +=== 5.5.9 System ~-~-> Reboot/Reset === 777 777 778 -=== 5.5.9 System ~-~-> Reboot/Reset === 779 - 780 780 [[image:1652430197132-330.png||height="256" width="724"]] 781 781 782 782 ((( 783 783 784 - 785 - 786 786 ))) 787 787 788 -=== 5.5.10 785 +=== 5.5.10 System ~-~-> Package Maintain === 789 789 790 790 [[image:1652430243826-126.png||height="289" width="723"]] 791 791 ... ... @@ -792,45 +792,52 @@ 792 792 Place to show what package has installed and possible to upgrade packages. 793 793 794 794 792 +== 5.6 LogRead == 795 795 796 -== 5.6 794 +=== 5.6.1 LogRead ~-~-> LoRa Log === 797 797 798 -=== 5.6.1 LogRead ~-~-> LoRa Log === 799 799 800 800 Show the frequency for LoRa Radio and traffics. 801 801 802 -[[image: 1657069890320-513.png]]799 +[[image:image-20220615204306-1.png||height="575" width="733"]] 803 803 804 804 802 +Show the IoT Server Connection State and FWD State 805 805 804 +[[image:image-20220616083933-1.png||height="556" width="729"]] 806 806 807 - ===5.6.2LogRead~-~->SystemLog===806 +DLOS8 can view GPS location in the Logread FWD State 808 808 809 -Show the system log 810 810 811 - [[image:1657069922599-794.png]]809 +Show the Error logs, RxTxJson lorawan packages, and PULL State 812 812 811 +[[image:image-20220615205416-6.png||height="442" width="884"]] 813 813 814 814 815 -= 6. Morefeatures=814 +=== 5.6.2 LogRead ~-~-> System Log === 816 816 817 - == 6.1 Moreinstructions==816 +Show the system log 818 818 819 -[[ LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway)818 +[[image:1652430369760-511.png||height="373" width="730"]] 820 820 820 += 6. More features = 821 821 822 +== 6.1 More instructions == 822 822 823 - = 7.LinuxSystem=824 +[[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 824 824 825 -The LG308N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 826 826 827 += 7. Linux System = 827 827 828 - ==7.1SSHAccessfor Linuxconsole==829 +The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 829 829 830 -User can access the Linux console via the SSH protocol. Make sure your PC and the LG308N 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. 831 831 832 - IPaddress:IPaddressof LG308N832 +== 7.1 SSH Access for Linux console == 833 833 834 +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. 835 + 836 +IP address: IP address of DLOS8N 837 + 834 834 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 835 835 836 836 User Name: (% style="color:green" %)**root** ... ... @@ -837,22 +837,19 @@ 837 837 838 838 Password: (% style="color:green" %)**dragino** (% style="color:black" %)(default) 839 839 840 - 841 841 After logging in, you will be in the Linux console and can enter commands as shown below. 842 842 843 843 [[image:1652431588565-830.png]] 844 844 845 - 846 846 The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 847 847 848 -[[image:165 7070133275-283.png]]850 +[[image:1652431609193-637.png||height="214" width="732"]] 849 849 850 850 853 +== 7.2 Edit and Transfer files == 851 851 852 -== 7.2 Edit and Transfer files == 853 - 854 854 ((( 855 -The L G308N 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.856 +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. 856 856 ))) 857 857 858 858 ((( ... ... @@ -860,7 +860,7 @@ 860 860 ))) 861 861 862 862 ((( 863 -After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the L G308N, or edit the files directly in the windows.864 +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. 864 864 ))) 865 865 866 866 ((( ... ... @@ -870,25 +870,25 @@ 870 870 [[image:1652431650755-450.png]] 871 871 872 872 873 -== 7.3 874 +== 7.3 File System == 874 874 875 875 ((( 877 +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. 878 +))) 879 + 876 876 ((( 877 -The L G308Nhasa 16MB flashanda 64MBRAM.The/var and /tmp directoryarein theRAM, contentsstoredin/tmpand /varwill be erased afterreboot the device. Other directoriesarein the flashand will keep after reboot.881 +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. 878 878 ))) 879 879 880 - 881 881 ((( 882 - The Linux system use around8MB ~~10MB flash size which meansthere is not much room for userto store data intheLG308N flash. User can use an external USB flash to extend the size for storage.885 +You can use an external USB flash memory device to extend the size of flash memory for storage. 883 883 ))) 884 -))) 885 885 886 886 889 +== 7.4 Package maintenance system == 887 887 888 - ==7.4Package maintenance system==891 +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 //**. 889 889 890 -LG308N 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 //**. 891 - 892 892 ((( 893 893 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]]) 894 894 ))) ... ... @@ -938,19 +938,15 @@ 938 938 939 939 ((( 940 940 (% style="background-color:#dcdcdc" %)//Configuring iperf.// 941 - 942 - 943 - 944 944 ))) 945 945 946 -= 8. 944 += 8. Upgrade Linux Firmware = 947 947 948 948 947 += 9. FAQ = 949 949 950 -= 9. FAQ=949 +== 9.1 How can I configure for a customized frequency band? == 951 951 952 -== 9.1 How can I configure for a customized frequency band? == 953 - 954 954 ((( 955 955 See below link for how to customize frequency band: **[[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 956 956 ))) ... ... @@ -959,15 +959,15 @@ 959 959 960 960 ))) 961 961 962 -== 9.2 959 +== 9.2 Can I connect DLOS8N to LORIOT? == 963 963 964 964 Yes, the set up instruction is here: **[[Notes for LORIOT>>doc:Main.Notes for LORIOT.WebHome]]** 965 965 966 966 967 -== 9.3 964 +== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 968 968 969 969 ((( 970 -Yes, You can make your own firmware for the L G308N for branding purposes or to add customized applications.967 +Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications. 971 971 ))) 972 972 973 973 ((( ... ... @@ -975,37 +975,11 @@ 975 975 ))) 976 976 977 977 978 -== 9.4 975 +== 9.4 Can I use 868Mhz version for 915Mhz bands? == 979 979 980 980 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. 981 981 982 982 983 -== 9.5 Can I control the LEDs? == 984 - 985 -Except the PWR LED is controlled by +3v3 power directly. All other LEDs can be controlled by developer. 986 - 987 - 988 -(% style="color:blue" %)**Control Globe LED:** 989 - 990 -ON: echo 1 > /sys/class/leds/dragino2\:red\:wlan/brightness 991 - 992 -OFF: echo 0 > /sys/class/leds/dragino2\:red\:wlan/brightness 993 - 994 - 995 -(% style="color:blue" %)**Control HEART LED:** 996 - 997 -First export the gpio27 and set to out 998 - 999 -echo 27 > /sys/class/gpio/export 1000 - 1001 -echo out > /sys/class/gpio/gpio27/direction 1002 - 1003 -ON: echo 0 > /sys/class/gpio/gpio27/value 1004 - 1005 -OFF: echo 1 > /sys/class/gpio/gpio27/value 1006 - 1007 - 1008 - 1009 1009 = 10. Trouble Shooting = 1010 1010 1011 1011 == 10.1 I get kernel error when install new package, how to fix? == ... ... @@ -1031,9 +1031,8 @@ 1031 1031 (% style="background-color:yellow" %)Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 1032 1032 1033 1033 1005 +== 10.2 How to recover the DLOS8N if the firmware crashes == 1034 1034 1035 -== 10.2 How to recover the LG308N if the firmware crashes == 1036 - 1037 1037 ((( 1038 1038 Please follow this instruction to recover your gateway: **[[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]]** 1039 1039 ))) ... ... @@ -1042,12 +1042,12 @@ 1042 1042 1043 1043 ))) 1044 1044 1045 -== 10.3 I configured L G308N for WiFi access and lost its IP. What to do now? ==1015 +== 10.3 I configured DLOS8N for WiFi access and lost its IP. What to do now? == 1046 1046 1047 -[[image:165 7071488240-907.png]]1017 +[[image:1652435238615-272.png||height="247" width="727"]] 1048 1048 1049 1049 ((( 1050 -The L G308N 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 LG308N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.1020 +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. 1051 1051 ))) 1052 1052 1053 1053 (% style="color:red" %)Note: fallback IP can be disabled in the WAN and DHCP page. ... ... @@ -1055,9 +1055,11 @@ 1055 1055 1056 1056 Steps to connect via fall back IP: 1057 1057 1058 -~1. Connect PC 's Ethernet port to LG01'sLAN port1028 +~1. Connect PC’s Ethernet port to DLOS8N’s WAN port 1059 1059 1060 -2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252 1030 +2. Configure PC’s Ethernet port has 1031 + IP: 172.31.255.253 and 1032 + Netmask: 255.255.255.252 1061 1061 1062 1062 As below photo: 1063 1063
- 1657070133275-283.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -221.0 KB - Content
- 1657071488240-907.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -60.0 KB - Content