The file or folder smb://locallinux/shared does not exist.

I am trying to share a folder on FC4 with an winXP machine. I get a  "network path not found" when I try to connect to the folder (I see the Linux machine in Network Neighborhood.)

When I am in konquerer I can see the samba shares icon under network folders and I can connect to any of the windows machines just fine, but when I try to connect to the linux machine I get the "The file or folder smb://locallinux/shared does not exist." error.

Any help on troubleshooting would be appreciated.

James Stonewarehouse managerAsked:
Who is Participating?
ahoffmannConnect With a Mentor Commented:
localhost is usually maped to, which may never cause conflicts
hence localhost is never a remote host name, for obvious reason

In your case, you configured your Linux's hostname to be locallinux, this locallinux must be mapped to the IP (for example, while localhost is always on every machine (even your windows).

Don't know what "going to the network configuration and changing the host name" really does on your system, but after doing that you should have locallinux mapped to its IP. Check with:
  ifconfig -a
  ping locallinux
If both report the same IP, you should be able to use smb://locallinux/ from this mashine.
To connect from another mashine, you either need to setup DNS, or better add locallinux to the WINS server if you have one. In smb.conf you can also define the netbios name to be locallinux.
rindiConnect With a Mentor Commented:
Try this from a terminal as root:

/etc/init.d/iptables stop

Then try again. If that helps and you want your firewall active on the linux box, you will have to configure firewall to allow the following ports:

tcp 139, 445
udp 137, 138

James Stonewarehouse managerAuthor Commented:
I didn't put that I had turned off both the windows and linux firewalls.  Why is linux saying the path is not valid? - Is it a lack of permission?
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

did you configure locallinux as host in /etc/hosts or your NS? check with
  nslookup locallinux

did you setup y folder shared in you Samba configuration? check with
  smbclient -L locallinux
James Stonewarehouse managerAuthor Commented:
How do I configure the host? I put in locallinux in the DNS tab of the network configuration.

Here is the result of the nslookup
[root@locallinux etc]# nslookup locallinux

** server can't find locallinux: NXDOMAIN

[root@locallinux etc]#
assuming that you also have not configured locallinux in /etc/hosts (and most likely have not configured /etc/resolv.conf), the question is: why do you use a hostname (locallinux in your example) which is unknow to your system?
James Stonewarehouse managerAuthor Commented:
When I set up the box the host was default localhost.localdomain, but I later found out that this was reserved by Windows and thought by going to the network configuration and changing the host name to locallinux that it would change it where needed. I guess I was wrong.
aravinthrkConnect With a Mentor Commented:
Also, in addition to what hoffman says, you will have to define the directory 'shared' to be actually shared in the smb.conf file. In order to do this in Fedora, you can use the Samba GUI utility. To invoke this utility, use the 'system-config-samba' from root.

Let us know how it goes,
Good luck
James Stonewarehouse managerAuthor Commented:
I haven't time to play with linux box until this holiday weekend.  I ended up reinstalling the OS and setting the host name from the beginning.  I finally got all three parts (host name, share, and firewall config) working and now have a file server for my home!

Thanks for taking the time to explain what needed to be...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.