Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-26-2003, 05:35 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Posts: 19
Rep:
|
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!
|
|
|
02-26-2003, 07:59 PM
|
#2
|
Member
Registered: Jul 2001
Location: Earth
Posts: 164
Rep:
|
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.
|
|
|
02-26-2003, 08:31 PM
|
#3
|
LQ Newbie
Registered: Feb 2003
Posts: 19
Original Poster
Rep:
|
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
|
|
|
02-26-2003, 09:00 PM
|
#4
|
Member
Registered: Jul 2001
Location: Earth
Posts: 164
Rep:
|
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.......
|
|
|
02-26-2003, 09:08 PM
|
#5
|
LQ Newbie
Registered: Feb 2003
Posts: 19
Original Poster
Rep:
|
[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
|
|
|
02-26-2003, 09:30 PM
|
#6
|
LQ Newbie
Registered: Feb 2003
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
02-26-2003, 09:44 PM
|
#7
|
LQ Newbie
Registered: Feb 2003
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|