Wednesday 29 August 2007

Connect to shared folders on a windows PC

I wrote this guide in Danish to begin with, so why not share it with all of your English-speaking guys out there!

sudo mount -t smbfs //LocalIP/ /media/share -o username=winusername,password=winpassword

*To be able to mount the device as a media device, you need to create the folder first:

sudo mkdir /media/share

To make it permanent:

Open a terminal and put the line above in
/etc/init.d/ - let's say we called the file shared. Now we just need one line and then finished:

sudo update-rc.d shared defaults

Then we need to make the script available:

sudo chmod +x shared

Your done! Now shared folders will apear on your desktop as local devices :)




No comments: