(2014-01-08, 16:13)redi Wrote: SMB is a bummer. I have all my movies on an external drive hooked up to my nas and SMB is the only way I can access it.
Hopefully someone gets SMB sorted out.
I got it working, when I looked carefully at the smb.conf file I noticed firstly that the workgroup needed to change (use default WORKGROUP) then hosts allow variable was also causing problems for some reason so I just took this out (put a # before that line) then share the data directory you want to save the file and restart samba (/etc/init.d/S91smb restart) and you should be good to go.
This is only for the samba server so shares you have on the media center that you want samba / windows clients to access, if you need to access samba / windows shares from the media centre this works without issues at all, my data is on a NAS which I access using samba, I dont like UPnP)
Hope this helps, below is my smb.conf file as its been amended...
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
server string = Android
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.smbd
# hosts allow = 192.168.170.
interfaces = eth0 192.168.0.1/255.255.255.0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[XBMC]
path = /root/.xbmc
public = yes
only guest = yes
writable = yes
printable = no
yeah, reading your question again it sounds like you're having issues accessing media on your NAS from the ATV520, this should work out the box, make sure you're on the same workgroup and maybe use IP address instead of name so something like smb://192.168.1.10/Movies (if the IP of your NAS is 192.168.1.10) if the share is password protected syntax is smb://username:
[email protected]/Movies
Hope that helps.