Dragino LG308 User Manual

Dragino LG308 User Manual

Lorawan gateway
Hide thumbs Also See for LG308:
Table of Contents

Advertisement

Quick Links

LG308 LoRaWAN Gateway User Manual
Document Version: 1.3.0
Firmware Version: LG02_LG08--build-v5.4.1590459021-20200526-1012
Version
Description
1.0
Release
1.1
Add notice for recover mode. Add hardware source code
Add FAQ for customized frequency.
1.1.1
Add how to control LED. Add
1.1.2
Remove SX1276 description and GPS.
1.1.3
Change the HTTP Port and SSH port for firmware version > v5.3
1.2.0
Add more features such packet filter, remote access
1.2.1
Add contents for access to the device
1.3.0
Update manual to the new version of UI
LG308 LoRaWAN Gateway User Manual
www.dragino.com
Date
2018-Nov-17
2019-Jan-10
2019-Nov-26
2020-Mar-02
2020-Mar-16
1 / 47

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Dragino LG308

  • Page 1 LG308 LoRaWAN Gateway User Manual Document Version: 1.3.0 Firmware Version: LG02_LG08--build-v5.4.1590459021-20200526-1012 Version Description Date Release 2018-Nov-17 Add notice for recover mode. Add hardware source code 2019-Jan-10 Add FAQ for customized frequency. 1.1.1 Add how to control LED. Add 1.1.2 Remove SX1276 description and GPS.
  • Page 2: Table Of Contents

    Check Internet connection ......................15 Example : Configure as a LoRaWAN gateway ................16 Create a gateway in TTN Server ....................16 Configure LG308 to connect to TTN ..................18 Configure frequency ......................... 20 Add a LoRaWAN End Device ..................... 21 Web Configure Pages ......................
  • Page 3 Can I use 868Mhz version for 915Mhz bands? ................. 42 Can I control the LEDs? ......................42 Trouble Shooting ........................43 10.1 I get kernel error when install new package, how to fix? ............ 43 LG308 LoRaWAN Gateway User Manual 3 / 47...
  • Page 4 10.2 How to recover the LG308 if firmware crash ............... 44 10.3 I configured LG308 for WiFi access and lost its IP. What to do now?........44 Order Info ..........................45 Packing Info ..........................45 Support ........................... 45 Reference ..........................47...
  • Page 5: Introduction

    LoRa network. LG308 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 6: Specifications

    10 programmable parallel demodulation paths  Dynamic data-rate (DDR) adaptation  True antenna diversity or simultaneous dual-band operation Cellular 4G LTE (optional):  Quectel EC25 LTE module  Micro SIM Slot  External 4G Sticker Antenna. LG308 LoRaWAN Gateway User Manual 6 / 47...
  • Page 7: Features

    Open Source Linux system  Managed by Web GUI, SSH via LAN or WiFi  Emulates 49x LoRa demodulators  LoRaWAN Gateway  10 programmable parallel demodulation paths  1.4 Hardware System Structure LG308 LoRaWAN Gateway User Manual 7 / 47...
  • Page 8: Lg308 Applications

    1.5 LG308 Applications 1.6 LED Indicators LG308 has totally 6 LEDs, They are:  Power LED : This will be solid on if the device is properly powered.  HEART LED : No function yet.  SYS LED :This LED will shows different colors on different state: ...
  • Page 9: Access And Configure Lg308

    2. Access and configure LG308 The LG308 is configured as a WiFi Access Point by default. User can access and configure the LG308 after connecting to its WiFi network, or via its Ethernet port. 2.1 Find IP address of DLOS8 2.1.1 Connect via WiFi...
  • Page 10: Connect Via Lan Port With Direct Connection From Pc

    IP in LAN port is 10.130.1.1 2.1.4 Connect via WiFi with DHCP IP from router If the LG308 already connect to the router via WiFi, use can use the WiFi IP to connect to LG308. 2.1.5 Connect via LAN port by fall back ip...
  • Page 11: Access Configure Web Ui

    2.2 Access Configure Web UI Web Interface Open a browser on the PC and type the LG308 ip address (depends on your connect method) http://10.130.1.1/ (Access via WiFi AP network) IP_ADDRESS http://IP_ADDRESS or http:// :8000 (If the IP is assigned by uplink router) You will see the login interface of LG308 as shown below.
  • Page 12: Typical Network Setup

    3.2 Use WAN port to access Internet By default, LG308 is set to use the WAN port to connect to an upstream network. When you connect the LG308’s WAN port to an upstream router, LG308 will get an IP address from the router and have Internet access via the upstream router.
  • Page 13: Access Internet As A Wifi Client

    3.3 Access Internet as a WiFi Client. In the WiFi Client Mode, LG308 acts as a WiFi client and gets DHCP from an upstream router via WiFi. System  WiFi  WiFi WAN Client Settings The settings for WiFi Client is under page In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save &...
  • Page 14: Use Built-In 4G Modem For Internet Access

    3.4 Use built-in 4G modem for internet access If the LG308 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 System  Cellular The set up page is 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 15: Check Internet Connection

    GREEN Tick : This interface has Internet connection.  Yellow Tick : This interface has IP address but don’t use it for internet connection.  RED Cross : This interface doesn’t connected. LG308 LoRaWAN Gateway User Manual 15 / 47...
  • Page 16: Example : Configure As A Lorawan Gateway

    4. Example : Configure as a LoRaWAN gateway LG308 is fully compatible with LoRaWAN protocol. It use the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server, the structure is as below. This chapter describes how to use LG308 to work with TTN LoRaWAN Server.
  • Page 17 Step 2: Sign up a user account in TTN server Step 3: Create a Gateway LG308 LoRaWAN Gateway User Manual 17 / 47...
  • Page 18: Configure Lg308 To Connect To Ttn

    After create the gateway, we can see the gateway info, as below 4.2 Configure LG308 to connect to TTN We should configure the LG308 now to let it connect to TTN network. Make sure your LG308 has Internet Connection first.
  • Page 19 In the home page, we can see the LoRaWAN connection is ready now. Check Result After above settings, the LG308 should be able to connect to TTN, below is the result seen from TTN: LG308 LoRaWAN Gateway User Manual...
  • Page 20: Configure Frequency

    4.3 Configure frequency We also need to set the frequency plan in LG308 to match the LoRaWAN 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 21: Add A Lorawan End Device

    After doing above LG308 will be able to act as LoRaWAN Gateway. Below section shows how to add a LoRaWAN End device in this LoRaWAN network and see the data from TTN. We use LT-22222-L as a reference below, for other LoRaWAN devices will be more or less the same.
  • Page 22 Step 2: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel and analyze the data LG308 LoRaWAN Gateway User Manual 22 / 47...
  • Page 23: Web Configure

    5. Web Configure Pages 5.1 Home Shows the system running status: LG308 LoRaWAN Gateway User Manual 23 / 47...
  • Page 24: Lora Settings

    This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well. Different LG308 hardware version can support different frequency range:  868: valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
  • Page 25: Lora --> Abp Decryption

    5.2.2 LoRa --> ABP Decryption The LG308 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.  User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc.
  • Page 26: Lorawan Settings

    This page is for the connection set up to a general LoRaWAN Network server such as: TTN, ChirpStack Note **: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets 5.3.2 LoRaWAN --> LORIOT Settings to communicate to LORIOT LoRaWAN Network Server: https://www.loriot.io/ Instruction: http://wiki.dragino.com/index.php?title=Notes_for_LORIOT LG308 LoRaWAN Gateway User Manual 26 / 47...
  • Page 27: Mqtt Settings

    5.4 MQTT Settings If end nodes works in ABP mode, user can configure LG308 to transfer the data to MQTT broker, Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction LG308 LoRaWAN Gateway User Manual 27 / 47...
  • Page 28: System

    5.5.2 System --> General ( login settings) System Password: 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.
  • Page 29 Set device timezone. Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface. LG308 LoRaWAN Gateway User Manual 29 / 47...
  • Page 30: System --> Network

    5.5.3 System --> Network LAN Settings: When the LG308 has the AP enable, LAN settings specify the network info for LG308’s own network. WAN Settings: Setting for LG308 WAN port WiFi Settings: Setting for LG308 WiFi IP when use it as WiFi Client...
  • Page 31: System --> Wifi

    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. Note *: For LG308 which doesn’t have the cellular module, this page will shows Cellular not detected.
  • Page 32: System --> Network Status

    5.5.6 System --> Network Status 5.5.7 System --> Remote Mgnt R-SSH is for remote access device and management, introduction for how to use: http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH LG308 LoRaWAN Gateway User Manual 32 / 47...
  • Page 33: System --> Firmware Upgrade

    5.5.8 System --> Firmware Upgrade We keep improving the LG308 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/Chang...
  • Page 34: System --> Reboot/Reset

    /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 System --> Reboot/Reset LG308 LoRaWAN Gateway User Manual 34 / 47...
  • Page 35: System --> Package Maintain

    5.5.10 System --> Package Maintain Place to show what package has installed and possible to upgrade packages. LG308 LoRaWAN Gateway User Manual 35 / 47...
  • Page 36: Logread

    5.6 LogRead 5.6.1 LogRead --> LoRa Log Show the frequency for LoRa Radio and traffics. 5.6.2 LogRead --> System Log Show the system log LG308 LoRaWAN Gateway User Manual 36 / 47...
  • Page 37: More Features

    6. More features 6.1 More instructions http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction LG308 LoRaWAN Gateway User Manual 37 / 47...
  • Page 38: Linux System

    7.1 SSH Access for Linux console User can access to the Linux console via SSH protocol. Make sure your PC and the LG308 is in the same network, then use a SSH tool (such as putty) to access it. Below are screenshots:...
  • Page 39: Edit And Transfer Files

    One of the easiest is through WinSCP utility. After access via WinSCP to the device, use can use a FTP alike window to drag / drop files to the LG308 or Edit the files directly in the windows. Screenshot is as below: 7.3 File System The LG308 has a 16MB flash and a 64MB RAM.
  • Page 40: Package Maintain System

    For example, if user wants to add iperf tool, they can install the related packages and configure LG308 to use iperf Below is some examples opkgs command, more please refer...
  • Page 41: Upgrade Linux Firmware

    8. Upgrade Linux Firmware LG308 LoRaWAN Gateway User Manual 41 / 47...
  • Page 42: Faq

    OFF: echo 0 > /sys/class/leds/dragino2\:red\:wlan/brightness Control HEART LED: First export the gpio27 and set to out echo 27 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio27/direction ON: echo 0 > /sys/class/gpio/gpio27/value OFF: echo 1 > /sys/class/gpio/gpio27/value LG308 LoRaWAN Gateway User Manual 42 / 47...
  • Page 43: Trouble Shooting

    * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-dragino2-si3217x: kernel (= 3.10.49-1-4917516478a753314254643facdf360a) * * opkg_install_cmd: Cannot install package kmod-dragino2-si3217x. In this case, user can use the –force-depends option to install such package. opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk --force-depends LG308 LoRaWAN Gateway User Manual 43 / 47...
  • Page 44: How To Recover The Lg308 If Firmware Crash

    I configured LG308 for WiFi access and lost its IP. What to do now? The LG308 has a fall-back ip in its LAN port. This IP is always enabled so user can use fall back ip to access LG308 no matter what the WiFi IP is. The fall back ip is useful for connect and debug the unit.
  • Page 45: Order Info

    12. Packing Info Package Includes:  LG308 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 ...
  • Page 46 LG308 LoRaWAN Gateway User Manual 46 / 47...
  • Page 47: Reference

    14. Reference  Source code for LG08 LoRa Gateway https://github.com/dragino/openwrt_lede-18.06  OpenWrt official Wiki http://www.openwrt.org/  Firmware http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-OLG308/Firmwa  Hardware Source code: https://github.com/dragino/motherboard-hardware/tree/master/LG308 LG308 LoRaWAN Gateway User Manual 47 / 47...

Table of Contents