Dragino G308 User Manual

Dragino G308 User Manual

Lorawan gateway

Advertisement

Quick Links

LG308 LoRaWAN Gateway User Manual
Document Version: 1.1.2
Firmware Version: LG02_LG08--build-v5.1.1542210480-20181114-2349
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.
1.1.2
Various minor text and format edits.
Remove SX1276 description and GPS.
LoRaWAN Gateway User Manual --- Update:2019-05-25
www.dragino.com
Date
2018-Nov-17
2019-Jan-10
2019-June-6
1 / 38

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino G308

  • Page 1 LG308 LoRaWAN Gateway User Manual Document Version: 1.1.2 Firmware Version: LG02_LG08--build-v5.1.1542210480-20181114-2349 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. 1.1.2 Various minor text and format edits.
  • Page 2: Table Of Contents

    Table of Contents ​ 1 ​ Introduction ​ 1 .1 ​ What is the LG308 ​ 1 .2 ​ Specifications ​ 1 .3 ​ Features ​ 1 .4 ​ Hardware System Structure ​ 1 .5 ​ LG308 Applications ​ 2 ​ Access LG308 ​...
  • Page 3 ​ 9 ​ Order Info ​ 1 0​ Packing Info ​ 1 1​ Support ​ 1 2​ Reference 3 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 4: Introduction

    ​ 1 ​ Introduction ​ 1 .1​ What is the LG308 The LG308 is an ​ o pen source ​ L oRaWAN Gateway. It lets you bridge LoRa wireless network to an IP  network via ​ W iFi, Ethernet, 3G or 4G cellular​...
  • Page 5: Specifications

    ​ 1 .2​ Specifications Hardware System: Linux Part: ● 400Mhz ar9331 processor ● 64MB RAM ● 16MB Flash Interface: ● 10M/100M RJ45 Ports x 2 ● WiFi : 802.11 b/g/n ● LoRaWAN Wireless ● Power Input: 12V DC, 1 A ●...
  • Page 6: Hardware System Structure

    ​ 1 .4​ Hardware System Structure 6 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 7: Lg308 Applications

    ​ 1 .5​ LG308 Applications 7 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 8: Access Lg308

    Open a browser on the PC and type in the address: http://10.130.1.1/ You will see the login interface of LG308 as shown below. The account details for Web Login are: User Name: root Password: dragino 8 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 9: Typical Network Setup

    ​ 3 ​ Typical Network Setup ​ 3 .1​ Overview The LG308 supports flexible network set up for different environments. This section describes the typical network topology can be set in LG308. The network set up includes: ● WAN Port Internet Mode ●...
  • Page 10: Access The Internet As A Wifi Client

    ​ 3 .3​ Access the Internet as a WiFi Client. In the WiFi Client Mode, the LG308 acts as a WiFi client and gets DHCP from an upstream router via WiFi. The steps to set up as a WiFi Client are as below: Step1: In Network ->...
  • Page 11 Note​ : After doing that, you will lose connection if your PC connects to the LG308 via LG308’s WiFi network. After successful association, the WiFi network interface can be seen in the same page: 11 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 12: Use Built-In 3G/4G Modem For Internet Access

    ​ 3 .4​ Use Built-in 3G/4G modem for Internet Access For the LG308 model fitted with 3G/4G modem, you can configure the modem for Internet access via a cellular network. Step 1: Add New Interface 12 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • 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: 13 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 14: Check Internet Connection

    ​ 3 .5​ Check Internet connection You can use the diagnostics page to check and analyze the Internet connection as shown below. 14 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 15: Example : Configure As A Lorawan Gateway

    ​ 4 ​ Example : Configure as a LoRaWAN gateway LG308 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 LG308 to work with w ww.thethingsnetwork.org​...
  • Page 16: Create A Gateway In Ttn Server

    ​ 4 .1​ Create a gateway in TTN Server Step 1: Get a Unique gateway ID. Every LG308 has a unique gateway id. The ID can be found at LoRaWAN page: The example gateway id is: ​ a 840411b8268ffff...
  • Page 17: Configure Lg308 To Connect To Ttn

    Step 3: Create a Gateway Click on the Gateways icon to open the page below: After creating the gateway, you can see the gateway info, as below. ​ 4 .2​ Configure LG308 to connect to TTN You can now configure the LG308 to let it connect to TTN network.
  • Page 18 Step1: Configure LG308 to act as raw forwarder Step2: Input server info and gateway id Choose the correct the server address and gateway ID. 18 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 19: Configure Frequency

    Check Result After making the above settings, the LG308 should be able to connect to TTN. Below is the result seen from TTN: ​ 4 .3​ Configure frequency After making the settings above, the LG308 will be able to act as a LoRaWAN gateway.
  • Page 20: 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-33222-L IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
  • Page 21 Select ​ D evices​ and ​ R egister Device​ to open the screen below. Enter the ​ D evice EUI​ and ​ A PP KEY​ codes, then select the App EUI from the list. Check that all three codes match those shown on the device label before saving the configuration.
  • Page 22 22 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 23: Linux System

    Windows) to access it. IP address: IP address of LG308 Port: User Name: root Password: dragino​ (default) After logging in, you will be in the Linux console and can enter commands as shown below. 23 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 24: Edit And Transfer Files

    ​ 5 .2​ Edit and Transfer files The LG308 supports the ​ protocol​ and has a built-in ​ S CP S FTP server​ . There are many ways to edit and transfer files using these protocols. In Windows, one of the easiest methods is using the ​...
  • Page 25: Package Maintenance System

    // to get the latest packages list root@dragino-169d30:~# opkg list​ //shows the available packages ​ / / install iperf root@dragino-169d30:~# opkg install iperf The system will automatically install the required packages as shown below. root@dragino-169d30:/etc/opkg# opkg install iperf Installing iperf (2.0.12-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk Installing uclibcxx (0.2.4-3) to root...
  • Page 26: Upgrade Linux Firmware

    We keep improving the LG308 Linux side firmware for new features and bug fixes. The latest firmware can be found on ​ L oRa Gateway Firmware​ ( ​ h ttp://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware​ The Change Log can be found here: ​ F irmware Change Log​ http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/Change Log​...
  • Page 27: Faq

    ​ 7 ​ FAQ ​ 7 .1​ How can I configure for a customized frequency band? You can customize your LoRaWAN channel on firmware versions since 2018-Dec-28. For example if you want to set the gateway to meet the India LoROIT frequency band:...
  • Page 28 Step 1: Choose Frequency Band to use “Customized Bands” Step 2: Configure Radio 0 & 1 Frequency The LG308 has two Radios from SX1308. You can configure these eight channels based on these two radios. Go to the Radio Settings page and enable Radio 0 to 865700000 and enable Radio 1 to 866500000.
  • Page 29 Step 3: Configure Channel Frequency. What we need to configure for LoRoit is 0~7 multiSF channel frequency and LoRa frequency as per LoRiot frequency plan. Each Channel Configure include below parameters: ✔ Radio used for this channel. ✔ Channel IF, frequency shift base on Radio Frequency.
  • Page 30 30 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 31 Step 4: Save & Apply & check result in logread page. 31 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 32: Can I Make My Own Firmware For Lg308

    ​ 7 .2​ Can I make my own firmware for LG308? Where can I find the source code of LG308? Yes, You can make your own firmware for the LG308 for branding purposes or to add customized applications. The LG308 source code and compile instructions can be found at: https://github.com/dragino/openwrt_lede-18.06...
  • Page 33: Trouble Shooting

    In some cases, when installing a package with ​ o pkg ​ , it will generate a kernel error such as below due to a mismatch I the kernel ID: 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 34: How To Recover The Lg308 If The Firmware Crashes

    ​ 8 .2​ How to recover the LG308 if the firmware crashes LG308 provides the user with full control on its Linux system, so it is possible that the device will brick and can’t boot after an improper modification in some boot files. In this case, the user can recover the whole Linux system by uploading a new firmware via Web Failsafe mode.
  • Page 35 As below photo: 3. In the PC, use IP address 172.31.255.254 to access the LG308 via Web or Console. 35 / 38 LoRaWAN Gateway User Manual --- Update:2019-05-25...
  • Page 36 ​ 9 ​ Order Info ​ PART: LG308-XXX-YYY XXX: Frequency Band ● 868​ : valid frequency: 863Mhz ~ 870Mhz. for band EU868 or IN865. ● 915​ : valid frequency: 902Mhz ~ 928Mhz. for bands US915, AU915, AS923 or KR920 YYY: 4G Cellular Option ●...
  • Page 37 ​ 1 0​ Packing Info Package Includes​ : ✔ LG308 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 38 ​ 1 1​ Support ● Try to see if your questions already answered in the ​ w iki​ ● Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before mentioned schedule.

Table of Contents