[SOLVED] Cannot mount remote filesystem. Error "Unable to find suitable address"
Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
mount -t cifs //192.168.2.1/C /mnt/Windows-C -o user=name_of_windows_user_account
//192.168.2.1/C is the remote share. Remember I am assuming that you have shared C drive with the share name C. If you have shared it with some other name then use that name.
/mnt/Windows-C is your local linux mount point
-o user=name of the windows user account. The user account that is there on your Windows XP box which has right to access C drive.
When you will hit enter it will ask you for the password for the windows user account. Enter the password and it should work. I hope your Fedora system is configured to be part of the same workgroup as that of your Windows system. If not then please paste the smb.conf file of your Fedora system here in this thread.
Please ignore the stuff posted in my previous post. After posting I realized you are mounting via Windows server. Sorry was posting in another thread at the same time and thought you to be using samba on a linux server.
As this you have got shared configured on Windows machine you do not require to check selinux boolean stuff. This stuff is required when you are hosting samba share on a linux machine.
However, as michaelk said we need to check if 192.168.2.1 is the IP address of your Widnows machine. Check if you are able to telnet Windows machine from linux machine on port 139 or not. Run the smbtree command as suggested my michaelk.
Another thing that you could try is specifying the workgroup in the mount command. The reason I am saying because it is required with some distributions like SuSE.
What is the name of the share on Windows. I doubt you shared it with the default name C. When you did smbtree did you not find Windows system and the device you shared?
As I can see in the command you are using user=root. As I mentioned before you need to mention the user name and the password of Windows user. Make sure that the user account that you are using with the mount command have access to the share.
Were you able to telnet Windows machine on port 139 from your linux machine?
Try the following command and see if it works:
mount -t cifs //192.168.2.1/C /mnt/Windows-C -o user=administrator
If you could share the screenshot of how you have shared the directory from Windows it will nice.
I received the same message when I tried to mount a drive from Linux to a windows server. It was working before and then stopped. I checked and realised that the anti-virus updated and enabled my firewall. After disabling the firewall the mount was working again.