在 Ubuntu 16.10 上找不到 EW-7811UAC 的驱动程序。Realtek rtl8812AU

在 Ubuntu 16.10 上找不到 EW-7811UAC 的驱动程序。Realtek rtl8812AU

我最近买了一台 EW-7811UAC。我有 Ubuntu 16.10,但找不到适合我的内核的驱动程序。据我所知,其 realtek rtl8812AU 的所有驱动程序似乎都不是针对 ubuntu 16.10 Ubuntu 16.10 Yakkety Yak 的最新内核编码的。我有 Linux 内核 4.8.0-36-generic。

我尝试了两种方法,但都失败了。github.com/diederikdehaas/rtl8812AU 驱动程序给出的输出为

Kernel preparation unnecessary for this kernel. Skipping... 
Building module: cleaning build area.... 
'make'....(bad exit status: 2) 
ERROR (dkms apport): binary package for rtl8812AU: 4.3.14 not found 
Error! Bad return status for module build on kernel: 4.8.0-36-generic (x86_64)
Consult /var/lib/dkms/rtl8812AU/4.3.14/build/make.log for more information."

我跑了dkms build -m ${DRV_NAME} -v ${DRV_VERSION}

make.log的内容是

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.8.0-36-generic/build M=/var/lib/dkms/rtl8812AU/4.3.14/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic' CC [M] /var/lib/dkms/rtl8812AU/4.3.14/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’ scripts/Makefile.build:289: recipe for target '/var/lib/dkms/rtl8812AU/4.3.14/build/core/rtw_cmd.o' failed make[2]: *** [/var/lib/dkms/rtl8812AU/4.3.14/build/core/rtw_cmd.o]
Error 1 Makefile:1491: recipe for target '_module_/var/lib/dkms/rtl8812AU/4.3.14/build' failed make[1]: *** [_module_/var/lib/dkms/rtl8812AU/4.3.14/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic' Makefile:1576: recipe for target 'modules' failed make: *** [modules] Error 2"

答案1

Edimax 驱动程序太旧,无法在 Ubuntu 16.10 上运行。您需要更新驱动程序。以下是两个建议...

https://github.com/diederikdehaas/rtl8812AU

https://github.com/abperiasamy/rtl8812AU_8821AU_linux

相关内容