Edup Wifi 驱动程序 8821cu 在重启后无法工作。我需要拔下 Wifi 再重新插入

Edup Wifi 驱动程序 8821cu 在重启后无法工作。我需要拔下 Wifi 再重新插入

我正在使用 Edup Wifi 适配器型号 AC1661,使用Ubuntu 20.04内核版本5.11.0.41。我按照说明从下载并安装驱动程序此链接。当我将适配器重新物理插入时,驱动程序可以工作。我可以连接到网络。但是一旦我重新启动系统。它根本无法连接到网络。

这是 lsusb 的结果

blue@blue:~$ lsusb 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 14e1:3508 Dialogue Technology Corp. 
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
blue@blue:~$ 

ifconfig 的结果

blue@blue:/etc/network$ ifconfig 
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:07:32:83:6c:fa  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3729  bytes 265981 (265.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3729  bytes 265981 (265.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether e8:4e:06:96:e3:5f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lsmod 的结果

blue@blue:~$ lsmod | grep 8821cu
8821cu               2207744  0
cfg80211              888832  1 8821cu
blue@blue:~$ 

这个问题有一些重复,但没有一个提供解决方案。有些票建议更改 grub 文件。我就是这么做的

blue@blue:/etc/default$ sudo cat grub
[sudo] password for blue: 
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 intel_idle.max_cstate=1 net.ifnames=0"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

我还创建了一个 .link 文件

blue@blue:/etc/network$ cat 10-wlan0.link 
[Match]
MACAddress=e8:4e:06:96:e3:5f

[Link]
Name=wlan0

这里有日志对于 networkManager 未连接时日志当我能够连接到 wifi 时

知道为什么会发生这种情况吗?我该如何解决?

相关内容