LinuxQuestions.org
Visit Jeremy's Blog.
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-28-2002, 10:15 PM   #1
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Rep: Reputation: 0
Unhappy slow cable internet speed


Well, I have the internet up and running at least, but it is slow as sin compared to the download speed I get on the same machine using WinXP. I checked my IP settings, and the subnet mask and default gateway are the same as in windoze.

So I suppose it might be some kind of driver issue or something...

Also, I tried ifconfig and no errors were reported.

Can someone help me? Getting desperate!

Thanks



p.s. I am running Redhat 7.2 on kernel 2-4-7.10 and Ximian Gnome desktop. (Ximian Rocks!)

Last edited by fitboy; 04-29-2002 at 10:43 AM.
 
Old 04-30-2002, 06:25 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Well, we need to know a little about the system. What kind of cable internet are you using? What drivers/modules are you using? How is it all set up?
 
Old 04-30-2002, 09:53 AM   #3
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for responding.

The connection is DHCP through shaw cable. The NIC is a Linksys pcmpc100 using the tulip module suggested on the linksys website.
Note that I was previously using the nek2000 driver, but switched hoping to resolve my problems (using Linuxconf)...but nothing changed...

Also I have it running through a linksys hub with my other Win machine, but since only one machine is ever on at once I suppose this can be cosidered a simple direct connection?

I think that is everything...
 
Old 05-01-2002, 04:00 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Does dmesg tell you anything about network troubles? Like troubles auto-negotiating or anything else. And what does the output of ifconfig say? Does it have an extreme high number of collisions?
 
Old 05-01-2002, 10:06 AM   #5
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
Looking through the output of dmesg, the only line that looks off is this one:
"eth0: MII is missing!"


And ifconfig reports as follows:

eth0 Link encap:Ethernet HWaddr 00:E0:98:7F:88:ED
inet addr:24.64.254.202 Bcast:24.64.255.255 Mask:255.255.252.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:338 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:170069 (166.0 Kb) TX bytes:82671 (80.7 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:2104 (2.0 Kb) TX bytes:2104 (2.0 Kb)

Notice there are 0 errors.

Last edited by fitboy; 05-01-2002 at 10:08 AM.
 
Old 05-01-2002, 10:29 AM   #6
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
By the way...I just got an email from my ISPs tech support:


"Windows XP was designed to handle larger TCP packets and was optimized for a broadband connection. This is why your internet connection performance is much faster than when you are connected
via Linux.

If you have any additional questions please do not hesitate to contact us."


I am betting this is a load of crap, but I'd love to be able to prove it by solving my speed issue.
 
Old 05-01-2002, 10:55 AM   #7
c0rk3y
Member
 
Registered: Apr 2002
Location: NY USA
Distribution: Gentoo1.4/ FreeBSD4.x
Posts: 78

Rep: Reputation: 15
More hype

I agree that winXP finially is a product by windows to handle the TCP/IP stack, but dont forget that UN*X has been doing that for decades. What sounds like your problem is a browser issue. which one is your choice and what pluggings are you using. To actually test it out try downloading from FTP site from the command line and check speed then
 
Old 05-01-2002, 12:11 PM   #8
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
What kind of identification methos does this Shaw Cable modem service require?? does it give you a computer name, or does it go by your hardware?
It could be that it takes loads of time to pass the authentication phase on each request to reach a site. This has happened t ome before, and it was just a slight misconfiguration of identification.


zLinuxz
 
Old 05-02-2002, 12:21 PM   #9
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
First, to Corky:
I tried using ftp from the command line to a site that runs at light speed under WinXP...same problem, no difference.

zLinuxz:
Under windows, the settings are simply to automatically detect network settings....nothing special is required. Also it is DHCP.

Still waiting to see if anyone knows about the "MII is missing!" error from dmesg. Anyone know if this is related to my speed issues?
 
Old 05-02-2002, 02:15 PM   #10
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
MII is Media-Independent Interface

Which version of the pcmpc100 card do you have?

Here is a list of advisable modules to use for each version:
card "Linksys EtherFast 10/100 Fast Ethernet"
version "Linksys", "EtherFast 10/100 PC Card (PCMPC100)"
module "pcnet_cs"

card "Linksys EtherFast PCMPC100 V3 Fast Ethernet"
version "Linksys", "EtherFast 10/100 PC Card (PCMPC100 V3)"
module "axnet_cs"

You should only be using the tulip module for the pcmpc200 card as far as I could see. If changing the module doesn't help you could look for any updates or bug fixes in the newer kernels.

Weird thing though I checked the sources and the "MII is missing" message is in both the axnet_cs and the pcnet_cs module but not in the tulip module. Maybe your kernel was smarter and did find the right module but then you forced it to use the tulip module.

Last edited by Mik; 05-02-2002 at 02:19 PM.
 
Old 05-02-2002, 03:51 PM   #11
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
Hmm. Well it was a good idea Mik, but...
Apparently my system was smarter than I am...although I tried to change to the tulip module using only linuxconf, my system is still using pcnet_cs anyway.
I never thought to do a simple lsmod...but it reveals that pcnet_cs is the module being used, which is apparently the correct one.

I just ran another test as well...man what a difference between WinXP and my linux setup. I was downloading from the same site at 250K using Windows and 25K using Linux.

I noticed one strange thing though...I have an applet running tracking my net load, and at 25K/s the applet made it appear as though this was 2/3 of my network capacity. This seems strange...might this reveal something about the problem? Maybe the system thinks it is only a 10Mbps connection instead of 100Mbps?
 
Old 05-03-2002, 10:17 AM   #12
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The kernel you are running isn't that old. But it might be worth a try to try a newer kernel. I couldn't find anything specifically about the pcnet_cs driver in the changelogs. But they mention many times about updating network drivers. The 2.4.18 change log also mentions "Add MII ethtool interface and change several drivers to support that". I don't know if that will solve anything for you but it might be worth a try.
Looks like they have a pcnet32 driver in the 2.5 kernels. Maybe you could try one of the 2.5 kernels see if you can match the speed of Windows XP.

Maybe you would want to read this since it's a pretty similar problem:

http://www.ussg.iu.edu/hypermail/lin...01.1/0012.html
 
Old 05-06-2002, 01:41 PM   #13
fitboy
LQ Newbie
 
Registered: Apr 2002
Location: Calgary, AB Canada
Distribution: RedHat 7.2, Ximian GNOME, kernel 2.4.18
Posts: 10

Original Poster
Rep: Reputation: 0
Yeeha!

Thanks for the input Mik!

I tried a few of the 2.5 kernels, but none would operate 100% correctly for me (yes, I know the 2.5 kernels are only development ones...)
So just for the hell of it I tried the 2.4.18 (latest stable). It must have a more recent version of pcnet_cs as well. Now I'm cookin!
WinXP can bite me! Don't need it for anything now.

Thanks again to everyone for the help.
 
  


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
slow internet connection speed 666 Mandriva 12 09-24-2005 09:54 AM
slow internet speed in linux imtiaz77 Linux - Newbie 3 03-25-2005 04:39 AM
MDK10 slow internet cable connexion felix Linux - Networking 0 07-21-2004 07:13 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 01:40 PM
Slow internet speed with cable M.I. Linux - Networking 18 07-10-2001 12:16 AM

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

All times are GMT -5. The time now is 09:43 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
Open Source Consulting | Domain Registration