Dragino LG308 User Manual

Dragino LG308 User Manual

Lorawan gateway
Hide thumbs Also See for LG308:

Advertisement

LG308 LoRaWAN Gateway User Manual
Document Version: 1.0
Firmware Version: LG02_LG08--build-v5.1.1542210480-20181114-2349
Version
Description
1.0
Release
LoRaWAN Gateway User Manual ---Update:2018-11-17
www.dragino.com
Date
2018-Nov-17
1 / 30

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.0 Firmware Version: LG02_LG08--build-v5.1.1542210480-20181114-2349 Version Description Date Release 2018-Nov-17 LoRaWAN Gateway User Manual ---Update:2018-11-17 1 / 30...
  • Page 2: Table Of Contents

    Check Internet connection ......................14 Example : Configure as a LoRaWAN gateway ................15 Create a gateway in TTN Server ....................15 Configure LG308 to connect to TTN ..................17 Configure frequency ......................... 18 Add a LoRaWAN End Device ..................... 19 Linux System ...........................
  • Page 3 Can I make my own firmware for LG308? Where can I find the source code of LG308? ..25 More FAQs about general LoRa questions ................25 Trouble Shooting ........................26 I get kernel error when install new package, how to fix? ............26 How to recover the LG308 if firmware crash ................
  • Page 4: Introduction

    IP network via WiFi, Ethernet, 3G or 4G cellular network. The LoRa wireless allows users to send data and reach extremely long ranges at low data-rates. The LG308 is fully compatible with LoRaWAN protocol. It includes a SX1308 LoRa concentrator and a SX1276 LoRa tranceiver, the...
  • Page 5  Power Input: 12V DC, 1 A  USB 2.0 host connector x 1  Mini-PCI E connector x 1  SX1308 + SX1276 WiFi Spec:  IEEE 802.11 b/g/n  Frenquency Band: 2.4 ~ 2.462GHz  Tx power: ...
  • Page 6: Features

    1.3 Features Open Source OpenWrt system  Managed by Web GUI, SSH via LAN or WiFi  Emulates 49x LoRa demodulators  LoRaWAN Gateway  SX1276 base separate TX path  10 programmable parallel demodulation paths  1.4 Hardware System Structure...
  • Page 7: Lg308 Applications

    1.5 LG308 Applications LoRaWAN Gateway User Manual ---Update:2018-11-17 7 / 30...
  • Page 8: Access Lg308

    Password: dragino Notice: In case the WiFi network is disabled, user can connect PC to LG308’s LAN port, the PC will get DHCP from LG308, and be able to access it. LoRaWAN Gateway User Manual ---Update:2018-11-17 8 / 30...
  • Page 9: Typical Network Setup

    3.2 Use WAN port to access Internet By default, the LG308 set to use WAN port as network connection. When connect LG308’s WAN port to router, LG308 will get IP from router and have internet access. The network status can be checked as below:...
  • Page 10: Access Internet As A Wifi Client

    3.3 Access Internet as a WiFi Client. In the WiFi Client Mode, Dragino acts as a WiFi client and gets DHCP from uplink router via WiFi. The step to set is as below: Step1: In network -> Wireless, select Radio0 interface and scan.
  • Page 11 After successful associate, the WiFi network interface can be seen in the same page: LoRaWAN Gateway User Manual ---Update:2018-11-17 11 / 30...
  • Page 12: Use Built-In 4G Modem For Internet Access

    3.4 Use built-in 4G modem for internet access For the LG308 model with 4G version, user can configure the modem for internet access. Step 1: Add New Interface LoRaWAN Gateway User Manual ---Update:2018-11-17 12 / 30...
  • Page 13 Step 2: Configure cellular interface Step 3: Check Result Note: In case you don’t know whether your device has 4G modem, you can run lsusb command in SSH access to check, as below: LoRaWAN Gateway User Manual ---Update:2018-11-17 13 / 30...
  • Page 14: Check Internet Connection

    3.5 Check Internet connection User can use the diagnostics page to check and analyze Internet connection. LoRaWAN Gateway User Manual ---Update:2018-11-17 14 / 30...
  • Page 15: 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 16 Step 2: Sign up a user account in TTN server Step 3: Create a Gateway LoRaWAN Gateway User Manual ---Update:2018-11-17 16 / 30...
  • Page 17: 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 18: Configure Frequency

    Check Result After above settings, the LG308 should be able to connect to TTN, below is the result seen from TTN: 4.3 Configure frequency After doing above LG308 will be able to act as LoRaWAN. Below section shows how to add a LoRaWAN End device in this LoRaWAN network and see the data from TTN.
  • Page 19: Add A Lorawan End Device

    4.4 Add a LoRaWAN End Device Step 1: Create a device in TTN with the OTAA keys from LT IO controller. Each LT is shipped with a sticker with the default device EUI as below: User can enter this key in their LoRaWAN Server portal. Below is TTN screen shot: Add APP EUI in the application.
  • Page 20 Add APP KEY and DEV EUI 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...
  • Page 21: Linux System

    5. Linux System The LG308 bases on OpenWrt Linux System. It is open source, and user are free to configure and modify the inside Linux settings. 5.1 SSH Access for Linux console User can access to the Linux console via SSH protocol. Make sure your PC and the LG01 is in the same network, then use a SSH tool (such as putty) to access it.
  • Page 22: 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: 5.3 File System The LG308 has a 16MB flash and a 64MB RAM.
  • Page 23: 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 24: Upgrade Linux Firmware

    6. Upgrade Linux Firmware We keep improving the LG308 Linux side firmware for new features, bug fixes. The latest firmware can be found on LoRa Gateway Firmware, and the Change Log can be found here: Firmware Change Log. The file named as xxxxx--xxxxx-squashfs-sysupgrade.bin...
  • Page 25: Faq

    7. FAQ 7.1 Can I make my own firmware for LG308? Where can I find the source code of LG308? Yes, User can make own firmware for LG308 for branding purpose or add customized application. The LG308 source code and compile instruction can be found at: https://github.com/dragino/openwrt_lede-18.06...
  • Page 26: Trouble Shooting

    8. Trouble Shooting 8.1 I get kernel error when install new package, how to fix? In some case, when install package, it will generate kernel error such as below: root@dragino-16c538:~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk Installing kmod-dragino2-si3217x (3.10.49+0.2-1) to root... Collected errors:...
  • Page 27: How To Recover The Lg308 If Firmware Crash

    In this case, user can recover the whole Linux system by uploading a new firmware via Web Failsafe mode. Procedure is as below:  Use a RJ45 cable to connect the PC to LG308’s port directly.  Set the PC to ip 192.168.255.x, netmask 255.255.255.0 ...
  • Page 28: I Configured Lg308 For Wifi Access And Lost Its Ip. What To Do Now

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

    Quectel EC25 model/region list 10. 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 30: Reference

    12. Reference  Source code for LG01 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 LoRaWAN Gateway User Manual ---Update:2018-11-17 30 / 30...

Table of Contents