Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok, here is the deal, I have a network card with the following specs:
Alright, now that you know that, know that it works on the internet, but only at downloads of up to about 10k/sec. This is EXTREMELY slow! I have an ISP that gives me a cable connection. The routing map goes like this:
Cable Modem (Linksys)
Microsoft Wireless/Wired network router. (Using wired router.)
My Redhat Linux 9.0 machine.
Here is what I find so strange. When I connect to the internet from the other machine I have, which is a Windows XP machine, I can get download speeds EVERY TIME, that are in the 150k/sec. - 200k/sec.. range.
Help me please! I'm wondering what the problem is, and I've been wracking my brain for weeks over it.
Oh, and here are my system specs.
Geforce 2 MX 64MB RAM
Network card (see above)
keyboard ( you probably)
mouse (don't need )
monitor (to know these)
If you really have a RTL8029 ethernet card then it is a NE2000 compatable which is only 10mb not a 10/100mb card. You can verify the chipset using the cnsole command lspci or by viewing the output of dmesg.
Check the output of the console command
/sbin/mii-tool to see if the card is configured for full duplex.
Ok, I tried running without the router, and I got no activity. I think that that would be a problem with configurations, so I tried maroonbaboon's idea for ifconfig, and Lo and Behold! ... well, just take a look:
RX packets:7009 errors:0 dropped:0 overruns:0 frame:628
TX packets:3354 errors:16 dropped:0 overruns:0 carrier:32
Also, let me acknowledge that I am a very big Newbie in the linux field, but I'm learning.
Thanks for all of the replies, and thanks again in advance!
I suppose there could be a software/configuration problem behind the errors, but I'm not cluey enough in this area to know where to look. Although I'm thinking maybe your broadcast address should be 192.168.2.255 rather than 255.255.255.255.
Possible hardware problems include bad cable, bad connectors, bad NIC, NIC badly seated in slot or an interrupt problem. Running 'cat /proc/interrupts' might shed some light on that.
I really would like to say that I am grateful for the help that I have been given from everyone. I wonder if you could let me know if my observation is correct.
I think that it is probably faulty software at work, because I have a second computer in our home that works at just about double - triple the download speed, and can access web pages at about 1.2 times the normal speed.
To rule out Redhat as a possiblity. Download Knoppix and burn it on a 700 MB CD. Connect to the same server and see if the download speed is better. If it is than its something wrong with Redhat.
The cable modem could be going. Buy or borrow a cable modem from a friend and set it up to your ISP's specs and see if it makes a difference. If the speed didn't get better than it could be your NIC,the router is going, or you have bad cable lines.
If all else fails, buy another NIC and see if that helps. NICs don't cost too much these days. One gigabit NIC almost cost as much as 100 Mb NIC.
You can try going into your BIOS and set IRQs for each device so that your video card is not sharing the same IRQ with other devices in your system. You could also disable COM and USB ports if you are not using them at the time.
The bash utility cat is used to print file contents to the stdout or to your terminal with out going into an editor like vi. tac is like cat but it prints the file contents in reverse or starting from the end of the file and stopping at the start of the file.
You should change the broadcast address if not already so.
Try disabling Plug and Play in the motherboard BIOS
Get the NE2000 diagnostic utility and see what the card is configured for. http://www.scyld.com/diag/
As last ditch effort you can download the DOS configuration/diagnostic utility from Realtek's website. You will need copy the utility to a DOS boot floppy disk. (If your PC still has one)
Something else you might try is to set up your networking interface manually. Does RH have some sort of wizard or control panel for that? Or command called netconfig or netcfg or something?
The fact that your broadcast address is wrong (shown in ifconfig output) indicates some sort of problem in the negotiation between your linux box and the router. Running 'arp' or 'route' should tell you your router address. Say it's 192.168.2.254. Then you need to set in your wizard or whatever (write down the original values so you can undo your changes)...
IP address 192.168.2.100 (that 100 is just randomly chosen).
gateway address 192.168.2.254
broadcast address 192.168.2.255
Then restart the interface, either in the wizard or, as root:
# ifconfig eth0 down
# ifconfig eth0 up
At present you are probably using 'dhcp' which is supposed to get all this stuff automatically from the router. Setting a 'static address' as above is less convenient but there is less to go wrong.
This is a bit of a long shot, but might be worth trying before some of the other good but maybe less easy suggestions.
105.5 kilobits per second
Communications 105.5 kilobits per second
Storage 12.9 kilobytes per second
1MB file download 1.3 minutes
Subjective rating Mediocre
Just thought that you might be interested in this. This is from Networld.com As you can see, my speed sucks. Help! Oh, and I am really an NewB, so please explain things step by step if possible. Thanks again in advance.
It's a bit hard to give very specific advice as different distributions have different ways of doing system admin type tasks. I'm guessing you have some sort of 'Control Centre', like in Windows, where you can configure your network interfaces.
Anyway, try running the 'arp' and 'route' commands and posting the output. This should give some info about how you are connected.
arp output :
Address HWtype HWaddress Flags Mask Iface
192.168.2.1 ether 00:50:F2:CB:81:C2 C eth0
route output :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
Thanks for sticking with me through all of this maroonbaboon.