Document Version: 1.0 Firmware Version: lgw--build-v5.4.1644990565-20220216-1352 Version Description Date Release 2022-Apr-8 Table of Contents Introduction ..........................5 What is the LPS8N ........................5 Specifications ..........................6 Features ............................7 Hardware System Structure......................7 1 / 55 LPS8 LoRaWAN Gateway User Manual...
Page 2
Check Internet connection ......................16 Example: Configure as a LoRaWAN gateway ................16 Create a gateway in TTN V3 Server ..................18 Configure LPS8N to connect to TTN v3 ..................21 Configure frequency ......................... 23 Add a LoRaWAN End Device ..................... 24 Web Configure Pages ......................
Page 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 3 / 55 LPS8 LoRaWAN Gateway User Manual...
Page 4
Order Info ..........................54 Packing Info ..........................54 Support ........................... 54 FCC Warning ........................... 55 4 / 55 LPS8 LoRaWAN Gateway User Manual...
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.
➢ 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 Features ✓ Open Source OpenWrt system ✓...
LPS8N Applications 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.
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. Find IP address of LPS8N 2.1.1 Connect via WiFi...
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.
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) IP_ADDRESS http://IP_ADDRESS or http:// :8000 (The web port has been changed to 8000 in WAN interface(WAN port or WiFi Client Mode) since firmware 5.3.xxx firmware)
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.
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. System → WiFi → WiFi WAN Client Settings The settings for WiFi Client is under page In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save &...
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.
: This interface doesn’t connected. 4 Example: 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. 16 / 55...
Page 17
This chapter describes how to use the LPS8N to work with www.thethingsnetwork.org TheThingsNetwork v3(TTN v3) LoRaWAN Server 17 / 55 LPS8 LoRaWAN Gateway User Manual...
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...
Page 19
Step 3: Choose the TTNv3 Cluster Picker Note: Choose the cluster corresponds to a specific Gateway server address ➢ eu1.cloud.thethings.network Europe 1 corresponding Gateway server address: ➢ nam1.cloud.thethings.network North America 1 corresponding Gateway server address: ➢ au1.cloud.thethings.network Australia 1 corresponding Gateway server address: ➢...
Page 20
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. 20 / 55 LPS8 LoRaWAN Gateway User Manual...
Configure LPS8N to connect to TTN v3 You can now configure the LPS8N to let it connect to TTN network V3. Make sure your LPS8N 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.
Page 22
In TTN v3 portal, we can also see the gateway is connected. 22 / 55 LPS8 LoRaWAN Gateway User Manual...
Configure frequency We also need to set the frequency plan in LPS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. In logread page, user can check the frequency actually used.
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-22222-L IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
Page 25
Select Add Application to open the screen below. Open the Application select Add end device Start Register the end device Select OTAA activation mode The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification.
Page 26
First, input the End device ID, AppEUI and DevEUI. Secondly, choose the corresponding frequency and LoRaWAN class capabilities. 26 / 55 LPS8 LoRaWAN Gateway User Manual...
Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device. Step 2: Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel.
This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customize the band* as well. Different LPS8N hardware version can support different frequency range: ➢ 868: valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
5.2.2 LoRa --> ABP Decryption The LPS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: ▪ No internet connection. ▪ User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc.
LoRaWAN Settings 5.3.1 LoRaWAN --> LoRaWAN This page is for the connection set up to a general LoRaWAN Network server such as: TTN, ChirpStack Note **: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets 1.1.1 LoRaWAN -->...
Page 31
31 / 55 LPS8 LoRaWAN Gateway User Manual...
MQTT Settings If end nodes work in ABP mode, user can configure LPS8N to transfer the data to MQTT broker, Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction 32 / 55 LPS8 LoRaWAN Gateway User Manual...
5.5.2 System --> General ( login settings) System Password: There are two logins for LPS8N: root /dragino or admin /dragino. Both root and admin have the same right for WEB access. But root user has also the right to access via SSH to Linux system.
Page 34
Set device timezone. Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface. 34 / 55 LPS8 LoRaWAN Gateway User Manual...
5.5.3 System --> Network LAN Settings: When the LPS8N has the AP enable, LAN settings specify the network info for LPS8N’s own network. WAN Settings: Setting for LPS8N WAN port WiFi Settings: Setting for LPS8N WiFi IP when use it as WiFi Client...
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. Note *: For LPS8N which doesn’t have the cellular module, this page will shows Cellular not detected.
5.5.7 System --> Remote Mgnt & Auto Update Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: Please see this document for detail: http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Applicatio n_Note/&file=Auto-update-feature.pdf 38 / 55 LPS8 LoRaWAN Gateway User Manual...
Page 39
R-SSH is for remote access device and management, introduction for how to use: http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH 39 / 55 LPS8 LoRaWAN Gateway User Manual...
5.5.8 System --> Firmware Upgrade We keep improving the LPS8N firmware for new features and bug fixes. Below are the links for reference. ➢ Latest firmware: LoRa Gateway Firmware, ( http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware) ➢ Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8N/Firmware/ChangeLog The file named as dragino-lgw–xxxxx-squashfs-sysupgrade.bin...
The system will automatically boot into the new firmware after upgrade. Note *: User can also upgrade firmware via Linux console SCP the firmware to the system /var directory and then run root@OpenWrt:~# /sbin/sysupgrade –n /var/Your_Image NOTE: it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size.
5.5.10 System --> Package Maintain Place to show what packages have been installed and possible to upgrade packages. 42 / 55 LPS8 LoRaWAN Gateway User Manual...
Page 43
LogRead LogRead --> LoRa Log 5.6.1 Show the frequency for LoRa Radio and traffics. 5.6.2 LogRead --> System Log Show the system log 43 / 55 LPS8 LoRaWAN Gateway User Manual...
6 More features Packet Filtering Drop unwanted packets: http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets Remote Access Remote Access Devices for management: Instruction http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH How to decode ABP LoRaWAN node Decode ABP http://wiki.dragino.com/index.php?title=Communication_with_ABP_End_Node How to set data to MQTT broker Only support ABP LoRaWAN End Node Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction...
Auto-Provision Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: Please see this document for detail: http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8N/Firmware/Applicatio n_Note/&file=Auto-update-feature.pdf 45 / 55 LPS8 LoRaWAN Gateway User Manual...
Linux System The LPS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. SSH Access for Linux console User can access the Linux console via the SSH protocol. Make sure your PC and the LPS8N are...
Screenshot is as below: File System The LPS8N has a 16MB flash and a 64MB RAM. The /var and /tmp directories are in the RAM, so contents stored in /tmp and /var will be erased after rebooting the device. Other directories are in the flash and will remain after reboot.
There are more than 3000+ packages available in our package server for users to install for their applications. For example, if you want to add the iperf tool, you can install the related packages and configure LPS8N to use iperf .
Upgrade Linux Firmware We keep improving the LPS8N Linux side firmware for new features and bug fixes. Below are the links for reference. ➢ Latest firmware: LoRa Gateway Firmware, http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware ➢ Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02- OLG02/Firmware/ChangeLog The file named as xxxxx–xxxxx-squashfs-sysupgrade.bin...
Upgrade via Linux console SCP the firmware to the system /var directory and then run root@OpenWrt:~# /sbin/sysupgrade –n /var/Your_Image NOTE: it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size.
Can I make my own firmware for the gateway, Where can I find the source code? Yes, You can make your own firmware for the LPS8N for branding purposes or to add customized applications. The source code and compile instructions can be found at: https://github.com/dragino/openwrt_lede-18.06...
In this case, you can use the –force-depends option to install such package as long as the actual kernel version is the same. Opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk –force-depends 10.2 How to recover the LPS8N if the firmware crashes Please follow this instruction to recover your gateway: http://wiki.dragino.com/index.php?title=Recover_Gateway...
10.3 I configured LPS8N for WiFi access and lost its IP. What to do now? The LPS8N has a fall-back IP address on its WAN port. This IP is always enabled so you can use the fall-back IP to access LPS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.
10.4 I connect to the LPS8N’s SSID but LPS8N didn’t assign DHCP IP to my laptop? This is a known bug for the firmware version before 2019-09-23 for LPS, the issue was fixed since version: LG02_LG08--build-v5.2.1569218466-20190923-1402. In the old version, user can use the fall back ip method to access and configure the device.
Page 55
➢ 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. ➢ Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to: support@dragino.com...
Need help?
Do you have a question about the LPS8N and is the answer not in the manual?
Questions and answers