Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-30-2004, 12:03 AM   #1
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.

Old 01-30-2004, 12:06 AM   #2
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-30-2004, 12:15 AM   #3
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.

Old 01-30-2004, 03:54 AM   #4
Kent Emia
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, 01:33 AM   #5
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?

Old 01-31-2004, 05:13 AM   #6
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


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 03:17 PM
How to mount windows shares on startup? exitsfunnel Linux - General 1 05-10-2005 08:06 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM
samba won't mount windows shares ixion Linux - Software 6 02-28-2003 01:51 AM
mount windows shares? Dave Campbell Linux - Networking 7 09-01-2002 05:54 PM

All times are GMT -5. The time now is 11:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration