Robert Cudmore    archive    tags    search    software


Adding smb shares in linux

Mount a remote folder 10.16.80.212/share into a folder /mnt/datashare. Use /etc/fstab so this remote folder is mounted on every boot.

Here, we mount a remote folder (//10.16.80.212/share) into a local directory (/etc/datashare). The remote machine is logged in via a user (cudmore) with password (mypassword). Once mounted, the local folder (/mnt/datashare) will have user/owner (pi) and group (pi).

Tags: linux

©2017. Robert Cudmore.