This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

nmbd failed - can not see nas4free server in win7

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
qaqz111
NewUser
NewUser
Posts: 5
Joined: 05 Feb 2013 18:52
Status: Offline

nmbd failed - can not see nas4free server in win7

Post by qaqz111 »

Hello to everyone! There's a problem on my nas4free server bothered me for quite a while.

The nmbd failed during smb start up progress, I can't see nas4free server in win7 explore. The smbd is started successfully, so I can use '\\192.168.101.100\xxx' to access files on nas4free server while '\\nas4free\xxx' got an error in win7.

There are only 3 machines on LAN, the nas4free server(also the xp machine) with ip 192.168.101.100, the win7 machine with ip 192.168.101.102, the router as gateway with ip 192.168.101.1.

But I can see xp's, acturely it's the same machine, the nas4free is installed on a usbkey and I use it to boot xp machine. I can access xp's share in win7 use both '\\xpmachine\xxx' and ip address. So this definitely is not the win7 side problem.

The xp also nas4free server machine has 2 network interfaces installed on the system, which were recognized as sk0 and vr0, but only sk0 is connected to the router and is configured with ip 192.168.101.100, vr0 is not connected.

I've searched through the faq and forum, it seems there is no similar issue before.
I've read these posts but problem not solved:
NAS server not showing up in File Explorer of Windows 8
'net use' fails with netbios, succeeds with IP
Win7 cannot see NT1 CIFS share
only working on some windows

Here's the log of nmbd(please note underlined messages):
--------------------------------------------------------------
Feb 6 00:50:39 nas4free nmbd[10240]: ERROR: Failed when creating subnet lists. Exiting.
Feb 6 00:50:39 nas4free nmbd[10240]: [2013/02/06 00:50:39.811703, 0] nmbd/nmbd.c:977(main)
Feb 6 00:50:39 nas4free nmbd[10240]: Failed to open nmb bcast socket on interface 192.168.101.255 for port 137. Error was Can't assign requested address
Feb 6 00:50:39 nas4free nmbd[10240]: nmbd_subnetdb:make_subnet()
Feb 6 00:50:39 nas4free nmbd[10240]: [2013/02/06 00:50:39.811019, 0] nmbd/nmbd_subnetdb.c:127(make_subnet)
Feb 6 00:50:39 nas4free nmbd[10240]: Error = Can't assign requested address
Feb 6 00:50:39 nas4free nmbd[10240]: bind failed on port 137 socket_addr = 192.168.101.255.

Feb 6 00:50:39 nas4free nmbd[10240]: [2013/02/06 00:50:39.809729, 0] lib/util_sock.c:667(open_socket_in)
Feb 6 00:50:39 nas4free nmbd[10240]: added interface sk0 ip=192.168.101.100 bcast=192.168.101.255 netmask=255.255.255.0
Feb 6 00:50:39 nas4free nmbd[10240]: [2013/02/06 00:50:39.808978, 2] lib/interface.c:341(add_interface)

Feb 6 00:50:39 nas4free nmbd[10239]: Becoming a daemon.
Feb 6 00:50:39 nas4free nmbd[10239]: [2013/02/06 00:50:39.803810, 2] nmbd/nmbd.c:896(main)
Feb 6 00:50:39 nas4free nmbd[10239]: WARNING: The security=share option is deprecated
Feb 6 00:50:39 nas4free nmbd[10239]: [2013/02/06 00:50:39.803606, 1] param/loadparm.c:9670(lp_load_ex)
Feb 6 00:50:39 nas4free nmbd[10239]: Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Feb 6 00:50:39 nas4free nmbd[10239]: [2013/02/06 00:50:39.802704, 2] lib/dmallocmsg.c:78(register_dmalloc_msgs)
Feb 6 00:50:39 nas4free nmbd[10239]: Registered MSG_REQ_POOL_USAGE
Feb 6 00:50:39 nas4free nmbd[10239]: [2013/02/06 00:50:39.802325, 2] lib/tallocmsg.c:124(register_msg_pool_usage)



--------------------------------------------------------
My nas4free server on usb is installed from NAS4Free-x86-LiveUSB-9.1.0.1.621.img.

Here's the server information from Help|Report Generator:
NAS4Free 9.1.0.1 (revision 621) x86-embedded; A M I OEMRSDT Intel(R) Pentium(R) 4 CPU 2.60GHz 3071MiB RAM



The global section of smb.conf(the 'workgroup' is set to the same as win7 machine):
---------------------------------------------------------
[global]
encrypt passwords = yes
netbios name = nas4free
workgroup = XU1
server string =
security = share
max protocol = NT1
dns proxy = no
# Settings to enhance performance:
use sendfile = yes
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=64240 SO_RCVBUF=64240
# End of performance section
unix charset = UTF-8
store dos attributes = yes
local master = yes
domain master = yes
preferred master = yes
os level = 35
time server = no
guest account = ftp
map to guest = Never
display charset = LOCALE
max log size = 100
syslog only = yes
syslog = 3
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log level = 3
dos charset = CP936
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
create mask = 0666
directory mask = 0777
force user = ftp
force group = ftp
aio read size = 4096
aio write size = 4096




The output of IFCONFIG(sk0 is the interface with ip 192.168.101.100, vr0 is not using):
---------------------------------------------------------
$ ifconfig
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether 00:0e:a6:3c:ac:d7
inet 192.168.101.100 netmask 0xffffff00 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:05:5d:61:19:3d
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>



Thanks!

qaqz111
NewUser
NewUser
Posts: 5
Joined: 05 Feb 2013 18:52
Status: Offline

Re: nmbd failed - can not see nas4free server in win7

Post by qaqz111 »

Anyone up?

rostreich
Status: Offline

Re: nmbd failed - can not see nas4free server in win7

Post by rostreich »

Quick possible resolution:
Backup config file
Kill data on your usb stick
Install fresh .636 on stick
import datadisks
configure cifs with shares
fire cifs up

added interface sk0
what chipset is this? and what NIC is vr0?
you sure that nothing is messed up with opt1 etc.?

qaqz111
NewUser
NewUser
Posts: 5
Joined: 05 Feb 2013 18:52
Status: Offline

Re: nmbd failed - can not see nas4free server in win7

Post by qaqz111 »

I installed .636 right after it came out(fresh), the problem is still there.

sk0 is an onboard chip, 3Com 3C940 Gigabit LOM.
vr0 is a PCI card that plugged onto mainboard - D-Link DFE-530TX Fast Ethernet Adapter (Rev B).

OPT1 is set to none.

rostreich
Status: Offline

Re: nmbd failed - can not see nas4free server in win7

Post by rostreich »

switch off sk0 in BIOS. reset n4f to standard settings and try to use vr0.

if that works, you have a clue where to dig deeper.

qaqz111
NewUser
NewUser
Posts: 5
Joined: 05 Feb 2013 18:52
Status: Offline

Re: nmbd failed - can not see nas4free server in win7

Post by qaqz111 »

Yes, maybe I should try another card.

I've just removed vr0 from mainboard,and flushed n4f in usb stick,the problem is still there.

Thanks. I'll check it out.

Post Reply

Return to “CIFS/SMB (Samba)”