升级到 20.04 LTS 后,rt2800usb 的 Wifi 坏了

升级到 20.04 LTS 后,rt2800usb 的 Wifi 坏了

我有一个 Tenda W322U v2.0 USB Wifi 适配器,它在旧的 Edubuntu 操作系统上运行良好,已经运行多年了。升级到 Ubuntu 20.04.2 LTS 后如何。现在 wifi 当然坏了。我得到以下信息:

lsusb:

Bus 002 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

sudo lshw-类网络:

  *-network
       description: Wireless interface
       physical id: 2
       bus info: usb@2:2
       logical name: wlxc83a35cf5510
       serial: c8:3a:35:cf:55:10
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb
driverversion=5.8.0-43-generic firmware=0.36 link=no multicast=yes wireless=IEEE 802.11

01-网络管理器-全部.yaml

network:
  version: 2
  renderer: NetworkManager
  wifis:
      wlxc83a35cf5510:
        optional: true
        access-points:
            "mariqLan":
                    password: "password"
        dhcp4: true

我设法通过命令让棍棒上的灯亮起来:

sudo ip link set dev wlxc83a35cf5510 up

IP 链接:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:1c:25:91:e6:33 brd ff:ff:ff:ff:ff:ff
    altname enp4s0
4: wls3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:1f:3c:4b:68:5d brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
5: wlxc83a35cf5510: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether c8:3a:35:cf:55:10 brd ff:ff:ff:ff:ff:ff

在 UI 上,无论我如何尝试通过 UI 打开它,‘USB Wifi 关闭’状态仍然保持。

还:

sudo dkms status
rtl8192eu, 1.0, 5.8.0-43-generic, x86_64: installed

uname -r
5.8.0-43-generic

lsmod
Module                  Size  Used by
rt2800usb              32768  0
rt2x00usb              24576  1 rt2800usb
rt2800lib             131072  1 rt2800usb
rt2x00lib              65536  3 rt2800usb,rt2x00usb,rt2800lib

dmesg | grep wlxc83a35cf5510
[  743.635390] rt2800usb 2-2:1.0 wlxc83a35cf5510: renamed from wlan0

请帮忙! ;-)

答案1

为了减少或消除任何可能的干扰,我建议您将明显出现故障的内部设备的驱动程序列入黑名单。从终端:

sudo -i
modprobe -r iwl3945
echo “blacklist iwl3945”  >>  /etc/modprobe.d/blacklist.conf
exit

移除 USB 无线设备。

接下来,将 netplan 恢复到默认状态:

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

重启网管:

sudo service NetworkManager restart

重新插入 USB 无线设备。有什么改善吗?

相关内容