Dragino LIG16 User manual

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 1 / 46
LIG16 LoRaWAN Gateway User Manual
Document Version: 1.0
Firmware Version: lgw-5.4.1609393379
Version
Description
Date
1.0
Release
2021-Jan-3

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 2 / 46
1. Introduction..............................................................................................................................5
1.1 What is LIG16 .............................................................................................................................5
1.2 Specifications..............................................................................................................................7
1.3 Features......................................................................................................................................8
1.4 Hardware System Structure........................................................................................................8
1.5 LIG16 Applications......................................................................................................................8
1.6 LED Indicators.............................................................................................................................9
2. Access and configure LIG16.....................................................................................................10
2.1 Find IP address of LIG16 ...........................................................................................................10
2.1.1 Connect via WiFi .............................................................................................................10
2.1.2 Connect via WAN port with DHCP IP from router...........................................................10
2.1.3 Connect via LAN port with direct connection from PC ......................错误!未定义书签。
2.1.4 Connect via WiFi with DHCP IP from router ...................................................................11
2.1.5 Connect via LAN port by fall back ip ...............................................................................11
2.2 Access Configure Web UI..........................................................................................................12
3. Typical Network Setup............................................................................................................13
3.1 Overview ..................................................................................................................................13
3.2 Use WAN port to access Internet..............................................................................................13
3.3 Access Internet as a WiFi Client................................................................................................14
3.4 Use built-in 4G modem for internet access .................................................
错误
!
未定义书签。
3.5 Check Internet connection........................................................................................................15
4. Example : Configure as a LoRaWAN gateway...........................................................................16
4.1 Create a gateway in TTN Server ...............................................................................................16
4.2 Configure LIG16 to connect to TTN...........................................................................................18
4.3 Configure frequency .................................................................................................................21
4.4 Add a LoRaWAN End Device.....................................................................................................22
5. Web Configure Pages ..............................................................................................................24
5.1 Home ........................................................................................................................................24
5.2 LoRa Settings............................................................................................................................25
5.2.1 LoRa --> LoRa ..................................................................................................................25
5.2.2 LoRa --> ABP Decryption.................................................................................................26

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 3 / 46
5.3 LoRaWAN Settings....................................................................................................................27
5.3.1 LoRaWAN --> LoRaWAN..................................................................................................27
5.3.2 LoRaWAN --> LORIOT......................................................................................................27
5.4 MQTT Settings..........................................................................................................................28
5.5 System ......................................................................................................................................29
5.5.1 System --> System Overview...........................................................................................29
5.5.2 System --> General ( login settings) ................................................................................29
5.5.3 System --> Network ........................................................................................................31
5.5.4 System --> WiFi ...............................................................................................................32
5.5.5 System --> Cellular .............................................................................错误!未定义书签。
5.5.6 System --> Network Status..............................................................................................32
5.5.7 System --> Remote Mgnt & Auto Update .......................................................................33
5.5.8 System --> Firmware Upgrade ........................................................................................35
5.5.9 System --> Reboot/Reset ................................................................................................36
5.5.10 System --> Package Maintain ..........................................................................................37
5.6 LogRead....................................................................................................................................38
5.6.1 LogRead --> LoRa Log......................................................................................................38
5.6.2 LogRead --> System Log ..................................................................................................38
6. More features.........................................................................................................................40
6.1 More instructions .....................................................................................................................40
7. Linux System...........................................................................................................................41
7.1 SSH Access for Linux console ....................................................................................................41
7.2 Edit and Transfer files ...............................................................................................................42
7.3 File System................................................................................................................................42
7.4 Package maintain system.........................................................................................................43
8. Upgrade Linux Firmware ............................................................................. 错误!未定义书签。
9. FAQ.........................................................................................................................................44
9.1 How can I configure for a customized frequency band?...........................................................44
9.2 Can I connect DLOS8 to LORIOT? .................................................................
错误
!
未定义书签。
9.3 Can I make my own firmware for the gateway, where can I find the source code? .................44
9.4 Can I use 868Mhz version for 915Mhz bands? .........................................................................44
9.5 Can I control the LEDs?.............................................................................................................44
10. Trouble Shooting ................................................................................................................44
10.1 I get kernel error when install new package, how to fix? ....................................................44

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 4 / 46
10.2 How to recover the LIG16 if firmware crash ........................................................................45
10.3 I configured LIG16 for WiFi access and lost its IP. What to do now? ...................................45
11. Order Info...........................................................................................................................46
12. Packing Info........................................................................................................................46
13. Support ..............................................................................................................................46
14. Reference............................................................................................... 错误!未定义书签。

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 5 / 46
1. Introduction
1.1 What is LIG16 Indoor LoRaWAN Gateway
The LIG16 is an open source LoRaWAN Pico Gateway. It lets you bridge LoRa wireless network to
an IP network via WiFi, Ethernet network. The LoRa wireless allows users to send data and reach
extremely long ranges at low data-rates.
The LIG16 supports Semtech packet forwarder and LoRaWAN Station connection, it is fully
compatible with LoRaWAN protocol. It includes a SX1302 LoRa concentrator, which is the new
generation baseband LoRa chip for gateway with lower current consumption and higher amount
of traffic than preceding devices.
LIG16 has pre-configured standard LoRaWAN frequency bands to use for different countries.
User can also customize the frequency bands to use in their own LoRaWAN network.
LIG16 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.
LIG16 supports auto-provision for mass deployment and long term maintain. System integrator
can easily change the configure remotely.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 6 / 46

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 7 / 46
1.2 Specifications
Hardware System:
Linux Part:
➢400Mhz ar9331 processor
➢64MB RAM
➢16MB Flash
Interface:
➢10M/100M RJ45 Ports x 1
➢WiFi : 802.11 b/g/n
➢LoRaWAN Wireless
➢Power Input: USB Type C. 5V , 2A
➢USB 2.0 host connector x 1
➢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
✓11g 6M tx power: 18db
➢Wifi Sensitivity
✓11g 54M : -71dbm
✓11n 20M : -67dbm
LoRa Spec:
➢70 dB CW interferer rejection at 1 MHz offset
➢Up to -141 dBm sensitivity with SX1250 Tx/Rx front-end
➢125 kHz LoRa reception with:
8 x 8 channels LoRa® packet detectors
8 x SF5-SF12 LoRa® demodulators
8 x SF5-SF10 LoRa® demodulators
➢125 /250 / 500 kHz LoRa® demodulator
Power Consumption:
➢Max: 5v, 410mA

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 8 / 46
1.3 Features
✓Open-Source Linux system
✓Managed by Web GUI, SSH via LAN or WiFi
✓LoRaWAN Gateway
✓Auto-Provision
1.4 Hardware System Structure
1.5 LIG16 Applications

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 9 / 46
1.6 LED Indicators
LIG16 has totally 6 LEDs:
➢Power LED : This YELLOW LED will be solid on if the device is properly powered.
➢HEART LED : This GREEN LED will be solid on if there is LoRaWAN connection.
➢SYS LED :This LED will show different colors on different state:
✓ON: device have Internet connection.
✓BLINKING: a) Device has internet connection but no LoRaWAN Connection. or b)
Device is in booting stage, in this stage, it will BLINKING for several seconds.
✓OFF: device doesn’t have Internet connection.
➢TRIANGLE LED : No Function.
➢ETH LED : This LED shows the ETH interface physical connection status.
➢WiFi LED : This LED shows the WiFi interface connection status.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 10 / 46
2. Access and configure LIG16
The LIG16 is configured as a WiFi Access Point by default. User can access and configure the
LIG16 after connecting to its WiFi network, or via its Ethernet ports.
2.1 Find IP address of LIG16
2.1.1 Connect via WiFi
At the first boot of LIG16, it will auto generate an unsecure
WiFi network call dragino-xxxxxx
the password is: dragino+dragino
User can use the laptop to connect to this WiFi network. The
laptop will get an IP address 10.130.1.xxx and the LIG16 has
the default IP 10.130.1.1
2.1.2 Connect via WAN port with DHCP IP from router
Alternatively, connect the LIG16 WAN port to your router and LIG16 will obtain an IP address
from your router. In the router’s management portal, you should be able to find what IP address
the router has assigned to the LIG16. You can also use this IP to connect.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 11 / 46
2.1.3 Connect via WiFi with DHCP IP from router
If the LIG16 already connect to the router via WiFi, use can use the WiFi IP to connect to LIG16.
2.1.4 Connect via WAN port by fall back ip
The WAN port also has a fall back ip address for access if user doesn’t connect to uplink router.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 12 / 46
2.2 Access Configure Web UI
Web Interface
Open a browser on the PC and type the LIG16 ip address (depends on your connect method)
http://10.130.1.1/ (Access via LIG16’s WiFi AP network)
or
http://IP_ADDRESS or http:// IP_ADDRESS:8000 (If the IP is assigned by uplink
router)
You will see the login interface of LIG16 as shown below.
The account details for Web Login are:
User Name: root
Password: dragino

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 13 / 46
3. Typical Network Setup
3.1 Overview
LIG16 supports flexible network set up for different environment. This section describes the
typical network topology can be set in LIG16. The typical network set up includes:
✓WAN Port Internet Mode
✓WiFi Client Mode
✓WiFi AP Mode
3.2 Use WAN port to access Internet
By default, LIG16 is set to use the WAN port to connect to an upstream network. When you
connect the LIG16’s WAN port to an upstream router, LIG16 will get an IP address from the router
and have Internet access via the upstream router. The network status can be checked in the
home page:

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 14 / 46
3.3 Access Internet as a WiFi Client.
In the WiFi Client Mode, LIG16 acts as a WiFi client and gets DHCP from an upstream router via
WiFi.
The settings for WiFi Client is under page System → WiFi → WiFi WAN Client Settings
In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save &
Apply to connect.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 15 / 46
3.4 Check Internet connection
In the Home page, we can check the 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 connect.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 16 / 46
4. Example : Configure as a LoRaWAN gateway
LIG16 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 LIG16 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 LIG16 has a unique gateway id. The id can be found at LoRaWAN page:

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 17 / 46
The gateway id is: a840411b8268ffff
Step 2: Sign up a user account in TTN server
Step 3: Create a Gateway

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 18 / 46
Notice: The TTN router should match the Frequency Plan you choose, otherwise you will have
problem for End Node to join the network. If you don’t which router you need to select, please
check:
https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.html#connec
t-a-gateway_server-addresses
After create the gateway, we can see the gateway info, as below
4.2 Configure LIG16 to connect to TTN
We should configure the LIG16 now to let it connect to TTN network. Make sure your LIG16 has
Internet Connection first.
Choose the right server provider and click Save&Apply

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 19 / 46
Note: The server address must match the router you choose in TTN.

www.dragino.com
LIG16 Indoor LoRaWAN Gateway User Manual 20 / 46
In the home page, we can see the LoRaWAN connection is ready now.
Check Result
After above settings, the LIG16 should be able to connect to TTN, below is the result seen from
TTN:
Table of contents
Other Dragino Gateway manuals

Dragino
Dragino LG308N User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LPS8N User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino DLOS8N User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LPS8-868 User manual

Dragino
Dragino G308 User manual

Dragino
Dragino DLOS8 User manual

Dragino
Dragino LPS8v2 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LG01 LoRa User manual