Jamo,
Generally, the interface has to be configured to support/Listen for the WOL packet. This is generally done by
ethtool -s eth0 wol g
It could be done via an init script, like below, or in rc.local
sudo cat << EOF >> /etc/init.d/wake-on-lan
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: wake-on-lan
# Required-Start: \$network
# Required-Stop: \$local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Enable Wake-On-Lan
### END INIT INFO
#
. /lib/lsb/init-functions
do_start() {
ethtool -s eth0 wol g
exit
}
do_stop() {
ethtool -s eth0 wol d
exit
}
case "\$1" in
start )
do_start
;;
restart|reload|force-reload )
echo "Error: argument '\$1' not supported" >&2
exit 3
;;
stop )
do_stop
;;
* )
echo "Usage: \$0 start|stop" >&2
exit 3
;;
esac
EOF
sudo chmod 755 /etc/init.d/wake-on-lan
sudo update-rc.d wake-on-lan defaults
Now, if this solves your problem, then it should probably be added to the MD generation scripts. If not, then there's something else at play, possibly power management.
HTH!
/Mike