Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-16-2005, 07:16 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
Thumbs up *** SOLVED *** How can I mount a Windows XP shared folder?


I am using RedHat Linux 9.0 and I am trying to mount a Windows XP shared folder under linux.

My shared folder under XP is C:\shared (which I have enabled sharing for using "Sharing and Security" right-mouse-click menu under XP).

Under linux I have created the folder /mnt/xp and I have tried things like "mount <ip address>:/shared /mnt/xp" and "mount <machine name>:/shared /mnt/xp" and various permutations thereof, but nothing seems to work (the mount command just hangs forever).

Any ideas?? Am I going to need some kind of extra software running under windows to make the folder visible to Linux?

TIA, Mike.

Last edited by mlse; 04-16-2005 at 08:01 AM.
Old 04-16-2005, 07:31 AM   #2
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32

what you need is samba : that's the Linux daemons & tools so as to use the Netbios protocols which is used by windows for file sharing, domain configuration etc...
I have no special link to give you, but you'll find tons of doc googleing...
Old 04-16-2005, 08:00 AM   #3
LQ Newbie
Registered: Feb 2004
Posts: 15

Original Poster
Rep: Reputation: 0

I have found the samba RPM on the net, so I will have a go with that!

Old 09-28-2006, 07:36 AM   #4
LQ Newbie
Registered: Sep 2006
Location: Planaltina-DF, Brazil
Distribution: Debian Sarge
Posts: 4

Rep: Reputation: 0


in my debian, i did
apt-get install samba smbfs smbclient
i can't help you in the RPM installation, sorry

this tool, copy the files to this correct destination and run his config functions... then i had to fill it.

after this, i could access my windows' shares just typing:
mount -t smbfs -o username=xxx,password=yyyy //my_win/my_share /mnt/win
but, for a while, i just can do this as root... i'm trying to know how to do this as a normal user:



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
how to access a shared folder on a windows machine learnfast Linux - Newbie 11 03-12-2005 02:50 AM
samba mount to windows share folder lewkh Red Hat 1 03-01-2005 04:31 PM
Apply permission on samba shared folder on M$ Windows 2000 vwhk Linux - General 4 07-20-2003 10:53 PM
Mount a windows nt server shared drive yawara Linux - Networking 3 12-19-2002 10:03 PM
problem writing to a shared windows folder doddy Linux - General 2 09-05-2002 07:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:34 PM.

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