NetworkManagerを使用してArch Linuxを実行するノートブックがあります。カバーを閉じるたびにWiFiが無効になります(rfkill
「Soft Block」と表示されます)。
省電力機能の無効化、NetworkManagerの再インストールなど、すべてを試しました。
これは私の日記です。
Jul 13 19:44:40 commondevice systemd-logind[271]: Lid closed.
Jul 13 19:44:40 commondevice kernel: wlo1: deauthenticating from 50:d2:f5:2c:d0:e0 by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 13 19:44:40 commondevice wpa_supplicant[283]: wlo1: CTRL-EVENT-DISCONNECTED bssid=50:d2:f5:2c:d0:e0 reason=3 locally_generated=1
Jul 13 19:44:40 commondevice wpa_supplicant[283]: rfkill: WLAN soft blocked
Jul 13 19:44:40 commondevice NetworkManager[2125]: <info> [1689266680.9394] manager: rfkill: Wi-Fi now disabled by radio killswitch
Jul 13 19:44:40 commondevice NetworkManager[2125]: <info> [1689266680.9396] device (wlo1): state change: activated -> unavailable (reason 'none', sys-iface-state: 'managed')
Jul 13 19:44:40 commondevice NetworkManager[2125]: <info> [1689266680.9534] dhcp4 (wlo1): canceled DHCP transaction
Jul 13 19:44:40 commondevice NetworkManager[2125]: <info> [1689266680.9535] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Jul 13 19:44:40 commondevice NetworkManager[2125]: <info> [1689266680.9535] dhcp4 (wlo1): state changed no lease
Jul 13 19:44:40 commondevice systemd[1]: Starting Load/Save RF Kill Switch Status...
Jul 13 19:44:40 commondevice systemd[1]: Started Load/Save RF Kill Switch Status.
Jul 13 19:44:40 commondevice systemd-logind[271]: Lid opened.
Jul 13 19:44:41 commondevice NetworkManager[2125]: <info> [1689266681.1575] manager: NetworkManager state is now DISCONNECTED
Jul 13 19:44:41 commondevice wpa_supplicant[283]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Jul 13 19:44:41 commondevice dbus-daemon[270]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.74' (uid=0 pid=2125 comm="/usr/bin/NetworkManager --no-daemon")
Jul 13 19:44:41 commondevice systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 13 19:44:41 commondevice wpa_supplicant[283]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Jul 13 19:44:41 commondevice wpa_supplicant[283]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0
Jul 13 19:44:41 commondevice dbus-daemon[270]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 13 19:44:41 commondevice systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 13 19:44:45 commondevice systemd[1]: systemd-rfkill.service: Deactivated successfully.
Jul 13 19:44:48 commondevice dbus-daemon[270]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.92' (uid=1000 pid=2658 comm="/usr/lib/xfce4-screensaver-dialog --monitor=0 --he")
Jul 13 19:44:48 commondevice dbus-daemon[270]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Jul 13 19:44:48 commondevice xfce4-screensaver-dialog[2658]: pam_systemd_home(xfce4-screensaver:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jul 13 19:44:48 commondevice rtkit-daemon[484]: Supervising 4 threads of 2 processes of 1 users.
Jul 13 19:44:48 commondevice rtkit-daemon[484]: Supervising 4 threads of 2 processes of 1 users.
Jul 13 19:44:51 commondevice xfce4-screensaver-dialog[2658]: gkr-pam: unlocked login keyring
Jul 13 19:44:51 commondevice xfce4-screensaver-dialog[2658]: pam_warn(xfce4-screensaver:account): function=[pam_sm_acct_mgmt] flags=0 service=[xfce4-screensaver] terminal=[:0.0] user=[mrvoid] ruser=[<unknown>] rhost=[<unknown>]
Jul 13 19:44:51 commondevice systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
答え1
Wi-Fiを無効にするために物理スイッチを使用する必要がない場合は、rfkill
モジュールをブラックリストに追加できますか?まず取り外して、modprobe -r rfkill
ふたを閉めるときに遮断動作が防止されることを確認してください。
(より良い方法があると確信していますが、この方法は迅速な解決策になる可能性があります。)
答え2
問題をより深く掘り下げる必要がない場合は、
次のことを使用できます。[tlp]
[1]起動時にWi-Fi電源を「強制」できるソフトウェア