Tuesday, August 18, 2015

Mount a Windows share on Linux

This article describes how to set up a share from a Linux box to a Windows box. Samba has to be installed.

To test if your Linux machine sees the shares on the Windows box:
smbclient -L -U

  • Make a directoy for the mountpoint:
mkdir /mnt/

  • Mount the share:
mount -t smbfs -o username=,password= /// /mnt/

Note: The syntax -username=,password= saves the password.

  • Create a symbolic link to the mounted drive:
ln -s /mnt/ /


No comments: