Answer the question
In order to leave comments, you need to log in
How to install r8169-dkms driver on CentOS/RedHat?
Hi all! I have RedHat 8 on hand (CentOS is fully compatible in my opinion, so the question is also suitable for cent OS)
In general, I found that the system does not see my WiFi adapter (Tp-Link TL-WN725N) googled and found that I need to install the r8169-dkms driver to bloat the adapter, try to install (cloned from git rep) and get this error:
[quearan @ RedHatPC r8168] $ sudo ./autorun.sh
[sudo] password for quearan:
Check old driver and unload it.
rmmod r8169
Build the module and install
/home/quearan/Downloads/r8168/dahdi-linux/r8168/src/r8168_n.c:60:10: fatal error: linux / pci-aspm.h: No such file or directory
#include <linux / pci-aspm.h>
^ ~~~~~~~~~~~~~~~~~
compilation aborted.
make [3]: *** [scripts / Makefile.build: 316: /home/quearan/Downloads/r8168/dahdi-linux/r8168/src/r8168_n.o] Error 1
make [2]: *** [Makefile: 1544: _module_ / home / quearan / Downloads / r8168 / dahdi-linux / r8168 / src] Error 2
make [1]: *** [Makefile: 140: modules] Error 2
make: *** [Makefile: 40: modules] Error 2
Answer the question
In order to leave comments, you need to log in
Does it look like this?
https://bugs.gentoo.org/701200
Patch:
https://bugs.gentoo.org/attachment.cgi?id=597556&a...
Naturally, do not forget to make copies, everything is at your own peril and risk, etc. .
Connect the elrepo repository and install the r8169 package with one command via yum
PS - it's strange that you write about r8169-dkms, but try to install r8168
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question