Respected Sir,
Subject: having problem installing samba server
- i cannot browse linux machine from win98 machine's network neighbourhood window
- sometimes it displays the machine and sometime it doesn't in network window
Hellow Sir,
i am yagnesh mistry remembering from surat,gujarat. (Participated in Linux Course CETE, PUNE).
i have 2 pc. One is having Win98 operating system. and on another pc i have installed linux fedora.
primarily i have connected both machines via direct cable(cat5, RJ45 connector, peer to peer connection).
(no swith or hub is connected)
my hostname is: yogihost.pcsdomain.com , which i have given during installation.
(set the hostname dialog)
in my eth0 ethernet card i have statically set ip address as : 192.0.0.1
and subnet : 255.255.255.0
(linux machine)
Now i want to configure samba server.
My smb.conf file is as under:
#======================= Global Settings =====================================
[global]
workgroup = mygroup
server string = samba server
hosts allow = 192.0.0. 127.0.0.
printcap name = cups
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 50
security = SHARE
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
domain guest group = nobody @guest
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes
create mask = 0700
[public]
guest only = yes
writeable = yes
printable = no
[win]
path = /mnt/win
writeable = yes
guest ok = yes
*========end of smb.conf file======================================*
(win is share directory of my harddisk fat32 partition.)
now on win98 pc.
*****************
in the Network Neighbourhood property settings :
1) i have added "Client for microsoft networks"
2) printer and file shared for microsoft networks
3) protocols : tcp/ip
in TCP/IP -> Sis 900 PCI fast Ethernet Adapter
IP Address : 192.0.0.4
sub net mask: 255.255.255.0
and in "primary network logon" i have set "Client for Microsoft networks".
Identification :
name : sfb
workgroup : mygroup
Access Control :
share level access
windows username is : sfb
i have created user sfb on linux. and added user in samba users and provided the smb password.
********
now the problem is on my win98 pc in network neighbourhood computer "yogihost" is displayed.
but, i can't be able to browse it.
it will give error message that computer is not accessible or does not exist.
******
when i type "smb://192.0.0.4/" konqueror browser of linux machine it will display the shared directory of my win98 machine.
by typing "smb://192.0.0.1/" , it will display my linux machines shared directories.
******
and on linux machine when i will try to browse network servers it will give following error message:
Couldn't display "smb:///", because Nautilus cannot contact the SMB master browser.
Check that an SMB server is running in the local network.
i think that both machines should be displayed in the network servers window of linux pc and
network neighbourhood window of win98 pc.
Please guide me that where i had made mistake.
waiting for your reply.
thanking you.
your's faithfully,
yagnesh mistry
yagnesh_mistry@rediffmail.com