[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to reach to windows machines



> Hi all.
>
> I want to reach to the shared folders of windows
> machines on this windows network, my machine being
> debian/unstable.
>
> Should I install samba? is there any way to achieve
> it without samba?

I'm assuming what you mean is that you want to mount a directory to a
windows 'share'.
The Samba package allows you to 'share' out directories on your system - two
different things.

If my assumption is correct, then you need to apt-get install smbfs. This
will include the programs smbmount and smbumount. If you are using a kernel
you compiled yourself, then you will need to recompile the kernel with the
smbfs options enabled.

Create a folder as a location to mount it to, for example ~/windowsshare.

Then when you want to mount a remote directory (windows 'share'), use the
command:

smbmount //<my_windows_box>/<my_share> ~/windowsshare \
    -o username=<my_windows_username>,password=<my_windows_password>

NOTE: you must use /'s. Using \'s won't work!

When you want to disconnect:

smbumount ~/windowsshare

HTH,

Andrew




Reply to: