• February 28, 2025, 05:39:30 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DNS-321 and DNS-321 think they're the master browser  (Read 7698 times)

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
DNS-321 and DNS-321 think they're the master browser
« on: May 28, 2010, 05:39:55 PM »

Is there a way to prevent these boxes from assuming the role of the network master browser?  I just ran a little utility to see why my Windows 7 machine suddenly wasn't assuming that role and I found.

LANscanner v1.3 - ScottiesTech.Info

Scanning LAN...

DISKSTATION       192.168.0.144  00-00-00-00-00-00  WORKGROUP
DNS-321           192.168.0.143  00-00-00-00-00-00  WORKGROUP  MASTER
DNS-323           192.168.0.142  00-00-00-00-00-00  WORKGROUP  MASTER
MAIN              192.168.0.151  00-00-00-00-00-00  WORKGROUP


For some reason, these things seem hardwired to assume the master browser role.  I can confuse the issue having two master browsers as well, so I'd like to kill this option off!
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #1 on: May 29, 2010, 09:52:23 AM »

Gee, nobody knows how to fix this?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #2 on: May 29, 2010, 06:46:40 PM »

Well, since nobody was able to come up with any idea, I had to do some serious trolling on the web and come up with a solution of how to kill off the capability.  I'm shocked that nobody has noticed their network has multiple master browsers and the issue that can cause. :)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

Rodent

  • Level 3 Member
  • ***
  • Posts: 136
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #3 on: May 29, 2010, 08:31:35 PM »

I guess its only an issue if you have multiple DNS's

LANscanner v1.3 - ScottiesTech.Info

Scanning LAN...

DNS323                10.0.0.250  00-00-00-00-00-00  WORKGROUP  MASTER
Computer1            10.0.0.94   00-00-00-00-00-00   WORKGROUP
Computer2            10.0.0.69   00-00-00-00-00-00   WORKGROUP
Computer3            10.0.0.70   00-00-00-00-00-00   WORKGROUP

But you are right, there should be an option to turn off master browser on these devices...

R.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #4 on: May 30, 2010, 06:21:56 AM »

I had three NAS units all trying to be the master browser, I think that was why sometimes it took a long time for the networks to be updated.  I turned off the capability on my DNS-321 and DNS-323 and now I just use the Synology DS209 as the master browser.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

Rodent

  • Level 3 Member
  • ***
  • Posts: 136
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #5 on: May 30, 2010, 06:57:34 AM »

How have you turned off the capability on my DNS-321 and DNS-323 ???
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #6 on: May 30, 2010, 08:05:21 AM »

It requires you to use ffp_plug and telnet (or SSH) into your box and do some modifications to the smb.conf file, basically inserting the following line in the [Global] section.

local master = no

The trick is doing that and getting it to take effect. :)


I created a directory under the /ffp/start directory named config.  In that directory, I placed the modified smb.conf file.

In the /ffp/start directory, I placed a file named rconfig.rc containing the following lines.

#!/ffp/bin/sh

/usr/bin/smb stop
config_dir="/ffp/start/config"
cp $config_dir/smb.conf /etc/samba/
/usr/bin/smb start

This stops SAMBA, copies my modified file over, then starts SAMBA again.  Since the file is not placed in the FLASH, it has to get replaced every boot, which is what the above script does.  Of course, you have to stop SAMBA to allow the new configuration to be read.

Result?  No master browser for either of the boxes.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: DNS-321 and DNS-321 think they're the master browser
« Reply #7 on: July 21, 2010, 08:46:56 AM »

HMM...  For some reason, after a total wipe and reconfiguration of my DNS-321, it refuses to relinquish the function of the master browser.  The same technique still works on the DNS-323, so I'm somewhat at a loss.

I even expanded the fix to include all the browsing options.

[global]
local master = no
domain master = no
preferred master = no


The DNS-321 still thinks it's the master browser after a restart.  Yes, the file is being copied to /etc/samba and is correct.  After verifying the file is currently there, I did the following commands.

smb stop
smb start


That should kill off the master browser capability, but it still presses on!  >:(  Any Linux experts here that can tell me what else I can do and still have SAMBA running?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.