LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-09-2003, 02:04 PM   #1
jcm900
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Windows can't connect to Linux


I'm having trouble connecting my windows machines to my linux machine. I can get to evryone from linux and I can see my linux machine in my workgroup on windows but when I click on it, it says \\localhost is not accessible. A duplicate name exists on the network. Can anyone help?
 
Old 09-09-2003, 03:31 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What are your computer names? It's possible that you do have 2 identically named pcs on your network.
 
Old 09-09-2003, 03:41 PM   #3
jcm900
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
No I don't have two pcs named the same. Right now I have two laptops running windows 2000 and a desktop running red hat 9. Could it be that having two users with the same user name would cause this?
 
Old 09-09-2003, 03:49 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I have seen something like this at work in a totally W2K environment. 2 pcs with different names (as far as I knew) seemed to share names. In the registry (and this will take a while) do a search for machine_name or the name of the pc as you think it should be. You may well find that the pcs share a name.
 
Old 09-09-2003, 04:15 PM   #5
jcm900
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Ok it seems to have cleared up. I restarted all the windows machines and now everything works. Maybe because I restarted the linux box a couple times windows thought there were two localhost computers.. I don't know.. Thanks for your help!
 
Old 09-09-2003, 04:22 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
NP - glad to help - even though you fixed it yourself!
 
Old 10-14-2003, 03:23 PM   #7
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Rep: Reputation: 0
I'm getting this problem too and i only have one windows xp computer trying to connect to one linux machine. I can see the linux machine but i get that error when i try to connect to it. I tried changing the name of the windows computer but i still get the error. i used to have a windows 98 computer hooked up to the network and it worked fine with my linux machine. Anyone know what I can do?
 
Old 10-14-2003, 09:39 PM   #8
rchrismon
LQ Newbie
 
Registered: Oct 2003
Location: Flemington, NJ
Posts: 5

Rep: Reputation: 0
Win2K Can't Access Samba?

I just set up Samba on my RH 9 box following directions from the RH documentation and a book called Red Hat Linux Professional Secrets. When I try to access the Samba shares from my Win2K machine, I get an error message that the network path cannot be found. Using smbclient -L FIATLUX on the linux box seems to show everything is fine. Then, I read in the book that, "... it's difficult to access the Samba server from Windows 2000... Windows 2000 expects a Windows 2000 network... In a Windows XP Professional system you can edit a key in the registry to enable the XP system to access the Samba server..." The book says nothing about how to work around the problem with Win2k. First question: Can, in fact, a Win2K machine access a Samba server? If so, how?
Thanks.
Randy
 
Old 10-14-2003, 10:48 PM   #9
thack111
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
Yes it can, I have 2 windows 2000 computers and a redhat 9.0 set up as a server. I can access the samba fine.
I am wondering how you are trying to access it? from the run prompt with \\IP Number or through My Network? or are you trying to go to the computer name? You might not have DNS set up right. Or if you read the man page there is a main config file, I think /etc/samba/smb.conf that has a list of accepted host. You might just add the entire subdomain, if you are on a failrly secure network. Behind a firewall or something.
Let me know if that helps, or some more info.

Todd
 
Old 10-18-2003, 03:55 PM   #10
rchrismon
LQ Newbie
 
Registered: Oct 2003
Location: Flemington, NJ
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by thack111
Yes it can, I have 2 windows 2000 computers and a redhat 9.0 set up as a server. I can access the samba fine.
I am wondering how you are trying to access it? from the run prompt with \\IP Number or through My Network? or are you trying to go to the computer name? You might not have DNS set up right. Or if you read the man page there is a main config file, I think /etc/samba/smb.conf that has a list of accepted host. You might just add the entire subdomain, if you are on a failrly secure network. Behind a firewall or something.
Let me know if that helps, or some more info.

Todd
Part of the problem is that there are so many factors, I dont' know where to look. I can ping the IP number of the Samba box from the Win2K box. My Net Gear wireless access point/router sees the Samba box and recoginzes its host name (FiatLux) -- BUT the Net Gear router does not see the Win2K box -- not even that the IP is active even though the Win2K box is talking to the world through that access point using the wireless connection. On the other hand, neither the other Win2K machine, nor the Win XP machine see the Samba server either -- even though everybody can ping it. In short, a major part of the problem is that I don't know what I'm doing just with the straight networking, never mind the Samba part.
Sorry, forgot to mention that I've tried connecting by searching for the computer name, clicking the "Entire Network" icon, and entering \\FiatLux\ in the address bar of the file browser, all to no avail.
Any pointers would be appreciated.
Thanks.
Randy

Last edited by rchrismon; 10-18-2003 at 03:57 PM.
 
Old 10-18-2003, 04:03 PM   #11
rchrismon
LQ Newbie
 
Registered: Oct 2003
Location: Flemington, NJ
Posts: 5

Rep: Reputation: 0
One more thing. I've mounted both the Win2K drives on the Linux box and I can read write and otherwise manipulate the files there. So, it's the Win2K to Linux pathway that's not working.
 
Old 10-20-2003, 09:25 AM   #12
thack111
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
look in your /etc/samba/smb.comf file, there si a line that says host allow, try adding your entire subnet to see if that works. if your ip is 192.168.1.100 then ad 192.168.1. this will let wnyone from this subnet access the smb server.

Also you might check your firewall settings this has caused me trouble in the past.

And try putting in the IP rather that the name, the name at the run prompt is useing netbios wich might be part of your trouble.

let me know if that helps
Todd
 
Old 10-21-2003, 12:58 PM   #13
DA203
LQ Newbie
 
Registered: Oct 2003
Location: Norwalk, CT
Distribution: red hat and mandrake
Posts: 4

Rep: Reputation: 0
connect through lan ip address's
 
  


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
How to connect my Linux and Windows? HELP prodriguez Linux - Hardware 1 02-23-2005 02:38 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Linux cannot connect to Windows xp PC itis1 Linux - Networking 7 10-28-2004 10:10 AM
Connect Linux to Windows network jay123 Linux - Newbie 3 06-21-2004 11:12 AM
Connect linux & windows ziox Linux - Networking 4 05-12-2004 04:29 PM

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

All times are GMT -5. The time now is 05:46 PM.

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