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
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 :)