Hello
I've managed to install samba d @ OpenWRT RC6 on my Asus WL-500gP, unfortunately w/o success. daemon works a few seconds and then die.
I found following in logs
cat /opt/log/messages|grep smb
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 1: workgroup: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 2: server: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 5: name: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 6: log: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 7: max: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 12: guest: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 16: [SambaShare]: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 17: comment: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 18: path: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 19: browseable: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 20: public: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 21: guest: not found
Nov 27 22:43:48 (none) user.info : /opt/etc/samba/smb.conf: 22: writeable: not found
Samba is installed in /opt according to the Yours tutorial (THX:D)
samba init script is located in
/opt/etc/init.d/S50samba
#!/bin/sh
DEFAULT=/opt/etc/samba/smb.conf
RUN_D=/var/run/samba
NMBD_PID_F=$RUN_D/nmbd.pid
SMBD_PID_F=$RUN_D/smbd.pid
[ -f $DEFAULT ] && . $DEFAULT
case $1 in
start)
mkdir -p $RUN_D
nmbd -D $NMBD_OPTIONS
smbd -D $SMBD_OPTIONS
;;
stop)
[ -f $SMBD_PID_F ] && kill $(cat $SMBD_PID_F)
[ -f $NMBD_PID_F ] && kill $(cat $NMBD_PID_F)
;;
*)
echo "usage: $0 (start|stop)"
exit 1
esac
exit $?
and conf file is like that
cat /opt/etc/samba/smb.conf
workgroup = WORKGROUP
server string = OpenWRT Samba Server
wins support = no
dns proxy = no
name resolve order = lmhosts hosts bcast
log file = /opt/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
encrypt passwords = true
obey pam restrictions = yes
guest account = nobody
passwd program = /usr/bin/passwd %u
load printers = no
[SambaShare]
comment = /opt/samba
path = /opt/samba
browseable = yes
public = yes
guest ok = yes
writeable = yes
/etc/init.d/S98optfiles
#!/bin/sh
#
# macsat.com /opt/etc/init.d/ script
#
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc/init.d ]
then
for i in /opt/etc/init.d/S*; do
$i start 2>&1
done | logger -s -p 6 -t '' &
break
fi
sleep 1
i=`expr $i + 1`
done
I simply cannot figure out where am i wrong

, any suggestions are welcome

Thanks, Pabl0z