LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-26-2003, 05:35 PM   #1
jdklein1975
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Rep: Reputation: 0
Can't connect from Windows machine


I have setup Samba and my smb.conf file on my linux machine (linux1). I have the service started and I can connect to the shares on my linux machine. When I try to connect from my Winodws machine, though, I get the following message:

No service is operating at the destination endpoint on the remote system.

I have tried to connect via windows mapping and the cmd prompt. I have entered the following at the cmd prompt:

net use x: \\linux1\homes

Any help would be appreciated. Thanks!
 
Old 02-26-2003, 07:59 PM   #2
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
Post the results of the following command from your linux system...

nmap localhost

That'll tell us if the port is open, or what services are running.
 
Old 02-26-2003, 08:31 PM   #3
jdklein1975
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Original Poster
Rep: Reputation: 0
here it is. It appears as though the port smb is running on is closed. How do you open?

Interesting ports on localhost.localdomain (127.0.0.1):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
25/tcp open smtp
111/tcp open sunrpc
139/tcp open netbios-ssn
901/tcp open samba-swat
6000/tcp open X11
 
Old 02-26-2003, 09:00 PM   #4
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
Actually, it's open, which means samba is running....

139/tcp open netbios-ssn is for samba.

I guess the next step is to post your smb.conf file.

I did a google search and only found 2 replies, and they were only questions with no answer.......
 
Old 02-26-2003, 09:08 PM   #5
jdklein1975
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Original Poster
Rep: Reputation: 0
[global]
workgroup = MSHOME
netbios name = LINUX1
server string = Samba Server
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No

[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[myshare]
comment = John Share
path = /home/johklein
valid users = johklein
read only = No
create mask = 0765
 
Old 02-26-2003, 09:30 PM   #6
jdklein1975
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Original Poster
Rep: Reputation: 0
I have actually found something. The firewall that RH configured automatiically at install was causing the problem. I turned that off and I do not get the error. Unfortunately, though, I not get the following message when I try to connect to any of my shares:

The network name cannot be found.
 
Old 02-26-2003, 09:44 PM   #7
jdklein1975
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Original Poster
Rep: Reputation: 0
I have it working now. I had a bad smb.conf file in place that I had swapped in during troubleshooting. For anyone who is having the same problem, RH configures a firewall during install automatically. To disable it or reconfigure it run /usr/sbin/lokkit while logged in as root. I just disbaled mine b/c I already had a firewall on my router. I am now running smooth on SAMBA. Thanks mychi for your help.
 
  


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 connect to a windows machine hhegab Linux - Networking 2 04-02-2005 09:05 AM
cannot connect a Windows and Linux machine biscayne07 Linux - Networking 10 02-02-2005 05:17 PM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 06:32 PM
How do i connect a fedora 2 machine to a windows LAN. Tsholofelo Fedora - Installation 2 09-07-2004 10:52 AM
Connect to Printer on Windows machine timnew Linux - Networking 0 05-14-2003 09:16 AM


All times are GMT -5. The time now is 03:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration