我尝试设置局域网唤醒。我使用的教程指出使用 ethtool 来更改 wol 设置。但是当我运行以下命令时:
# ethtool wlp5s0
输出:
Link Detected: yes
我习惯更详细的输出:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
提前致谢
答案1
sudo ip link enable wlp5s0
我认为你的 WLAN 接口已关闭,请尝试ip link