Network Storage - themactep/thingino-firmware GitHub Wiki
Network File System (NFS) is natively integrated into Thingino, allowing you to mount remote network shares to your device.
To mount an NFS share, use:
mount -t nfs -o nolock <server_ip>:<remote_path> <local_mount_point>
Example:
mount -t nfs -o nolock 192.168.1.1:/mnt/share /mnt/nfs
-
-t nfs
: Specifies NFS as the filesystem type -
-o nolock
: Disables file locking, often necessary for embedded systems -
<server_ip>
: The IP address of your NFS server -
<remote_path>
: The exported directory on the NFS server -
<local_mount_point>
: The directory on your Thingino device where the share will be mounted
- Ensure the mount point directory exists before mounting
- The NFS server must have the share properly exported. On a Linux server use
# exportfs -rav
after adding your shares to/etc/exports
- Network connectivity must be established between server and device
- Thingino supports nfs
v2
andv3
, not v4 - Make the mount persistent by adding your mount command (above) to /etc/rc.local instead of /etc/fstab
Thingino supports CIFS (SMB) but it is not enabled by default. To enable CIFS support, you can add the following build option to your configuration:
BR2_PACKAGE_THINGINO_KOPT_CIFS=y
This option will:
- Enable the necessary kernel configurations for CIFS support.
- Include CIFS utilities in your build.
For detailed instructions on modifying your build configuration, refer to the Build Configuration section of the Thingino wiki.