LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-31-2003, 10:12 AM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
Thumbs down Master Browser Problem


I have set up a Samba server on my small network at home, which has a RH8.0, XP, and 2k box. They all run behind a Linksys router that acts as a DHCP server. The Samba/Linux server acts as a WINS server which the router (through DHCP) points the other computers to for NetBIOS name resolution.

Everything that I've mentioned so far works just fine. What doesn't work is that when the Linux box becomes the master browser, no one can browse the network. If the either the XP or 2k computer are the browse master, everything is in working order. I've tried every combination of:

local master = yes/no
preferred master = yes/no
os level = 1/34
domain master = yes/no

that I can come up with. Nothing seems to work. I've seen a couple old threads on other boards using a search engine that had people complaining of the same issues, but none had replies. Does anyone have any suggestions? Or need more information from me to make them?
 
Old 02-03-2003, 03:03 PM   #2
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I've sent a bug report to the Samba team concerning this. I haven't received a reply yet, and I am not holding my breath. Does anyone have a suggestion of how to fix this problem or where to look for more information? I'm out of ideas on where to look or what to try doing to fix the problem.
 
Old 02-07-2003, 10:00 AM   #3
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I've tooled around with this problem briefly in the last day. I thought of a couple things that might be helpful and I tried a few new things.

First, I tried synchronizing the usernames and passwords between the Win computers and the Linux box. I thought there might be some small chance that there was an authentication going on there. Didn't work.

Then I tried turning off the firewall on the Linux server in case the was refusing packets on whatever ports the browse requests were coming in on. Still didn't work.


Then I realized something - When there is no master browser present the two windows computers can seem themselves but not each other. I'm not sure if they each consider themselves the master browser and don't have the other on their browse list or what. Anyway, when the Linux box is the master browser I get an error saying that "That workgroup is not available at this time" or something to that effect. What's the difference here?
 
Old 02-07-2003, 10:10 AM   #4
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
gauge, make sure your workgroud in SMB.conf match your workgroup in the Win boxes and your linux box should be the only browse master. You might need to manually resgistered your win boxes in the host file in Linux. That's what I have to do on my network. I'm still trying to get my win boxes to automatically register to my RH8 server. Hope this help.
 
Old 02-07-2003, 10:11 AM   #5
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Mandrake 8.1. Tried 9.0 but it didn't work for me.
Posts: 150

Rep: Reputation: 15
I had a somewhat similar situation here not long ago; I have 6 machines on my LAN, four of them running Windows 98 and the other two running Mandrake. The Mandy 8.1 machine serves as the firewall/router/internet gateway for all.

One of the Win98 machines, and the Mandy 9.0 machine, were not visible to LinNeighborhood on the Mandy 8.1 machine or to Network Neighborhood on the other Win98 machines, although the Win98 drives WERE mapped on the other machine. On the one Win98 box, Neighborhood insisted that the network was not available even when I was viewing the drive content of another machine.

I finally found that by going to Control Panel, Network, on the one 98 box, and changing the Master Browser option from "auto" to "disabled", then re-booting it, it would appear on the rest of the network. I then also disabled this option in Samba on the Mandy 9.0 box, re-booted it, and now all of them work as expected.

As best I can determine, the two boxes were deciding at boot time that they were the master browser, and as such, could not participate in the "election" process for the rest of the LAN. Disabling the MB option forced them to behave...
 
Old 02-07-2003, 11:04 AM   #6
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Thanks for the posts, guys.

All three computers (XP, 2k, and RH8.0) are in the same workgroup. The network works just fine as long as the Linux box doesn't become the master browser (and I am quite sure of this because I check the log files every 15 seconds or so when testing and as soon as it says it has become master browsing, Network Neighborhood ceases to function).

Now, as for two computers trying to be the master browser at the same time, I would love to know how to disable the option in 2k and XP. I may be blind as a bat, but I didn't see the option anywhere in the network setup for either. Could anyone tell me where to find it?
 
Old 02-07-2003, 11:29 AM   #7
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
I believe Microsuck remove the master browse option from NT, 2K, and XP. It support to look for a browse master at boot and if none found then it will go through an election. As always, it doesn't too great. This is what I found on Microsoft site.

http://support.microsoft.com/default...b;en-us;318332
 
Old 02-07-2003, 11:34 AM   #8
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Hmm. It's stupid that they took that option out. At least I'm not blind, though.

Perhaps there is a registry entry that you can manipulate to change this option. I'll look around for it. If anyone finds it, let me know.
 
Old 02-07-2003, 11:36 AM   #9
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Oh, also... I forgot to ask this up to this point...

If I were to set up the Linux box as a PDC (which, if I'm not mistaken, makes it the master browser by default and eliminates the need for elections), does anyone think this could alleviate the problem (by circumventing it, as it were) ?
 
Old 02-07-2003, 11:43 AM   #10
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Mandrake 8.1. Tried 9.0 but it didn't work for me.
Posts: 150

Rep: Reputation: 15
It quite well might, but I'd be sure to reboot the Windows boxes after making that change just to be certain that they detect it.

I stopped updating my M$ products with Win98SE because I could see the direction they were going. I'm switching over as rapidly as I can while continuing to support my Windows-using clients. Eventually I'll probably have Linux on all but one of the machines, with that one still running Win98SE...
 
Old 02-07-2003, 11:51 AM   #11
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I'm totally new to Linux, but I'm trying to learn quickly. I can DEFINITELY see why people praise it over and above microsoft products. If you know it backwards and forwards you can truly be the master of your computer... unlike windows, which is not stable or nearly as versatile, it seems.
 
Old 02-07-2003, 01:03 PM   #12
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
I'm trying to get my RH8 server to do DHCP, PDC, Samba, web, and mail. So far, I ran into some problem. I'll let you know if it work out.....
 
Old 02-07-2003, 01:12 PM   #13
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
That is exactly what I'm trying to do. I want to set up the following, one step at a time, in the order listed:

1) File server (general file sharing)
2) SSH server
3) WINS server
4) DHCP server
5) PDC
6) Router (including firewall and IP Masquerading)
7) DNS server
8) FTP server
9) HTTP server
10) E-Mail server

It's a tall order, I know. So far I have 1-3 working (except for this small browsing problem, but I hope steps 4 and 5 will resolve that). I'm just taking it one step at a time to get all this done. Learning a ton along the way.

And same goes to you... if you figure this out, PLEASE post the solution. I am completely out of ideas, and it seems like most of the other people trolling this board are as well.
 
Old 02-07-2003, 01:49 PM   #14
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
guage73, do you have to do anything special for WINS to work? DHCP is really easy to setup. All you need is create dhcpd.conf file in /etc. Here is my dhcpd.conf file Hope this will help.

#This is my dhcp server setting
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
ddns-update-style ad-hoc;
option domain-name-servers 192.168.1.1;
option netbios-name-servers 192.168.1.1;
option domain-name "cojo-online.com";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
 
Old 02-07-2003, 02:08 PM   #15
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
WINS is a breeze to set up. All you have to do to start it up is add the following to your smb.conf.

wins support = yes
wins proxy = no

After that you have to do one of two things:

1) Add the IP address of your WINS server to your Network Properties on your clients.

2) If all your computers get their WINS directions from your DHCP server, then you can have your DHCP server point them to the WINS server by adding whatever command is necessary with the correct IP address. This will vary depending on what performs DHCP for you, but I'm sure you can figure it out.

Since we seem to have the same goals in this, perhaps you should email me and we can compare notes on all this stuff.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and the master browser gungadin_ Linux - Networking 1 06-03-2004 01:40 PM
Master Browser problem sorrodos Linux - Networking 0 05-31-2004 03:29 PM
smb and master browser Pedroski Linux - Networking 3 05-04-2004 10:43 AM
Master Browser ekzosmoto Linux - Newbie 5 02-27-2004 07:47 AM
Master Browser can not be found penguinz Linux - Networking 9 09-25-2003 01:29 PM


All times are GMT -5. The time now is 05:40 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration