Configure UNFS3 server on Tablet
UNFS3 can be used to share a folder from your tablet. See the installation page to know how to install the needed packages. The following steps describe how to share the folder /home/user from the device giving access to the hostpc with IP address 192.168.2.14:
- Connect to the device via ssh
- Edit the file /etc/exports. Add the folder you want to share and set the permittions for the host PC ip address:
- /home/user 192.168.2.14(rw,no_root_squash,async,no_subtree_check)
- Restart the UNFS3 server:
- # /etc/init.d/unfs3 restart
- Verify if the sharing is ok running "showmount" in the PC (needs nfs-common package):
- $ showmount -e <device_ip>
Export list for 192.168.2.15:
/home/user 192.168.2.14
- Now, mount the device folder in the PC:
- $ mkdir /tmp/myfolder
- $ sudo mount -t nfs <device_ip>:/home/user /tmp/myfolder