I have recently upgraded from Ubuntu 15.10 to 16.04. When i was using 15.10 ethernet works flawlessly. But after upgrading to 16.04 it doesn't work anymore showing network cable unplugged. I tried reinstalling driver & end up getting following error sumit@Lenovo-Z50-70:/Desktop/r8168-8.041.01$ sudo./autorun.sh sudo password for sumit: Check old driver and unload it. Rmmod r8169 Build the module and install make2:.
Realtek Rtl8111c Driver
No rule to make target 'kernel/drivers/net/ethernet/realtek'. Make1:. install Error 2 make:. install Error 2 When i had installed in 15.10 it was installed successfully. My ethernet controller is: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 10ec:8168 (rev10). I have done all proxy settings same as they were in 15.10. Please help.:(. For product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller the above solution didn't work.
Realtek 8111c Driver Download
Rtl8168c Driver
I had to download driver from and install with./autorun.sh. After that I still couldn't connect to the internet. But the r8101 kernel module was loaded and in nm the connection came up. I noticed there was no mac address. With the following command I forced a random chosen mac address. Sudo ifconfig enp3s0 hw ether 00:04:FE:11:22:38 where enp3s0 was my ethernet nic. With this I got my internet connection but is wasn't persistent.
I had to add pre-up ifconfig enp3s0 hw ether 00:04:FE:11:22:38 at the end of /etc/network/interfaces file sudo nano /etc/network/interfaces.