Dragino DLOS8N Gateway User Manual (EN)
Dragino DLOS8N Gateway User Manual (EN)
on 2022/07/06 14:58
User Manual for All Gateway models - DLOS8N - Outdoor LoRaWAN Gateway User Manual
Table of Contents
1. Introduction .......................................................................................................................................................................... 5
1.1 What is the DLOS8N .................................................................................................................................................... 5
1.2 Specifications ................................................................................................................................................................. 6
1.3 Features .......................................................................................................................................................................... 7
1.4 Hardware System Structure ......................................................................................................................................... 8
1.5 DLOS8N Applications ................................................................................................................................................... 9
1.6 LED Indicators ............................................................................................................................................................... 9
1.7 WiFi Direction .............................................................................................................................................................. 10
2. Access and Configure DLOS8N .................................................................................................................................... 10
2.1 Find IP address of DLOS8N ..................................................................................................................................... 10
2.1.1 Connect via WiFi ................................................................................................................................................... 10
2.1.2 Connect via Ethernet with DHCP IP from router ............................................................................................... 11
2.1.3 Connect via WiFi with DHCP IP from router ...................................................................................................... 11
2.1.4 Connect via Ethernet with fall back ip ................................................................................................................ 12
2.2 Access Configure Web UI .......................................................................................................................................... 12
3. Typical Network Setup .................................................................................................................................................... 12
3.1 Overview ....................................................................................................................................................................... 12
3.2 Use WAN port to access Internet ............................................................................................................................. 12
3.3 Access the Internet as a WiFi Client ........................................................................................................................ 13
3.4 Access the Internet via Cellular ................................................................................................................................ 13
3.5 Check Internet connection ......................................................................................................................................... 15
4. Example: Configure as a LoRaWAN gateway .............................................................................................................. 15
4.1 Create a gateway in TTN V3 Server ........................................................................................................................ 16
4.2 Configure DLOS8N to connect to TTN v3 ............................................................................................................... 20
4.3 Configure frequency .................................................................................................................................................... 22
4.4 Add a LoRaWAN End Device ................................................................................................................................... 23
5. Web Configure Pages ..................................................................................................................................................... 27
5.1 Home ............................................................................................................................................................................. 27
5.2 LoRa Settings .............................................................................................................................................................. 27
5.2.1 LoRa --> LoRa ....................................................................................................................................................... 27
5.2.2 LoRa --> ABP Decryption .................................................................................................................................... 28
5.3 LoRaWAN Settings ..................................................................................................................................................... 29
5.3.1 LoRaWAN --> LoRaWAN .................................................................................................................................... 29
5.3.2 LoRaWAN --> Amazon AWS-IoT ....................................................................................................................... 29
5.3.3 LoRaWAN --> LORIOT ........................................................................................................................................ 29
5.4 MQTT Settings ............................................................................................................................................................ 30
5.5 System .......................................................................................................................................................................... 30
5.5.1 System --> System Overview .............................................................................................................................. 30
5.5.2 System --> General ( login settings) ................................................................................................................... 31
5.5.3 System --> Network .............................................................................................................................................. 32
5.5.4 System --> WiFi ..................................................................................................................................................... 32
5.5.5 System --> Cellular ............................................................................................................................................... 33
5.5.6 System --> Network Status .................................................................................................................................. 33
5.5.7 System --> Remote Mgnt & Auto Provision ....................................................................................................... 33
5.5.8 System --> Firmware Upgrade ............................................................................................................................ 36
5.5.9 System --> Reboot/Reset ..................................................................................................................................... 37
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 ................................................................................................................................................................... 39
6.1 More instructions ......................................................................................................................................................... 39
7. Linux System .................................................................................................................................................................... 39
Table of Contents:
• 1. Introduction
• 1.1 What is the DLOS8N
• 1.2 Specifications
• 1.3 Features
• 1.4 Hardware System Structure
• 1.5 DLOS8N Applications
• 1.6 LED Indicators
• 1.7 WiFi Direction
• 2. Access and Configure DLOS8N
• 2.1 Find IP address of DLOS8N
• 2.1.1 Connect via WiFi
• 2.1.2 Connect via Ethernet with DHCP IP from router
• 2.1.3 Connect via WiFi with DHCP IP from router
• 2.1.4 Connect via Ethernet with 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 Access the Internet via Cellular
• 3.5 Check Internet connection
• 4. Example: Configure as a LoRaWAN gateway
• 4.1 Create a gateway in TTN V3 Server
• 4.2 Configure DLOS8N to connect to TTN v3
• 4.3 Configure frequency
• 4.4 Add a LoRaWAN End Device
1. Introduction
1.1 What is the DLOS8N
The DLOS8N is an open source outdoor LoRaWAN Gateway. It lets you bridge LoRa wireless network to an
IP network via WiFi, Ethernet, 3G or 4G cellular. The LoRa wireless allows users to send data and reach extremely
long ranges at low data-rates.
DLOS8N supports Semtech packet forwarder and LoRaWAN Station connection, it is fully compatible with
LoRaWAN protocol. DLOS8N includes a SX1302 LoRaWAN concentrator.
DLOS8N 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.
DLOS8N 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.
DLOS8N supports auto-provision for mass deployment and long term maintain. System intergrator can easily
change the settings.
1.2 Specifications
Hardware System:
Linux Part:
Interface:
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:
1.3 Features
• Open Source Embedded Linux system
• Managed by Web GUI, SSH via LAN or WiFi
• Support Semtech UDP packet forwarder
• Support LoRaWAN Station Connection
• Cellular Failover conntection(option)
• Direct Communication to LoRaWAN ABP Node
• LoRaWAN packet filtering
• Far seeing LED indicator
• Built-in GPS module for location & timing
• External fiber glass antenna
• Auto-Provision
• Remote Monitoring
• 802.3af PoE
• IP65
• Lighting Protection
• Power Consumption:12v ,300-500mA
There is a waterproof triple color LED on DLOS8N enclosure, the meaning of the LED is:
At the first boot of DLOS8N, it will auto generate a WiFi network called dragino-xxxxxx with password:
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 DLOS8N
has the default IP 10.130.1.1
Alternatively, connect the DLOS8N Ethernet port to your router and DLOS8N 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
DLOS8N. You can also use this IP to connect.
If the DLOS8N already connect to the router via WiFi, use can use the WiFi IP to connect to DLOS8N.
Open a browser on the PC and type the DLOS8N ip address (depends on your connect method)
or
Password: dragino
In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect.
First, release the four screws of DLOS8N, pull out PCB and install SIM card as below:
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 DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected.
Every DLOS8N has a unique gateway id. The ID can be found at LoRaWAN page:
https://account.thethingsnetwork.org/register
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.
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.
We use LT-22222-L IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
Step 1: Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller
device.
A set of these codes are stored in each device by the manufacturer as the default codes for that particular device.
Each device is shipped with a sticker with the default Device EUI as shown below.
Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the
LT-22222 uses a serial port access and a series of AT commands. Changing the codes may be necessary in the
case where you have to use codes assigned by a LoRa WAN server.
For the TTN v3 server, you can use the codes set in the device as in the following example.
The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version
or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3.
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.
Note that it may take some time for the device data to appear in the TTN v3 display.
• 868: valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
• 915: valid frequency: 902Mhz ~ 928Mhz. for bands US915, AU915, AS923 or KR920
After user choose the frequency plan, he can see the actually frequency in used by checking the page LogRead -->
LoRa Log
• No internet connection.
• User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc. (Combine
ABP communication method and MQTT forward together).
Note:
*: User can ignore the latitude and longitude settings here, DLOS8N will use the actually value from GPS module.
**: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here:
Please see this instruction to know more detail and demo for how to connect to AWS-IoT LoRaWAN Core.
5.5 System
5.5.1 System --> System Overview
Shows the system info:
System Password:
There are two login for DLOS8N: root /dragino or admin /dragino. Both root and admin has the same right for
WEB access. But root user has also the right to access via SSH to Linux system. admin only able to access WEB
interface.
Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface.
LAN Settings: When the DLOS8N has the AP enable, LAN settings specify the network info for DLOS8N's own
network.
WiFi Settings: Setting for DLOS8N WiFi IP when use it as WiFi Client
Note *: For DLOS8N which doesn't have the cellular module, this page will shows Cellular not detected.
http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_Note/&file=Auto-
update-feature.pdf
R-SSH is for remote access device and management, introduction for how to use: Remote Access Gateway
( http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG02-OLG02/Firmware )
( http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/ChangeLog )
The file named as xxxxx–xxxxx-squashfs-sysupgrade.bin is the upgrade Image. There are different methods to
upgrade, as below.
Select the required image and click Flash Image. The image will be uploaded to the device, and then click
Process Update to upgrade.
NOTE: You normally need to uncheck the Preserve Settings checkbox when doing an upgrade to ensure that
there is no conflict between the old settings and the new firmware. The new firmware will start up with its default
settings.
The system will automatically boot into the new firmware after upgrade.
NOTE : it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size.
Place to show what package has installed and possible to upgrade packages.
5.6 LogRead
5.6.1 LogRead --> LoRa Log
Show the frequency for LoRa Radio and traffics.
6. More features
6.1 More instructions
LoRaWAN Gateway Instruction(LoRaWAN Gateway)
7. Linux System
The DLOS8N is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify
the Linux settings.
After logging in, you will be in the Linux console and can enter commands as shown below.
The “logread -f” command can be used to debug how system runs.
After establishing access via WinSCP to the device, you can use an FTP style window to drag / drop files to the
DLOS8N, or edit the files directly in the windows.
Screenshot is as below:
The Linux system uses around 8MB ~10MB flash size which means there is not much room for user to store data in
the DLOS8N flash.
You can use an external USB flash memory device to extend the size of flash memory for storage.
Below are some example opkg commands. For more information please refer to the OPKG package maintain
system (https://oldwiki.archive.openwrt.org/doc/techref/opkg)
The system will automatically install the required packages as shown below.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/iperf_2.0.12-1_mips_24kc.ipk
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclibcxx_0.2.4-3_mips_24kc.ipk
Configuring uclibcxx.
Configuring iperf.
9. FAQ
9.1 How can I configure for a customized frequency band?
See below link for how to customize frequency band: How to customized LoRaWAN frequency band
9.3 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 DLOS8N 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
Collected errors:
* kernel (= 3.10.49-1-4917516478a753314254643facdf360a) *
In this case, you can use the –force-depends option to install such package as long as the actual kernel version is
the same.
10.3 I configured DLOS8N for WiFi access and lost its IP. What to do
now?
The DLOS8N 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 DLOS8N no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.
2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252
As below photo:
3. In the PC, use IP address 172.31.255.254 to access the DLOS8N via Web or Console.
Please note the latest firmware uses port 8000 for http and 2222 for ssh access.
• 868 : valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
• 915: valid frequency: 902Mhz ~ 928Mhz. for bands US915, AU915, AS923 or KR920
More info about valid bands, please see EC25-E product page.
13. Support
• Try to see if your questions already answered in the wiki.
• 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:[email protected]