驱动程序安装后无法识别 wifi 适配器

驱动程序安装后无法识别 wifi 适配器

我遵循了以下指南: TP-Link AC600 Archer T2U Nano 驱动程序适用于 Ubuntu 18.04 因为我有相同的 wifi 适配器,它当时可以正常工作,但速度比我的 windows 分区慢得多。重新启动后,我的 wifi 适配器无法再被识别... 它显示在 lsusb 命令中。

关于如何返回它,有什么建议吗?

编辑:我尝试从另一个存储库安装(https://github.com/gnab/rtl8812au)这就是我得到的:

dkms status
8812au, 4.2.3, 5.4.0-66-generic, x86_64: installed (WARNING! Diff between built and installed module!)

编辑:我从卸载中得到这个

sudo dkms uninstall 8812au/4.2.3

-------- Uninstall Beginning --------
Module:  8812au
Version: 4.2.3
Kernel:  5.4.0-66-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8812au.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-66-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

dkms status
8812au, 4.2.3, 5.4.0-66-generic, x86_64: built
8812au, 4.2.3, 5.4.0-66-lowlatency, x86_64: installed

sudo dkms remove 8812au/4.2.3 --all

-------- Uninstall Beginning --------
Module:  8812au
Version: 4.2.3
Kernel:  5.4.0-66-generic (x86_64)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod...

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module:  8812au
Version: 4.2.3
Kernel:  5.4.0-66-lowlatency (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8812au.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-66-lowlatency/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.2.3
completely from the DKMS tree.
------------------------------
Done.
stella@IBP10382:~$ dkms status
stella@IBP10382:~$ 

重新安装后,情况相同

stella@IBP10382:~$ sudo apt-get install build-essential dkms 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
dkms is already the newest version (2.3-3ubuntu9.7).
The following package was automatically installed and is no longer required:
  linux-hwe-5.4-headers-5.4.0-62
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
stella@IBP10382:~$ sudo make dkms_install
make: *** No rule to make target 'dkms_install'.  Stop.
stella@IBP10382:~$ cd rtl8812au/
stella@IBP10382:~/rtl8812au$ sudo make dkms_install
mkdir -p /usr/src/8812au-4.2.3
cp -r * /usr/src/8812au-4.2.3
dkms add -m 8812au -v 4.2.3

Creating symlink /var/lib/dkms/8812au/4.2.3/source ->
                 /usr/src/8812au-4.2.3

DKMS: add completed.
dkms build -m 8812au -v 4.2.3

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.4.0-66-generic..........
cleaning build area...

DKMS: build completed.
dkms install -m 8812au -v 4.2.3

8812au:
Running module version sanity check.

Good news! Module version v4.2.3 for 8812au.ko
exactly matches what is already found in kernel 5.4.0-66-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod...

DKMS: install completed.
dkms status
8812au, 4.2.3, 5.4.0-66-generic, x86_64: installed (WARNING! Diff between built and installed module!)
stella@IBP10382:~/rtl8812au$ echo 8812au | sudo tee -a /etc/modules
8812au

顺便说一下,它之前使用的驱动程序是:mt76x0u

非常感谢!

相关内容