How to mount Windows (SMB) shares on Ubuntu Linux
Here's how to mount SMB (Windows) shares on an Ubuntu system. Most of this assumes you're the root user. You may have to prepend 'sudo' to many commands depending on your situation.
First, you may have to install the following :
- # apt-get install smbfs smbclient
You can do a simple interactive connect with this :
- # smbclient \\\\YOUR_SERVER\\myusername-U myusername -W YOUR_WORKGROUP
This will at least show the SMB share is reachable.
Next, to enable auto-mounting on system start, you'll want to add one of the following to your /etc/fstab file :