PDA

Bekijk de volledige versie : Samba wont work..



dfect
14-12-2006, 17:20
Hi,

im a new WL500g Premium user and have a little linux knowledges as bfore.

Ive followed the oleg guide http://wl500g.info/showthread.php?t=5909 and http://www.macsat.com/macsat/content/view/27/36/ to make samba work, but it refuse to access from WinXP client..

logfile says:

[1970/01/01 01:01:10, 0] lib/pidfile.c:pidfile_create(86)
ERROR: smbd is already running. File /var/lock/smbd.pid exists and process id 160 is running.

[2006/12/14 19:52:51, 0] lib/pidfile.c:pidfile_create(86)
ERROR: nmbd is already running. File /var/lock/nmbd.pid exists and process id 162 is running.


ps |grep "mb" says:

161 admin 1004 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
163 admin 992 S /usr/sbin/nmbd -D -n myasus -o -l /tmp -s /opt/etc/sa

The router is hooked up to a 250gb samsung drive, i've partitioned 249gb linux ext3 and rest as swap space, all that works fine..

Router running on olegs 1.9.2.7-7f

I've tried both yes/no to Samba Demo Mode and Hidden Files read write share.

I've typed same workgroup both in samba config-file and in web-interface, the shared dir is there too..


/opt/etc/samba/smb.conf

[global]
workgroup = HEMMA
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = no
dns proxy = no

[smbshare]
path=/opt/share
writeable = yes
browseable = yes
force user = admin


/opt/etc/init.d/S97Samba

#!/bin/sh
/usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/etc/samba/smb.conf
/usr/sbin/nmbd -D -n myasus -o -l /tmp -s /opt/etc/samba/smb.conf


Tried '\\192.168.1.1' and '\\192.168.1.1\smbshare' from windows..

what may be the problem?

dfect
14-12-2006, 19:32
DOH!

The ZoneAlarm Firewall blocked it all the time.. didnt even notice me about 'someone trying to get windows sharing access'..

doh.. there was 6hours at nothing..