Dragino LPS8N User manual

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 1 / 55
LPS8N LoRaWAN Gateway User Manual
Document Version: 1.0
Firmware Version: lgw--build-v5.4.1644990565-20220216-1352
Table of Contents
1Introduction..............................................................................................................................5
1.1 What is the LPS8N ......................................................................................................................5
1.2 Specifications..............................................................................................................................6
1.3 Features......................................................................................................................................7
1.4 Hardware System Structure........................................................................................................7
Version
Description
Date
1.0
Release
2022-Apr-8

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 2 / 55
1.5 LPS8N Applications.....................................................................................................................9
1.6 LED Indicators.............................................................................................................................9
2Access and Configure LPS8N ...................................................................................................10
2.1 Find IP address of LPS8N ..........................................................................................................10
2.1.1 Connect via WiFi .............................................................................................................10
2.1.2 Connect via Ethernet with DHCP IP from router ............................................................10
2.1.3 Connect via WiFi with DHCP IP from router ...................................................................11
2.1.4 Connect via Ethernet with fall back ip ............................................................................11
2.2 Access Configure Web UI..........................................................................................................12
3Typical Network Setup............................................................................................................13
3.1 Overview ..................................................................................................................................13
3.2 Use WAN port to access Internet..............................................................................................13
3.3 Access the Internet as a WiFi Client..........................................................................................14
3.4 Use built-in 4G modem for internet access...............................................................................15
3.5 Check Internet connection........................................................................................................16
4Example: Configure as a LoRaWAN gateway ...........................................................................16
4.1 Create a gateway in TTN V3 Server..........................................................................................18
4.2 Configure LPS8N to connect to TTN v3.....................................................................................21
4.3 Configure frequency .................................................................................................................23
4.4 Add a LoRaWAN End Device.....................................................................................................24
5Web Configure Pages ..............................................................................................................27
5.1 Home ........................................................................................................................................27
5.2 LoRa Settings............................................................................................................................28
5.2.1 LoRa --> LoRa ..................................................................................................................28
5.2.2 LoRa --> ABP Decryption.................................................................................................29
5.3 LoRaWAN Settings....................................................................................................................30
5.3.1 LoRaWAN --> LoRaWAN..................................................................................................30
1.1.1 LoRaWAN --> Amazon AWS-IoT ......................................................................................30
5.3.2 LoRaWAN --> LORIOT......................................................................................................30
5.4 MQTT Settings..........................................................................................................................32
5.5 System ......................................................................................................................................33
5.5.1 System --> System Overview...........................................................................................33
5.5.2 System --> General ( login settings) ................................................................................33

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 3 / 55
5.5.3 System --> Network ........................................................................................................35
5.5.4 System --> WiFi ...............................................................................................................36
5.5.5 System --> Network Status..............................................................................................37
5.5.6 System --> Remote Mgnt & Auto Update .......................................................................38
5.5.7 System --> Firmware Upgrade ........................................................................................40
5.5.8 System --> Reboot/Reset ................................................................................................41
5.5.9 System --> Package Maintain ..........................................................................................42
6More features.........................................................................................................................44
6.1 Packet Filtering .........................................................................................................................44
6.2 Remote Access..........................................................................................................................44
6.3 How to decode ABP LoRaWAN node ........................................................................................44
6.4 How to set data to MQTT broker..............................................................................................44
6.5 More instructions .....................................................................................................................44
6.6 Auto-Provision ..........................................................................................................................45
7Linux System...........................................................................................................................46
7.1 SSH Access for Linux console ....................................................................................................46
7.2 Edit and Transfer files ...............................................................................................................47
7.3 File System................................................................................................................................47
7.4 Package maintenance system ..................................................................................................48
8Upgrade Linux Firmware .........................................................................................................49
8.1 Upgrade via Web UI .................................................................................................................49
8.2 Upgrade via Linux console........................................................................................................50
9FAQ.........................................................................................................................................51
9.1 How can I configure for a customized frequency band?...........................................................51
9.2 Can I make my own firmware for the gateway, Where can I find the source code? ................51
9.3 Can I use 868Mhz version for 915Mhz bands?.........................................................................51
10 Trouble Shooting.....................................................................................................................52
10.1 I get kernel error when install new package, how to fix? ....................................................52
10.2 How to recover the LPS8N if the firmware crashes .............................................................52
10.3 I configured LPS8N for WiFi access and lost its IP. What to do now?...................................53
10.4 I connect to the LPS8N’s SSID but LPS8N didn’t assign DHCP IP to my laptop? ...................54

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 4 / 55
11 Order Info ...............................................................................................................................54
12 Packing Info ............................................................................................................................54
13 Support...................................................................................................................................54
14 FCC Warning ...........................................................................................................................55

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 5 / 55
1 Introduction
1.1 What is the LPS8N
The LPS8N is an open source LoRaWAN Indoor 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 LPS8N uses Semtech packet forwarder & LoRaWAN Basic Station and fully compatible with
LoRaWAN protocol. It includes a SX1302 LoRa concentrator, which provides 10 programmable
parallel demodulation paths.
LPS8N 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.
LPS8N 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.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 6 / 55
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: 5V DC, 2A, Type C
➢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 -140 dBm sensitivity
➢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
➢Micro SIM Slot
➢External 4G Sticker Antenna.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 7 / 55
➢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
Max Power: 5v, 1.3A
1.3 Features
✓Open Source OpenWrt system
✓Managed by Web GUI, SSH via WAN or WiFi
✓Remote access with Reverse-SSH or remote.it
✓Emulates 49x LoRa demodulators
✓LoRaWAN Gateway
✓10 programmable parallel demodulation paths
✓Pre-configure to support different LoRaWAN regional settings.
✓Allow to customize LoRaWAN regional parameters.
✓Support Local decode ABP end node info and transfer to MQTT server
✓Support different level log in.
✓Support Semtech Packet Forwarder
✓Support LoRaWAN basic station.
✓Optional 3G/4G cellular connection
1.4 Hardware System Structure

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 8 / 55

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 9 / 55
1.5 LPS8N Applications
1.6 LED Indicators
LPS8N has totally four LEDs, They are:
➢Power LED : This RED LED will be solid on if the device is properly powered.
➢LoRa LED : This RGB LED will blink GREEN when LoRaWAN module starts or transmit a
packet.
➢SYS LED :This RGB LED will shows different colors on different state:
✓SOLID BLUE: Device is alive with LoRaWAN server connection.
✓BLINKING BLUE: a) Device has internet connection but no LoRaWAN Connection. or b)
Device is in booting stage, in this stage, it will BLINKING BLUE for several seconds and
then with SOLID RED and BLINKING BLUE together
✓SOLID RED: Device doesn’t have Internet connection.
➢ETH LED : This LED shows the ETH interface connection status.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 10 / 55
2 Access and Configure LPS8N
The LPS8N is configured as a WiFi Access Point by factory default. You can access and configure
the LPS8N after connecting to its WiFi network, or via its WAN Ethernet port.
2.1 Find IP address of LPS8N
2.1.1 Connect via WiFi
At the first boot of LPS8N, it will auto generate a WiFi network
called dragino-xxxxxx with password:
dragino+dragino
You can use a PC to connect to this WiFi network. The PC will
get an IP address 10.130.1.xxx and the LPS8N has the default IP
10.130.1.1
2.1.2 Connect via Ethernet with DHCP IP from router
Alternatively, connect the LPS8N Ethernet port to your router and LPS8N can 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 LPS8N. You can also use this IP to connect.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 11 / 55
2.1.3 Connect via WiFi with DHCP IP from router
If the LPS8N already connect to the router via WiFi, use can use the WiFi IP to connect to LPS8N.
2.1.4 Connect via Ethernet with fall back ip
The WAN port also has a fall back ip address for access if user doesn’t connect to uplink router.
Click here to see how to configure.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 12 / 55
2.2 Access Configure Web UI
Web Interface
Open a browser on the PC and type in the LPS8N 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 (The web port has been changed to
8000 in WAN interface(WAN port or WiFi Client Mode) since firmware 5.3.xxx firmware)
You will see the login interface of LPS8N as shown below.
The account details for Web Login are:
User Name: root
Password: dragino

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

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 14 / 55
3.3 Access the Internet as a WiFi Client.
In the WiFi Client Mode, LPS8N 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
LPS8 LoRaWAN Gateway User Manual 15 / 55
3.4 Use built-in 4G modem for internet access
If the LPS8N 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 LPS8N 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.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 16 / 55
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.
4Example: Configure as a LoRaWAN gateway
LPS8N 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.

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 18 / 55
4.1 Create a gateway in TTN V3 Server
Step 1: Get a Unique gateway ID.
Every LPS8N has a unique gateway id. The ID can be found at LoRaWAN page:
The example gateway id is: a840411e96744154
Step 2: Sign up a user account in TTN server
https://account.thethingsnetwork.org/register

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 19 / 55
Step 3: Choose the TTNv3 Cluster Picker
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:

www.dragino.com
LPS8 LoRaWAN Gateway User Manual 20 / 55
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.
Table of contents
Other Dragino Gateway manuals

Dragino
Dragino LG02 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LG02 User manual

Dragino
Dragino LIG16 User manual

Dragino
Dragino DLOS8N User manual

Dragino
Dragino LG01 LoRa User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino LG01N User manual

Dragino
Dragino G308 User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LG308N User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LG01v2 User manual

Dragino
Dragino LPS8 User manual

Dragino
Dragino LPS8v2 User manual

Dragino
Dragino LG308 User manual

Dragino
Dragino LPS8-868 User manual

Dragino
Dragino DLOS8 User manual