2012-03-31, 20:18
A fresh install of XBMCbuntu final worked for a few days, now it doesn't see samba shares on my network anymore. Ubuntu laptop sees them and works fine. Anyone any ideas?
(2012-03-31, 22:52)wiz561 Wrote: Try to go into the context menu and hit "update" or "scan for updates". See if that makes a difference. For reasons unknown, sometimes my samba connection is dropped and this fixes it.
# make folders where the shares will be mounted
$ sudo mkdir -p /server/movies
# replace vi with your favorite editor (nano or gedit are easier for beginners)
$ sudo vi /etc/fstab
...
# Server Shares (this line assumes your share requires user/password credentials
//192.168.1.100/movies /server/movies cifs rw,cred=/etc/samba/user,uid=<user>,gid=<user>,file_mode=0644,dir_mode=0755 0 0
# this line skips the username and password
//192.168.1.100/movies /server/movies cifs rw,guest,uid=<user>,gid=<user>,file_mode=0644,dir_mode=0755 0 0
$ sudo vi /etc/samba/user
username=user
password=pa$$word!
# this is important as it makes the file only readable by root
$ sudo chmod 600 /etc/samba/user
# flip the switch
$ sudo mount -a
# If you get errors about the type "cifs" not existing, do this and then reboot
$ sudo apt-get install smbfs