LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2005, 11:54 PM   #1
lowpro2k3
Member
 
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 linuxpackages.net 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 //192.168.1.97/ebooks /mnt/smb -o username=myuser,password=mypassword
smbmount //192.168.1.97/ebooks /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, 01:28 AM   #2
vls
Member
 
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 linuxpackages.net 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.

http://slackware.at is an excellent mirror of the official Slackware distribution.

Hope this helps.

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

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

ALL: 192.168.1.0/255.255.255.0

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration