On Tue, 2002-02-05 at 06:27, Greg Smith wrote:
> I would like to attach to a network share on a MSWindows machine.
> I'm stumped!!
> 
> Even just a referral as to where I can read up on this.  I have found lots of 
> info on Samba and how to connect to a Linux share from an MSWindows machine, 
> but not the other way.
> 
> Greg

First off, you need to make sure you have the samba-client package
installed. Here's what my laptop reports:

[dave@dedannshae dave]$ rpm -qa|grep samba
samba-common-2.2.2-3.2mdk
samba-client-2.2.2-3.2mdk
[dave@dedannshae dave]$

Notice that I do not have the samba-server package installed. I don't
share anything on my laptop, I just take from other shares :-)

Once you know you've got the necessary packages installed, you can use
the command-line samba client like this:

[dave@dedannshae dave]$ smbclient -L numidea
added interface ip=10.0.0.93 bcast=10.0.0.255 nmask=255.255.255.0
Password: 

        Sharename      Type      Comment
        ---------      ----      -------
        PRINTER$       Disk      
        HPDJ400        Printer   
        HOME           Disk      
        IPC$           IPC       Remote Inter Process Communication

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
[dave@dedannshae dave]$

to get a list of available shares on a computer named numidea. I see
that there is a HOME share, so I can mount it like this:

[dave@dedannshae dave]$ smbmount //numidea/home mnt/numidea/home/
Password: 
[dave@dedannshae dave]$

This assumes I have a mnt/ directory in my home directory, with
numidea/home/ as further subdirectories of mnt/.

There are also several GUI clients which make this much prettier (but,
IMO, not any easier). However, I generally mount the share from the
command line, then simply use Nautilus to browse to the directory and do
what I need to do.

Dave
-- 
Beware the wrath of dragons, for you are crunchy, and good with ketchup.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to