[Samba] very low speed local network browsing from win xp clients

Alejandro Soler asoler at martinaditrento.com
Fri Nov 28 11:32:06 GMT 2003


Hi:

Change this parameters:

        name resolve order = wins host lmhosts bcast

And you must have the correct parameters in resolv.conf and hosts

regards.


El jue, 27-11-2003 a las 19:12, Buda Gábor escribió:
> Hi There!
> 
> 
> Thank You for your very quick help. It's nice to see that are so helpfull
> people in the world of linux. Thanks!
> 
> I changed my network card's settings to 'half-duplex' on my win XP, but the
> machines in the workgroup (and the workgrup 'vorosko' too) appearing very
> slow (10-15 seconds). It' the same, that it was before the changes.) My new
> smb.conf file:
> 
> [global]
> ;	domain master = no
> ;	local master = yes
> ;	preferred master = yes
> 	passwd program = /usr/bin/passwd %u
> 	printing = bsd
> 	syslog only = no
> 	dns proxy = no
> 	null passwords = yes
> 	protocol = NT1
> 	name resolve order = bcast host
> 	strict sync = no
> 	socket options = TCP_NODELAY IPTOS_LOWDELAY
> 	character set = iso8859-2
> 	short preserve case = yes
> 	printcap name = /etc/printcap
> 	invalid users = root
> 	max log size = 1000
> 	interfaces = 192.168.32.253/255.255.255.0
> 	debug level = 0
> 	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n
> 	preserve case = yes
> 	security = user
> 	unix password sync = no
> 	workgroup = vorosko
> 	server string = %h server (Samba %v)
> 	syslog = 0
> 	client code page = 852
> 	netbios name = SERVER
> 	guest account = nobody
> 	load printers = no
> 	os level = 33
> ;	socket address = 192.168.32.253
> 
> 
> 
> Best regards
> Gabor
> 
> 
> > -----Original Message-----
> > From: James Courtier-Dutton [mailto:James at superbug.demon.co.uk] 
> > Sent: Wednesday, November 26, 2003 1:47 AM
> > To: Buda Gábor
> > Cc: samba at samba.org
> > Subject: Re: [Samba] very low speed local network browsing 
> > from win xp clients
> > 
> > 
> > Buda Gábor wrote:
> > > Hi Everyone there!
> > > 
> > > 
> > > We have a very annoying problem since several months when 
> > browsing the 
> > > local network (workgroup) from win xp clients (from win98 
> > clients it's 
> > > almost OK). The machines in the workgroup appearing very 
> > slooow (about 
> > > 15-20 sec), and this value doesn't change even in the 2nd or 3rd 
> > > browse. We have 1 linux (debian 2.4.21 pre 3) pc, running the samba 
> > > (2.2312) server, about 15 win98 clients, 60 win xp clients, 
> > 1 win nt 
> > > server. When I shutdown our win nt server, the problem 
> > doesn't change. 
> > > When I shutdown our samba server, the browsing of our 
> > workgroup become 
> > > very fast.
> > > 
> > > Here is my smb.conf file, perhaps You can help me to solve this 
> > > problem. Thank You.
> > > 
> > I don't know if it will help, but try changing the settings on the 
> > Network card of the Windows XP clients.
> > Go into advanced settings and change "Duplex" from "Auto" to 
> > "Half Duplex".
> > 
> > I have found that samba functions quite badly with Windows 
> > clients when 
> > network packets start getting lost.
> > 
> > You would only need to try the change to "half duplex" on one 
> > Windows XP 
> > client to see if it helps for that one client.
> > 
> > I am still investigating ways to improve samba under these 
> > packet loss 
> > conditions, but it would be nice to see if changing to "half duplex" 
> > helps others like it helped me.
> > 
> > Cheers
> > James
> > 
> > 
> > 
> > 
> > 
-- 
                            Alejandro Soler
                       Administrador de Sistemas
                         Martina di Trento S.A.
                        Buenos Aires - Argentina
                       asoler at martinaditrento.com
                        www.martinaditrento.com
                            TEL.: 4000-7200




More information about the samba mailing list