M
M
Mr Tails2020-12-20 17:33:59
linux
Mr Tails, 2020-12-20 17:33:59

Driver rtl8188eu not installed via dkms how to fix it?

Hello everyone, I have RedHat 8. I found out that the WiFi adapter is not working, because of which there is no Internet access. On the Internet, I found out that I need to install the rtl8188eu driver, which means I made such a sequence of instructions and received such errors .

First, I inclined the repository: sudo dnf install git dkms
Everything is going well so far. Further:

git clone https://github.com/hanipouspilot/rtl8188eu.git

I cloned the whole repository and start installing: sudo dkms add ./rtl8188eu
Everything goes well and I start installing: sudo dkms install 8188eu/1.0

And I get this output:
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.18.0-240.8.1.el8_3.x86_64 (x86_64)
Consult /var/lib/dkms/8188eu/1.0/build/make.log for more information.


And then I go to the log and this is what I see:

DKMS make.log for 8188eu-1.0 for kernel 4.18.0-240.8.1.el8_3.x86_64 (x86_64)
Вс дек 20 20:15:35 +06 2020
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-240.8.1.el8_3.x86_64/build M=/var/lib/dkms/8188eu/1.0/build  modules
make[1]: вход в каталог «/usr/src/kernels/4.18.0-240.8.1.el8_3.x86_64»
  CC [M]  /var/lib/dkms/8188eu/1.0/build/core/rtw_ap.o
In file included from /var/lib/dkms/8188eu/1.0/build/core/rtw_ap.c:22:
/var/lib/dkms/8188eu/1.0/build/include/osdep_service.h: В функции «_init_timer»:
/var/lib/dkms/8188eu/1.0/build/include/osdep_service.h:94:8: ошибка: «struct timer_list» не содержит элемента с именем «data»
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/8188eu/1.0/build/include/osdep_service.h:95:2: ошибка: неявная декларация функции «init_timer»; имелось в виду «_init_timer»? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/8188eu/1.0/build/include/rtw_ht.h:24,
                 from /var/lib/dkms/8188eu/1.0/build/include/drv_types.h:36,
                 from /var/lib/dkms/8188eu/1.0/build/core/rtw_ap.c:23:
/var/lib/dkms/8188eu/1.0/build/include/wifi.h: На верхнем уровне:
/var/lib/dkms/8188eu/1.0/build/include/wifi.h:733: предупреждение: «IEEE80211_MAX_AMPDU_BUF» переопределён
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/8188eu/1.0/build/include/wifi.h:23,
                 from /var/lib/dkms/8188eu/1.0/build/include/rtw_ht.h:24,
                 from /var/lib/dkms/8188eu/1.0/build/include/drv_types.h:36,
                 from /var/lib/dkms/8188eu/1.0/build/core/rtw_ap.c:23:
./include/linux/ieee80211.h:1463: замечание: это расположение предыдущего определения
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: некоторые предупреждения считаются ошибками
make[2]: *** [scripts/Makefile.build:316: /var/lib/dkms/8188eu/1.0/build/core/rtw_ap.o] Ошибка 1
make[1]: *** [Makefile:1544: _module_/var/lib/dkms/8188eu/1.0/build] Ошибка 2
make[1]: выход из каталога «/usr/src/kernels/4.18.0-240.8.1.el8_3.x86_64»
make: *** [Makefile:147: modules] Ошибка 2


How to force the system to download drivers? Help the kettle please, I don’t understand what to do with this and how to fix and how to start my adapter .....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2020-12-21
@SignFinder

Install drivers from a more recent repository, such as https://github.com/lwfinger/rtl8188eu , or fix problems in the code in your current one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question