LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-12-2003, 10:57 AM   #1
bongo.hickup
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Talking how do i mount windows shares on linux


Hi..

I can get samba to share linux files to windows

BUT I want to mount a windows(2000) share on redhat9 - can anyone point me in the right direction?

Thanks in advance..
 
Old 06-12-2003, 11:06 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
the command is something along these lines...

mount -t smbfs winhost:/mp3_share /mnt/winshare

where winhost is the name of the computer, mp3_share is the name of the share and smbfs is the filesystem type.

hope that helps,
jpbarto
 
Old 06-12-2003, 11:36 AM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Use:

mount -t smbfs -o username=<username>,password=<password> //<hostname>/<sharesame> /<mountpoint>


If you donīt need an username and password to connect to your share:

mount -t smbfs //<hostname>/<sharesname> /<mountpoint>

Good Luck

Last edited by angelrod; 06-12-2003 at 11:39 AM.
 
Old 06-12-2003, 11:47 AM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
thank you for the correction angelrod
 
Old 06-12-2003, 12:06 PM   #5
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
No prob.
 
Old 06-12-2003, 01:29 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
or you can make life easier and install LinNeighborhood..
and under the redhat enviroment you'll have to issue two commands in the terminal logged in as root...
chmod +s smbmnt
chmod +s smbumount
and it will work like a charm..
 
Old 06-13-2003, 03:44 AM   #7
bongo.hickup
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Many thanks for your help - I Will go & have a play!!
 
  


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
Mount Windows 2003 Shares MarquisEXB Linux - Newbie 7 01-12-2006 02:17 PM
How do I mount Windows shares as directories? paul_m_d Linux - Networking 5 01-31-2004 04:13 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
samba won't mount windows shares ixion Linux - Software 6 02-28-2003 12:51 AM
mount windows shares? Dave Campbell Linux - Networking 7 09-01-2002 04:54 PM


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

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