Skip to main content

Map Network drive

First, Need to make sure you have Samba and smbclient and, Cifs-utils. Install them.

create a mount point (if you haven't already)

sudo mkdir /directr/to/moun/to

Mount the volume

sudo mount -t cifs //[addressofshare]/[folderofshare] -o usernam=ofshare /[localdirectorytomountto] 
Exaple:

sudo mount -t cifs //192.168.3.456/smbshare -o username=bob /mnt/remote

Then, when asked for password, type in password of the share folder that is hosting the share you are trying to access, not your local machine. 

Make it permanent by  going into the fstab

vim /etc/fstab

Line 2 is what you need to enter it (change it to your own of course).

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
//192.168.3.456/smbshare /mnt/remote cifs username=bob,passowrd=eatit 0 0

Test to see if it mount worked

umount /storage/location
mount -a

Troubleshooing