I bought a Raspberry PI with the intention of using it to play movies stored on my NAS, as well as browsing the web, so I will be using Raspbian
My NAS is a Western Digital MyBookLive on my home network.
It's configured to use DHCP, and does not have a username/password set up.
I've seen examples of how to connect to a NAS, such as what is outlined here: http://www.stuffaboutcode.com/2012/05/raspberry-pi-connect-nas-windows-share.html?m=1
However, I'm a little confused about a few things that I would like clarified.
First,
As per the example on that page there is a username & password specified:
Edit fstab file I needed to edit the fstab file to mount the NAS drive at startup:
sudo nano /etc/fstab
I added the following line to the bottom of the file:
//myNAS/myShare /home/pi/myNAS/myShare cifs username=your_username,password=your_password,workgroup=your_workgroup,users,auto,user_xattr 0 0
As I stated, my NAS doesn't have a username & password configured. What should I do in this case?
Second,
One of the comments on the page states:
My NAS is on 192.168.1.101, so the line added on /etc/fstab is: //192.168.1.101/PUBLIC/backup_raspberry /mnt/NAS username=USERNAME,password=PASSWORD,workgroup=WORKGROUP,users,auto,user_xattr 0 0
Does this imply that I should be using the IP address of the NAS rather than the name of the device? Is it possible to do this when the NAS's IP address is assigned dynamically, as with DHCP?
Third
While that article outlines how to mount the NAS at Start-up, I would also like to know if it's possible to add a link of sorts to the NAS to the Raspbian desktop? If so, how? This is a partial requirement because my non-technical wife will be using the device to play movies.