How to mount samba share on linux using fstab

# Debian/Ubuntu
apt-get install smbfs smbclient
# Fedora/Redhat
yum install smbfs samba-client #If not found try smbclient

mkdir /mnt/dirname
//fileserver/sharename /mnt/dirname smbfs username=root,password=mypass 0 0

NOTES:

How to find shares on a remote linux PC

smbclient -L jumbo -Uusername -I ip-address

How to manually mount fstab

mount -a

 

You may also like...

Leave a Reply