WOL持久化配置
保证bios和网卡支持WOL唤醒,并关闭低功耗模式 此命令仅在Ubuntu20.04LTS上测试通过,其余发行版同理,请自测 参考链接 https://www.techrepublic.com/article/how-to-enable-wake-on-lan-in-ubuntu-server-18-04/ https://help.ubuntu.com/community/WakeOnLan#External_Links WOL开启设置 ➜ ~ sudo apt-get install ethtool #安装管理工具 ➜ ~ ip a #查询网络状态等信息。。。 ➜ ~ sudo ethtool -s enp1s0 wol g #使能WOL功能 ➜ ~ sudo ethtool enp1s0 #查询是否使能成功 Settings for enp1s0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes