LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 01-30-2004, 12:03 AM   #1
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47
Thanked: 0
How do I mount Windows shares as directories?


[Log in to get rid of this advertisement]
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
paul_m_d is offline     Reply With Quote
Old 01-30-2004, 12:06 AM   #2
jtshaw
Moderator
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu 8.04 PowerPC/8.10 AMD64, RHEL3/5
Posts: 3,887
Blog Entries: 1
Thanked: 2
What you are looking for is smbmount.
jtshaw is offline     Reply With Quote
Old 01-30-2004, 12:15 AM   #3
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47
Thanked: 0

Original Poster
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
paul_m_d is offline     Reply With Quote
Old 01-30-2004, 03:54 AM   #4
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65
Thanked: 0
it goes something like this ...
mount -t smbfs -o username=me,password=secret //<machineName> /<mountPoint>

that should work.... works for me
Kent Emia is offline     Reply With Quote
Old 01-31-2004, 01:33 AM   #5
paul_m_d
Member
 
Registered: Dec 2003
Location: Canada
Posts: 47
Thanked: 0

Original Poster
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
paul_m_d is offline     Reply With Quote
Old 01-31-2004, 05:13 AM   #6
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194
Thanked: 0
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
Onemessedupjedi is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:57 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration