LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-17-2004, 12:54 AM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
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 !
 
Old 04-17-2004, 01:22 AM   #2
RandomLinuxNewb
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
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.
 
Old 04-17-2004, 02:05 AM   #3
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
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.
 
Old 04-17-2004, 02:37 AM   #4
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 32
You have to install samba only on your linux machine, windows support SMB protocol by default
 
Old 04-17-2004, 04:34 AM   #5
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
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.
 
Old 04-17-2004, 04:48 AM   #6
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
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 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP can't access Ubuntu shared folder but xbox (xbmc) does Tristan9669 Linux - Networking 3 08-14-2005 08:40 PM
SMB4K won't mount WinXP's shared folders kriidler Linux - Newbie 25 06-07-2005 06:51 PM
how to access a shared folder on a windows machine learnfast Linux - Newbie 11 03-12-2005 01:50 AM
can't access shared folder of other PC's.work on Mandrake 9.2 to WinXP nicolo Linux - Networking 0 03-04-2004 08:39 AM
some files from linux in shared folder MHRPCler Linux - Networking 2 06-22-2002 07:21 AM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration