LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 08-09-2004, 11:34 PM   #1
yagneshmistry
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Red face i can't browse my linux machine from windows machine's network neighbourhood window


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
 
Old 08-10-2004, 01:56 AM   #2
posto
LQ Newbie
 
Registered: Jul 2004
Location: RO, Bucharest
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
try this from win98:
open \\192.168.0.1 and see what happens (you should see linux's shares)
 
Old 08-10-2004, 02:52 AM   #3
demoncheese
LQ Newbie
 
Registered: Aug 2003
Location: South East England
Distribution: Suse 9.1, Mandrake 9.2 & 10, Fedora Core 2 & IPCop 1.3
Posts: 11

Rep: Reputation: 0
Try commenting out the 'hosts allow = 192.0.0. 127.0.0.' line. I found that this wouldn't let me use the printer even though the IP address was within the allowed range.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to browse to a windows machine? Koffermot Linux - Networking 4 07-21-2005 03:08 AM
can browse samba network with windows but not linux tuxkwb Linux - Networking 0 12-01-2004 04:52 PM
windows network neighbourhood amitkush Linux - Software 5 07-07-2003 11:40 PM
Network Neighbourhood in Linux suriyamohan Linux - Networking 1 04-22-2003 08:18 AM
unable to browse my network in neighbourhood kareem2020 Linux - Networking 1 06-18-2002 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration