Since (maybe) after the latest lts kernel update, I’ve run into this weird problem. I can’t find the last used wifi (which has been running continuously) after I turn on the laptop in the morning. The wifi reappers and connects properly if I turn the router off and back on. I’m not facing any such problem on my other devices. Also, I can’t easily reproduce this problem; if I turn off the laptop and turn it on again after some time, this problem does not occur. It only occurs when I turn on the laptop for the first time in the morning.
Here is my system info:
System:
Kernel: 6.1.34-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=f55255bb-2a34-4022-8724-4850f9f965a5 rw rootflags=subvol=@
nowatchdog nvme_load=YES nvidia-drm.modeset=1 loglevel=3
pcie_aspm.policy=performance NVreg_PreserveVideoMemoryAllocations=1
Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.10 wm: kwin_wayland vt: 1
dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X530FN_S530FN
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: X530FN v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: X530FN.308 date: 06/03/2020
Battery:
ID-1: BAT0 charge: 32.4 Wh (96.1%) condition: 33.7/42.2 Wh (79.9%)
volts: 11.6 min: 11.6 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: not charging cycles: 114
CPU:
Info: model: Intel Core i5-8265U bits: 64 type: MT MCP
arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xC (12) microcode: 0xF6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 3463 high: 3703 min/max: 400/3900 scaling:
driver: intel_pstate governor: powersave cores: 1: 3701 2: 3702 3: 3701
4: 3702 5: 3703 6: 3700 7: 1800 8: 3700 bogomips: 28808
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: Enhanced IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: ASUSTeK
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3ea0
class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: nvidia
v: 535.54.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-05) arch: Maxwell code: GMxxx
process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s bus-ID: 02:00.0 chip-ID: 10de:1d10
class-ID: 0302
Device-3: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 13d3:56c1
class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915,nvidia
display-ID: 0
Monitor-1: eDP-1 res: 1536x864 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 23.1.2 renderer: Mesa Intel UHD Graphics 620 (WHL
GT2) direct-render: Yes
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
API: ALSA v: k6.1.34-1-lts status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: AzureWave
driver: rtw_8822be v: N/A modules: rtw88_8822be pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:b822 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:5 chip-ID: 13d3:3526
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Drives:
Local Storage: total: 1.14 TiB used: 137.14 GiB (11.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: TeamGroup model: TM8FP6256G
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 7939 temp: 39.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: 0001 scheme: GPT
Partition:
ID-1: / raw-size: 62.5 GiB size: 62.5 GiB (100.00%) used: 18.09 GiB (28.9%)
fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 42.6 MiB (44.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 62.5 GiB size: 62.5 GiB (100.00%)
used: 18.09 GiB (28.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 62.5 GiB size: 62.5 GiB (100.00%)
used: 18.09 GiB (28.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
file: /swap/swapfile
Sensors:
System Temperatures: cpu: 54.0 C pch: 43.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2600
Info:
Processes: 244 Uptime: 17m wakeups: 1 Memory: available: 11.54 GiB
used: 2.84 GiB (24.6%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1245
libs: 290 tools: yay Shell: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.27
And here are the results of journalctl | grep wlan0:
Jun 18 07:21:47 afschy-pc NetworkManager[697]: <info> [1687051307.9885] device (wlan0): driver supports Access Point (AP) mode
Jun 18 07:21:47 afschy-pc NetworkManager[697]: <info> [1687051307.9894] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/2)
Jun 18 07:21:47 afschy-pc NetworkManager[697]: <info> [1687051307.9898] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jun 18 07:21:48 afschy-pc NetworkManager[697]: <info> [1687051308.4952] device (wlan0): set-hw-addr: set MAC address to E6:9C:C9:E8:89:1D (scanning)
Jun 18 07:21:49 afschy-pc NetworkManager[697]: <info> [1687051309.0377] device (wlan0): supplicant interface state: internal-starting -> disconnected
Jun 18 07:21:49 afschy-pc NetworkManager[697]: <info> [1687051309.0377] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 18 07:21:50 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jun 18 07:21:53 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jun 18 07:22:57 afschy-pc NetworkManager[697]: <info> [1687051377.5550] device (wlan0): state change: disconnected -> unavailable (reason 'none', sys-iface-state: 'managed')
Jun 18 07:22:57 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:22:57 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:22:57 afschy-pc wpa_supplicant[811]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jun 18 07:23:00 afschy-pc NetworkManager[697]: <info> [1687051380.7442] device (wlan0): supplicant interface state: internal-starting -> disconnected
Jun 18 07:23:00 afschy-pc NetworkManager[697]: <info> [1687051380.7442] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 18 07:23:32 afschy-pc wpa_supplicant[811]: wlan0: Reject scan trigger since one is already pending
Jun 18 07:23:52 afschy-pc NetworkManager[697]: <info> [1687051432.5486] device (wlan0): state change: disconnected -> unavailable (reason 'none', sys-iface-state: 'managed')
Jun 18 07:23:52 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:23:52 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:23:52 afschy-pc wpa_supplicant[811]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jun 18 07:23:58 afschy-pc NetworkManager[697]: <info> [1687051438.0911] device (wlan0): supplicant interface state: internal-starting -> disconnected
Jun 18 07:23:58 afschy-pc NetworkManager[697]: <info> [1687051438.0912] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 18 07:24:39 afschy-pc wpa_supplicant[811]: wlan0: Reject scan trigger since one is already pending
Jun 18 07:24:43 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:24:43 afschy-pc NetworkManager[697]: <info> [1687051483.1194] device (wlan0): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
Jun 18 07:24:43 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 18 07:24:43 afschy-pc wpa_supplicant[811]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jun 18 07:24:43 afschy-pc wpa_supplicant[811]: wlan0: CTRL-EVENT-TERMINATING
Jun 18 07:24:43 afschy-pc NetworkManager[697]: <info> [1687051483.1454] device (wlan0): set-hw-addr: reset MAC address to 80:91:33:9D:5D:21 (unmanage)
Jun 18 07:25:10 afschy-pc NetworkManager[692]: <info> [1687051510.6262] device (wlan0): driver supports Access Point (AP) mode
Jun 18 07:25:10 afschy-pc NetworkManager[692]: <info> [1687051510.6269] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/2)
Jun 18 07:25:10 afschy-pc NetworkManager[692]: <info> [1687051510.6273] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jun 18 07:25:11 afschy-pc NetworkManager[692]: <info> [1687051511.1271] device (wlan0): set-hw-addr: set MAC address to 52:E6:B3:26:AE:7B (scanning)
Jun 18 07:25:11 afschy-pc NetworkManager[692]: <info> [1687051511.6731] device (wlan0): supplicant interface state: internal-starting -> disconnected
Jun 18 07:25:11 afschy-pc NetworkManager[692]: <info> [1687051511.6731] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 18 07:25:13 afschy-pc wpa_supplicant[807]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jun 18 07:25:15 afschy-pc wpa_supplicant[807]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jun 18 07:25:53 afschy-pc wpa_supplicant[807]: wlan0: Reject scan trigger since one is already pending
In this timeframe, I turned off and on the wifi a few times, turned on and off the airplane mode a few times, and rebooted the machine once.