RedHat Linux8.0 giving problem with RealTek 8139 Ethernet card

Discussion in 'Linux Networking' started by Delip Singh, Jun 27, 2003.

  1. Delip Singh

    Delip Singh Guest

    I installed RedHat Linux 8.0 on HP Pavilion XT936 pc, which has
    RealTek 8139D chipset on motherboard. But Linux never recognized it on
    installation (I tried doing multiples installations). Then I added one
    more Realtek NIC card on PCI slot, but it didn't recognizes it also.
    RedHat 8.0 has driver for Realtek (8139too.o).
    But the driver never got installed. So after few retries with
    installations, I decided to install the driver manually.

    Ifconfig never show me eth0 or eth1, so this is what I followed -
    1. #lspci (to find if they are on my pci bus)
    And I got -
    00:0d.0 Ethernet controller: RealTek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)
    00:10.0 Ethernet controller: RealTek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)

    2. #lsmod (to find out if drivers are installed)
    It didn't show any 8139too entry, which means drivers were not
    installed.

    3. Then I just tried to look into /etc/modules.conf and
    /etc/sysconfig/network-scripts and didn't find respective entries.

    So now I installed the driver manually and did following -
    1. #modprobe 8139too
    2. lsmod (this time it showed me entry for 8139too)
    3. Added line "alias eth0 8139too" in /etc/modules.conf file
    4. Created ifcfg-eth0 file in /etc/sysconfig/network-scripts dir as -
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes
    5. #service network restart (to restart the network service)
    6. #ifup eth0
    It failed to connect to dhcp server
    Since eth0 was not up, so I got following errors -
    SIOCADDRT: Network unreachable on #route add default gw 192.168.1.1
    Connect: Network unreachable on #ping 192.168.1.1

    There is no problem with my dhcp server. My same m/c get ip address
    from dhcp server when i start windows on it.

    Now I thought of adding the second NIC and specify static ip to it. So
    I added new hardware device using GUI (Syaytem Settings->Network) and
    assigned ip address to it.

    Now I was able to add default route and no more SIOCADDRT errors. But
    still am not able to ping the gateway itself.

    Ifconfig now shows both eth0 and eth1 as -eth0 Link encap:Ethernet
    HWaddr 00:40:2B:13:64:5E
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:5 Base address:0xd000

    eth1 Link encap:Ethernet HWaddr 00:02:E3:0F:82:CD
    inet addr:192.168.1.241 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:5 Base address:0xf400

    BUT AM STILL NOT ABLE TO PING ANY MACHINE . I am getting this error -
    PING 192.168.1.1 (192.168.1.1) from 192.168.1.241 : 56(84) bytes of
    data.
    From 192.168.1.241 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.241 icmp_seq=2 Destination Host Unreachable
    From 192.168.1.241 icmp_seq=3 Destination Host Unreachable

    Still eth0 is not able to get ip address from dhcp server and i cannot
    even use eth1 (which has static ip 192.168.1.241)

    I am beating my head for last two days to solve this issue, but
    failed. Looks like some driver related problem.

    Any help in this regard is highly appreciated.

    Thanks,
    Delip
     
    Delip Singh, Jun 27, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.