From the course: Ubuntu Linux: Providing Services
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Configuring an SMB client
From the course: Ubuntu Linux: Providing Services
Configuring an SMB client
- [Instructor] To connect to an SMB share on a network, first, we need to make sure the correct software is installed. To do that here on my client I'll use apt install cifs-utils. And when that's done I'll have support through 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. I'll clear the screen and then I'll use the mount command to attach the file share to that point in my file system. I'll type mount//10.0.2.5/files/mnt/sharedfiles - o username=scott. The slashes at the beginning of the remote address are Samba specific notation, other protocols don't use them. But if you've connected to a network share on Windows, you might recognize them. I need to specify a particular share to mount, as well. - o here let's me provide options. I need to set the user name for access because I'm using super user privileges and otherwise, the mount command would try to…