不说废话,两个位置需要设置,一个是bios,另一个是linux的网卡。
1.bios设置
开机时按F2,进入bios设置,选integrated devices,将需要设置开机启动的网卡设置为enable with pxe。
开机时按ctrl+s进入网卡bios,然后选择需要设置开机启动的网卡,选bma configuration,选Pre-boot Wake On Lan设置为Enable。
2.linux设置
将/etc/network/interfaces对应网卡添加ethernet-wol g,如:
auto eno2 iface eno2 inet static address 192.168.73.12/24 gateway 192.168.73.10 dns-nameservers 192.168.88.1 mtu 9000 ethernet-wol g
文章作者:沃航科技