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-03-2009, 12:04 AM
|
#1
|
Member
Registered: Mar 2006
Posts: 140
Rep:
|
How do you see a Host Only folder from a Linux guest ?
My Windows guests see my VMware Host Only folders as \\.host\Shared Folders\
But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work.
Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux.
With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.
Does anyone here have a suggestion for how to look for the shares with Linux ?
|
|
|
02-03-2009, 07:42 PM
|
#2
|
Member
Registered: Mar 2006
Posts: 140
Original Poster
Rep:
|
Join Date: Nov 2006
Posts: 412
So the answer is to quit frying to find it on the network. It is configured as a drive. Instead of the path being \\.host\Shared Folders like in Windows, it is /mnt/hgfs/Shared Folders.
It is added to the fstab file, as .host:/ /mnt/hgfs.
|
|
|
02-03-2009, 07:50 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If you use the User security model and configure a profile share you can see just that users share instead of a list of all users shares.
You might also want to use "smbclient" from a linux guest host and see what is visible. Do you have a firewall on the Linux guest hosts blocking the ports you need for smb browsing?
|
|
|
02-04-2009, 09:04 AM
|
#4
|
Member
Registered: Mar 2006
Posts: 140
Original Poster
Rep:
|
Good morning jschiwal:
No, the answer is that the Host Only folder comes in as a drive mounted at /mnt/hgfs/Shared Folders/ That is as good as its going to get.
But I discovered something about it that prevents me using it for what I intended.
It messess up the permissions on files. It's like its an NTSF drive or something. I had intended to get it working in networking and then mount it in fwfsab as /tmp. But the things going into /tmp need to keep their permissions intact.
/tmp is a busy place. And on a growable virtual disk, where deleting files does not get the space back, that can be a problem, especially if you want to copy some DVDs.
With a Windows host I knew that I couldn't put /tmp there, but it didn't occur to me that my Fedora host would look like it had an NTFS drive.
I have since done a search on the drive type vmhgfs and found that it has always been like this, and is not about to change.
But I can still get a lot of mileage out of the Host Only shared folder. I can tell k3B to use that instead of /tmp.
|
|
|
All times are GMT -5. The time now is 09:58 PM.
|
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
|
|