LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem Recognising Ethernet Card (https://www.linuxquestions.org/questions/linux-networking-3/problem-recognising-ethernet-card-572131/)

Peter John 07-25-2007 06:31 AM

Problem Recognising Ethernet Card
 
Hi ALL,

I have installed Fedora Core 6 on my system, it is unable to recognise my ethernet card. The Card is Realtek 8169 SC. Could anyone of you help me to find
the right driver for it.

lspci
=====
01:07.0 Ehternet Controller : Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet ( rev 10 ).

uname -a
========
Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon........ EDT 2006 i686 i686 i386 GNU/ Linux

Thanks
John

Simon Bridge 07-25-2007 06:36 AM

How are you trying to get fedora to "recognize" your card?

Please show the output of ifconfig

Peter John 07-25-2007 06:45 AM

ifconfig -a recognises only loopback interfaces.

John

rossonieri#1 07-25-2007 07:23 AM

your interface not being enabled on boot.

try ifconfig eth(number) up.

to enable it on startup :
vi /etc/sysconfig/network-script/ifcfg-eth(number)

add line to it :
ONBOOT=YES

HTH.

Peter John 07-25-2007 07:43 AM

ifconfg eth0 up says
eth0 : Device not found.

The line ONBOOT=yes is already present

John

rossonieri#1 07-25-2007 08:23 AM

hi,

mmmmm.... strange,
you dont have an eth0 - but you have its config?
make sure you've already check your cable.

HTH.

Simon Bridge 07-26-2007 06:30 AM

The driver is r8169.c which is supposed to be in your kernel. Wich is why we are looking at your config.

How are you trying to get fedora to "recognize" your card?

Peter John 07-27-2007 12:18 AM

i thought that Fedora will itself recognise the card, do i have to make any specific configurations?

Simon Bridge 07-27-2007 04:54 AM

No... it won't do it automatically... how can it?

You have to configure the connection - have you tried the network device control dialog? Or running system-config-network?

However, it is certainly true that ifconfig should list the interface at least...

Peter John 07-27-2007 05:33 AM

Yes, NetConfig just creashed on my system, and system-config-network did not list my Ethernet card. But trying to configure it it gave an error stating

"Device eth0 may not be present , delaying initialisation".

John

Peter John 07-27-2007 05:47 AM

It is an on board card, must have been detected during boot time.

Peter John 07-28-2007 12:25 AM

Could anyone of you help me to find the kernel patches for r8169c.

Thanks in Advance

John

Simon Bridge 07-28-2007 05:10 AM

Kernel patches at kernel.org

I think we want to see dmesg output after a fresh boot.

dmesg | grep eth

for example... though just eyeballing the whole thing should be an education.
I want to know what happens once it is detected.

Peter John 07-30-2007 01:01 AM

dmesg | grep eth, does not show anything, neither /var/log/messages has anything to say about the Ethernet Adopter.

John

ondipuli 07-30-2007 02:12 AM

Solutions: 1.load the correct module with modprobe cmd .RTL chipset modules will be in u r system--first check it out(use gui --go to device manager click ethernet card, u can see the name of the module used by the card--this is the easiest way) if u dont find name of any module or unknown module something like that,then u must download from the web!!
2.if appropriate module is loaded but still if u hav the prob check out irq ,i/o ports
use lspic -v .
Add an entry in /etc/modprobe.conf like
alias eth0 xxx-->name of the module used( u r card will b detected onboot)
options irq=xxx --->irq used by ethernet card--->this is optional one (no needed).many options available!!
3.bring the eth0 or eth1 by ifup eth0 or ifup eth1
4.now check with ifconfig cmd


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