This video shows how to connect a Linux client to a file share on a Samba server. Also, learn how to automatically mount a Samba share.
- [Narrator] To connect to an SMB share on a network,…first, we need to make sure the correct…software is installed.…So to do that, I'll install the cifs-utils package…with apt install cifs-utils.…And once that's done, I'll have support…though the mount command to connect to…and mount an SMB server.…In order to mount the share so I can use it,…I'll need to create a local path for it.…I'll write mkdir/mnt/sharedfiles.…
And then, I'll use the mount command to attach…the file share to that point in my file system…with mount, two slashes, and the IP address…or host name of the server,…in this case, 10.0.2.10.…And then, another slash and the name of the file share.…Then, I'll give the path to mounted at,…and I'll use -o for options to send the username.…The slashes at the beginning of the remote address…are a Samba-specific notation.…
Other protocols don't use them.…But if you've connected to a network share in Windows,…you might recognize them.…I need to specify a particular share as well.…I can't just connect to the server without one.…
Share this video
Embed this video
Video: Configuring an SMB client