Dragino LG308N User manual

LG308N - LoRaWAN Gateway User Manual
last modified by Xiaoling
on 2022/12/28 16:41

Table of Contents
1. Introduction ........................................................................................................................................................................ 5
1.1 What is the LG308N .................................................................................................................................................... 5
1.2 Specifications ................................................................................................................................................................ 6
1.3 Features ........................................................................................................................................................................ 7
1.4 Hardware System Structure ....................................................................................................................................... 7
1.5 LG308N Applications .................................................................................................................................................. 8
1.6 LED Indicators .............................................................................................................................................................. 9
1.7 Button Instruction .......................................................................................................................................................... 9
2. Access and Configure LG308N ...................................................................................................................................... 9
2.1 Find IP address of LG308N ....................................................................................................................................... 9
2.1.1 Connect via WiFi .................................................................................................................................................... 9
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 .................................................................................... 10
2.1.4 Connect WiFi with DHCP IP from router .......................................................................................................... 10
2.1.5 Connect via LAN port by fall back ip ................................................................................................................ 11
2.2 Access Configure Web UI ........................................................................................................................................ 11
3. Typical Network Setup ................................................................................................................................................... 11
3.1 Overview ..................................................................................................................................................................... 11
3.2 Use WAN port to access Internet ............................................................................................................................ 12
3.3 Access the Internet as a WiFi Client ....................................................................................................................... 12
3.4 Use built-in 4G modem for internet access ............................................................................................................ 13
3.5 Check Internet connection ........................................................................................................................................ 14
4. Example: Configure as a LoRaWAN gateway ............................................................................................................ 14
4.1 Create a gateway in TTN V3 Server ....................................................................................................................... 15
4.2 Configure LG308N to connect to TTN v3 ............................................................................................................... 20
4.3 Configure frequency ................................................................................................................................................... 21
4.4 Add a LoRaWAN End Device .................................................................................................................................. 22
5. Web Configure Pages .................................................................................................................................................... 26
5.1 Home ........................................................................................................................................................................... 26
5.2 LoRa Settings ............................................................................................................................................................. 26
5.2.1 LoRa --> LoRa ..................................................................................................................................................... 26
5.2.2 LoRa --> ABP Decryption ................................................................................................................................... 27
5.3 LoRaWAN Settings ................................................................................................................................................... 28
5.3.1 LoRaWAN --> LoRaWAN ................................................................................................................................... 28
5.3.2 LoRaWAN --> Amazon AWS-IoT ...................................................................................................................... 29
5.3.3 LoRaWAN --> LORIOT ....................................................................................................................................... 30
5.4 MQTT Settings ........................................................................................................................................................... 30
5.5 System ......................................................................................................................................................................... 31
5.5.1 System --> System Overview ............................................................................................................................. 31
5.5.2 System --> General ( login settings) .................................................................................................................. 32
5.5.3 System --> Network ............................................................................................................................................. 33
5.5.4 System --> WiFi ................................................................................................................................................... 34
5.5.5 System --> Cellular .............................................................................................................................................. 35
5.5.6 System --> Network Status ................................................................................................................................ 36
5.5.7 System --> Remote Mgnt & Auto Provision ...................................................................................................... 36
5.5.8 System --> Firmware Upgrade ........................................................................................................................... 39
5.5.9 System --> Reboot/Reset ................................................................................................................................... 41
5.5.10 System --> Package Maintain .......................................................................................................................... 41
5.6 LogRead ...................................................................................................................................................................... 42
5.6.1 LogRead --> LoRa Log ....................................................................................................................................... 42
5.6.2 LogRead --> System Log .................................................................................................................................... 43
6. More features .................................................................................................................................................................. 44
6.1 More instructions ........................................................................................................................................................ 44

7. Linux System ................................................................................................................................................................... 45
7.1 SSH Access for Linux console ................................................................................................................................ 45
7.2 Edit and Transfer files ............................................................................................................................................... 45
7.3 File System ................................................................................................................................................................. 46
7.4 Package maintenance system ................................................................................................................................. 46
8. Upgrade Linux Firmware ............................................................................................................................................... 47
9. OTA System Update ...................................................................................................................................................... 47
10. FAQ ................................................................................................................................................................................ 47
10.1 How can I configure for a customized frequency band? ..................................................................................... 47
10.2 Can I connect LG308N to LORIOT? .................................................................................................................... 47
10.3 Can I make my own firmware for the gateway, where can I find the source code? .......................................... 47
10.4 Can I use 868Mhz version for 915Mhz bands? ................................................................................................... 47
10.5 Can I control the LEDs? ......................................................................................................................................... 47
11. Trouble Shooting .......................................................................................................................................................... 48
11.1 I get kernel error when install new package, how to fix? .................................................................................... 48
11.2 How to recover the LG308N if the firmware crashes .......................................................................................... 48
11.3 I configured LG308N for WiFi access and lost its IP. What to do now? ........................................................... 48
12. Order Info ...................................................................................................................................................................... 49
13. Packing Info .................................................................................................................................................................. 49
14. Support .......................................................................................................................................................................... 50
15. Reference ...................................................................................................................................................................... 50

Table of Contents:
•1. Introduction
•1.1 What is the LG308N
•1.2 Specifications
•1.3 Features
•1.4 Hardware System Structure
•1.5 LG308N Applications
•1.6 LED Indicators
•1.7 Button Instruction
•2. Access and Configure LG308N
•2.1 Find IP address of LG308N
•2.1.1 Connect via WiFi
•2.1.2 Connect via WAN port with DHCP IP from router
•2.1.3 Connect via LAN port with direct connection from PC
•2.1.4 Connect WiFi with DHCP IP from router
•2.1.5 Connect via LAN port by fall back ip
•2.2 Access Configure Web UI
•3. Typical Network Setup
•3.1 Overview
•3.2 Use WAN port to access Internet
•3.3 Access the Internet as a WiFi Client
•3.4 Use built-in 4G modem for internet access
•3.5 Check Internet connection

•4. Example: Configure as a LoRaWAN gateway
•4.1 Create a gateway in TTN V3 Server
•4.2 Configure LG308N to connect to TTN v3
•4.3 Configure frequency
•4.4 Add a LoRaWAN End Device
•5. Web Configure Pages
•5.1 Home
•5.2 LoRa Settings
•5.2.1 LoRa --> LoRa
•5.2.2 LoRa --> ABP Decryption
•5.3 LoRaWAN Settings
•5.3.1 LoRaWAN --> LoRaWAN
•5.3.2 LoRaWAN --> Amazon AWS-IoT
•5.3.3 LoRaWAN --> LORIOT
•5.4 MQTT Settings
•5.5 System
•5.5.1 System --> System Overview
•5.5.2 System --> General ( login settings)
•5.5.3 System --> Network
•5.5.4 System --> WiFi
•5.5.5 System --> Cellular
•5.5.6 System --> Network Status
•5.5.7 System --> Remote Mgnt & Auto Provision
•5.5.8 System --> Firmware Upgrade
•5.5.9 System --> Reboot/Reset
•5.5.10 System --> Package Maintain
•5.6 LogRead
•5.6.1 LogRead --> LoRa Log
•5.6.2 LogRead --> System Log
•6. More features
•6.1 More instructions
•7. Linux System
•7.1 SSH Access for Linux console
•7.2 Edit and Transfer files
•7.3 File System
•7.4 Package maintenance system
•8. Upgrade Linux Firmware
•9. OTA System Update
•10. FAQ
•10.1 How can I configure for a customized frequency band?
•10.2 Can I connect LG308N to LORIOT?
•10.3 Can I make my own firmware for the gateway, where can I find the source code?
•10.4 Can I use 868Mhz version for 915Mhz bands?
•10.5 Can I control the LEDs?
•11. Trouble Shooting
•11.1 I get kernel error when install new package, how to fix?
•11.2 How to recover the LG308N if the firmware crashes
•11.3 I configured LG308N for WiFi access and lost its IP. What to do now?
•12. Order Info
•13. Packing Info
•14. Support
•15. Reference
1. Introduction
1.1 What is the LG308N

The LG308N is an open sourceLoRaWAN 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 LG308N uses Semtech packet forwarderand fully compatible with LoRaWAN protocol. It includes a SX1302
LoRa concentrator, which provides 10 programmable parallel demodulation paths.
LG308N has pre-configured standard LoRaWAN frequency bands to use for different countries. User can also
customized the frequency bands to use in their own LoRa network.
LG308N 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.
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: 12 V DC, 2 A
• IEEE 802.3 af compliant PoE port (DC 37 ~ 57 v)
• USB 2.0 host connector x 1
• Mini-PCI E 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:
• Up to -142.5 dBm sensitivity with SX1250 Tx/Rx front-end
• 70 dB CW interferer rejection at 1 MHz offset
• Able to operate with negative SNR, CCR up to 9dB
• Emulates 49 x LoRa demodulators and 1 x (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
• Standard Size SIM Slot
• 2 x 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
1.3 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

1.5 LG308N Applications

1.6 LED Indicators
LG308N has totally 6 LEDs, They are:
•Power LED : This LEDwill be solid on if the device is properly powered.
•HEART LED : No function yet.
•SYS LED : ThisLED will shows different colors on different state:
•SOLID: Device is alive with LoRaWAN server connection.
•BLINKING: a) Device has internet connection but no LoRaWAN Connection. or b) Device is in
booting stage, in this stage, it will BLINKINGfor several seconds.
•OFF: Device doesn't have Internet connection.
•ETH LED : These two LEDs show the ETH interfaces connection status.
•WiFi LED : This LED shows the WiFi interface connection status.
Note: Above LED indication are for firmware version > LG02_LG08--build-
v5.3.1584002217-20200312-1639
1.7 Button Instruction
LG308N has a black toggle button, which is:
#Long press 4-5s:the gateway will reload the Network andInitialize wifi configuration
LED status: SYS LED will BLINKING RED Until the reload is finished.
#Long press more than 30s:the gateway will restart and restore factory settings.
LED status: When the user releases the button, the LED will TURN OFF.
2. Access and Configure LG308N
The LG308N is configured as a WiFi Access Point by default. User can access and configure the LG308N after
connecting to its WiFi network, or via its Ethernet port.
2.1 Find IP address of LG308N
2.1.1 Connect via WiFi
At the first boot of LG308N, it will auto generate a WiFi network called dragino-xxxxxxwith password:
Note: In latest version firmware, it has been password protected and the password is:dragino
+dragino

User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LG308N has
the default IP 10.130.1.1
2.1.2 Connect via WAN port with DHCP IP from router
Alternatively, connect the LG308N WAN port to your router and LG308N 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
LG308N. You can also use this IP to connect.
2.1.3 Connect via LAN port with direct connection from PC
The LG308N LAN port is configured as DHCP router by default, user can connect the PC to LAN port and set
PC to DHCP mode, it will get IP from LAN port and be able to access to the device. The default IP in LAN port is
10.130.1.1
2.1.4 Connect WiFi with DHCP IP from router

If the LG308N already connect to the router via WiFi, use can use the WiFi IP to connect to LG308N.
2.1.5 Connect via LAN port by fall back ip
The LAN port also has a fall back ip address for access if user doesn't connect to uplink router.
2.2 Access Configure Web UI
Web Interface
Open a browser on the PC and type the LG308N ip address (depends on your connect method)
http://10.130.1.1/ (Access via WiFi AP network)
or
http://IP_ADDRESS or http:// IP_ADDRESS:8000
You will see the login interface of DLOS8N as shown below.
The account details for Web Login are:
User Name: root
Password: dragino
3. Typical Network Setup
3.1 Overview

LG308N supports flexible network set up for different environment. This section describes the typical network
topology can be set in LG308N. The typical network set up includes:
•WAN Port Internet Mode
•WiFi Client Mode
•WiFi AP Mode
•Cellular Mode
3.2 Use WAN port to access Internet
By default, the LG308N is set to use the WAN port to connect to an upstream network. When you connect the
LG308N's WAN port to an upstream router, LG308N 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:
3.3 Access the Internet as a WiFi Client
In the WiFi Client Mode, LG308N 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 clickSave & Applyto connect.
3.4 Use built-in 4G modem for internet access
If the LG308N 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
Second, Power off/ ON LG308N to let it detect the SIM card.
The set up page is System --> Cellular

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.
3.5 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 connected.
4. Example: Configure as a LoRaWAN gateway

LG308N 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 LG308N to work with(TTN v3)LoRaWAN Server
(www.thethingsnetwork.org)
4.1 Create a gateway in TTN V3 Server
Step 1: Get a Unique gateway ID.
Every LG308N has a unique gateway id. The ID can be found at LoRaWAN page:

Note: Choose the cluster corresponds to a specific Gateway server address
• Europe 1 corresponding Gateway server address:eu1.cloud.thethings.network
• North America 1 corresponding Gateway server address:nam1.cloud.thethings.network
• Australia 1 corresponding Gateway server address:au1.cloud.thethings.network
• Legacy V2 Console : TTN v2 shuts down in December 2021
Step 4: Create a Gateway

Click the Gateway icon and then click Add gateway.
Open the following page:

Notice:Gateway Server address must match the gateway configuration, otherwise you will have
problem for End Node to join the network.
After creating the gateway, you can see the gateway info, as below.

4.2 Configure LG308N to connect to TTN v3
You can now configure the LG308N to let it connect to TTN network V3.
Make sure your LG308N has a working Internet Connection first.
Choose the right server provider and click Save&Apply.
Note:The server address must match the Gateway server address you choose in TTN V3.
In the home page, we can see the LoRaWAN connection is ready now.
In TTN v3 portal, we can also see the gateway is connected.
Table of contents
Other Dragino Gateway manuals

Dragino
Dragino LPS8-868 User manual

Dragino
Dragino LG01 LoRa User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino DLOS8N User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LIG16 User manual

Dragino
Dragino DLOS8 User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LPS8v2 User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LPS8N User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino G308 User manual