LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2004, 03:07 PM   #1
rthornt
LQ Newbie
 
Registered: Mar 2004
Location: Utah
Distribution: mdk 9.2, rh as2.1, gentoo 1.4
Posts: 2

Rep: Reputation: 0
Redhat slow connecting to Samba share


I'm testing redhat as3 (upgrading from as2.1) and trying to mount a samba server where our company shares files.

When I run mount from a fresh install of redhat as2.1, it immediately connects to the samba share using "mount -t smbfs -o username=<username>,password=<password> //<ipaddress>/<sharename> /mnt/share". On the same machine with a fresh install of as3 the same mount command takes 2-3 minutes to connect. Why so slow? What factors on the machine running the mount command could influence the speed of the connection?

One side note that may or may not apply is that WinXP machines also take a long time to connect to the same samba share (maybe 45 seconds). I found in the TCP/IP properties of the network connection, under Advanced and on the WINS tab, the NetBIOS setting was Default (which it describes as "Use NetBIOS setting from the DHCP server. If static IP address is used or the DHCP server does not provide NetBIOS setting, enable NetBIOS over TCP/IP."). When I changed the NetBIOS setting to "Enable NetBIOS over TCP/IP" I was able to connect immediately.

My assumption is that the delay here is caused by Windows searching for a DHCP server (which we don't use). Could that also come into play from a linux client?

btw, I get the same result using smbmount vs mount -t smbfs...

Thanks, -Richard
 
Old 03-08-2004, 03:22 PM   #2
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Sorry for the empty post but if you got an answer outside of LQ, I'd be interested in knowing what caused this. I had this exact same problem on a Redhat box before inside of a Windows controlled (dominated) network.

Thanks
 
Old 03-15-2004, 05:43 PM   #3
rthornt
LQ Newbie
 
Registered: Mar 2004
Location: Utah
Distribution: mdk 9.2, rh as2.1, gentoo 1.4
Posts: 2

Original Poster
Rep: Reputation: 0
Any ideas out there? I used ethereal to watch packets between as2.1 and as3 systems and I don't see any differences between the two requests other than how long as3 takes to make the connection. The packets are identical.

Could there be differences in how "mount -t smbfs" works between the two versions?
 
Old 03-15-2004, 05:56 PM   #4
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
May be some type of timeout issue buried deep.
 
Old 03-15-2004, 09:11 PM   #5
jjrowan
Member
 
Registered: Sep 2001
Location: New Jersey
Distribution: Red Hat, SuSE, CentOS and Ubuntu
Posts: 50

Rep: Reputation: 16
Sounds to me like a DNS issue. Is the new machine in your /etc/hosts file or your DNS tables including reverse IP lookup? I've had similar delays when the named daemon crapped out (due to errors on my data entry).
 
  


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
Connecting with Samba Share via SSH Tunnel duliano Linux - Software 3 02-27-2005 08:23 PM
Problems connecting to Samba share from FC2 Phaethar Fedora 5 10-13-2004 04:02 AM
filecopy from xp to samba slow, copy to mounted share fast xtra Linux - Software 6 07-29-2004 04:37 PM
SAMBA: Connecting from rh9.0 smb 3.0 > windows xp share shookie Linux - Software 3 05-16-2004 07:01 PM
Connecting to XP share from Fedora (Samba) thegreatnorth Linux - Software 1 12-12-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 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
Open Source Consulting | Domain Registration