Dragino LG308 User manual

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

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 2 / 30
1. Introduction..............................................................................................................................4
1.1 What is LG08 & LG308................................................................................................................4
1.2 Specifications..............................................................................................................................4
1.3 Features......................................................................................................................................6
1.4 Hardware System Structure........................................................................................................6
1.5 LG308 Applications.....................................................................................................................7
2. Access LG308 ............................................................................................................................8
2.1 Access and configure LG308 ....................................................................................................... 8
3. Typical Network Setup ..............................................................................................................9
3.1 Overview ....................................................................................................................................9
3.2 Use WAN port to access Internet................................................................................................9
3.3 Access Internet as a WiFi Client................................................................................................10
3.4 Use built-in 4G modem for internet access ..............................................................................12
3.5 Check Internet connection........................................................................................................14
4. Example : Configure as a LoRaWAN gateway...........................................................................15
4.1 Create a gateway in TTN Server ...............................................................................................15
4.2 Configure LG308 to connect to TTN..........................................................................................17
4.3 Configure frequency .................................................................................................................18
4.4 Add a LoRaWAN End Device.....................................................................................................19
5. Linux System ...........................................................................................................................21
5.1 SSH Access for Linux console ....................................................................................................21
5.2 Edit and Transfer files ...............................................................................................................22
5.3 File System................................................................................................................................22
5.4 Package maintain system .........................................................................................................23
6. Upgrade Linux Firmware .........................................................................................................24
6.1 Upgrade via Web UI .................................................................................................................24
6.2 Upgrade via Linux console........................................................................................................24
7. FAQ ......................................................................................................................................... 25

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 3 / 30
7.1 Can I make my own firmware for LG308? Where can I find the source code of LG308? ..........25
7.2 More FAQs about general LoRa questions ...............................................................................25
8. Trouble Shooting..................................................................................................................... 26
8.1 I get kernel error when install new package, how to fix? .........................................................26
8.2 How to recover the LG308 if firmware crash ............................................................................27
8.3 I configured LG308 for WiFi access and lost its IP. What to do now? .......................................28
9. Order Info ...............................................................................................................................29
10. Packing Info ............................................................................................................................29
11. Support................................................................................................................................... 29
12. Reference................................................................................................................................30

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 4 / 30
1. Introduction
1.1 What is LG08 & LG308
The LG308 is an open source LoRaWAN Pico Gateway. It lets you bridge LoRa wireless network
to an 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 sx1308 provides 10 programmable parallel demodulation
paths and the SX1276 acts as TX channel so the SX1308 won’t be block during TX. This
combination provides higher capacity compare with a standalone SX1308 concentrator solution.
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

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 5 / 30
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:
11n tx power : mcs7/15: 11db mcs0 : 17db
11b tx power: 18db
11g 54M tx power: 12db
11g 6M tx power: 18db
Wifi Sensitivity
11g 54M : -71dbm
11n 20M : -67dbm
LoRa Spec:
Up to -142.5dBm sensitivity with SX1257 Tx/Rx front-end
70 dB CW interferer rejection at 1 MHz offset
Able to operate with negative SNR, CCR up to 9dB
Emulates 49x LoRa demodulators and 1x (G)FSK demodulator
Dual digital TX&RX radio front-end interfaces
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.
Up to 150Mbps downlink and 50Mbps uplink data rates
Worldwide LTE,UMTS/HSPA+ and GSM/GPRS/EDGE coverage
MIMO technology meets demands for data rate and link reliability in modem
wireless communication systems

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 6 / 30
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

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 7 / 30
1.5 LG308 Applications

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 8 / 30
2. Access LG308
2.1 Access and configure LG308
The LG308 is configured as a WiFi AP by factory default. User can access and configure the LG308
after connect to its WiFi network.
At the first boot of LG308, it will auto generate an unsecure
WiFi network call dragino-xxxxxx
User can use the laptop to connect to this WiFi network. The
laptop will get an IP address 10.130.1.xxx and the LG308 has
the default IP 10.130.1.1
Open a browser in the laptop and type
http://10.130.1.1/
User will see the login interface of LG308.
The account for Web Login is:
User Name: root
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.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 9 / 30
3. Typical Network Setup
3.1 Overview
LG308 supports flexible network set up for different environment. This section describes the
typical network topology can be set in LG308. The typical network set up includes:
WAN Port Internet Mode
WiFi Client Mode
WiFi AP Mode
USB Dial Up Mode
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:

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 10 / 30
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.
Step2:
Select the wireless AP and join:
Step3:
In network->wireless page, disable WiFi AP network. Notice: After doing that, you will lose
connection if your computer connects to the LG308 via LG308’s wifi network.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 11 / 30
After successful associate, the WiFi network interface can be seen in the same page:

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 12 / 30
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

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 13 / 30
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:

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 14 / 30
3.5 Check Internet connection
User can use the diagnostics page to check and analyze Internet connection.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 15 / 30
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. The method to
work with other LoRaWAN server is similar.
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 gateway id is: a840411b8268ffff

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 16 / 30
Step 2: Sign up a user account in TTN server
Step 3: Create a Gateway

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 17 / 30
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.
Step1: Configure LG308 to act as raw forwarder
Step2: Input server info and gateway id
Choose the correct the server address and gateway ID.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 18 / 30
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.
We use LT-33222-L as a reference below, for other LoRaWAN devices will be more or less the
same.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 19 / 30
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.

www.dragino.com
LoRaWAN Gateway User Manual ---Update:2018-11-17 20 / 30
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
Other manuals for LG308
1
Table of contents
Other Dragino Gateway manuals

Dragino
Dragino LG01N User manual

Dragino
Dragino G308 User manual

Dragino
Dragino DLOS8 User manual

Dragino
Dragino LG308N User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LPS8N User manual

Dragino
Dragino LPS8-868 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LPS8v2 User manual

Dragino
Dragino DLOS8N User manual

Dragino
Dragino LG01 LoRa User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LIG16 User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LPS8 User manual