Link to home
Start Free TrialLog in
Avatar of sharingsunshine
sharingsunshineFlag for United States of America

asked on

Linux mount of Windows Shared Now Fails

This was working but when I do mount-shared folder from Centos 6 guest via VMware I get the following when I use the shared with option:
User generated image
On Linux I get this error message
[root@localhost ~]# mount.cifs //RJW-PC/shared /mnt -o user=share
mount error: could not resolve address for RJW-PC: Unknown error

Open in new window


When I do the permssions on the folder I want to share called logger I get:
User generated image
Please help me get back this much needed feature.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

check if you can ping RJW-PC ?

maybe the IP Address of the computer - RJW-PC has changed, and therefore your Linux computer does not know where to find it?
Avatar of sharingsunshine

ASKER

This is what I get
[root@localhost ~]# ping RJW-PC
ping: unknown host RJW-PC

Open in new window


So what should I do next?
okay, so you need to find out the IP Address of your computer - RJW-PC

and it may be better to either use an IP Address as

mount.cifs //xxx,xxx,xxx,xxx/shared /mnt -o user=share

or use a Static IP Address, and then create a host file.
sure thing on the images

Here is what I tried and got the same error
[root@localhost ~]# mount.cifs //192,168,0,68/shared /mnt -o user=share
mount error: could not resolve address for 192,168,0,68: Unknown error

Open in new window


don't know how to create the host file and use a static ip
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
worked fine thanks for the help