同一台机器在 Ubuntu 中成功连接到 WiFi 网络,但在 Debian 中失败

同一台机器在 Ubuntu 中成功连接到 WiFi 网络,但在 Debian 中失败

在 Ubuntu 18.04 上,我可以成功连接到 5 GHz 802.11n 网络。在 Debian 11 中,同一台机器无法连接到同一网络,但仍然成功连接到 2.4 GHz 网络。

nmcli建议使用过滤器来查找日记。以下是该输出的摘录:

jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.7617] device (wlp2s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.8026] device (wlp2s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.8248] device (wlp2s0): Activation: (wifi) access point 'My-Access-Point' has security, but secrets are required.
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.8266] device (wlp2s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.8497] sup-iface[bbe248a51c8dfb35,0,wlp2s0]: wps: type pbc start...
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.9203] device (wlp2s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.9338] device (wlp2s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
jan 24 14:40:13 nc10 NetworkManager[474]: <info>  [1674567613.9401] device (wlp2s0): Activation: (wifi) connection 'My-Access-Point' has security, and secrets exist.  No new secrets needed.
jan 24 14:40:16 nc10 NetworkManager[474]: <info>  [1674567616.7124] device (wlp2s0): supplicant interface state: disconnected -> scanning
jan 24 14:40:20 nc10 NetworkManager[474]: <info>  [1674567620.7952] device (wlp2s0): supplicant interface state: scanning -> disconnected
jan 24 14:40:21 nc10 NetworkManager[474]: <info>  [1674567621.1954] device (wlp2s0): supplicant interface state: disconnected -> scanning
jan 24 14:40:25 nc10 NetworkManager[474]: <info>  [1674567625.3311] device (wlp2s0): supplicant interface state: scanning -> disconnected
jan 24 14:40:26 nc10 NetworkManager[474]: <info>  [1674567626.2471] device (wlp2s0): supplicant interface state: disconnected -> scanning
jan 24 14:40:30 nc10 NetworkManager[474]: <info>  [1674567630.3116] device (wlp2s0): supplicant interface state: scanning -> disconnected
jan 24 14:40:35 nc10 NetworkManager[474]: <info>  [1674567635.2603] device (wlp2s0): supplicant interface state: disconnected -> scanning
jan 24 14:40:39 nc10 NetworkManager[474]: <warn>  [1674567639.3182] device (wlp2s0): Activation: (wifi) association took too long, failing activation
jan 24 14:40:39 nc10 NetworkManager[474]: <info>  [1674567639.3277] device (wlp2s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
jan 24 14:40:39 nc10 NetworkManager[474]: <warn>  [1674567639.3450] device (wlp2s0): Activation: failed for connection 'My-Access-Point'
jan 24 14:40:39 nc10 NetworkManager[474]: <info>  [1674567639.3702] device (wlp2s0): supplicant interface state: scanning -> disconnected
jan 24 14:40:39 nc10 NetworkManager[474]: <info>  [1674567639.3724] device (wlp2s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')

“协会”显然花了太长时间。但我不知道该怎么办。它是否暗示了一个特定的问题?


附加信息

  • 在 Ubuntu 22.10 中,另外一台机器也出现了与同一接入点类似的连接问题。该问题在同一台计算机上的 macOS 或 Windows 10 中不存在。
  • 接入点是运行 Ubuntu 22.04 的 Raspberry Pi 4。
  • 两个有问题的(在 Linux 中)网络适配器都是 Broadcom 品牌的
  • 失败是一致的
  • 与 AP 的距离没有区别
  • iPhone 5 & 8 可以成功连接网络

相关内容