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

Information, issues, requests on Firmware that makes a Meteohub from a NSLU2

Moderator: Mattk

Post Reply
mfarmwald
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Sep 18, 2009 5:08 am

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

Post 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?
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

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

Post 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
mfarmwald
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Sep 18, 2009 5:08 am

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

Post 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.
ulbr2000
Junior Boarder
Junior Boarder
Posts: 21
Joined: Mon Dec 08, 2008 12:07 pm

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

Post 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
Post Reply