LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-01-2002, 02:23 PM   #1
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Rep: Reputation: 15
mount windows shares?


I know about samba [kindov] but anyone got any suggestions on how I would mount a windows share from my Linux box?

ie

mnt /windows/machine/share /share

I want to serve content off a windows machine
 
Old 09-01-2002, 02:29 PM   #2
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
mount -t smbfs -o username=<name>,password=pw //netboisname/sharename /mountpoint

Is that what you are looking for?
 
Old 09-01-2002, 02:41 PM   #3
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by turnip
mount -t smbfs -o username=<name>,password=pw //netboisname/sharename /mountpoint

Is that what you are looking for?

Sure is - excellent work!


Any issues with scripting this to run at startup?
 
Old 09-01-2002, 03:04 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
linuxquestions standard answer number 34b)

add a line to /etc/fstab:

//server/share /mnt/something smbfs user=xxx,pass=xxx

please SEARCH the forums for information before asking questions
 
Old 09-01-2002, 03:10 PM   #5
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
linuxquestions standard answer number 34b)

add a line to /etc/fstab:

//server/share /mnt/something smbfs user=xxx,pass=xxx

please SEARCH the forums for information before asking questions
Why bother even replying sad sack? Do you realise that you wasted more time typing that response and being an arse that giving me a proper explanation?

knob
 
Old 09-01-2002, 03:25 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
erm.. that IS a proper explanation...
 
Old 09-01-2002, 03:30 PM   #7
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
erm.. that IS a proper explanation...
sorry for the ters response - I just read your profile - I didn't realise that you were just some kid from uni -
 
Old 09-01-2002, 04:54 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
woah there, i'm sure you're a very clever and important person in your world, but everyone is equal here, and you already agreed to the rules of this site which include "# Personal attacks on others will not be tolerated." which i ceratinly consider this to be. my answer was perfectly accurate and to the point. I was simply also implying that the last dozen times it was asked the answers were also similarily accurate and to the point. This site is a great resource of information, not just a place to ask questions without researching yourself first. I'm sure you would agree with the main contributers of this site that people ask the same questions again and again. i just guess that your sense of humour is not quite on a par with mine. maybe one day you'll get there ;-) Maybe you'd be interested in reading the first link in my signature, and you can see in great detail what everyone get's frustrated about on mailing lists and forums. my answer may not have seemed terribly polite from where you are sitting, but it's 100% correct, and helpful.

and terse has an e at the end of it.

thanks.

Last edited by acid_kewpie; 09-01-2002 at 04:56 PM.
 
  


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 to mount windows shares on startup? exitsfunnel Linux - General 1 05-10-2005 07:06 PM
using fstab to mount windows xp shares yeateke Linux - Networking 4 03-01-2004 08:19 AM
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


All times are GMT -5. The time now is 12:00 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