LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can Linux access WinXP's shared folder? (https://www.linuxquestions.org/questions/linux-newbie-8/can-linux-access-winxps-shared-folder-171182/)

davidas 04-17-2004 12:54 AM

Can Linux access WinXP's shared folder?
 
Linux box's IP: 10.1.1.1
Linux mount point for WinXP's Shared folder: /mnt/test

WinXP's IP: 10.1.1.2
WinXP's Shared Folder: C:\Test
WinXP's Shared Folder's password: testpw
WinXP's login userid: John Henderson
WinXP's login user's password: johnpw

Thanks !

RandomLinuxNewb 04-17-2004 01:22 AM

Assuming you have samba installed this should be a snap.

Code:

mount -t smbfs -o username="John Henderson",password=testpw,ip=10.1.1.2 //<xp name>/test /mnt/test
type the command smbmount for more information.

davidas 04-17-2004 02:05 AM

I've not installed Samba yet. Do I need to install Samba on both the linux box and the Winxp box?

Thanks !

Quote:

Originally posted by RandomLinuxNewb
Assuming you have samba installed this should be a snap.

Code:

mount -t smbfs -o username="John Henderson",password=testpw,ip=10.1.1.2 //<xp name>/test /mnt/test
type the command smbmount for more information.


muah 04-17-2004 02:37 AM

You have to install samba only on your linux machine, windows support SMB protocol by default

davidas 04-17-2004 04:34 AM

I've installed samba via
Code:

apt-get install samba
However,
Code:

man smbmount
returns me with an error "No manual entry for smbmount". Do I need to install other packages?

From what I understand (with those prompts during installation), I need to use "smbpasswd -a" to create username and password first, before I can mount the wndows folder. Is that right?

Thanks !

Quote:

Originally posted by RandomLinuxNewb
Assuming you have samba installed this should be a snap.

Code:

mount -t smbfs -o username="John Henderson",password=testpw,ip=10.1.1.2 //<xp name>/test /mnt/test
type the command smbmount for more information.


davidas 04-17-2004 04:48 AM

Code:

mount -t smbfs -o username="John Henderson",password=testpw,ip=10.1.1.2 //<xp name>/test /mnt/test
return me with this error:
mount: wrong fs type, bad option, bad superblock on //davidpc/test,or too many mounted file systems

Please advise.

Thanks !


All times are GMT -5. The time now is 03:49 PM.