opkg update
opkg install luci-app-wol
nano /etc/config/etherwake
#option 'pathes' '/usr/bin/etherwake /usr/bin/ether-wake'
option 'pathes' '/usr/bin/etherwake'
...
#option 'name' 'example'
#option 'mac' '11:22:33:44:55:66'
#option 'password' 'AABBCCDDEEFF'
cd /usr/lib/lua/luci/model/cbi/
mv wol.lua wol.lua.bk
wget https://raw.githubusercontent.com/openwrt/luci/luci-0.11/applications/luci-wol/luasrc/model/cbi/wol.lua --no-check-certificate

At lines 56-58 of wol.lua:

nano wol.lua
--sys.net.mac_hints(function(mac, name)
-- host:value(mac, "%s (%s)" %{ mac, name })
host:value("00:1d:09:2e:36:93", "Dell T105")
--end)
reboot

Starting WoL utility(via eth1):

/usr/bin/etherwake -D -i "eth1" "00:1d:09:2e:36:93"
The target station address is 0:1d:9:2e:36:93.
Packet is  00 1d 09 2e 36 93 00 1d 09 2e 36 93 08 42 ff ff ff ff ff ff 00 1d 09 2e 36 93 00 1d 09 2e...
Sendto worked ! 116.

Starting WoL utility(via wlan0):

/usr/bin/etherwake -D -i "wlan0" "00:1d:09:2e:36:93"
The target station address is 0:1d:9:2e:36:93.
Packet is  00 1d 09 2e 36 93 00 1d 09 2e 36 93 08 42 ff ff ff ff ff ff 00 1d 09 2e 36 93 00 1d 09 2e...
Sendto worked ! 116.

Comments (0)

    Attach images by dragging & dropping or by selecting them.
    The maximum file size for uploads is MB. Only files are allowed.
     
    The maximum number of 3 allowed files to upload has been reached. If you want to upload more files you have to delete one of the existing uploaded files first.
    The maximum number of 3 allowed files to upload has been reached. If you want to upload more files you have to delete one of the existing uploaded files first.
    Posting as

    Comments powered by CComment