MediaTek LinkIt™ Smart 7688 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 56
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
4.7.4.
Setup Samba service in LinkIt Smart 7688
Samba is a file transfer tool that is built-in LinkIt Smart 7688 and provides a shared folder
/Media
on the device for file transfer. In the example below you’ll learn how to use UCI command to
change the shared folder to
/IoT
and set appropriate access permission for this folder.
1)
Change the shared folder path to /IoT. In LinkIt Smart 7688 console, type the following
command:
# uci set samba.media.path=’/IoT’
2)
Name the shared folder
MySharedFolder
, for example:
# uci set samba.media.name='MySharedFolder'
3)
Change the permission of the shared folder to make it readable and writable, for example:
# chmod o+rwx /IoT
4)
Save and reboot the LinkIt Smart 7688 platform, for example:
# uci commit
# reboot
5)
After LinkIt Smart 7688 reboots and is connected to the same local network as your
computer, you are ready to use the Samba transfer tool. Check the steps according to your
operating system below.
4.7.5.
Use Samba to copy files in Windows
Open file explorer and type
, you should see the
MySharedFolder
. Open
another file explorer, drag and drop your file to
MySharedFolder
, as shown in Figure 37.