我使用 Ubuntu 17.10 artful 4.13.0-16-generic。
但是我无法安装华硕 USB-AC68,我尝试安装 rtl8814AU 驱动程序。
我从你的网站尝试了很多突击队,最后一个是:
sudo apt-get update
sudo apt-get install git dkms
git clone https://github.com/sbosshardt/rtl8814AU.git cd rtl8814AU sudo
./dkms-install.sh
我在控制台中收到此错误:
/rtl8814AU# sudo ./dkms-install.sh About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8814AU/4.3.21/source ->
/usr/src/rtl8814AU-4.3.21
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make'...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8814AU: 4.3.21 not found
Error! Bad return status for module build on kernel: 4.13.0-16-generic
(x86_64) Consult /var/lib/dkms/rtl8814AU/4.3.21/build/make.log for
more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make'...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8814AU: 4.3.21 not found
Error! Bad return status for module build on kernel: 4.13.0-16-generic
(x86_64) Consult /var/lib/dkms/rtl8814AU/4.3.21/build/make.log for
more information. Finished running dkms install steps.
这是/var/lib/dkms/rtl8814AU/4.3.21/build/make.log
DKMS make.log for rtl8814AU-4.3.21 for kernel 4.13.0-16-generic
(x86_64) di 24 okt 2017 12:18:51 CEST make ARCH=x86_64 CROSS_COMPILE=
-C /lib/modules/4.13.0-16-generic/build M=/var/lib/dkms/rtl8814AU/4.3.21/build modules make[1]: Map
'/usr/src/linux-headers-4.13.0-16-generic' wordt binnengegaan CC [M]
/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o In file included
from /var/lib/dkms/rtl8814AU/4.3.21/build/include/drv_types.h:32:0,
from /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In
function ‘thread_enter’:
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:343:2:
error: implicit declaration of function ‘allow_signal’; did you mean
‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM); ^~~~~~~~~~~~ do_signal
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In
function ‘flush_signals_thread’:
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:353:6:
error: implicit declaration of function ‘signal_pending’; did you mean
‘timer_pending’? [-Werror=implicit-function-declaration] if
(signal_pending (current))
^~~~~~~~~~~~~~
timer_pending /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:355:3:
error: implicit declaration of function ‘flush_signals’; did you mean
‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current); ^~~~~~~~~~~~~ do_signal cc1: some
warnings being treated as errors scripts/Makefile.build:302: recept
voor doel '/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o' is
mislukt make[2]: ***
[/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o] Fout 1
Makefile:1546: recept voor doel
'_module_/var/lib/dkms/rtl8814AU/4.3.21/build' is mislukt make[1]: ***
[_module_/var/lib/dkms/rtl8814AU/4.3.21/build] Fout 2 make[1]: Map
'/usr/src/linux-headers-4.13.0-16-generic' wordt verlaten
Makefile:1699: recept voor doel 'modules' is mislukt make: ***
[modules] Fout 2
请帮助这个 Kubie :-)
答案1
你可以尝试这个 repo: https://github.com/zebulon2/rtl8814au.git
没有简单的安装脚本,但只需 sudo make && sudo make install