Dragino LoRa Gateway LG01-S is a small, cheap-ish single channel LoRa Gateway running OpenWRT.
- Linux (400Mhz 24K MIPS CPU; 64MB RAM; 16MB Flash)
- MCU/LoRa (ATMega328P; 2KB RAM; 32KB Flash; SX2176/78 LoRa Chip)
The device contains:
- Dragino HE Linux Module
- SX1276/78 LoRa Module
- USB Hub
Block scheme of the devices:
You can follow this manual Dragino WiKi Page.
0x03 Fixing not working/starting bug
In the current firmware version IoT-4.3.4 has a bug.
The LoRa forwarder process won't start 'cose of a bug in the start script/missing uci setting.
There few possible solutions to the issue:
- Adding value to /etc/config/lorawan (most elegant)
- Starting LoRa Forwarder daemon from rc.local (most easy)
If you decide to go for the more elegant solution open /etc/config/lorawan
At the end of the general section and add a line:
option routine_script 'lg01_pkt_fwd'
This will expose the needed variable (what script/program to start at boot)
and after reboot your device should work as expected
In the web interface of the device go to:
System > Start up at the bottom of the page
you will see a text area maked as Local Startup, that is /etc/rc.local
You can go there and just add
exit 0 line at the bottom.
And reboot the device