Tenda U1 无线网络适配器在设置期间可以正常工作,但之后出现“激活网络连接失败”信息

Tenda U1 无线网络适配器在设置期间可以正常工作,但之后出现“激活网络连接失败”信息

我最近买了Tenda U1 USB 无线网卡用于我的台式电脑。

我选择这个是因为它支持 Linux 系统。我是 Ubuntu 新手,正在尝试了解该操作系统。

当我启动 Ubuntu 20.04 设置时,我成功连接到了家里的 WiFi,它开始正常工作。但是当设置结束并重新启动后,当我尝试连接 WiFi 时,系统出现错误:

网络连接激活失败。

几周后,我尝试再次重启电脑,电脑开始正常工作。但第二天,电脑停止工作并开始出现同样的错误。所以我寻找解决方案,并意识到我必须从产品网站安装驱动程序。

如果我必须安装驱动程序,为什么计算机在安装过程中成功建立了连接?为什么它在我重新启动后才开始工作?

我访问了该产品的网站,并寻找适合我的适配器的驱动程序。适配器的驱动程序页面

我下载了文件,但由于我不知道如何正确安装它,所以我还没有做任何事情。我应该安装它吗?如果是这样,我需要一个关于如何安装的解释。

我使用以下命令查看了网络管理器的日志:journalctl -u NetworkManager

日志中错误的具体行:

Oca 08 17:29:06 Fulcrum-PC NetworkManager[638]: <warn>  [1610116146.2406] device (wlx502b73cb05d1): Activation: (wifi) association took too long, failing activation
Oca 08 17:29:06 Fulcrum-PC NetworkManager[638]: <info>  [1610116146.2408] device (wlx502b73cb05d1): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Oca 08 17:29:06 Fulcrum-PC NetworkManager[638]: <info>  [1610116146.2422] manager: NetworkManager state is now DISCONNECTED
Oca 08 17:29:06 Fulcrum-PC NetworkManager[638]: <warn>  [1610116146.2452] device (wlx502b73cb05d1): Activation: failed for connection 'Gelincik'
Oca 08 17:29:06 Fulcrum-PC NetworkManager[638]: <info>  [1610116146.2463] device (wlx502b73cb05d1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')

这是输出sudo lsusb -v

Bus 002 Device 002: ID 0bda:818b Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x818b RTL8192EU 802.11b/g/n WLAN Adapter
  bcdDevice            2.00
  iManufacturer           1 Realtek 
  iProduct                2 802.lnn NIC 
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0035
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 802.lnn NIC 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x000c
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

这是ifconfig

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether e0:cb:4e:d5:ce:a9  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 507  bytes 65206 (65.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 507  bytes 65206 (65.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx502b73cb05d1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.23  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::90a0:6042:14ed:9ce9  prefixlen 64  scopeid 0x20<link>
        ether 50:2b:73:cb:05:d1  txqueuelen 1000  (Ethernet)
        RX packets 51411  bytes 73180912 (73.1 MB)
        RX errors 0  dropped 93  overruns 0  frame 0
        TX packets 23814  bytes 2234380 (2.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

网络管理器为什么会失败?我应该设置网络管理器的配置还是为我的 Wifi 适配器安装正确的驱动程序?如果是驱动程序的问题,我该如何正确安装与我的 usbWlan 卡匹配的驱动程序?谢谢。

答案1

我遇到了同样的问题,但方式不同。例如,当我将 tenda U1 连接到我的系统时,它会拾取无线连接并显示可用的 wifi 网络。但是当我想连接 wifi 并提供凭据时,它却无法连接并导致失败。因此,我使用了这些命令,现在它可以与已安装的驱动程序连接并正常工作。

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtl8192eu-dkms

我在这里找到了这个解决方案: Ubuntu 16.04 是否开箱即支持 rtl8192eu 芯片组?

现在它对我来说工作得很好。

设备:Tenda U1,,, 操作系统:Ubuntu 20.04

相关内容