LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cant access network - Nautilus cannot contact the SMB master browser (https://www.linuxquestions.org/questions/linux-networking-3/cant-access-network-nautilus-cannot-contact-the-smb-master-browser-190259/)

BlueFlame 06-06-2004 03:34 AM

Cant access network - Nautilus cannot contact the SMB master browser
 
Hi I'm new to linux, and have been trying to set up a network between a linux computer running Red Hat 9.0 and a XP computer (the network also has win95 computers).

The problem is, whenever I try to run "Network Servers" I get the error message:
Quote:

Cant't Display Location
----------------------
Couldn't display "smb:///", because Nautilus cannot contact the SMB master browser.
Check that an SMB server is running in the local network
I have looked "Server settings->Services", and for "smb" it says:
smbd (pid 2500) is running...
nmbd is stopped
(when i tell it to start nmbd still doesnt start)

Here's my smb.conf: (without the comments)

workgroup = mshome ;[I changed this]
server string = samba server
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = yes
username map = /etc/samba/smbusers
dns proxy = no


How can I get onto the network and access the computers?
Must I have a SMB server?
(if I must, how do I set one up - can it be the linux machine?)

Thanks

BlueFlame 06-07-2004 02:33 PM

Does anyone know how to get past this problem?

Do you know of any other way to get the network working properly in Red Hat 9.0
(how do other people get their network working in Red Hat?)

Pete M 06-07-2004 03:43 PM

BlueFlame

I'm by no means a Samba expert but you must have nmbd running for samba to work, it's a bit like a small domain name server for your local network

First thing to try is your firewall if nmbd can't listen on your network it won't work

As you are using Redhat have you got your NIC listed in your security settings as a trusted device ? should be the top item System Settings->Security Level

Just as a test case if the above is already true disable the firewall then try to stop and restart smb

These are my first observations

Regards

Pete

nightjar 06-07-2004 04:17 PM

It's a home network? Need you security or you're the only user?

I you don't need pass then set security = share in smb.conf
Put he same name of the workgroup in both boxes.
That the first
Then type as root /etc/init.d/smb start
Try to connect from windoze
From linux (as root) you must mount the windows partitions
smbmount //name_of_the _windoze_machine/c /mnt/name_of_a_dir_you_prefer/c
when prompt for the pass type again the root pass
Tell us if you find the solution

BlueFlame 06-08-2004 01:02 AM

Thanks for the help guys

I found that the reason nmbd wasnt running was because the network wasnt active :) [this however wasnt the cause of my problem]

I enabled the WINS support options in the smb.conf file, as well as all the options that try to make the linux computer the master. Also the security settings seem to be OK.

Here's my new smb.conf
Quote:

workgroup = mshome
server string = samba server
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
guest ok = yes
username map = /etc/samba/smbusers
dns proxy = no
I'm still having problems with the network though... I cant get my eth0 network to activate on start up, so smb doesnt start properly (it does start - but i get the same problem as before).
However I found that if I activate the network and restart smb (from system settings->server settings->services) then log off, and log back on - so that the network is running when I log in - everything works :) :)

If you know anything about how to get all this to activate on startup (I tried ticking that option in the network settings and it doesnt seem to work) please let me know :confused:

Thanks Again.


All times are GMT -5. The time now is 02:19 AM.