Ubuntu – RTL8101E/RTL8102E not working with ubuntu 14.04. HP G61

14.04driversethernetnetworking

After searching questions, forums, guides, I could find any solutions that would fit the average Joe…
Being Ubuntu, Linux for humans, I'll ask the question once again, trying to adjust the best answer so that anyone could use it.

I plug a ethernet cable on eth0 and it doesn't appear on the network manager as a connection. I use Ubuntu 14.04

lspci -nn

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)

ifconfig eth0

eth0      Link encap:Ethernet  Endereço de HW 00:00:00:00:00:00  
      BROADCAST MULTICAST  MTU:1500  Métrica:1
      pacotes RX:0 erros:0 descartados:0 excesso:0 quadro:0
      Pacotes TX:0 erros:0 descartados:0 excesso:0 portadora:0
      colisões:0 txqueuelen:1000 
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I'm a newbie, so help me, helping you helping me. =) How can i debug this furthermore?

Best Answer

I have a Dell Inspiron 3521 Laptop. After update from Ubuntu 12.04 LTS to Ubuntu 14.04, I had the same problem with my eth0 network card (an RTL8101E/RTL8102E). Using lspic (list PCI devices) to show the devices in the machine, with:

lspci -nn

06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)

(It was not present at ifconfig command)

I download the driver from Realtek to my Desktop folder from: driver's page

Then I untar the file and open the path to a terminal and install it with:

$ cd Desktop   
$ tar xvvf r8101-1.025.00.tar.bz2    
$ cd r8101-1.025.00/src     
$ make clean modules    
$ sudo make install   
$ sudo depmod -a
$ sudo modprobe r8101
$ lsmod |grep r8101
r8101                 153264  0 
$ /sbin/ifconfig -a    
eth0      Link encap:Ethernet  HWaddr 74:86:7a:5d:c6:01  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::7686:7aff:fe5d:c601/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:368426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:258622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:347809708 (347.8 MB)  TX bytes:143626976 (143.6 MB)
          Interrupt:47 Base address:0x4000 

For me it worked ....

Edited to remove superfluous commands that would cause no action in example, and to add sudo usage where appropriate.