我工作的地方有几个不同频率的 WiFi。我经常断开连接,必须手动重新连接。当这种情况再次发生时,我检查了
journalctl
并得到以下输出:
Nov 04 17:13:22 foo kernel: wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by 00:24:a8:98:08:40
Nov 04 17:13:22 foo NetworkManager[292]: <info> [1478276002.0335] device (wlo1): supplicant interface state: authenticating -> completed
Nov 04 17:13:22 foo wpa_supplicant[347]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Nov 04 17:13:22 foo kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
Nov 04 17:13:22 foo kernel: wlo1: associated
Nov 04 17:13:22 foo kernel: wlo1: RX AssocResp from 00:24:a8:98:08:40 (capab=0x801 status=0 aid=6)
Nov 04 17:13:22 foo wpa_supplicant[347]: wlo1: CTRL-EVENT-CONNECTED - Connection to 00:24:a8:98:08:40 completed [id=0 id_str=]
Nov 04 17:13:22 foo wpa_supplicant[347]: wlo1: Associated with 00:24:a8:98:08:40
Nov 04 17:13:22 foo kernel: wlo1: associate with 00:24:a8:98:08:40 (try 1/3)
Nov 04 17:13:22 foo kernel: wlo1: authenticated
Nov 04 17:13:22 foo wpa_supplicant[347]: wlo1: Trying to associate with 00:24:a8:98:08:40 (SSID='BAR' freq=5180 MHz)
Nov 04 17:13:22 foo kernel: wlo1: send auth to 00:24:a8:98:08:40 (try 1/3)
Nov 04 17:13:22 foo NetworkManager[292]: <info> [1478276002.0224] device (wlo1): supplicant interface state: scanning -> authenticating
Nov 04 17:13:22 foo kernel: wlo1: authenticate with 00:24:a8:98:08:40
Nov 04 17:13:22 foo wpa_supplicant[347]: wlo1: SME: Trying to authenticate with 00:24:a8:98:08:40 (SSID='BAR' freq=5180 MHz)
Nov 04 17:13:21 foo NetworkManager[292]: <info> [1478276001.9020] device (wlo1): supplicant interface state: disconnected -> scanning
Nov 04 17:13:21 foo kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Nov 04 17:13:21 foo dhclient[10311]: receive_packet failed on wlo1: Network is down
Nov 04 17:13:21 foo NetworkManager[292]: <info> [1478276001.7420] device (wlo1): supplicant interface state: associating -> disconnected
Nov 04 17:13:21 foo wpa_supplicant[347]: wlo1: SME: Deauth request to the driver failed
Nov 04 17:13:21 foo wpa_supplicant[347]: wlo1: CTRL-EVENT-ASSOC-REJECT bssid=00:24:a8:a7:90:50 status_code=17
Nov 04 17:13:21 foo NetworkManager[292]: <info> [1478276001.7021] device (wlo1): supplicant interface state: authenticating -> associating
Nov 04 17:13:21 foo kernel: wlo1: 00:24:a8:a7:90:50 denied association (code=17)
Nov 04 17:13:21 foo kernel: wlo1: RX AssocResp from 00:24:a8:a7:90:50 (capab=0x421 status=17 aid=0)
Nov 04 17:13:21 foo kernel: wlo1: associate with 00:24:a8:a7:90:50 (try 1/3)
Nov 04 17:13:21 foo kernel: iwlwifi 0000:02:00.0 wlo1: disabling VHT as WMM/QoS is not supported by the AP
Nov 04 17:13:21 foo kernel: iwlwifi 0000:02:00.0 wlo1: disabling HT as WMM/QoS is not supported by the AP
Nov 04 17:13:21 foo kernel: wlo1: authenticated
Nov 04 17:13:21 foo wpa_supplicant[347]: wlo1: Trying to associate with 00:24:a8:a7:90:50 (SSID='BAR' freq=2412 MHz)
Nov 04 17:13:21 foo NetworkManager[292]: <info> [1478276001.6877] device (wlo1): supplicant interface state: completed -> authenticating
Nov 04 17:13:21 foo kernel: wlo1: send auth to 00:24:a8:a7:90:50 (try 1/3)
Nov 04 17:13:21 foo kernel: wlo1: authenticate with 00:24:a8:a7:90:50
Nov 04 17:13:21 foo kernel: wlo1: disconnect from AP 00:24:a8:98:08:40 for new auth to 00:24:a8:a7:90:50
Nov 04 17:13:21 foo wpa_supplicant[347]: wlo1: SME: Trying to authenticate with 00:24:a8:a7:90:50 (SSID='BAR' freq=2412 MHz)
我认为有趣的是频率的变化。这会是一个问题吗?如何解决?
我用来nmcli
连接 Wifi。我可以连接到给定 SSID 的 Wifi。我是否可以连接到特定频道上的 Wifi,这样当我重新连接时,我不仅会重新连接到具有相同 SSID 且具有相同频率的 Wifi?
编辑:我意识到有可能与使用相同 Wifi 的人数不断变化和我断开连接有关。换句话说,我认为当人们带着笔记本电脑来时,我断开连接的可能性就会增加。如果人们不动,我的连接就相对稳定。这有道理吗?