www.dragino.com
5.2
Edit and Transfer files
The LG308 supports the
SCP protocol
and has a built-in
SFTP server
. There are many ways to edit
and transfer files using these protocols.
In Windows, one of the easiest methods is using the
utility.
After establishing access via WinSCP to the device, you can use an FTP style window to drag /
drop files to the LG308, or edit the files directly in the windows.
Screenshot is as below:
5.3
File System
The LG308 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.
The Linux system uses around 8MB ~10MB flash size which means there is not much room for
user to store data in the LG308 flash.
You can use an external USB flash memory device to extend the size of flash memory for storage.
LoRaWAN Gateway User Manual --- Update:2019-05-25
24 / 38