LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2008, 04:22 AM   #1
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Rep: Reputation: 15
Question 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 ?
 
Old 10-08-2008, 04:43 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
The tut doesnt seem to be ubuntu specific.
What problem are you facing?
 
Old 10-08-2008, 05:05 AM   #3
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 223

Rep: Reputation: 46
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.
 
Old 10-08-2008, 05:34 AM   #4
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by w3bd3vil View Post
The tut doesnt seem to be ubuntu specific.
What problem are you facing?

well, my shared folder dont show up in my /hgsf
 
Old 10-08-2008, 05:39 AM   #5
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bassmadrigal View Post
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
 
Old 10-08-2008, 06:16 AM   #6
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 223

Rep: Reputation: 46
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 11:28 AM
how to see vmware shared folder via ubuntu live? shshjun Ubuntu 2 02-16-2006 09:12 PM
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx mr_coffee Linux - Newbie 9 01-23-2006 06:50 AM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 11:35 AM
size of shared folder not correct VMWare buldir Linux - Software 0 09-01-2004 04:10 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration