Log in

Bekijk de volledige versie : Help please... SAMBA config



Pettt[cz]
06-11-2007, 20:40
Guys.... :confused:
I have a Mvix media player in my home network.
I can see the samba shares on the ASUS, but I cant get in to them.
Access deny is all I get.

- How to allow Everything and Anybody to my samba
- How to log the access events so I at least know what is going on

any other helpfull hint welcome

-----------------------
My samba config:

[global]
workgroup = SKUPINA
netbios name = ASR
server string =
security = SHARE
log level = 1
log file = /opt/var/log/samba/log.%m
load printers = No
dns proxy = No
guest ok = Yes

[Video]
comment = Media
path = /tmp/harddisk/torrent/target
guest only = Yes

---------------------

I did try to put aditional things in there, like:

[global]
guest account = nobody

[Video]
guest ok = yes
browseable = yes

...but samba considers it a default and deletes that after each restart.

big thx

newbiefan
06-11-2007, 22:23
Well, I do not know which firmware and/or config you have on your asus.

Anyhow, check that you gaved write access to your share folder.
You can do this with: chmod 777 /tmp/harddisk/torrent
It sets the read/write/executable rights to specified folder.
Next point is to write it to your flash memory:
For instance:
echo /etc/smb.conf >> /usr/local/.files (enter)

flashfs save && flashfs commit && flashfs enable && reboot (enter)

If you have installed samba to your harddisk according howtos, just follow them - it would make the guideline above obsolet.

And then you can overtake my smb.conf - download it and adjust it to your needs.
Have fun...