Welcome to the Linux Foundation Forum!

Internet is not working in RHEL5

Hi,

I installed RHEL 5 in my PC, already windows XP is running in my system. I am not able to connect to internet from Linux, but internet is working in windows XP.

I got the below out put for lspci -vv command for ethernet controller

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)

Subsystem: Intel Corporation Unknown device d607

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- tabort- SERR-
Latency: 0, Cache Line Size: 64 bytes

Interrupt: pin A routed to IRQ 11

Region 0: I/O ports at 1000 [size=256]

Region 2: Memory at 90000000 (64-bit, non-prefetchable) [size=4K]

Expansion ROM at 90200000 [disabled] [size=128K]

Capabilities: [40] Power Management version 2

Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Capabilities: [48] Vital Product Data

Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-

Address: 0000000000000000 Data: 0000

Capabilities: [60] Express Endpoint IRQ 0

Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+

Device: Latency L0s <128ns, L1 unlimited<br />
Device: AtnBtn+ AtnInd+ PwrInd+

Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-

Device: RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+

Device: MaxPayload 128 bytes, MaxReadReq 512 bytes

Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0

Link: Latency L0s unlimited, L1 unlimited

Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-

Link: Speed 2.5Gb/s, Width x1

Capabilities: [84] Vendor Specific Information

when i restart network i got the below eror.

[root@localhost init.d]# ./network restart

Shutting down loopback interface: [ OK ]

Bringing up loopback interface: [ OK ]

Bringing up interface eth0: 3c501 device eth0 does not seem to be present, delaying initialization.

[FAILED]

[root@localhost init.d]#

Can any one please help me to sort out this issue. Please let me know if any more information required.

Thanks in advance.

Regards

Kumar.

Comments

  • I think the problem is device driver .
    I think the linux kernel can support Rtl 8101 lan card.
    And maybe,you should recompile the linux kernel.
  • win2tank
    win2tank Posts: 25
    first run "ifconfig -a" and post your results


    Try this:
    check to see if you have a configuration file for your interface (with the assumption that eth0 is your interface):
    /etc/sysconfig/network-scripts/ifcfg-eth0

    create a backup copy of the file to your home folder

    edit the original file to look like this:
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes

    after you save the changes run:
    "ifup eth0"

    I hope this helps.
  • woboyle
    woboyle Posts: 501
    A common problem is the contents of your /etc/resolv.conf file. This contains the addresses of the DNS servers your computer uses to lookup internet addresses. IE, how to turn www.google.com into xxx.yyy.zzz.nnn (64.233.169.104 for one of several). Normally, you can set one of the addresses to your router gateway address. Also, your ISP will provide you with at least one or two that they provide for you. Finally, there are a number of top-level DNS servers that you can use if all else fails. In any case, post the contents of your /etc/resolv.conf file here and we can help you modify it to work, if that is indeed the problem.
  • Hi,

    The kernel is telling you that it doesn't recognize the card.
    It will not load a module and therefore you've got no device.
    And that's what the network restart command is reporting.

    Google says that the realtek card has its own source package
    that needs to be compiled manually. It will provide the r8169
    kernel module, which should be able to load fine in a general
    purpose kernel.

    Depending on the distro you're using somebody might have done
    the compile for you and you can download it as a package!
    Otherwise download the source code, untar, run make in the
    created directory and modprobe -r the created module (if no
    errors...)

    Good luck!

Categories

Upcoming Training