LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slow LAN connection (https://www.linuxquestions.org/questions/slackware-14/slow-lan-connection-152101/)

ekoome 03-01-2004 01:36 AM

slow LAN connection
 
I have a Dlink System inc RTL8139 Ethernet (rev10) card for which i enabled the /sbin/modprobe 8139too driver in rc.modules.

However, my LAN connection is so slow (i.e from Slack9 to Win2k) that i don't know whats the problem.

I have a 10mbps CNET 8 port HUB to connect the two machines.

When i switch to Redhat9 on the other partition, the connection is very fast and it still uses the 8139too driver.


What do i need to tweak in Slack?

Eric

davidsrsb 03-01-2004 07:55 AM

As you have a hub, your nic must be in half duplex mode. Check like this:
tail -n100 /var/log/messages #in the output you should find lines like these 3:
Mar 1 21:21:46 tungsten kernel: 8139too Fast Ethernet driver 0.9.26
Mar 1 21:21:46 tungsten kernel: eth0: RealTek RTL8139 at 0xd0ad0f00, 00:50:bf:db:5f:ac, IRQ 5
Mar 1 21:21:46 tungsten kernel: eth0: link up, 10Mbps, half-duplex, lpa 0x0000

davidsrsb 03-01-2004 07:56 AM

I never had to touch rc.modules either.

ekoome 03-02-2004 12:42 AM

When i do:
mii-tool -v

eth0 does not autonegotiate.

When i force half-duplex mii-tool -F 10baseTX-HD the link does not improve.

When i force full-duplex mii-tool -F 10baseTX-FD there are lots of collisions.

So at the end of the day what is the problem. This slow connection is experienced when i do HTTP. Others are okay.

Eric

davidsrsb 03-02-2004 07:23 AM

Does ifconfig show high error rates?
You could Install Ethereal from linux packages, this wil show you if you are getting packet fragmentation because of an MTU problem.
It is possible that the nic is sharing an interrupt with something else, which could hit throughput.


All times are GMT -5. The time now is 02:30 PM.