Search by Tags

SMB support


Article updated at 06 Nov 2018
Compare with Revision

Subscribe for this article updates

CIFS or Samba Support to Access/Mount Windows Network Shares.


From Package Manager (opkg)

Install the required packages:

opkg update
opkg install cifs-utils libsmbclient0 samba

Please note that the cifs-utils package is unfortunately not currently available in any Ångström feed and needs to be built as per our OpenEmbedded (core) article instructions.

From OpenEmbedded Build

Follow the OpenEmbedded (core) article and make sure you are able to build and deploy at least the reference image for our BSP.

Add samba and cifs-utils to your local.conf:

IMAGE_INSTALL_append = " samba cifs-utils"

In-kernel Support

Optionally verify in-kernel Cifs Support

root@colibri_t20:~# cat /proc/filesystems | grep cifs
nodev   cifs


Allows easy access of any Windows share similar to e.g. an FTP server:

root@colibri_t20:~# smbclient --user=<user> //<server>/<share>
Enter <user>'s password: 
Domain=[YOURDOMAIN] OS=[Unix] Server=[Samba x.y.z]
smb: \> 


Seamless access on a file basis is possible through in-kernel cifs file system driver as follows (Note: requires kernel cifs support as outlined above):

root@colibri_t20:~# mount.cifs //<server>/<share> /mnt/net -o user=<user>