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, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -104,9 +104,11 @@ 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 + 110 +== 1.3 Features == 111 + 110 110 * Open Source Linux system 111 111 * Managed by Web GUI, SSH via LAN or WiFi 112 112 * Emulates 49x LoRa demodulators ... ... @@ -113,6 +113,9 @@ 113 113 * LoRaWAN Gateway 114 114 * 10 programmable parallel demodulation paths 115 115 118 + 119 + 120 + 116 116 == 1.4 Hardware System Structure == 117 117 118 118 [[image:1657011152828-178.png]] ... ... @@ -128,17 +128,19 @@ 128 128 129 129 LG308N has totally 6 LEDs, They are: 130 130 131 -* **Power LED **[[image:image-20220705165446-1.png||height=" 21" width="22"]] : This (% style="color:red" %)**LED**(%%) will be **solid on** if the device is properly powered.132 -* **HEART LED **[[image:image-20220705165446-2.png||height="1 9" width="18"]] : No function yet.133 -* **SYS LED** [[image:image-20220705165446-3.png||height=" 20" width="19"]] : This** LED** will shows different colors on different state:136 +* **Power LED **[[image:image-20220705165446-1.png||height="15" width="16"]] : This (% style="color:red" %)**LED**(%%) will be **solid on** if the device is properly powered. 137 +* **HEART LED **[[image:image-20220705165446-2.png||height="16" width="15"]] : No function yet. 138 +* **SYS LED** [[image:image-20220705165446-3.png||height="16" width="15"]] : This** LED** will shows different colors on different state: 134 134 ** (% style="color:red" %)**SOLID**(%%): Device is alive with LoRaWAN server connection. 135 135 ** (% style="color:red" %)**BLINKING**(%%)**:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will (% style="color:red" %)**BLINKING**(%%)** **for several seconds. 136 136 ** (% style="color:red" %)**OFF**(%%): Device doesn't have Internet connection. 137 137 138 -* **ETH LED**[[image:image-20220705165446- 4.png||height="19" width="22"]] [[image:image-20220705165446-5.png||height="18" width="20"]]139 -* **WiFi LED** [[image:image-20220705165446-6.png||height="1 9" width="19"]]** **: This LED shows the WiFi interface connection status.143 +* **ETH LED** [[image:image-20220705165446-5.png||height="15" width="17"]] [[image:image-20220705165446-5.png||height="15" width="17"]]: These two LEDs show the ETH interfaces connection status. 144 +* **WiFi LED** [[image:image-20220705165446-6.png||height="15" width="15"]]** **: This LED shows the WiFi interface connection status. 140 140 146 +((( 141 141 (% style="color:red" %)**Note: Above LED indication are for firmware version > LG02_LG08~-~-build-v5.3.1584002217-20200312-1639** 148 +))) 142 142 143 143 144 144 ((( ... ... @@ -149,7 +149,7 @@ 149 149 150 150 = 2. Access and Configure LG308N = 151 151 152 -The LG308N is configured as a WiFi Access Point by default. User can access and configure the DLOS8N after connecting to its WiFi network, or via its Ethernet port.159 +The LG308N is configured as a WiFi Access Point by default. User can access and configure the LG308N after connecting to its WiFi network, or via its Ethernet port. 153 153 154 154 155 155 == 2.1 Find IP address of LG308N == ... ... @@ -248,9 +248,11 @@ 248 248 * **Cellular Mode** 249 249 250 250 258 + 259 + 251 251 == 3.2 Use WAN port to access Internet == 252 252 253 -By default, the DLOS8N is set to use the WAN port to connect to an upstream network. When you connect theDLOS8N’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**:262 +By default, the LG308N is set to use the WAN port to connect to an upstream network. When you connect the LG308N's WAN port to an upstream router, LG308N 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**: 254 254 255 255 [[image:1657012559318-672.png]] 256 256 ... ... @@ -328,11 +328,15 @@ 328 328 == 4.1 Create a gateway in TTN V3 Server == 329 329 330 330 340 +((( 331 331 (% style="color:#4f81bd" %)**Step 1: Get a Unique gateway ID.** 342 +))) 332 332 333 333 ((( 345 +((( 334 334 Every LG308N has a unique gateway id. The ID can be found at LoRaWAN page: 335 335 ))) 348 +))) 336 336 337 337 ((( 338 338 [[image:1657013108723-531.png]] ... ... @@ -364,7 +364,6 @@ 364 364 * Australia 1 (% style="color:red" %)**corresponding Gateway server address: **(% style="color:black" %)au1.cloud.thethings.network 365 365 * Legacy V2 Console : (% style="color:red" %)**TTN v2 shuts down in December 2021** 366 366 367 - 368 368 (% style="color:#4f81bd" %)**Step 4: Create a Gateway** 369 369 370 370 [[image:1652422440891-514.png||height="360" width="747"]] ... ... @@ -388,7 +388,7 @@ 388 388 [[image:1652422509034-682.png||height="299" width="739"]] 389 389 390 390 391 -== 4.2 Configure DLOS8N to connect to TTN v3 ==403 +== 4.2 Configure LG308N to connect to TTN v3 == 392 392 393 393 ((( 394 394 You can now configure the LG308N to let it connect to TTN network V3. ... ... @@ -585,7 +585,7 @@ 585 585 586 586 (% style="color:red" %)**Note:** 587 587 588 -~*: User can ignore the latitude and longitude settings here, DLOS8N will use the actually value from GPS module.600 +~*: User can ignore the latitude and longitude settings here, LG308N will use the actually value from GPS module. 589 589 590 590 ~**: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: 591 591 ... ... @@ -620,9 +620,13 @@ 620 620 621 621 == 5.4 MQTT Settings == 622 622 635 +((( 623 623 If end nodes works in ABP mode, user can configure LG308N to transfer the data to MQTT broker, 637 +))) 624 624 639 +((( 625 625 Instruction: **[[MQTT Forward Instruction>>doc:Main.MQTT Forward Instruction.WebHome]]** 641 +))) 626 626 627 627 628 628 [[image:1652428705046-212.png||height="417" width="733"]] ... ... @@ -722,11 +722,7 @@ 722 722 723 723 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308N/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]] 724 724 725 -((( 726 - 727 -))) 728 728 729 - 730 730 R-SSH is for remote access device and management, introduction for how to use: **[[Remote Access Gateway>>doc:Main.Remote Access Gateway.WebHome]]** 731 731 732 732 [[image:1652429624400-864.png||height="432" width="716"]] ... ... @@ -758,11 +758,17 @@ 758 758 [[image:1652429711145-862.png||height="270" width="737"]] 759 759 760 760 773 +((( 761 761 Select the required image and click **Flash Image.** The image will be uploaded to the device, and then click **Process Update** to upgrade. 775 +))) 762 762 777 +((( 763 763 (% 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. 779 +))) 764 764 781 +((( 765 765 The system will automatically boot into the new firmware after upgrade. 783 +))) 766 766 767 767 [[image:1652429962190-224.png||height="358" width="729"]] 768 768 ... ... @@ -821,17 +821,18 @@ 821 821 [[LoRaWAN Gateway Instruction>>doc:Main.WebHome]](LoRaWAN Gateway) 822 822 823 823 824 -= 7. Linux System = 825 825 826 - TheDLOS8Nis based on the OpenWrtLinuxsystem.It is open source, and users are free to configure and modify the Linux settings.843 += 7. Linux System = 827 827 845 +The LG308N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 828 828 829 -== 7.1 SSH Access for Linux console == 830 830 831 - Usercanaccess the Linux console via theSSHprotocol. MakeureyourPC and the DLOS8N are connected to the same network, thenusea SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows) toaccessit.848 +== 7.1 SSH Access for Linux console == 832 832 833 - IP address:IPaddress ofDLOS8N850 +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. 834 834 852 +IP address: IP address of LG308N 853 + 835 835 Port: 22 (via WiFi AP mode) or 2222 (via WAN Interface) 836 836 837 837 User Name: (% style="color:green" %)**root** ... ... @@ -838,19 +838,22 @@ 838 838 839 839 Password: (% style="color:green" %)**dragino** (% style="color:black" %)(default) 840 840 860 + 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 865 + 845 845 The “(% class="mark" %)**logread -f**(%%)” command can be used to debug how system runs. 846 846 847 -[[image:165 2431609193-637.png||height="214" width="732"]]868 +[[image:1657070133275-283.png]] 848 848 849 849 850 -== 7.2 Edit and Transfer files == 851 851 872 +== 7.2 Edit and Transfer files == 873 + 852 852 ((( 853 -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.875 +The LG308N 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. 854 854 ))) 855 855 856 856 ((( ... ... @@ -858,7 +858,7 @@ 858 858 ))) 859 859 860 860 ((( 861 -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.883 +After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the LG308N, or edit the files directly in the windows. 862 862 ))) 863 863 864 864 ((( ... ... @@ -868,25 +868,25 @@ 868 868 [[image:1652431650755-450.png]] 869 869 870 870 871 -== 7.3 File System == 893 +== 7.3 File System == 872 872 873 873 ((( 874 -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. 875 -))) 876 - 877 877 ((( 878 -The L inuxsystemusesaround8MB~~10MBflashsizewhichmeans there isnotmuchroomforuser tostoredatain theDLOS8Nflash.897 +The LG308N has a 16MB flash and a 64MB RAM. The /var and /tmp directory are in the RAM, contents stored in /tmp and /var will be erased after reboot the device. Other directories are in the flash and will keep after reboot. 879 879 ))) 880 880 900 + 881 881 ((( 882 - You can use an external USB flashmemory deviceto extend the sizeofflash memoryforstorage.902 +The Linux system use around 8MB ~~10MB flash size which means there is not much room for user to store data in the LG308N flash. User can use an external USB flash to extend the size for storage. 883 883 ))) 904 +))) 884 884 885 885 886 -== 7.4 Package maintenance system == 887 887 888 - DLOS8Nusesthe 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 //**.908 +== 7.4 Package maintenance system == 889 889 910 +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 //**. 911 + 890 890 ((( 891 891 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]]) 892 892 ))) ... ... @@ -936,15 +936,19 @@ 936 936 937 937 ((( 938 938 (% style="background-color:#dcdcdc" %)//Configuring iperf.// 961 + 962 + 963 + 939 939 ))) 940 940 941 -= 8. Upgrade Linux Firmware = 966 += 8. Upgrade Linux Firmware = 942 942 943 943 944 -= 9. FAQ = 945 945 946 -= =9.1Howcan I configure for a customized frequency band?==970 += 9. FAQ = 947 947 972 +== 9.1 How can I configure for a customized frequency band? == 973 + 948 948 ((( 949 949 See below link for how to customize frequency band: **[[How to customized LoRaWAN frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 950 950 ))) ... ... @@ -953,15 +953,15 @@ 953 953 954 954 ))) 955 955 956 -== 9.2 Can I connect DLOS8N to LORIOT? == 982 +== 9.2 Can I connect DLOS8N to LORIOT? == 957 957 958 958 Yes, the set up instruction is here: **[[Notes for LORIOT>>doc:Main.Notes for LORIOT.WebHome]]** 959 959 960 960 961 -== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 987 +== 9.3 Can I make my own firmware for the gateway, where can I find the source code? == 962 962 963 963 ((( 964 -Yes, You can make your own firmware for the DLOS8N for branding purposes or to add customized applications.990 +Yes, You can make your own firmware for the LG308N for branding purposes or to add customized applications. 965 965 ))) 966 966 967 967 ((( ... ... @@ -969,11 +969,37 @@ 969 969 ))) 970 970 971 971 972 -== 9.4 Can I use 868Mhz version for 915Mhz bands? == 998 +== 9.4 Can I use 868Mhz version for 915Mhz bands? == 973 973 974 974 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. 975 975 976 976 1003 +== 9.5 Can I control the LEDs? == 1004 + 1005 +Except the PWR LED is controlled by +3v3 power directly. All other LEDs can be controlled by developer. 1006 + 1007 + 1008 +(% style="color:blue" %)**Control Globe LED:** 1009 + 1010 +ON: echo 1 > /sys/class/leds/dragino2\:red\:wlan/brightness 1011 + 1012 +OFF: echo 0 > /sys/class/leds/dragino2\:red\:wlan/brightness 1013 + 1014 + 1015 +(% style="color:blue" %)**Control HEART LED:** 1016 + 1017 +First export the gpio27 and set to out 1018 + 1019 +echo 27 > /sys/class/gpio/export 1020 + 1021 +echo out > /sys/class/gpio/gpio27/direction 1022 + 1023 +ON: echo 0 > /sys/class/gpio/gpio27/value 1024 + 1025 +OFF: echo 1 > /sys/class/gpio/gpio27/value 1026 + 1027 + 1028 + 977 977 = 10. Trouble Shooting = 978 978 979 979 == 10.1 I get kernel error when install new package, how to fix? == ... ... @@ -999,8 +999,9 @@ 999 999 (% style="background-color:yellow" %)Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 1000 1000 1001 1001 1002 -== 10.2 How to recover the DLOS8N if the firmware crashes == 1003 1003 1055 +== 10.2 How to recover the LG308N if the firmware crashes == 1056 + 1004 1004 ((( 1005 1005 Please follow this instruction to recover your gateway: **[[Recover Gateway>>doc:Main.How to Recover Gateway if can't access it.WebHome]]** 1006 1006 ))) ... ... @@ -1009,12 +1009,12 @@ 1009 1009 1010 1010 ))) 1011 1011 1012 -== 10.3 I configured DLOS8N for WiFi access and lost its IP. What to do now? ==1065 +== 10.3 I configured LG308N for WiFi access and lost its IP. What to do now? == 1013 1013 1014 -[[image:165 2435238615-272.png||height="247" width="727"]]1067 +[[image:1657071488240-907.png]] 1015 1015 1016 1016 ((( 1017 -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 accessDLOS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.1070 +The LG308N 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. 1018 1018 ))) 1019 1019 1020 1020 (% style="color:red" %)Note: fallback IP can be disabled in the WAN and DHCP page. ... ... @@ -1022,37 +1022,37 @@ 1022 1022 1023 1023 Steps to connect via fall back IP: 1024 1024 1025 -~1. Connect PC ’s Ethernet port toDLOS8N’sWAN port1078 +~1. Connect PC's Ethernet port to LG01's LAN port 1026 1026 1027 -2. Configure PC’s Ethernet port has 1028 - IP: 172.31.255.253 and 1029 - Netmask: 255.255.255.252 1080 +2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252 1030 1030 1031 1031 As below photo: 1032 1032 1033 1033 [[image:1652435256286-879.png]] 1034 1034 1035 -3. In thePC, useIP address172.31.255.254 to accessthe DLOS8N via Web or Console.1086 +3. In PC, use 172.31.255.254 to access LG308N via Web or Console. 1036 1036 1037 -Please note the latest firmware uses port 8000 for http and 2222 for ssh access. 1038 1038 1039 1039 1040 1040 = 11. Order Info = 1041 1041 1042 -(% style="color:#4f81bd" %) **//PART: DLOS8N-XXX-YYY//: ** 1043 1043 1044 -(% style="color:#4f81bd" %) : Frequency Band//**1093 +(% style="color:#4f81bd" %)**//PART: DLOS8N-XXX-YYY//: ** 1045 1045 1046 -* (% style="color:#4f81bd" %)** 868**(% style="color:black" %) : valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 1047 -* (% style="color:#4f81bd" %)** 915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 1095 +(% style="color:#4f81bd" %)**//XXX: Frequency Band//** 1048 1048 1049 -(% style="color:#4f81bd" %) **//YYY: 4G Cellular Option//** 1097 +* (% style="color:red" %)** 868**(% style="color:black" %) : valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 1098 +* (% style="color:red" %)** 915**(% style="color:black" %): valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 1050 1050 1051 -* (% style="color:#4f81bd" %)** E**(% style="color:black" %): EMEA, Korea, Thailand, India. 1052 -* (% style="color:#4f81bd" %)** A**(% style="color:black" %): North America/ Rogers/AT&T/T-Mobile. 1053 -* (% style="color:#4f81bd" %)** AU**(% style="color:black" %): Latin America, New Zeland, Taiwan 1054 -* (% style="color:#4f81bd" %)** J**(% style="color:black" %): Japan, DOCOMO/SoftBank/ KDDI 1100 +(% style="color:#4f81bd" %) 1055 1055 1102 +(% style="color:#4f81bd" %)**//YYY: 4G Cellular Option//** 1103 + 1104 +* (% style="color:red" %)** EC25-E**(% style="color:black" %): EMEA, Korea, Thailand, India. 1105 +* (% style="color:red" %)** EC25-A**(% style="color:black" %): North America/ Rogers/AT&T/T-Mobile. 1106 +* (% style="color:red" %)** EC25-AU**(% style="color:black" %): Latin America, New Zeland, Taiwan 1107 +* (% style="color:red" %)** EC25-J**(% style="color:black" %): Japan, DOCOMO/SoftBank/ KDDI 1108 + 1056 1056 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]]. 1057 1057 1058 1058 ... ... @@ -1059,14 +1059,19 @@ 1059 1059 = 12. Packing Info = 1060 1060 1061 1061 ((( 1115 + 1116 + 1062 1062 **Package Includes**: 1063 -))) 1064 1064 1065 -* DLOS8N LoRaWAN Gateway x 1 1066 -* Stick Antenna for LoRa RF part. Frequency is one of 470 or 868 or 915Mhz depends the model ordered 1119 +* LG308N or LG08 LoRa Gateway x 1 1120 +* Stick Antenna for LoRa RF part. Frequency is one of 433 or 868 or 915Mhz depends the model ordered 1121 +* Power Adapter: EU/AU/US type power adapter depends on country to be used 1067 1067 * Packaging with environmental protection paper box 1123 +))) 1068 1068 1069 1069 ((( 1126 + 1127 + 1070 1070 **Dimension and weight**: 1071 1071 ))) 1072 1072 ... ... @@ -1075,6 +1075,8 @@ 1075 1075 * Package Size: 49 x 19.5 x x 19Package Size: 4912 cm 1076 1076 * Weight: 2.5kg 1077 1077 1136 + 1137 + 1078 1078 = 13. Support = 1079 1079 1080 1080 * Try to see if your questions already answered in the [[wiki>>doc:Main.WebHome]].
- 1657070133275-283.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +221.0 KB - Content
- 1657071488240-907.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.0 KB - Content