Thursday, June 28, 2018

networking - Realtek ethernet driver error ubuntu 16.04



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
make[2]: *** No rule to make target 'kernel/drivers/net/ethernet/realtek'. Stop.
make[1]: *** [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. :(



Get an internet connection(i got through wifi). Use the command:



sudo apt-get install r8168-dkms



Enter your password. This will install the latest version of the driver. Ethernet connection should be established after installing (you may reboot & check again).


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...