sudo ethtool <devicename>
Settings for <devicename>:
Link detected: yes
没有有关Supports Wake-on
显示的详细信息。
答案1
尝试使用NetworkManager
命令行
首先获取连接名称
nmcli connection show
然后,检查现有的唤醒环境
nmcli connection show "connection-name" | grep wake-on
802-11-wireless.wake-on-wlan: 0x0 ()
然后根据需要修改所需的设置
nmcli connection modify "connection-name" 802-11-wireless.wake-on-wlan 8
参考
- 搜索
NM_SETTING_WIRED_WAKE_ON_LAN_MAGIC
并NM_SETTING_WIRELESS_WAKE_ON_WLAN_MAGIC
进入man nm-settings-nmcli
。 - https://wiki.archlinux.org/title/Wake-on-LAN#NetworkManager