Hello!
I have a workstation behind HW switch (RB493G) which need to be waked up over LAN time to time. Since the magic packet does not go thru the switch, i have a nice looking script, which will pop out the port from switch group and add to the WAN bridge. Then the WoL should be sent. After 60sec delay, the port is moved back to the switch group and reactivated.
The problem is, WoL packet is not sent and the script will stuck. If i comment (#) the WoL part, rest of the script runs OK (Disable master port, enable bridge, … , disable bridge, enable master port). If i use exactly the same command in terminal, it works flawlessly.
/tool wol interface=7_LHNS21 mac=xx:xx:xx:xx:xx:xx
Any ideas? Or the command for script is somehow different?
Thanks for help!