Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-17-2005, 12:54 AM   #1
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
Trouble mounting a Windows share

It seemed like I didn't have Samba or any of the SMB tools installed, so I went to and grabbed the package for 10.1.

I installed it with pkgtool, and the install seemed fine. I copied the example smb.conf to the right location, and it all seems to be working, including 'mount -t smbfs ...' (this didn't work before, and I realized I would need to download Samba).

I created a directory called /mnt/smb. I'm trying these 2 commands, to try and mount a directory called 'ebooks' on my Windows machine:

mount -t smbfs // /mnt/smb -o username=myuser,password=mypassword
smbmount // /mnt/smb -o username=myuser,password=mypassword

They both seem to work. When I do an ls of /mnt/smb, the shell just hangs and does nothing. I disabled my Sygate firewall on Windows, but it had no effect. ls just hangs and does nothing, I even tried giving it 5 minutes and went to make coffee, but it was still hanging.
Old 10-17-2005, 02:28 AM   #2
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
You need to run this command as root:
modprobe smbfs

Then run the mount commands.

Note that smbfs and the Samba package are two different things performing similar functions.
More or less.

I would suggest that you uninstall the pack and get the official Slackware package. (Not to denigrate whoever made the effort but I don't know what's in that build.)
The Slackware package has all the docs for samba that you'll ever possibly need. is an excellent mirror of the official Slackware distribution.

Hope this helps.

Have fun
Old 10-17-2005, 05:38 AM   #3
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Also check your /etc/hosts.allow and add your network to it, if your network is a network, put something like this:


Also can you post the contents of your /etc/samba/smb.conf file so we can see how it's setup


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
Mounting hidden windows share ashjam10 Linux - Networking 1 11-12-2005 11:11 PM
mounting a windows (samba) share? alsjordan Linux - Newbie 3 08-06-2005 09:22 AM
Samba > Trouble mounting remote NTFS share Harlin Linux - Software 6 06-20-2005 08:07 PM
mounting a windows share w/ rw permissions GaijinPunch Linux - Networking 8 01-06-2004 08:04 PM
mounting a windows network share? graystarr Linux - Networking 2 11-09-2002 06:57 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 AM.

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
Open Source Consulting | Domain Registration