OpenWrt利用WOL(Wake-on-LAN)远程开机(网络唤醒)steemCreated with Sketch.

in #openwrt7 years ago

OpenWrt可以安装wol或etherwake实现网络唤醒功能(前提是你的主机需要支持网络唤醒)

opkg update
opkg install wol
opkg install etherwake

具体使用的命令如下:
WOL
/usr/bin/wol -i 192.168.1.255 40:8D:5C:1F:5D:18

etherwake
/usr/bin/etherwake -i br-lan 40:8D:5C:1F:5D:18

luci包:
opkg update
opkg install luci-app-wol