I've had the same trouble.Originally Posted by alpha5
In order to work, you only have to replace the user 'root' by the user 'admin' in smb.conf, since there's no 'root' user but admin is 'root' !
Happy new year !
Oldudu
Since 1.8.1.7-3 my Samba share "share$" is only readonly!
smb.conf is okay and writable is on.
My usb device is mounted rw and over telnet i can write and read as is like!
I've had the same trouble.Originally Posted by alpha5
In order to work, you only have to replace the user 'root' by the user 'admin' in smb.conf, since there's no 'root' user but admin is 'root' !
Happy new year !
Oldudu
As a note: The samba config which comes with the custom firmware is just an example. It is not meant for a working system.
oaky, changed from "root" to "admin"
everything is okay now.
thank you :-)
How to change user root to admin??
Do I need to rename it in /etc/passwd??
I got the same problem
I create an account named pengs and my smb.conf below.
------------------------------------
[global]
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
local master = yes
[data$]
path = /tmp/harddisk/backup
writable = yes
write list = pengs
public = yes
------------------------------------
but I still can't have write acces when I use account 'pengs'.
what can I do to get write access??
Thanks
I know you use a different security strategy then me (share vs. user) but this is my smb.conf which works perfectly for me:Code:$ cat /etc/smb.conf [global] workgroup = WORKGROUP guest account = nobody security = share browseable = yes guest ok = yes guest only = yes log level = 1 max log size = 100 encrypt passwords = no dns proxy = no [share] path = /tmp/harddisk/ [share$] path = /tmp/harddisk/ writable = yes force user = admin browseable = no
I tried and it could let me write no. Thanks.
But I found another problem.
The folder and file can't using other language like chinese character.
Anyone get the same problem as I got??
Thanks again.
The Chinese charset is probably not in the kernel. Search this forum, there's been another question about this.
Is it possible to implement charset=big5 and codepage=950 in the kernel?
Or how to build up the kernel with big5 support?
Yes it is possible to add the codepages to the kernel, you just need to compile your own.
Search this forum on how to do this, also check http://wl500g.dyndns.org
I'm trying to setup Samba too, but I'm even not able to view the smb.conf - I think it doeesn't exitst - although I run "smbd" and "nmbd". Do I have to reset my router? Can I setup my old config then?
FW: 1.9.2.7-3c (Oleg)
tia
Simon
I'm using firmware 1.9.2.7-3c and trying to recompiler it to support codepage 950 when I using samba.
but compliler will fail if I follow the web when using make.
anyone could tell me how to compiler it to let samba support codepage 950 and unicode??
I'm too pool to know how to compiler kernel and I think I do need the detail instruction about this.
Many thanks.
@simon:
smb.conf is in /etc. If you telnet to your router then you can issue the following command:
Which should show the contents of the file.Code:cat /etc/smb.conf
I know that I could show the file in this way, if the file would exist. But it doesn't
simon