Page 1 of 1

Where is the guide for configuring samba file cd-gadget?

Posted: Fri Feb 19, 2016 10:57 pm
by dusf
I have searched the forum but have not found the main guide.

Please link to it.

Re: Where is the guide for configuring samba file cd-gadget?

Posted: Fri Feb 19, 2016 11:02 pm
by zoelechat
Gadget itself doesn't need to be configured, if you mean configuring Samba shares, check there into "features": https://forum.samygo.tv/viewtopic.php?f=63&t=6778

Re: Where is the guide for configuring samba file cd-gadget?

Posted: Sat Feb 20, 2016 6:11 pm
by dusf
zoelechat wrote:Gadget itself doesn't need to be configured, if you mean configuring Samba shares, check there into "features": https://forum.samygo.tv/viewtopic.php?f=63&t=6778
Exactly what I was looking for, it is working now. I had set this up before but moved my samba server and I could not remember what else I needed to change.

Thanks Zoelechat!

Re: Where is the guide for configuring samba file cd-gadget?

Posted: Sat Feb 20, 2016 11:59 pm
by dusf
Okay, this was work but since I added username and password authentication it has stopped - although my Android tablet and XBMC box can connect to the samba server fine, and browse and stream media. On my Samsung UE32H5500 File Cd-Gadget prompts after about 30 seconds, I select all, and it displays a smb dir, when I enter it it displays the IP of my samba server as a directory, and inside that is shows a directory called Media, which is the name of the samba share I have set up on the server.

/etc/samba.conf running on the server:

Code: Select all

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = ubuntu
security = user
map to guest = bad user
dns proxy = no

#============================ Share Definitions ==============================

[Media]
path = /media/dusf/HDD2/Media
valid users = @sambagroup
guest ok = no
writable = yes
browsable = yes
force user = dusf
smb_userdata located in /mtd_rwarea:

Code: Select all

USER="sambauser" #or your login name
PASSWD="theactualpasswordforsambauser" #password
SERVER="192.168.1.2" #IP of your samba server
SHARES="Media" #your network shares, divided with space
On the server sambauser is part of the group sambagroup, and in smb_userdata above I am using the acual password for PASSWD. Like I said, I can access and browse files fine from my Android tablet and XBMC box, any idea why it is not working for File CD Gadget?

Re: Where is the guide for configuring samba file cd-gadget?

Posted: Mon Feb 22, 2016 9:55 pm
by dusf
This was resolved by editing the username and password in /mnt/etc/init.d/04_04_samba.init on the Samsung TV :)