Help me to configure my NIC

Issues related to configuring your network
Post Reply
krishna
Posts: 4
Joined: 2008/03/12 13:50:56

Help me to configure my NIC

Post by krishna » 2008/03/12 14:05:22

Hi,

I am currently in the phase of learning Linux. I have dual OS installed system.(XP, and Cent OS 5).
My NIC is working fine with my XP. but when entering ifconfig command in Cento OS, only the loopback address l0 is displayed.

I tried to edit the file /etc/sysconfig/network-scripts/ifcfg -eth0 but it is not found in my system.

Kindly help me to get this fixed.
Thanks in advance for all your help.

Best Regards,
Krishnamoorthy N

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Help me to configure my NIC

Post by Lenard » 2008/03/12 14:36:45

I'm sorry my crystal ball is in the shop, I dropped last week so I have no idea which NIC you have :-D

Please inform us, the output from the typed command would be helpful; [b]/sbin/lspci -v[/b]

You may wish to read this: http://linuxmafia.com/faq/Essays/smart-questions.html

yyagol
Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

Re: Help me to configure my NIC

Post by yyagol » 2008/03/13 06:58:26

Start with simple checks like , boot errors ,link and like [b]Lenard [/b] say
search the forum for you're problem before posting it, most of the questions
are already asked and the answers ware given . google may be you're best friend .
any way here are simple steps for that can help us help you

[code]# dmesg |grep Eth
# mii-tool -v
# ifconfig -a
# lspci -v |grep -A8 Eth[/code]

krishna
Posts: 4
Joined: 2008/03/12 13:50:56

Re: Help me to configure my NIC

Post by krishna » 2008/03/13 12:27:18

Please find my output for the command lspci -v

[root@localhost ~]# lspci -v
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) (prog-if 00 [VGA])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, fast devsel, latency 0, IRQ 177
Memory at 50100000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 20e0 [size=8]
Memory at 40000000 (32-bit, prefetchable) [size=256M]
Memory at 50180000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, fast devsel, latency 0, IRQ 58
Memory at 501c0000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 50000000-500fffff
Prefetchable memory behind bridge: 0000000050200000-0000000050200000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 50
I/O ports at 2080 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at 2060 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at 2040 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at 2020 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 50
Memory at 501c4000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at
I/O ports at
I/O ports at
I/O ports at
I/O ports at 20b0 [size=16]

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 193
I/O ports at 20c8 [size=8]
I/O ports at 20ec [size=4]
I/O ports at 20c0 [size=8]
I/O ports at 20e8 [size=4]
I/O ports at 20a0 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
Subsystem: Intel Corporation Unknown device d606
Flags: medium devsel, IRQ 193
I/O ports at 2000 [size=32]

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Intel Corporation Unknown device d606
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at 1000 [size=256]
Memory at 50000000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at 50200000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information

Help me to proceed further

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Help me to configure my NIC

Post by AlanBartlett » 2008/03/13 13:46:32

Hint: I used the [b]Search[/b] function above and came up with this http://www.centos.org/search.php?query=Realtek+NIC&andor=AND&mids%5B%5D=30&action=results&submit=Search

At the bottom of that list, click on [b]Show all results[/b] and have a look at the threads listed.

HTH.
Alan.

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: Help me to configure my NIC

Post by michaelnel » 2008/03/13 16:52:06

Sorry if this is too obvious, but have you tried running /usr/sbin/system-config-network-tui ?

Ooops. Realtek. Well, after you get a suitable driver loaded, the above command will be useful.

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Help me to configure my NIC

Post by NedSlider » 2008/03/13 18:44:51

See here on the Wiki:

http://wiki.centos.org/HardwareList/RealTekRTL8111b

Try the [i]dkms[/i] method :-)

Post Reply