LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-29-2004, 11:03 PM   #1
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47

Rep: Reputation: 15
How do I mount Windows shares as directories?


The subject pretty much says it all, and I'm a complete newbie. I've installed Suse 9, and although I can type SMB://computername to see Windows shares in Konqueror, I can't figure out how to mount a directory to a Windows share. I need to be able to access network shares in file open/save dialogs.

Should there be a right-click option to mount directories? Even Windows Explorer can easily load network shares as drive letters.

I don't want to go editing obscure config files if possible, since I've read that Suse sometimes over-writes them anyway. If there's a way to use the built-in setup tools, I'd like to use it.

Paul
 
Old 01-29-2004, 11:06 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
What you are looking for is smbmount.
 
Old 01-29-2004, 11:15 PM   #3
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47

Original Poster
Rep: Reputation: 15
What you are looking for is smbmount.

How do I find smbmount? What do I do with it? Is there a configuration tool, or do I have to read three user's manuals and sacrifice a chicken? Online documentation seems sparse and aimed for people who have more Linux knowledge already.

Paul
 
Old 01-30-2004, 02:54 AM   #4
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65

Rep: Reputation: 15
it goes something like this ...
mount -t smbfs -o username=me,password=secret //<machineName> /<mountPoint>

that should work.... works for me
 
Old 01-31-2004, 12:33 AM   #5
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks. Two questions:

1. What is the proper place to mount a network location?

2. How do I make the changes stick" so I don't have to do it each time I log on?

Paul
 
Old 01-31-2004, 04:13 AM   #6
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
1) I am the only user on my computer so I prefer to place it in /home/myusername/mnt/servername/sharename
if it's just a file server, I also have media setup so that a folder has it sorted that way to.
You can mount the same shared folder in multiple locations.
If you share a computer with others you should mount it in /mnt/servername/sharename/
2)go into your /etc/fstab and edit it with a few lines of the shares you want. I'm at work on an xp machine so I can't remember the syntax for an fstab off the top of my head but heres a shot at the info you need.

//servername/share /home/username/mnt/servername/share smbfs defaults,user 0 0
 
  


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
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 08:49 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