Mounting a Directory for Sharing
I'm trying to lean linux and I want to know step by step how to mount a dirctory for shareing so I can access some files in XP.
|
I'm not entirely clear on this, but are you trying to make a Samba / Windows share available *from your linux box* *to your Windows box*? If that's the case, then you need to install samba, available from:
http://www.samba.org/ Post back when you've installed that, you'll need to configure it. If you're not scared of using a text editor and command line, then you'll need to edit smb.conf. If you want a graphical interface, there are many around, SWAT being the most common. |
I have samba ver 2.2.1a
|
have you configured samba? do you have shares setup on the windows machine? if so, create a directory to mount to
cd /mnt mkdir /xpshare then issue smbmount //computername/share /mnt/xpshare |
Never configed samba but thanks for that command line on how to mount a dirve. and after I make it how do I get XP to access it.
|
that was to mount an xpshare from linux. for sharing linux directories you'll need samba configured, and directories shared such as
[share] comment = share path = /path/to/share public = yes browsable = yes writeable = yes |
how do I type all that in at the command line
|
I'm getting an error after I type
"smbmount //computername/share /mnt/xpshare" could not resolve mount point |
you don't unless your editing your smb.conf from a command line editor such as pico. i think you are missing the point here. your not going to share, mount any directories until you configure the samba. you have some reading in front of you here
http://us1.samba.org/samba/docs/ http://us1.samba.org/samba/docs/using_samba/toc.html once you get samba up and running, come back w/more ?'s. good luck. |
Quote:
//computername/share is an example. you'll need your computer name and the name of the share to put into those fields. again, see my last post, read up on samba, post back w/any troubles. good luck. |
Looks like the mount point failed because you need to mkdir /mnt/xpshare instead of /xpshare as posted. Try mkdir /mnt/xpshare then do it again.
|
the problem is that samba has not been configured. i posted a working smb.conf file that i start from when setting up samba a while back. a search for smb.conf and my username should yield results quickly. armed w/that and the documentation at the links above, one should be able to get samba going, then the other information can be applied accordingly.
good luck. |
All times are GMT -5. The time now is 04:45 PM. |