LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   vmware shared folder- how to on slackware ? (https://www.linuxquestions.org/questions/slackware-14/vmware-shared-folder-how-to-on-slackware-674996/)

cyberiapost 10-08-2008 04:22 AM

vmware shared folder- how to on slackware ?
 
i am trying to access a shared folder on my host xp c:\slack in slackware (vmware guest OS )

i was following this guide here

http://www.howtogeek.com/howto/ubunt...machine-guest/

which is written for ubuntu ... but i cant get it work on slackware :(

can someone tell me step by step on how to do the same on slack ?

w3bd3vil 10-08-2008 04:43 AM

The tut doesnt seem to be ubuntu specific.
What problem are you facing?

bassmadrigal 10-08-2008 05:05 AM

I personally tried using the "Shared Folders" in virtualbox (similar VM to VMWare), and always had spotty luck. In place I just shared that folder through Windows, then mounted the folder in slackware using the cifs filesystem.

IIRC the command is

Code:

mount -t cifs -o username="Windows Username",password="Windows Password",umask=0000 //10.0.0.100/slack /mnt/slack
replace the windows username and password as a valid one on the windows machine and the 10.0.0.100 with the ip address of the windows machine. I personally set the umask so others can read and write to it.

I set mine up in the fstab so it auto-mounts on boot.

cyberiapost 10-08-2008 05:34 AM

Quote:

Originally Posted by w3bd3vil (Post 3303883)
The tut doesnt seem to be ubuntu specific.
What problem are you facing?


well, my shared folder dont show up in my /hgsf

cyberiapost 10-08-2008 05:39 AM

Quote:

Originally Posted by bassmadrigal (Post 3303901)
I personally tried using the "Shared Folders" in virtualbox (similar VM to VMWare), and always had spotty luck. In place I just shared that folder through Windows, then mounted the folder in slackware using the cifs filesystem.

IIRC the command is

Code:

mount -t cifs -o username="Windows Username",password="Windows Password",umask=0000 //10.0.0.100/slack /mnt/slack
replace the windows username and password as a valid one on the windows machine and the 10.0.0.100 with the ip address of the windows machine. I personally set the umask so others can read and write to it.

I set mine up in the fstab so it auto-mounts on boot.

am new to slackware , so i have a hard time understanding the things you wrote .. anyway i will try to copy paste that command in the console ..

mine doesnt have any password . so should i leave the password field empty .. ? and the ip .. my guest slackware uses a shared dialup connection with host xp .. so should i just put the ip that shows up in ifconfig in slack??

thanks

bassmadrigal 10-08-2008 06:16 AM

Well, I am not sure how you have your networking setup. On mine, I get a seperate IP address for each machine, but if you are using dial-up without a normal network connection to the router, I am unsure of how that would work.

But if you can figure out the IP address for windows xp, you should use that, and if you don't have a password, remove the whole password field (I believe that it does not have to be there).

But to walk you through the command, mount allows you to, well, mount partitions or network shares into the filesystem. -t is the type of filesystem, which we are using cifs, the -o specifies additional options you are passing to the command. In our case the username, password and umask. I believe you don't need the username and password explained, and the umask will make all the files readable, writeable, and executable for all users. If you want that changed I would just google umask. Next we have the partition/network share we want to mount. In this case you start with the IP Adress and the network share name. Next will be the place in the filesystem you want it mounted to. This folder has to already exist.

Oh and you need to be root to use this command (which is another reason I use the umask, this way other users can use it as well).


All times are GMT -5. The time now is 09:03 AM.