我使用这个驱动程序:
https://github.com/clnhub/rtl8192eu-linux
它工作得很好,但有时,比如 2 或 3 周后,wifi 适配器不再被识别,我需要重新安装驱动程序,然后它才能正常工作。
可能是什么原因 ?与 Ubuntu 更新有什么关系吗?
更新:
$ dkms status
bcmwl, 6.30.223.271+bdcom, 5.0.0-29-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 5.0.0-31-generic, x86_64: installed
$ sudo lshw -C network
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection (Lewisville)
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 04
serial: 40:2c:f4:ec:79:92
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
resources: irq:27 memory:f7d00000-f7d1ffff memory:f7d39000-f7d39fff ioport:f080(size=32)
*-network
description: Wireless interface
physical id: 2
bus info: usb@1:1.1
logical name: wlx503eaa3aa20c
serial: 50:3e:aa:3a:a2:0c
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8192eu ip=192.168.0.105 multicast=yes wireless=IEEE 802.11bgn
$ ls -al /usr/src
total 32
drwxr-xr-x 8 root root 4096 Oct 12 14:44 .
drwxr-xr-x 14 root root 4096 Apr 16 21:00 ..
drwxr-xr-x 5 root root 4096 Sep 20 17:06 bcmwl-6.30.223.271+bdcom
drwxr-xr-x 3 root root 4096 Jul 25 11:00 libdvd-pkg
drwxr-xr-x 25 root root 4096 Sep 19 20:01 linux-headers-5.0.0-29
drwxr-xr-x 8 root root 4096 Sep 19 20:01 linux-headers-5.0.0-29-generic
drwxr-xr-x 25 root root 4096 Oct 6 12:51 linux-headers-5.0.0-31
drwxr-xr-x 8 root root 4096 Oct 6 12:51 linux-headers-5.0.0-31-generic
lrwxrwxrwx 1 root root 32 Jul 12 13:51 vboxhost-6.0.10 -> ../share/virtualbox/src/vboxhost
$ ls -al /var/lib/dkms
total 16
drwxr-xr-x 3 root root 4096 Sep 20 17:06 .
drwxr-xr-x 75 root root 4096 Sep 20 17:06 ..
drwxr-xr-x 3 root root 4096 Oct 6 12:52 bcmwl
-rw-r--r-- 1 root root 6 Apr 25 2018 dkms_dbversion
由于您安装驱动程序的方式,每次通过软件更新程序更新内核时都需要重新安装您的 wifi 驱动程序。
您需要按照
dkms
安装说明来解决此问题。请参阅 README.md...手动安装
删除可用的驱动程序(如果 sudo lshw -C 网络和 dkms 状态不显示任何 wifi 驱动程序,则跳过):
黑名单默认驱动程序(Ubuntu 上的 rtl8xxxu):
从驱动程序目录运行添加和安装命令:
加载驱动程序(或重新启动):
然后,
dkms status
应该显示 rtl8192eu 驱动程序已安装。