LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
  Search this Thread
Old 04-19-2005, 10:53 PM   #1
NinjaBaby
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Samba WinXP - Mandrake Linux - Random Disconnect


If you want a challenging problem to solve I've got one for you.....

I'm running Mandrake Community 10.1 as a Samba server. I've got a couple Samba shares setup on the server. I used Webmin to set it up. Shorewall firewall is running on the server. I have two client workstations running WinXP Pro and another running Win2K Pro. My computers are connected on a home network using a Linksys Cable Router.

I can view the Samba shares in the network neighborhood on all machines. I can create folders/files on each of the shares. So what's the problem bub? After anywhere from 5 to 30 seconds of navigating around the folders in Windows Explorer the Windows Explorer hangs for a minute or two or three. Sometimes it reconnects to the folder where it left off and sometimes it reports that the share is not available. If I hit refresh sometimes it reconnects and sometimes it just hangs some more.

I checked the logs and I receive the following messages......
smbd[9928]: [2005/04/19 22:28:10, 0] lib/util_sock.c:get_peer_addr(1000)
smbd[9928]: getpeername failed. Error was Transport endpoint is not connected
smbd[9928]: [2005/04/19 22:28:10, 0] lib/util_sock.c:write_socket_data(430)
smbd[9928]: write_socket_data: write failure. Error = Connection reset by peer
smbd[9928]: [2005/04/19 22:28:10, 0] lib/util_sock.c:write_socket(455)
smbd[9928]: write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
smbd[9928]: [2005/04/19 22:28:10, 0] lib/util_sock.c:send_smb(647)
smbd[9928]: Error writing 4 bytes to client. -1. (Connection reset by peer)

So I decided to run Ethereal on the WinXP workstation. I filtered out everything except the SMB protocol. At the point in time where Windows Explorer hangs there is.....
"Logoff AndX Request"
"Tree Disconnect Request"
"Close Request, FID: 0x17bd"
"Tree Disconnect Request"
"Tree Disconnect Response"

20 seconds go by at this point.....
"Echo Request"

30 seconds go by at this point.....
"Negotiate Protocol Request"
"Negotiate Protocol Response"
"Session Setup AndX Request"
"Session Setup AndX Response"
"Tree Connect AndX Request"
"Tree Connect AndX Response"

And where it appears to reestablish connectivity.....
"Trans2 Request, QUERY_PATH_INFO......."
"Trans2 Response, QUERY_PATH_INFO......."

I've even tried swapping network adapters on the Linux server. Nothing seems to fix the problem. I have a couple more things I can try (e.g. different flavor of Linux) but I am almost ready to give up. So any help would be greatly appreciated!
 
  


Reply



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
samba extremely slow after a disconnect Rarrum Linux - Software 5 03-07-2005 11:19 PM
Printing to WinXP printer from linux using samba darin3200 Linux - Networking 13 08-08-2004 09:48 PM
Samba printing issues with Minolta PagePro 1250W on Mandrake 9.2 with WinXP server bhtooefr Linux - Networking 3 08-04-2004 12:51 PM
Mandrake Linux Is Random zarathaz Mandriva 28 07-23-2004 08:25 PM
Mandrake 9.1 and WinXP sharing-samba Eradicator Linux - Networking 8 11-03-2003 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:21 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