NetworkManager は引き続き切断します。

NetworkManager は引き続き切断します。

Wi-Fi経由でインターネットに接続されていますが、時々接続が切断されて再接続されることがあります。この現象はすべて独立して散発的に発生します。

実際には同様のトピックがいくつかありますが、実際に私のケースと同じトピックを見つけることができませんでした。いくつかのログを収集しましたが、その意味を理解するために必要な知識はありません。したがって、この問題を解決するのを手伝ってくれてありがとう。

マイコンピュータ(からneofetch):

OS: Debian GNU/Linux 12 (bookworm) x86_64 
Host: Inspiron 15 3520 
Kernel: 6.1.0-20-amd64 
WM: i3 
CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz 
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 

dmesg丸太:

[  889.063292] rtw_8821ce 0000:01:00.0: failed to get tx report from firmware
[  893.112806] wlp1s0: authenticate with c0:25:2f:be:51:0b
[  893.647234] wlp1s0: send auth to c0:25:2f:be:51:0b (try 1/3)
[  893.671346] wlp1s0: send auth to c0:25:2f:be:51:0b (try 2/3)
[  893.695286] wlp1s0: send auth to c0:25:2f:be:51:0b (try 3/3)
[  893.726332] wlp1s0: authentication with c0:25:2f:be:51:0b timed out
[  898.480776] wlp1s0: authenticate with c0:25:2f:be:51:0b
[  899.015076] wlp1s0: send auth to c0:25:2f:be:51:0b (try 1/3)
[  899.041718] wlp1s0: send auth to c0:25:2f:be:51:0b (try 2/3)
[  899.067922] wlp1s0: authenticated
[  899.071074] wlp1s0: associate with c0:25:2f:be:51:0b (try 1/3)
[  899.134925] wlp1s0: associate with c0:25:2f:be:51:0b (try 2/3)
[  899.193419] wlp1s0: RX AssocResp from c0:25:2f:be:51:0b (capab=0x1411 status=30 aid=896)
[  899.193442] wlp1s0: c0:25:2f:be:51:0b rejected association temporarily; comeback duration 1024 TU (1048 ms)
[  900.263046] wlp1s0: associate with c0:25:2f:be:51:0b (try 3/3)
[  900.387043] wlp1s0: association with c0:25:2f:be:51:0b timed out
[  909.381861] wlp1s0: authenticate with c0:25:2f:be:51:0b
[  909.914756] wlp1s0: send auth to c0:25:2f:be:51:0b (try 1/3)
[  910.159335] wlp1s0: authenticate with c0:25:2f:be:51:0b
[  910.159386] wlp1s0: send auth to c0:25:2f:be:51:0b (try 1/3)
[  910.406659] wlp1s0: authenticated
[  910.410711] wlp1s0: associate with c0:25:2f:be:51:0b (try 1/3)
[  910.474731] wlp1s0: associate with c0:25:2f:be:51:0b (try 2/3)
[  910.500137] wlp1s0: RX AssocResp from c0:25:2f:be:51:0b (capab=0x1411 status=0 aid=7)
[  910.500398] wlp1s0: associated
[  911.862890] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready

NetworkManager(v1.42.4-1)ログ:

Apr 25 12:59:01 reaper NetworkManager[972]: <info>  [1714060741.9078] device (wlp1s0): supplicant interface state: completed -> disconnected
Apr 25 12:59:02 reaper NetworkManager[972]: <info>  [1714060742.4635] device (wlp1s0): supplicant interface state: disconnected -> scanning
Apr 25 12:59:06 reaper NetworkManager[972]: <info>  [1714060746.8066] device (wlp1s0): supplicant interface state: scanning -> authenticating
Apr 25 12:59:06 reaper NetworkManager[972]: <info>  [1714060746.9080] device (wlp1s0): supplicant interface state: authenticating -> disconnected
Apr 25 12:59:07 reaper NetworkManager[972]: <info>  [1714060747.9114] device (wlp1s0): supplicant interface state: disconnected -> scanning
Apr 25 12:59:12 reaper NetworkManager[972]: <info>  [1714060752.1745] device (wlp1s0): supplicant interface state: scanning -> authenticating
Apr 25 12:59:12 reaper NetworkManager[972]: <info>  [1714060752.2274] device (wlp1s0): supplicant interface state: authenticating -> associating
Apr 25 12:59:13 reaper NetworkManager[972]: <info>  [1714060753.5756] device (wlp1s0): supplicant interface state: associating -> disconnected
Apr 25 12:59:15 reaper NetworkManager[972]: <info>  [1714060755.0875] device (wlp1s0): supplicant interface state: disconnected -> scanning
Apr 25 12:59:17 reaper NetworkManager[972]: <warn>  [1714060757.1238] device (wlp1s0): link timed out.
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.1240] device (wlp1s0): state change: activated -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.1242] manager: NetworkManager state is now DISCONNECTED
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.1870] device (wlp1s0): set-hw-addr: set MAC address to BA:BC:7B:C0:6C:31 (scanning)
Apr 25 12:59:17 reaper NetworkManager[972]: <warn>  [1714060757.7350] device (wlp1s0): Activation: failed for connection 'my-network'
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.7353] device (wlp1s0): supplicant interface state: scanning -> interface_disabled
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.7356] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.7653] dhcp4 (wlp1s0): canceled DHCP transaction
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.7653] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Apr 25 12:59:17 reaper NetworkManager[972]: <info>  [1714060757.7653] dhcp4 (wlp1s0): state changed no lease
Apr 25 12:59:18 reaper NetworkManager[972]: <info>  [1714060758.2114] dns-mgr: Removing DNS information from /sbin/resolvconf
Apr 25 12:59:18 reaper NetworkManager[972]: <info>  [1714060758.2744] device (wlp1s0): supplicant interface state: interface_disabled -> scanning
Apr 25 12:59:21 reaper NetworkManager[972]: <info>  [1714060761.9818] device (wlp1s0): supplicant interface state: scanning -> disconnected
Apr 25 12:59:21 reaper NetworkManager[972]: <info>  [1714060761.9844] policy: auto-activating connection 'my-network' (1d4dd7a4-dbff-4a00-af99-360db993bd0a)
Apr 25 12:59:21 reaper NetworkManager[972]: <info>  [1714060761.9846] device (wlp1s0): Activation: starting connection 'my-network' (1d4dd7a4-dbff-4a00-af99-360db993bd0a)
Apr 25 12:59:21 reaper NetworkManager[972]: <info>  [1714060761.9846] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:21 reaper NetworkManager[972]: <info>  [1714060761.9847] manager: NetworkManager state is now CONNECTING
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.0062] device (wlp1s0): set-hw-addr: reset MAC address to A8:3B:76:80:1C:BF (preserve)
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5149] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5150] device (wlp1s0): Activation: (wifi) access point 'my-network' has security, but secrets are required.
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5150] device (wlp1s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5152] device (wlp1s0): supplicant interface state: disconnected -> interface_disabled
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5155] device (wlp1s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5156] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5157] device (wlp1s0): Activation: (wifi) connection 'my-network' has security, and secrets exist.  No new secrets needed.
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'ssid' value 'my-network'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'scan_ssid' value '1'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'bgscan' value 'simple:30:-70:86400'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'auth_alg' value 'OPEN'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5158] Config: added 'psk' value '<hidden>'
Apr 25 12:59:22 reaper NetworkManager[972]: <info>  [1714060762.5305] device (wlp1s0): supplicant interface state: interface_disabled -> inactive
Apr 25 12:59:23 reaper NetworkManager[972]: <info>  [1714060763.0742] device (wlp1s0): supplicant interface state: inactive -> authenticating
Apr 25 12:59:23 reaper NetworkManager[972]: <info>  [1714060763.5664] device (wlp1s0): supplicant interface state: authenticating -> associating
Apr 25 12:59:23 reaper NetworkManager[972]: <info>  [1714060763.6654] device (wlp1s0): supplicant interface state: associating -> associated
Apr 25 12:59:23 reaper NetworkManager[972]: <info>  [1714060763.9613] device (wlp1s0): supplicant interface state: associated -> 4way_handshake
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.0229] device (wlp1s0): supplicant interface state: 4way_handshake -> completed
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.0229] device (wlp1s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "my-network"
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.0231] device (wlp1s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.0236] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.6372] dhcp4 (wlp1s0): state changed new lease, address=192.168.100.1
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.6378] policy: set 'my-network' (wlp1s0) as default for IPv4 routing and DNS
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.6382] dns-mgr: Writing DNS information to /sbin/resolvconf
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7414] device (wlp1s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7446] device (wlp1s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7448] device (wlp1s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7453] manager: NetworkManager state is now CONNECTED_SITE
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7458] device (wlp1s0): Activation: successful, device activated.
Apr 25 12:59:25 reaper NetworkManager[972]: <info>  [1714060765.7463] manager: NetworkManager state is now CONNECTED_GLOBAL

wpa_supplicant(v2:2.10-12)ログ:

Apr 25 12:59:01 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=c0:25:2f:be:51:0b reason=4 locally_generated=1
Apr 25 12:59:01 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Apr 25 12:59:03 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Apr 25 12:59:05 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Apr 25 12:59:06 reaper wpa_supplicant[974]: wlp1s0: SME: Trying to authenticate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:11 reaper wpa_supplicant[974]: wlp1s0: SME: Trying to authenticate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:12 reaper wpa_supplicant[974]: wlp1s0: Trying to associate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:17 reaper wpa_supplicant[974]: wlp1s0: PMKSA-CACHE-REMOVED c0:25:2f:be:51:0b 0
Apr 25 12:59:17 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-DSCP-POLICY clear_all
Apr 25 12:59:18 reaper wpa_supplicant[974]: wlp1s0: Reject scan trigger since one is already pending
Apr 25 12:59:22 reaper wpa_supplicant[974]: wlp1s0: SME: Trying to authenticate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:23 reaper wpa_supplicant[974]: wlp1s0: SME: Trying to authenticate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:23 reaper wpa_supplicant[974]: wlp1s0: PMKSA-CACHE-ADDED c0:25:2f:be:51:0b 0
Apr 25 12:59:23 reaper wpa_supplicant[974]: wlp1s0: Trying to associate with c0:25:2f:be:51:0b (SSID='my-network' freq=2437 MHz)
Apr 25 12:59:23 reaper wpa_supplicant[974]: wlp1s0: Associated with c0:25:2f:be:51:0b
Apr 25 12:59:23 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Apr 25 12:59:25 reaper wpa_supplicant[974]: wlp1s0: WPA: Key negotiation completed with c0:25:2f:be:51:0b [PTK=CCMP GTK=CCMP]
Apr 25 12:59:25 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-CONNECTED - Connection to c0:25:2f:be:51:0b completed [id=0 id_str=]
Apr 25 12:59:25 reaper wpa_supplicant[974]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-56 noise=9999 txrate=58500

関連情報