1829242 Members
2561 Online
109987 Solutions
New Discussion

Slow Speed help!!!

 
brian_78
New Member

Slow Speed help!!!

Ok heres my story, i have two pc's on a 4 port switch sharing internet access. on the RH linux pc i have the smb server running and i am able to access my share/s. but it seems to me that when i transfer files to the linux box there going back through my isp dhcp or something cause i can only send files at about 45kbs. what the heck gives. my other pc is runnin winxp pro.

help me out doods
7 REPLIES 7
Ron Kinner
Honored Contributor

Re: Slow Speed help!!!

Sounds like a typical duplex mismatch. Autonegotiate is supposed to take care of setting the NIC on the PC and the port on the switch to the correct duplex. However, sometimes it doesn't work quite right and you get one side on full duplex and the other on half duplex. Best is to set both ends of the circuit to 100 full or 10 half depending on what your PC and switch can handle.

Ron
brian_78
New Member

Re: Slow Speed help!!!

hmm...tried all my options, 100 half, 100 full, 10 half,10 full and auto, no luck. still seem like its using tcp/ip to send. mabye i should be asking how to properly install netBIOS..

i have a regular 10/100 switch, my cable from my cable modem is in the uplink
pc1 is connected to port 2 not port 1 which i no gets disabled, pc2 is connected to port 3, pc 1 is on xp and pc 2 is runnin RH linux 7.2

im real green when it come to networking so any help would be appeciated.
Ron Kinner
Honored Contributor

Re: Slow Speed help!!!

do
netstat -r >junk
and
netstat -rn >>junk

on both boxes. Then on the XP do
tracert -d IpAddressOfLinuxBox >>junk

Then show me what you have in each junk file.

Ron

brian_78
New Member

Re: Slow Speed help!!!

Heres what you requested Ron

i see what looks to be problems but i hope you can explain to me how to fix this.

if you somehow can i owe you my first born. :)

thanks man
I_M
Honored Contributor

Re: Slow Speed help!!!

Brian,

Why don't you do the transfer speed test on NFS, FTP and SMB to see if this problem relate to the application.

If it is application side problem,
try to modify "socket option" in /etc/smb.conf.

I am not familiar with WIN side.

Good luck
brian_78
New Member

Re: Slow Speed help!!!

already tried that through ftp smb mirc icq everything.

three computers on a hub but can't transfer files over 45k

anyone else got any help plz!!
Ron Kinner
Honored Contributor

Re: Slow Speed help!!!

Actually I was looking for netstat -rn and not netstat -r but it's probably OK. I do not see any routing issues. Tracert -d shows that it goes directly to the other box without going off to the internet or anything stupid. Your masks are consistent from one to the other. That takes us back to a speed mismatch or bad cable or bad hub or bad NIC. Something which causes errors. You can look at netstat -s on each box and see if there is an obviously high numbers of errors in one of the higher layers which would mean a software or buffer/memory problem but I still think its down in the bottom layers.

If you have a crossover cable you can connect one to the other and set both to the same speed and duplex and see what transfer rate you get then. That way you can eliminate the hub, cables and your third computer from the mix.

For Linux there appears to be no built-in way to tell what speed your card has set up on. You can get the mii-diag util. The source can be dowloaded from ftp://ftp.scyld.com/pub/diag/mii-diag.c

This should help you see what speed and duplex you have on Linux.

For XP:
http://www.shsu.edu/~ucs_www/net/windowsxp.html

Ron