华硕 USB-AC68 在 Linux Mint 中无法连接

华硕 USB-AC68 在 Linux Mint 中无法连接

我最近买了一个华硕USB-AC68它使用Realtek RTL8814AU 芯片组,以更换我的(新)PC 上过时的 WiFi 卡,但 OEM 没有可下载的 Linux 驱动程序。在我父亲的指示和教程(参见来源 1)下,它失败了,所以我尝试了另一个网站(参见来源 2),但结果相同。

由于一些我不明白也无法修复的编译原因,我无法在我的 Linux 上完成这些工作。

PC双启动:

    ASUS VIVOBOOK 17

    Linux MINT

    Window

无线网络适配器:https://wikidevi.com/wiki/ASUS_USB-AC68

来源:https://ubuntu-mate.community/t/a-dual-band-usb-wi-fi-adapter-that-works-and-how-to-find-them/15173

华硕 USB-AC68 [0b05:1817] [驱动程序]3

司机:

https://github.com/nazar-pc/RTL8814AU.git

https://github.com/diederikdehaas/rtl8814AU

汇编:

驱动程序 1:

clement-monfort@clementmonfort-VivoBook-17-ASUS-Laptop-X705UBR:~/Bureau/RTL8814AU$ sudo ./dkms-install.sh 
[sudo] password for clement-monfort:         
About to run dkms install steps...
mkdir: cannot create directory ‘/usr/src/rtl8814au-4.3.21’: File exists
Error! DKMS tree already contains: rtl8814au-4.3.21
You cannot add the same module/version combo more than once.

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.15.0-45-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.15.0-45-generic (x86_64)
Consult /var/lib/dkms/rtl8814au/4.3.21/build/make.log for more information.
Finished running dkms install steps.
clement-monfort@clementmonfort-VivoBook-17-ASUS-Laptop-X705UBR:~/Bureau/RTL8814AU$ sudo modprobe rtl8814au
modprobe: FATAL: Module rtl8814au not found in directory /lib/modules/4.15.0-45-generic

司机2:

clement-monfort@clementmonfort-VivoBook-17-ASUS-Laptop-X705UBR:~/Bureau/rtl8814au$ sudo make && sudo make install
[sudo] password for clement-monfort:         
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-45-generic/build M=/home/clement-monfort/Bureau/rtl8814au  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'
  CC [M]  /home/clement-monfort/Bureau/rtl8814au/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:332: recipe for target '/home/clement-monfort/Bureau/rtl8814au/core/rtw_cmd.o' failed
make[2]: *** [/home/clement-monfort/Bureau/rtl8814au/core/rtw_cmd.o] Error 1
Makefile:1551: recipe for target '_module_/home/clement-monfort/Bureau/rtl8814au' failed
make[1]: *** [_module_/home/clement-monfort/Bureau/rtl8814au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2
clement-monfort@clementmonfort-VivoBook-17-ASUS-Laptop-X705UBR:~/Bureau/rtl8814au$ sudo modprobe -v 8814au
modprobe: FATAL: Module 8814au not found in directory /lib/modules/4.15.0-45-generic

相关内容