LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2004, 06:31 PM   #1
Moribund
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
Unhappy Windows sees Samba server but...


When I try to open the linux box in w2k "network places" I get the error "\\LinuxBox is not accessible. Network path not found."

Also I can't ping my linux box from the w2k box.

I am sort of sure that the samba config is ok it checks out with most of the examples I've seen.

Really stumped and would appreciate some help.
cheers
 
Old 02-19-2004, 06:32 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
did you setup your samba config and get these errors, or did you just try to access it from win2k and thought that was all that you were supposed to do ?
 
Old 02-19-2004, 06:36 PM   #3
Moribund
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Original Poster
Rep: Reputation: 0
This is after setting up the conf file. I was hoping it was a windows thing : )
 
Old 02-19-2004, 06:39 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
I am sort of sure that the samba config is ok it checks out with most of the examples I've seen.
could you post it so we could have a look at it? also, what have you done to see if your linux box is configured properly?

Quote:
Also I can't ping my linux box from the w2k box.
tells me there may be a problem w/your nic, is it up and running? what is the output of

ifconfig
 
Old 02-19-2004, 07:07 PM   #5
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I do not know much about Samba but, you should be able to ping your Linux box even if Samba was not installed or running. I do not think that Samba is your main problem. You might want to try pinging the loopback address on each computer first. In either Windows or Linux the loopback address is 127.0.0.1 Have each computer ping its own loopback address. If the can ping their own loopback addresses then TCP/IP and you network interface cards are probably working. Also, see if there is anything else that you can ping. You said the Windows box can not ping the Linux box. What about the Linux box pinging the Winows box.

Are you using static IP addresses that you assigned yourself or are you using dynamically assigned IP addresses from a DHCP server. If this is a simple home network and you happen to be using static IP addresses then make sure that both addresses are appropriate for the same network segment. If the numbers were too much different a router would be needed. If this is a home network and these computers do not need to be accessed by users on the Internet, you would most like want to use number that are in a range that is set aside for private IP addresses.

You should also look at the back of each computer and other network devices to see if the green LED near the RJ-45 plug is on. Are the computers connected to a hub with ordianry straight through CAT5 cable or are they directly connected to each other with a CAT5 crossover cable? It seems to me that you need to get your network working before worrying about Samba.
 
Old 02-19-2004, 08:55 PM   #6
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I agree with the suggestion that Peacdog made about looking at the output of ifconfig. On your Linux box the command would be ifconfig, in Windows 2000 the equivalent command would be ipconfig. Note that they are not spelled exactly the same.

In Linux when logged in as root all you need to do is type ifconfig. When logged in as a regular user you need to type /sbin/ifconfig or at least that is how it works on my computer. If you are using a static IP address using an inappropriate IP address and subnet mask would be among the most likely causes of your problem.
 
Old 02-20-2004, 04:25 AM   #7
Moribund
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Original Poster
Rep: Reputation: 0
I have a basic set up with the Linux box (mandrake 9.1) connected to ADSL and also a hub. The hub also has three w2k machines connected to it. All using non twisted pair cables.

The windows boxes interact with each other ok.

Here is my smb.conf file.


# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/02/20 00:12:24

# Global parameters
[global]
workgroup = WORKGROUP
netbios name = LINUXBOX
server string = Samba Server test %v
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
wins support = Yes
default service = homes
printer admin = @adm
read only = No
printing = cups

[homes]
comment = Home Directories
path = /home/smbuser
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = Yes

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" &


Im not bothered about the print sharing for the moment.

thanks
 
  


Reply



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
Linux sees 2003 Domain, windows sees Linux ..but.... Stealthy_C Linux - Networking 4 06-14-2005 03:27 PM
Windows sees Samba shared drive; Linux can't tnandy Linux - Networking 3 09-13-2004 01:00 PM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM
xp sees samba - me does not putkowski Linux - Newbie 0 08-17-2003 07:54 PM
Samba sees Windows but not vice versa Jeffssac Linux - Networking 6 06-26-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 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