Check Internet connection ......................15 Example : Configure as a LoRaWAN gateway ................16 Create a gateway in TTN Server ....................16 Configure LG308 to connect to TTN ..................18 Configure frequency ......................... 20 Add a LoRaWAN End Device ..................... 21 Web Configure Pages ......................
Page 3
Can I use 868Mhz version for 915Mhz bands? ................. 42 Can I control the LEDs? ......................42 Trouble Shooting ........................43 10.1 I get kernel error when install new package, how to fix? ............ 43 LG308 LoRaWAN Gateway User Manual 3 / 47...
Page 4
10.2 How to recover the LG308 if firmware crash ............... 44 10.3 I configured LG308 for WiFi access and lost its IP. What to do now?........44 Order Info ..........................45 Packing Info ..........................45 Support ........................... 45 Reference ..........................47...
LoRa network. LG308 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.
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 LG308 LoRaWAN Gateway User Manual 7 / 47...
1.5 LG308 Applications 1.6 LED Indicators LG308 has totally 6 LEDs, They are: Power LED : This will be solid on if the device is properly powered. HEART LED : No function yet. SYS LED :This LED will shows different colors on different state: ...
2. Access and configure LG308 The LG308 is configured as a WiFi Access Point by default. User can access and configure the LG308 after connecting to its WiFi network, or via its Ethernet port. 2.1 Find IP address of DLOS8 2.1.1 Connect via WiFi...
IP in LAN port is 10.130.1.1 2.1.4 Connect via WiFi with DHCP IP from router If the LG308 already connect to the router via WiFi, use can use the WiFi IP to connect to LG308. 2.1.5 Connect via LAN port by fall back ip...
2.2 Access Configure Web UI Web Interface Open a browser on the PC and type the LG308 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 (If the IP is assigned by uplink router) You will see the login interface of LG308 as shown below.
3.2 Use WAN port to access Internet By default, LG308 is set to use the WAN port to connect to an upstream network. When you connect the LG308’s WAN port to an upstream router, LG308 will get an IP address from the router and have Internet access via the upstream router.
3.3 Access Internet as a WiFi Client. In the WiFi Client Mode, LG308 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 &...
3.4 Use built-in 4G modem for internet access If the LG308 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 System Cellular The set up page is 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.
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. LG308 LoRaWAN Gateway User Manual 15 / 47...
4. Example : Configure as a LoRaWAN gateway LG308 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 LG308 to work with TTN LoRaWAN Server.
Page 17
Step 2: Sign up a user account in TTN server Step 3: Create a Gateway LG308 LoRaWAN Gateway User Manual 17 / 47...
After create the gateway, we can see the gateway info, as below 4.2 Configure LG308 to connect to TTN We should configure the LG308 now to let it connect to TTN network. Make sure your LG308 has Internet Connection first.
Page 19
In the home page, we can see the LoRaWAN connection is ready now. Check Result After above settings, the LG308 should be able to connect to TTN, below is the result seen from TTN: LG308 LoRaWAN Gateway User Manual...
4.3 Configure frequency We also need to set the frequency plan in LG308 to match the LoRaWAN end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. In logread page, user can check the frequency actually used.
After doing above LG308 will be able to act as LoRaWAN Gateway. Below section shows how to add a LoRaWAN End device in this LoRaWAN network and see the data from TTN. We use LT-22222-L as a reference below, for other LoRaWAN devices will be more or less the same.
Page 22
Step 2: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel and analyze the data LG308 LoRaWAN Gateway User Manual 22 / 47...
This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well. Different LG308 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 LG308 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.
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 5.3.2 LoRaWAN --> LORIOT Settings to communicate to LORIOT LoRaWAN Network Server: https://www.loriot.io/ Instruction: http://wiki.dragino.com/index.php?title=Notes_for_LORIOT LG308 LoRaWAN Gateway User Manual 26 / 47...
5.4 MQTT Settings If end nodes works in ABP mode, user can configure LG308 to transfer the data to MQTT broker, Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction LG308 LoRaWAN Gateway User Manual 27 / 47...
5.5.2 System --> General ( login settings) System Password: There are two login for DLOS8: 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.
Page 29
Set device timezone. Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface. LG308 LoRaWAN Gateway User Manual 29 / 47...
5.5.3 System --> Network LAN Settings: When the LG308 has the AP enable, LAN settings specify the network info for LG308’s own network. WAN Settings: Setting for LG308 WAN port WiFi Settings: Setting for LG308 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 LG308 which doesn’t have the cellular module, this page will shows Cellular not detected.
5.5.6 System --> Network Status 5.5.7 System --> Remote Mgnt 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 LG308 LoRaWAN Gateway User Manual 32 / 47...
5.5.8 System --> Firmware Upgrade We keep improving the LG308 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/Chang...
/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.9 System --> Reboot/Reset LG308 LoRaWAN Gateway User Manual 34 / 47...
5.5.10 System --> Package Maintain Place to show what package has installed and possible to upgrade packages. LG308 LoRaWAN Gateway User Manual 35 / 47...
5.6 LogRead 5.6.1 LogRead --> LoRa Log Show the frequency for LoRa Radio and traffics. 5.6.2 LogRead --> System Log Show the system log LG308 LoRaWAN Gateway User Manual 36 / 47...
6. More features 6.1 More instructions http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction LG308 LoRaWAN Gateway User Manual 37 / 47...
7.1 SSH Access for Linux console User can access to the Linux console via SSH protocol. Make sure your PC and the LG308 is in the same network, then use a SSH tool (such as putty) to access it. Below are screenshots:...
One of the easiest is through WinSCP utility. After access via WinSCP to the device, use can use a FTP alike window to drag / drop files to the LG308 or Edit the files directly in the windows. Screenshot is as below: 7.3 File System The LG308 has a 16MB flash and a 64MB RAM.
For example, if user wants to add iperf tool, they can install the related packages and configure LG308 to use iperf Below is some examples opkgs command, more please refer...
OFF: echo 0 > /sys/class/leds/dragino2\:red\:wlan/brightness Control HEART LED: First export the gpio27 and set to out echo 27 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio27/direction ON: echo 0 > /sys/class/gpio/gpio27/value OFF: echo 1 > /sys/class/gpio/gpio27/value LG308 LoRaWAN Gateway User Manual 42 / 47...
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-dragino2-si3217x: kernel (= 3.10.49-1-4917516478a753314254643facdf360a) * * opkg_install_cmd: Cannot install package kmod-dragino2-si3217x. In this case, user can use the –force-depends option to install such package. opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk --force-depends LG308 LoRaWAN Gateway User Manual 43 / 47...
I configured LG308 for WiFi access and lost its IP. What to do now? The LG308 has a fall-back ip in its LAN port. This IP is always enabled so user can use fall back ip to access LG308 no matter what the WiFi IP is. The fall back ip is useful for connect and debug the unit.
12. Packing Info Package Includes: LG308 or LG08 LoRa Gateway x 1 Stick Antenna for LoRa RF part. Frequency is one of 433 or 868 or 915Mhz depends the model ordered Power Adapter: EU/AU/US type power adapter depends on country to be used ...
Page 46
LG308 LoRaWAN Gateway User Manual 46 / 47...
Need help?
Do you have a question about the LG308 and is the answer not in the manual?
Questions and answers