-34-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
7.2
Using Samba
Samba is a networking tool that is built-in AI7688H and provides a file sharing
service on the device for file transfer. In the example below you’ll learn how
to use
command to share a directory and set appropriate access
permission for this directory.
UCI Configuration
This example shares a /IoT directory.
Change the shared folder path to /IoT. In AI7688H console, type the following
command:
# uci set samba.media.path='/IoT'
Name the shared folder MySharedFolder:
# uci set samba.media.name='MySharedFolder'
Change the permission of the shared folder to make it readable and writable:
# chmod o+rwx /IoT
Save the UCI settings and reboot the AI7688H platform:
# uci commit
# reboot
After AI7688H 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.
Access Samba in Windows
Open file explorer and type \\mylinkit.local, you should see the
MySharedFolder. Open another file explorer, drag and drop your file to
MySharedFolder, as shown below: