LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2006, 08:31 PM   #1
chrisg631
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: ...changes too much...
Posts: 20

Rep: Reputation: 0
Slow Network Problem In Linux


I've decided to come back to gentoo on my old P3 450 desktop. The last time I installed 2005.0 was out and didn't have any problems with downloading stages and portage off the net. Now any mirror I try I get ~20KB/s and in WindowsXP I have speeds much faster downloading the same stages off the same mirrors ~400KB/s (cable internet connection and linksys router).

The NIC uses the fealnx module which is loaded at boot with Gentoo x86 Min. CD. I searched around the net and saw some issues with IPv6. I used the noload=ipv6 at boot, still no speed increases. Ping times are round 60-80ms for both IPv4 and IPv6 sites. Ifconfig does not show any errors, collisions, or dropped packets.

I even tried other distro's live cd's, switched cables and still the same results. Me stumped.

Any suggestions?

Last edited by chrisg631; 08-23-2006 at 08:42 PM.
 
Old 08-23-2006, 11:10 PM   #2
chrisg631
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: ...changes too much...
Posts: 20

Original Poster
Rep: Reputation: 0
Here is the output of some commands that might help w/the issue:
Code:
# dmesg | grep eth0
eth0: 100/10M Ethernet PCI Adapter at 0xb400, 00:02:2A:C0:96:43, IRQ 11.
eth0: no IPv6 routers present

# lspci | grep net
0000:00:0c.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter

# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:2A:C0:96:43
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:2aff:fec0:9643/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2421 (2.3 KiB) TX bytes:2070 (2.0 KiB)
Interrupt:11 Base address:0xb400

# mii-tool
eth0: 10 Mbit, half duplex, no link

# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: off
Current message level: 0x00000000 (0)
Link detected: no

Last edited by chrisg631; 08-23-2006 at 11:14 PM.
 
Old 08-23-2006, 11:17 PM   #3
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 16
Random idea, could your link speed be really slow and/or half-duplex? I don't think that would take the speed down to 20 kbps, but it's worth a shot making sure it's at least full-duplex. Try looking into the tools "ethtool" and "mii-tool" to make sure it's set to at least 10baseT-FD, preferably 100 or 1000.

Also, how fast can it ping your router?
 
Old 08-23-2006, 11:43 PM   #4
chrisg631
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: ...changes too much...
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corfe
Random idea, could your link speed be really slow and/or half-duplex? I don't think that would take the speed down to 20 kbps, but it's worth a shot making sure it's at least full-duplex. Try looking into the tools "ethtool" and "mii-tool" to make sure it's set to at least 10baseT-FD, preferably 100 or 1000.

Also, how fast can it ping your router?
Seems like im stuck in half-duplex 10Mb/sec.
Code:
# ethtool -A eth0 autoneg on 
Cannot get device pause settings: Operation not supported 
 
# ethtool -s eth0 speed 100 duplex full 
 
# ethtool eth0 
Settings for eth0: 
Supported ports: [ TP MII ] 
Supported link modes: 10baseT/Half 10baseT/Full 
100baseT/Half 100baseT/Full 
Supports auto-negotiation: Yes 
Advertised link modes: Not reported 
Advertised auto-negotiation: No 
Speed: 10Mb/s 
Duplex: Half 
Port: MII 
PHYAD: 32 
Transceiver: internal 
Auto-negotiation: off 
Current message level: 0x00000000 (0) 
Link detected: no 

# ping -c3 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=3.2 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.7 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.7 ms

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.7/1.5/3.2 ms
 
Old 08-24-2006, 12:32 AM   #5
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 16
I notice below that it keeps saying that on that eth0 card your link is down. Do you by chance have a wireless net card in that computer that it's connecting with, or any other network card that it's pinging through?

Also, I'd try another port on the router just in case.
 
Old 08-24-2006, 12:37 AM   #6
chrisg631
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: ...changes too much...
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corfe
I notice below that it keeps saying that on that eth0 card your link is down. Do you by chance have a wireless net card in that computer that it's connecting with, or any other network card that it's pinging through?

Also, I'd try another port on the router just in case.
Nope, this pc only has one NIC (wired). I've even tried going straight to the cable moden and skipping the router.

Last edited by chrisg631; 08-24-2006 at 03:52 PM.
 
Old 08-25-2006, 11:49 AM   #7
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 16
Well, it might be worth trying knoppix or some other distro's liveCD to see if the problem is with Gentoo or not.

I'd also try another network card in the machine if you can - maybe the drivers for that card in linux aren't very good.

I'm scraping the bottom of the barrel for ideas, I wish you good luck.
 
  


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
problem with network (very slow net) hero_19873 Linux - Networking 6 04-25-2006 01:16 PM
serious very slow network problem - please help! aemee Linux - Networking 5 05-11-2005 01:07 PM
network seems slow just on linux machine thinkweb Linux - Networking 2 03-09-2005 03:07 PM
Linux -> LinksysRouter <- XP Network Slow Endorpheus Linux - Networking 4 12-03-2004 05:52 PM
Slow network problem int2str Linux - Networking 2 11-27-2002 06:44 PM


All times are GMT -5. The time now is 04:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration