LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 05-05-2004, 01:04 PM   #1
Sheltraw
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
realtek 8139 NIC not connecting


Sorry for reposting this but my subject line was inadequate.

I am trying to get my ethernet device working. It uses the Realtek 8139
chip and I am using RedHat 9.0 (kernel 2.4.20-6). After booting lsmod
reports that the 8139too module (driver) is loaded but during the
initialization part of booting I get the following error messgage:

Determining IP information for eth0...iptables: No chain/target/match by
that name failed.
iptables: Bad rule (does a matching rule exist in that chain?)
[FAILED]

I have seen some reports that suggest using the noapic option during
boot so I edit grub.conf to read:

kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi noapic


However, this does not appear to be solving the problem.

Did I modify the grub.conf file correctly?

Does anyone have suggestions on how to fix this problem?
 
Old 05-05-2004, 02:05 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 575

Rep: Reputation: 32
I think there is nothing to do with kernel parms. Looks like eth0 is down or has no IP address assigned. Firstly boot the system and check if 'ifconfig' shows that eth0 is up and have an IP address set up.
 
Old 05-05-2004, 02:06 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,835

Rep: Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117
what are you doing to get that error? iptables is responsible for doing firewalls etc, and is not related to the actual NIC at all. try a simple command like "ifup eth0" and see what happens then. check "dmesg" and "ifconfig" for changes if there is nothing more obvious.
 
Old 05-05-2004, 02:19 PM   #4
Sheltraw
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you!

Here are the results of ifconfig:

eth0 Link encap:Ethernet HWaddr 00:0D:88:18:E7:E0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 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:2052 (2.0 Kb)
Interrupt:11 Base address:0xac00
 
Old 05-05-2004, 02:23 PM   #5
Sheltraw
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks again

Here is what I get from ifup eth0:

Determining IP information for eth0...iptables: No chain/target/match by that name
failed.
iptables: Bad rule (does a matching rule exist in that chain?)


Which is the same message I get during initialization stage of booting.

Daniel
 
Old 05-05-2004, 02:47 PM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 575

Rep: Reputation: 32
Eth is up but has no IP address. Probably it is setup to use DHCP and no DHCP client is started. So check firstly the init scripts. Ifconfig has to show the following:
eth0 Link encap:Ethernet HWaddr 00:0D:88:18:E7:E0
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
 
Old 05-05-2004, 02:47 PM   #7
Sheltraw
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
One more thing:

I can ping 10.0.0.1 just fine. So perhaps my Linux configuration is somehow wrong?

Thanks again
 
Old 05-05-2004, 02:50 PM   #8
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 575

Rep: Reputation: 32
what is 10.0.0.1 ? Your IP address? Or external one?
 
Old 05-05-2004, 02:59 PM   #9
Sheltraw
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
10.0.0.1 is the NIC itself. I think. I found a DSL HOWTO and it suggested pinging
10.0.0.1 as a check on the NIC hardware.

Daniel
 
Old 05-05-2004, 03:52 PM   #10
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 575

Rep: Reputation: 32
So why ifconfig doesn't show this address?
 
Old 05-05-2004, 05:04 PM   #11
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
The NIC doesn't have an IP, at least according to your output, so pinging anything is pretty irrelevant at this point.

You need to either enable DHCP for that interface (if you have a DHCP server present, such as on the DSL router), or statically assign an IP with ifconfig (you'll also need to add that to your system configuration so it will get the same IP when it reboots).
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get NIC (Realtek 8139) to work in 2.6.5 kernel snufferz Linux - Newbie 25 06-09-2004 12:19 AM
Arch Linux - Installing a Realtek 8139 NIC John5788 Linux - Newbie 3 02-10-2004 08:47 PM
How to install and configure Realtek 8139 Nic card zerokool Linux - Newbie 5 08-14-2003 02:23 AM
realtek 8139 poortl9109 Linux - Hardware 6 12-18-2002 02:39 PM
Realtek 8139 esteeven Linux - Hardware 10 05-29-2002 05:53 AM


All times are GMT -5. The time now is 10:04 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration