Samba
Appearance
[edit | edit source]
To test if your Linux machine sees the shares on the Windows box:
smbclient -L <windows-box> -U <username>
Note: The syntax -username=<username>,password=<password> saves the password.
- Make a directory for the mountpoint:
mkdir /mnt/<name-of-mount-point>
- Mount the share:
mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>
- Create a symbolic link to the mounted drive:
ln -s /mnt/<name-of-mount-point> /<path-of-symlink>
[edit | edit source]
mount -t cifs 192.168.1.3:Mythtv /mythtv -ouser=username,password=password
or in /etc/fstab
//WindowsSystem/Share /mnt/mountpoint smbfs credentials=/home/user/.smbpasswd,uid=1000,gid=1000 0 0
or
//WindowsSystem/Share /mnt/mountpoint smbfs username=WindowsUser,password=WindowsPass,umask=000 0 0