I have a WL-500gp with the latest Oleg firmware and I have been trying
to install samba 2:

/opt/bin/ipkg update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start


/opt/bin/ipkg remove samba does nothing, I suppose thats because it comes with the firmware itself.

Anyhow samba2 and xinetd install correctly, and I can access SWAT.
I took S97Samba from Oleg out of rhe way and /opt/etc/init.d/S80samba looks OK.

I also disabled Samba Demo mode and hidden read-write share on the browser interface.

I configured samba thru SWAT, and later with 'vi' at /opt/etc/samba/smb.conf on my several tries.

But smbd will not start, either thru SWAT or by executing 'S80Samba start' directly.

It still logs briefly:

[2007/02/23 00:26:05, 0] source/smbd/server.c:main(791)
smbd version 2.2.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2007/02/23 00:26:05, 1] source/lib/debug.c:debug_message(258)
INFO: Debug class all level = 2 (pid 223 from pid 223)
[2007/02/23 00:26:05, 2] source/param/loadparm.c:do_section(3073)
Processing section "[smbshare]"

But dies at once. I installed 'strace' and used it directly with smbd -D but the output didn't clarify what is happening.

nmbd survives for some time, about 1 minute and dies also.

The output of 'lsmod | sort' is:

Module Size Used by
audio 50680 0 (unused)
ehci-hcd 31660 0 (unused)
et 34912 0 (unused)
ip_nat_starcraft 2224 0 (unused)
ipt_NETMAP 992 2
printer 12676 0 (unused)
scsi_mod 70216 3 [usb-storage sd_mod]
sd_mod 13292 6
soundcore 5320 0 [audio]
usb-storage 62568 3
usb-uhci 28564 0 (unused)
usbcore 83904 1 [usb-storage audio printer ehci-hcd usb-uhci]
videodev 8344 0
wl 423856 0 (unused)

And my smb.conf is:

# Global parameters
[global]
workgroup = MEKTUB
guest account = nobody
server string = ASUS
interfaces = 192.168.1.0/24 127.0.0.1
bind interfaces only = yes
security = SHARE
browseable = yes
guest ok = Yes
guest only = no
log level = 2
max log size = 100
encrypt passwords = no
dns proxy = No
log file = /opt/var/log/samba/log.%m
load printers = No

[smbshare]
path = /opt/smbshare
writeable = yes
browseable = yes


The output of 'df' is:

Filesystem Size Used Avail Use% Mounted on
rootfs 2.9M 2.9M 0 100% /
/dev/root 2.9M 2.9M 0 100% /
/dev/discs/disc0/part1
37G 251M 35G 1% /opt
/dev/discs/disc1/part1
896M 19M 832M 3% /tmp/harddisk


I run out of ideas, by now. Since I have a disk with swap, I am thinking of trying samba3. Or is that a bad idea ?

Mektub