LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-23-2003, 02:10 PM   #1
trueegor
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Question Network card quit working in linux


I have been running linux for a few weeks now (newbie). I am experimenting a lot. I have played with Lycoris and RedHat 9. First with Lycoris. I came back after being gone for the weekend and my network card quit working. Reboot to Windows XP and it's fine. Back to Lycoris, still not working. I decided to try Red Hat 9 to get more control. The same thing happened. It worked for a while then quit working. I thought if I reinstalled that would maybe fix it again. Not this time. Now the NIC won't work in Lycoris or Red Hat but works fine in Windows.

Realtek 8029(AS) using ne2k-pci driver.

Right after install- no modifications yet-
/proc/pci lists my card
ifconfig shows eth0 sending and recieving packets
with no loss

pinging an ip address fails as well as internet access

If you have any ideas please help.
 
Old 07-23-2003, 04:17 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What does the command 'route' show you?
 
Old 07-24-2003, 10:57 AM   #3
trueegor
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
the followins is the output from 'route'

G 168Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.254 0.0.0.0 UG 0 0 0 eth0


This is the output from ifconfig.

eth0 Link encap:Ethernet HWaddr 00:A0:76:A0:AF:18
inet addr:192.168.0.113 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:863 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0x1020

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:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
 
Old 11-30-2003, 04:53 AM   #4
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
I seem to be having the same thing happen to me. Although mine corresponded to a switch in motherboards. Same motherboard model but won't work in linux now. My card is built into the motherboard and the swap was virtually invisible in windows. No new hardware detected or anything. I can not get it to work in linux however. The card appears up and I can ping the localhosts address. I even see the lights on my dsl gateway and other machines blink when I ping them. The NIC doesn't seem to be recieving any packets back. I see that this is from July, so if you solved it you may be able to help me.
 
Old 11-30-2003, 04:03 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
dakotacody, could you please post your ifconfig and route results? If the other machines blink when you ping them, it means that it's nearly working. There must be small thing wrong when the packets are going back.
 
Old 11-30-2003, 04:19 PM   #6
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Thanks for your help! Here is the output from my route and ifconfig -a commands. The last line from the route command took a while to come up. (about 10 seconds)

ifconfig -a:

eth0 Link encap:Ethernet HWaddr 00:07:E9:7A:45:FD
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)
Interrupt:5 Base address:0xcf40 Memory:fe8fb000-fe8fb038

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:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 1 0 0 eth0
 
Old 11-30-2003, 04:38 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The results look OK and, what's more important, the packages go both ways! There must be something blocking them at some stage. Do you have a firewall running?
 
Old 11-30-2003, 04:51 PM   #8
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
No, I don't have a firewall. I am connnecting to a DSL Gateway. When I run tcpdump from my other box I get this during Windows boot up but not linux.
Could this be the problem or am I chasing a wild goose?

15:46:08.354589 bigpimpin.iad1 > 239.255.255.250.1900: udp 133 [ttl 1]
15:46:09.000909 192.168.0.1.3418 > 255.255.255.255.61112: udp 92
15:46:09.221843 bigpimpin.netbios-dgm > 192.168.0.255.netbios-dgm: NBT UDP PACKET(138)
15:46:10.221784 bigpimpin.netbios-dgm > 192.168.0.255.netbios-dgm: NBT UDP PACKET(138)
15:46:11.221597 bigpimpin.netbios-ns > 192.168.0.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
15:46:11.971414 bigpimpin.netbios-ns > 192.168.0.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
15:46:12.721371 bigpimpin.netbios-ns > 192.168.0.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
 
Old 11-30-2003, 06:59 PM   #9
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
When I do an iptables -L I get an error that perhaps a module needs loaded. Is there something that I need to compile into my kernel to get this to work? I am grasping at straws here I know.

Thanks for any help you can offer.
 
Old 11-30-2003, 10:26 PM   #10
trueegor
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I ended up reinstalling linux and it started working again. I still think that linux takes too damn much tinkering to be worth while.
 
Old 12-01-2003, 05:01 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by dakotacody
When I do an iptables -L I get an error that perhaps a module needs loaded. Is there something that I need to compile into my kernel to get this to work? I am grasping at straws here I know.
It means you don't run any firewall. I asked you to check it, because firewall may block everything when not configured correctly. You don't have it, so that's not the issue.
Next thing you may check is your /var/log/messages. Are there any messages about your NIC?
 
Old 12-01-2003, 05:40 PM   #12
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Here's what I see regarding my NIC in /var/log/messages and /var/log/debug

messages:

Dec 1 16:25:21 bigpimpin kernel: Intel(R) PRO/100 Network Driver - version 2.3.30
Dec 1 16:25:21 bigpimpin kernel: Copyright (c) 2003 Intel Corporation
Dec 1 16:25:21 bigpimpin kernel:
Dec 1 16:25:21 bigpimpin kernel: e100: eth0: Intel(R) PRO/100 Network Connection
Dec 1 16:25:21 bigpimpin kernel: Hardware receive checksums enabled
Dec 1 16:25:21 bigpimpin kernel:

debug:

Dec 1 16:25:21 bigpimpin kernel: e100: selftest OK.

Thanks again for taking the time to troubleshoot this.
 
Old 12-04-2003, 04:00 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I just found a simialar case when googling and it says that the card will fork if you use a DOS driver and set it to half-duplex first (it'll result in bandwith loss, I warn you). It says to search dlink.com for DOS driver for DE-528CT. You may try if it helps.
 
Old 12-05-2003, 12:19 PM   #14
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
I installed Slack 9.1 and the problem was resolved. Thanks for your help!
 
Old 12-07-2003, 01:17 AM   #15
dakotacody
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Another note. When I compile my kernel with SMP in it it causes my network card to quit working. I guess I won't be using the hyperthreading features of my processor in linux. So if anyone else is having this same issue you might check your kernel configuration.
 
  


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
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
Network ethernet card not working under 64bit Linux: Need help Frittenbude Linux - Networking 5 04-24-2005 02:31 PM
Samba has quit working AmdMhz Linux - Software 17 02-05-2004 12:07 PM
network card not working in linux dakotacody Linux - Networking 7 12-01-2003 01:09 AM

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

All times are GMT -5. The time now is 10:07 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