Dragino LG308N User Manual

Dragino LG308N User Manual

Lorawan gateway
Table of Contents

Advertisement

Quick Links

LG308N - LoRaWAN Gateway User Manual
last modified by Xiaoling
on 2022/12/28 16:41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LG308N and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino LG308N

  • Page 1 LG308N - LoRaWAN Gateway User Manual last modified by Xiaoling on 2022/12/28 16:41...
  • Page 2: Table Of Contents

    4.  Example: Configure as a LoRaWAN gateway ......................14 4.1  Create a gateway in TTN V3 Server ........................15 4.2  Configure LG308N to connect to TTN v3 ....................... 20 4.3  Configure frequency ..............................21 4.4  Add a LoRaWAN End Device ..........................22 5. ...
  • Page 3 11.1  I get kernel error when install new package, how to fix? ..................48 11.2  How to recover the LG308N if the firmware crashes ..................48 11.3  I configured LG308N for WiFi access and lost its IP. What to do now? ............48 12.  Order Info ..................................49 13. ...
  • Page 4 1.6  LED Indicators • 1.7 Button Instruction • 2.  Access and Configure LG308N • 2.1  Find IP address of LG308N • 2.1.1  Connect via WiFi • 2.1.2  Connect via WAN port with DHCP IP from router • 2.1.3  Connect via LAN port with direct connection from PC •...
  • Page 5: Introduction

    11.1  I get kernel error when install new package, how to fix? • 11.2  How to recover the LG308N if the firmware crashes • 11.3  I configured LG308N for WiFi access and lost its IP. What to do now? • 12.  Order Info •...
  • Page 6: Specifications

    LoRa network. LG308N 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.
  • Page 7: Features

    • SX1302 + 2 x SX1250 WiFi Spec: • IEEE 802.11 b/g/n • Frequency Band: 2.4 ~ 2.462GHz • Tx power: • 11n tx power : mcs7/15: 11db     mcs0 : 17db • 11b tx power: 18db • 11g 54M tx power: 12db •...
  • Page 8: Lg308N Applications

    1.5  LG308N Applications...
  • Page 9: Led Indicators

    LED status:  When the user releases the button, the LED will TURN OFF. 2.  Access and Configure LG308N 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.
  • Page 10: Connect Via Wan Port With Dhcp Ip From Router

    User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LG308N has 10.130.1.1 the default IP   2.1.2  Connect via WAN port with DHCP IP from router Alternatively, connect the LG308N WAN port to your router and LG308N will obtain an IP address from your router.
  • Page 11: Connect Via Lan Port By Fall Back Ip

    If the LG308N already connect to the router via WiFi, use can use the WiFi IP to connect to LG308N. 2.1.5  Connect via LAN port by fall back ip The LAN port also has a fall back ip address for access if user doesn't connect to uplink router.
  • Page 12: Use Wan Port To Access Internet

    3.2  Use WAN port to access Internet 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 home page: via the upstream router.
  • Page 13: Use Built-In 4G Modem For Internet Access

      3.4  Use built-in 4G modem for internet access If the LG308N has 3G/4G Cellular modem, user can use it as main internet connection or back up. First, install the Micro SIM card as below direction Second, Power off/ ON LG308N to let it detect the SIM card.
  • Page 14: Check Internet Connection

    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.   3.5  Check Internet connection In the home page, we can check the Internet connection.
  • Page 15: Create A Gateway In Ttn V3 Server

    LG308N is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below.   This chapter describes how to use the LG308N to work with(TTN v3) LoRaWAN Server ...
  • Page 16   The example gateway id is: a840411e96744154 Step 2: Sign up a user account in TTN server https://account.thethingsnetwork.org/register Step 3: Choose the TTNv3 Cluster Picker...
  • Page 17   Note: Choose the cluster corresponds to a specific Gateway server address • Europe 1 corresponding Gateway server address: eu1.cloud.thethings.network corresponding Gateway server address: nam1.cloud.thethings.network • North America 1 • Australia 1 corresponding Gateway server address: au1.cloud.thethings.network TTN v2 shuts down in December 2021 •...
  • Page 18 Click the Gateway icon and then click Add gateway. Open the following page:    ...
  • Page 19 Notice: Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network.   After creating the gateway, you can see the gateway info, as below.
  • Page 20: Configure Lg308N To Connect To Ttn V3

    4.2  Configure LG308N to connect to TTN v3 You can now configure the LG308N to let it connect to TTN network V3. Make sure your LG308N has a working Internet Connection first. Choose the right server provider and click Save&Apply.
  • Page 21: Configure Frequency

    4.3  Configure frequency We also need to set the frequency plan in LG308N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. In logread page, user can check the frequency actually used.
  • Page 22: Add A Lorawan End Device

      4.4  Add a LoRaWAN End Device This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. We use LT-22222-L IO Controller as a reference device - the setup for other LoRaWAN devices will be similar. Step 1: Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device.
  • Page 23 • DEV EUI - Unique ID code for a particular device. • APP EUI - ID code for an Application defined in TTN v3. • APP Key - Unique key to secure communications with a particular device.   A set of these codes are stored in each device by the manufacturer as the default codes for that particular device. Each device is shipped with a sticker with the default Device EUI as shown below.
  • Page 24 Select OTAA activation mode   The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3. First, input the End device ID, AppEUI and DevEUI.
  • Page 25 Secondly, choose the corresponding frequency and LoRaWAN class capabilities. Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device.  ...
  • Page 26: Web Configure

    Step 2: Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel.  ...
  • Page 27: Lora --> Abp Decryption

    See this instruction for how to customize frequency band 5.2.2  LoRa --> ABP Decryption The LG308N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: • No internet connection.
  • Page 28: Lorawan Settings

    5.3  LoRaWAN Settings 5.3.1  LoRaWAN --> LoRaWAN This page is for the connection set up to a general LoRaWAN Network server such as: TTN, ChirpStack etc.
  • Page 29: Lorawan --> Amazon Aws-Iot

    Note: *: User can ignore the latitude and longitude settings here, LG308N will use the actually value from GPS module. **: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: See: Filter unwanted LoRaWAN packets 5.3.2  LoRaWAN --> Amazon AWS-IoT...
  • Page 30: Lorawan --> Loriot

      5.3.3  LoRaWAN --> LORIOT Settings to communicate to LORIOT LoRaWAN Network Server: https://www.loriot.io/ Instruction: Notes for LORIOT    5.4  MQTT Settings If end nodes works in ABP mode, user can configure LG308N to transfer the data to MQTT broker,...
  • Page 31: System

    Instruction: MQTT Forward Instruction 5.5  System 5.5.1  System --> System Overview Shows the system info:...
  • Page 32: System --> General ( Login Settings)

    5.5.2  System --> General ( login settings)
  • Page 33: System --> Network

    There are two login for DLOS8: root /dragino or admin /dragino. Both root and admin has the same right for WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB interface.
  • Page 34: System --> Wifi

    Settings:  When the LG308N has the AP enable, LAN settings specify the network info for LG308N's own network. Settings: Setting for LG308N WAN port WiFi Settings:  Setting for LG308N WiFi IP when use it as WiFi Client 5.5.4  System --> WiFi LG308N WiFi Settings.
  • Page 35: System --> Cellular

    5.5.5  System --> Cellular 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.
  • Page 36: System --> Network Status

    Note *: For LG308N which doesn't have the cellular module, this page will shows Cellular not detected. 5.5.6  System --> Network Status 5.5.7  System --> Remote Mgnt & Auto Provision Auto Provision is the feature for batch configure and remote management. It can be used in below two cases:...
  • Page 38 Please see this document for detail: http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308N/Firmware/Application_Note/ &file=Auto-update-feature.pdf R-SSH is for remote access device and management, introduction for how to use: Remote Access Gateway...
  • Page 39: System --> Firmware Upgrade

    We keep improving the DLOS8N Linux side firmware for new features and bug fixes. Below are the links for reference. • Latest firmware:  LoRa Gateway Firmware, http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware • Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog The file named as xxxxx–xxxxx-squashfs-sysupgrade.bin is the upgrade Image. There are different methods to...
  • Page 40 Web--> System--> Firmware Upgrade   Select the required image and click Flash Image. The image will be uploaded to the device, and then click Process Update to upgrade.   NOTE: You normally need to uncheck Preserve Settings checkbox when doing an upgrade to ensure that there is no conflict between the old settings and the new firmware.
  • Page 41: System --> Reboot/Reset

    NOTE*: User can also upgrade firmware via Linux console SCP the firmware to the system/var directory and then run root@OpenWrt:~# /sbin/sysupgrade –n /var/Your_Image NOTE : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 5.5.9 ...
  • Page 42: Logread

    Place to show what package has installed and possible to upgrade packages. 5.6  LogRead 5.6.1  LogRead --> LoRa Log Show the frequency for LoRa Radio and traffics.
  • Page 43: Logread --> System Log

    5.6.2  LogRead --> System Log Show the system log...
  • Page 44: More Features

    6.  More features 6.1  More instructions LoRaWAN Gateway Instruction(LoRaWAN Gateway)
  • Page 45: Linux System

    7.  Linux System The LG308N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. 7.1  SSH Access for Linux console User can access the Linux console via the SSH protocol. Make sure your PC and the LG308N are connected to...
  • Page 46: File System

    7.3  File System 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.
  • Page 47: Upgrade Linux Firmware

    10.3  Can I make my own firmware for the gateway, where can I find the source code? Yes, You can make your own firmware for the LG308N for branding purposes or to add customized applications. The source code and compile instructions can be found at: https://github.com/dragino/openwrt_lede-18.06...
  • Page 48: Trouble Shooting

    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.
  • Page 49: Order Info

    2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252   As below photo:   3. In PC, use 172.31.255.254 to access LG308N via Web or Console. 12.  Order Info PART: DLOS8N-XXX-YYY:   XXX: Frequency Band •  868 : valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
  • Page 50: Support

    • LG308N or LG08 LoRa Gateway x 1 • Stick Antenna for LoRa RF part. Frequency is one of 433 or 868 or 915Mhz depends the model ordered • Power Adapter: EU/AU/US type power adapter depends on country to be used •...

Table of Contents