Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 15538  / 3 Years ago, tue, august 3, 2021, 11:58:18

I downloaded and extracted the latest Linux driver version from Realtek. I read the readme file and it instructed me to run ./autorun.sh as root. I did that. It compiled the driver for my kernel, removed the old default module, but then it fails to install the new 8168 module. It claims that it can't be found.



Can this driver be installed manually? Is there a way to fix autorun.sh so it can install properly?


More From » networking

 Answers
3

Assuming your r8168 was compiled correctly, do the following:




  1. Create dependency list of kernel modules:



    sudo depmod -a

  2. Add this line to /etc/modprobe.d/blacklist.conf:



     blacklist r8169

  3. Edit /etc/initramfs-tools/modules and add line:



    r8168

  4. Update existing initramfs:



    sudo update-initramfs -v -u -k `uname -r`



Note that in command 4, those are not quotation marks, but grave accents. That is the key to the left of the one key on the alpha part of the keyboard.



Reboot. You should come up running r8168. To verify, run



sudo lspci -v

[#42052] Thursday, August 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onbean

Total Points: 29
Total Questions: 102
Total Answers: 115

Location: Benin
Member since Fri, Mar 24, 2023
1 Year ago
onbean questions
Fri, Mar 18, 22, 19:49, 2 Years ago
Tue, Dec 6, 22, 11:51, 1 Year ago
Mon, Jun 7, 21, 17:21, 3 Years ago
Mon, Jan 16, 23, 04:48, 1 Year ago
Mon, Oct 17, 22, 14:51, 2 Years ago
;