Realtek 8101E installation

Discussion in 'General' started by DStirrup, Mar 7, 2008.

  1. DStirrup

    Joined:
    Jun 4, 2007
    Messages:
    27
    Likes Received:
    0
    Given many of the new Motherboards are using new Realtek chipsets unsupported by Centos 5.0 or 5.1 here is some info for those needing support.

    Someone asked for help with the 8101E chip so I have modified my 8110 script to a script for them. This is untested (don't have a 8101E chip) but should be OK based on my experence with the 8110SC.

    Install a TEMP PCI card that will work with the old Centos kernel 2.6.18-8. I use an old Intel Pro100.

    Make sure you are on the Internet before you start this process.

    1st off go get a kernel-devel package that matches the Elastix distribution kernel. Personal opinion is this should be available in the Elastix repo but isn't!

    # cd /usr/src
    # wget http://www.basso.com.au/guide/kernel-de ... 5.i686.rpm
    # rpm --install kernel-devel-2.6.18-8.el5.i686.rpm
    # ln -s /usr/src/kernels/2.6.18-8.el5-i686/ /usr/src/linux

    Downloaded and install rtl810x drivers from Realtek:
    # wget ftp://202.65.194.212/cn/nic/r8101-1.006.00.tar.bz2
    # tar vjxf r8101-1.006.00.tar.bz2
    # cd /usr/src/r8101-1.006.00
    # make clean; make clean modules
    # make; make install
    # depmod -a
    # insmod ./src/r8101.ko
    # reboot

    If you end up with the new NIC module as eth1 or eth2 rather than eth0 which is what you want then you will have to look at the following files
    /etc/modprobe.conf
    /etc/sysconfig/networking/devices/ifcfg-eth0
    Delete any ifcfg-eth... files that are not what you want including .bak & .sav

    Here is a sample eth0 file that works for me;
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.100.255
    HWADDR=00:30:18:A7:BD:1A
    IPADDR=192.168.100.xxx
    NETMASK=255.255.255.0
    NETWORK=192.168.100.0
    ONBOOT=yes
    TYPE=Ethernet
    IPV6INIT=no
    GATEWAY=192.168.100.1

    Take note of the MAC address which has to be yours as this will link to the correct NIC port if you have more than 1 NIC. Find this by using "lspci". If there is only a single NIC then you can delete "HWADDR= " as your NIC will be the only resource available.

    For a simple DHCP config using a single NIC try;
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet
    IPV6INIT=no

    I hope this works out for you.<br><br>Post edited by: DStirrup, at: 2008/03/08 17:07
     

Share This Page