If you don't write it down somewhere...

Wednesday, October 31, 2007

How to access a windows share from an UBUNTU box

To access a windows share from ubuntu you must first:

1) Create a folder under the mount folder:
sudo mkdir /mnt/music

2) Make sure you have smbfs (samba smb file system support) installed:

sudo apt-get install smbfs

NOTE: samba server is not needed running.

3) Create the mount:

mount -t smbfs -o username=mike,password=128dy8 //machinenameorip/share

4) If you are connecting to a Windows 2003 server box it may require you to use enctryption. If so you can do this:
try mount -t cifs //yoursever/yourshare /mnt/somepath -o username=validserveraccount

No comments: