web analytics

Install NIC Driver Realtek RTL8139/810x on Linux

I just successfully installed Red Hat Enterprise Linux 5 (RHEL5), this is my first time using dual boot OS (Windows and Linux). Before this I just use RHEL 4 in Virtualbox. At the very first, after successfully installed RHEL 5 on my machine and login with KDE session, I clicked on Web Browser button. Then, OMG..how can I connect to the internet. Firefox returned “Cannot Find Server”. There is too many different between Virtualbox and real Linux environment. When I check ifconfig -a on terminal it return the following result – only appear lo and sit0, where my eth0?? :

[root@localhost r8101-1.001.00]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:1611 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4526976 (4.3 MiB)  TX bytes:4526976 (4.3 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP  MTU:1480  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:0
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I have no choice and open terminal then type “init 0″ (shutdown) :D . Then switch back to Windows XP to find the type of driver I need to install on Linux RHEL 5 and find solution over the internet. Noticed that I am using Realtek RTL8139/810x for NIC on Windows. After that, quickly go to the internet to find “how to install Realtek RTL8139/810x on Linux RHEL 5“. Then, I found that many crappy thing and crap suggestion over the forum. I read almost all Linux forum and follow all the sugesstion included to use ndiswrapper to install that Realtek NIC driver. But it doesn’t work on my machine. Yes I confess that I am new in this matter and perhaps ndiswrapper is too advanced for me.

Then, I have decided to try and error. I go to Realtek official website to see if I can get the specific driver for Linux. Found that:

RTL8100B(L)/RTL8100C(L)/RTL8101L/RTL8139C(L)
RTL8139C(L)+/RTL8139D(L)/RTL8100(L)
RTL8130/RTL8139B(L)

all at the same download page. Then I made I my own conclusion that, Realtek8100 or Realtek8101 can be use as well since I can’t find any RTL8139 driver for linux over the internet. Too not wasting your time to read my crappy story, then download this driver over HERE. DOWNLOAD DRIVER HERE, before that make sure you login as root. After download complete, just write the following command on your terminal:

[root@localhost ~]# cd Desktop (i put the file on Desktop)
[root@localhost Desktop]# tar xvvf r8101-1.001.00.tar.bz2
.
.
[root@localhost Desktop]# cd r8101-1.001.00
[root@localhost r8101-1.001.00]# make clean modules
.
.
.
[root@localhost r8101-1.001.00]# make install
.
.
[root@localhost r8101-1.001.00]# depmod -a
[root@localhost r8101-1.001.00]# insmod ./src/r8101.ko
[root@localhost r8101-1.001.00]# lsmod | grep r8101
r8101                  28688  0
<—if this appear, then you’ve installed the driver successfully:)

Then check if your ip have configured correctly or not

[root@localhost r8101-1.001.00]# ifconfig -a

eth0 Link encap:Ethernet  HWaddr 00:1C:25:4D:9A:0A
XXXXX XXXX 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:1000
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:1611 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4526976 (4.3 MiB)  TX bytes:4526976 (4.3 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP  MTU:1480  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:0
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Since you can see the ethX which X is 0,1,2,3 (mine is eth0)…. instead of just lo and sit0, then its working now. NIC driver has been installed successfully.

Finally, on your terminal type:

[root@localhost ~]# system-config-network

You can see on hardware tab there are Realtek Semiconductor with status ok. Then, move to Devices tab, and click New > Ethernet connection > Forward > Choose REaltek Semiconductor…. > Forward > then up to you whether want to set DHCP or set static IP.

Now you can open Firefox or Konqueror and start browsing internet happily:)

[p/s] If check again on your terminal with ifconfig -a it should return your local ip address under the eth0 which is 192.168.1.* ; * is 2-255


Blog Widget by LinkWithin

eth0, lo, ndiswrapper, Realtek RTL8139, Realtek8100, Realtek8101, Red Hat Enterprise Linux 5, RHEL5, sit0, Virtualbox Linux Tips, Online, Technology

29 comments on “Install NIC Driver Realtek RTL8139/810x on Linux

  1. kechik... on said:

    lpas dpt connect ngn internet bley r gna command ‘yum’ tuk install..xyh nk download installer..
    hehehe..tp ak xpnah try lg..cz dlu blja gna virtual jek..

    Translated:
    After be able to connect to internet, then you can apply command ‘yum’ to install..does not need to download the installer..hehehe..but I had never tried before..because I ever use virtual (I thought it is virtualbox) only..

  2. Far East on said:

    Err..even you have internet connection, how come you can connect to internet without your NIC configured correctly?? So, this is the first pain you MUST faced.

    Virtualbox is different, they got virtual NIC already builded in. You can use NAT instead of Virtual Host Interface. But NAT will not use your real IP, so it is useless if you want to install IP dependent application such as Oracle database.

  3. chris on said:

    “..You can see on hardware tab there are Realtek Semiconductor with status ok. ..

    No..no it’s not there. I have an onboard NIC as well which keeps taking eth0 when I start up. ANy ideas?

    Thanks

  4. Pingback: Activating RTL 8139 NIC(integreted) on RHEL 5

  5. Pravin on said:

    Thaks you very much . I was facing same problem .fighting to access Internet from Redhat,for this searching forum finally i got it from you thanks again yaar you did a good job…..

  6. keshav on said:

    I am Redhat certified person, i install RHEL5 on my office computer, installation was completed successfully, but a problem occur.Problem was in the configuration of NIC
    my office computer using Realteck RTL8168C(p)/8111C(p) PCI-E Gigabit-Ethernet Nic, But version linux was RHEL5,and Kernel version is Kernel /vmlinuz-2.6.18-8.el5.In my /etc/sysconfig/network-scripts/,there is no eth0 file
    pls somebody help me solve this issue.If this version of kernel support the above mentioned NIC .please tell me

    • Far East on said:

      Err..you are the certified one, I should ask u this question. By default, RHEL5 was not installed with RealTek driver. Then we should installed it manually.
      Regarding compatibility of kernel version, for me, as long as I can see that working flawlessly, its ok. The thing is, dare to try and error.

  7. jayaram on said:

    this suggestion not applicable to my linux os my os version is redhat lionux ver 5.63 please provide the suggestion to what to do to install my drivers of the rtl8139\810x for linux os

    • Far East on said:

      Jayaram, err..I don’t think that RHEL 5 has released el kernel 5.63
      What kind of Redhat you use? I am installed this driver on default linux kernel i.e. RHEL 5.2.6.18 and it work flawlessly.

  8. Simon Bridge on said:

    RTL8139 has a free software driver which comes with the kernel – if the nic is not initially detected and autoconfigured, you probably just need to do this:

    modprobe 8139too
    system-config-network

    If your config scripts do not mention the dev associated with your nic, and it does not have to be /dev/eth0, then you probably need to configure your network connection.

    For decent linuk advice try:
    http://www.linuxquestions.org

    Thank you.

    • Far East on said:

      Hi Simon, can I know what Linux distro and kernel version that you refer to? For RHEL 5, there are no RTL8139 driver for default installation of RHEL 5. Plus there are no official released kernel for RHEL 5 yet.

  9. Pravin on said:

    hi!
    i’m pravin.
    Thanks a lot for this help by page.
    i’ll try this.
    ok…!!!!!!!

  10. bayapathi on said:

    how can i integrate the NIC modules into the installation source?

  11. how can i find realtek 8111c driver for linux

  12. Far East on said:

    Umit, try to download from Realtek official website. If the driver that you mention was not there, then try to use any other Realtek driver that available at the Realtek official website. Try one by one until you successfully connected to the network..good luck..

  13. good link

  14. Deepak on said:

    thanks you

  15. Jkumar on said:

    I try the above method,

    while in the particular step

    insmod ./src/r8101.ko

    in the download package “r8101.ko” I can’t find these file in that download pacakge.

    How to get these file

    Please help me How to resolve it

  16. Hi,

    I am not able to find the driver software at the given location. Kindly share this with me.

    Regards,
    Subhram007

  17. The destination or referral domain for this link has been banned from linkbucks due repeated violations in our terms of use.

    If you believe this is in error, please contact us.

  18. Vaseem Khan on said:

    It worked for me great help…I installed RTL8169.. keep it up.
    Thanks a lot!!

  19. Pingback: Install nic | Yourkenoinfo

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>