Mounting Network shares automatically

I wanted to get my mp3 share from my network working smoothly… browsing the windows network can be painfully slow, and it may not even play mp3s properly.
Here’s what you need to do:

install smbfs if you dont have it already
sudo apt-get install smbfs
Then make the dir for the mount… (i’m using my share “mp3″ as example)
sudo mkdir /media/mp3
Then add the mount to your fstab:
sudo gedit /etc/fstab
and add this (assuming you don’t need username and password for the share):
//192.168.0.10/mp3 /media/mp3 cifs guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
obviously replacing your own IPs and share names…
Then run:
sudo mount -a

Leave a Reply