Page 1 of 1

How do I disable nmbd (wins) server on meteohub?

Posted: Wed Mar 30, 2011 11:52 pm
by mfarmwald
Meteohub starts a nmbd server which insists on being the local master (netbios). This messes up my network browsing.

I can kill the process, but, of course, I have to remember to do this each time meteohub gets rebooted.

Meteohub doesn't seem to use smb.conf for the nmbd parameters (which is how it normally is disabled.)

So, how I get rid of nmbd permanently? Or at least make it not be a local master with such high priority?

Re: How do I disable nmbd (wins) server on meteohub?

Posted: Thu Mar 31, 2011 4:04 pm
by wfpost
Why does it mess up your windows Network?
I have meteohub running with a couple of Windows machines and Linux ones as well and it does not do any harm to my WINXP, WIN7 PCs

samba won´t start nmbd with disable netbios = yes in smb.conf
# generated by meteohub
printcap name = /dev/null
load printers = no
printing = bsd
[global]
workgroup = Obergeschoss
security = user
log file = /data/log/smb.log
max log size = 50
dns proxy = no
disable spoolss = yes
disable netbios = yes

Re: How do I disable nmbd (wins) server on meteohub?

Posted: Thu Mar 31, 2011 6:44 pm
by mfarmwald
Thanks.

I'm running a wins server on a CENTOS/asterisk box & I want it to be local and domain master. Meteohub insists on winning.

As to the exact problem with Meteohub messing up my network, I think it is because I run two meteohub servers on the same network. Meteohub uses 192.168.1.77 as the advertised local master (instead of the assigned meteohub IP address), but either of the meteohub servers can respond. I suspect that if the wrong one responds, bad things happen. Just a guess, but it's quite repeatable.

Re: How do I disable nmbd (wins) server on meteohub?

Posted: Fri Apr 01, 2011 12:45 pm
by ulbr2000
Hello,

you can add the string
os level = 2
to the smb.conf, global part

This will influence the election process and meteohub will NOT insist on winning again against any other server

regards