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 ! |
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 |
I've not installed Samba yet. Do I need to install Samba on both the linux box and the Winxp box?
Thanks ! Quote:
|
You have to install samba only on your linux machine, windows support SMB protocol by default
|
I've installed samba via
Code:
apt-get install samba Code:
man smbmount 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:
|
Code:
mount -t smbfs -o username="John Henderson",password=testpw,ip=10.1.1.2 //<xp name>/test /mnt/test 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. |