
www.dragino.com
LG02 LoRa Gateway User Manual
49 / 63
11.2
Edit and Transfer files
The LG02 support
SCP protocol
and has a built
SFTP server
. There are many ways to edit and
transfer files using these two protocols. One of the easiest is through
via WinSCP to the device, use can use a FTP alike window to drag / drop files to the LG02 or Edit
the files directly in the windows. Screenshot is as below:
11.3
File System
The LG02 has a 16MB flash and a 64MB RAM. The /var and /tmp directory are in the RAM,
contents stored in /tmp and /var will be erased after reboot the device. Other directories are in
the flash and will keep after reboot.
Use cat /proc/mtd to see all blocks/partitions.
"u-boot" // for boot-loader
"firmware" // combination of kernel & rootfs
"kernel" // Linux kernel
"rootfs" // Linux rootfs