To send the magic wake-on-lan packet from CentOS there are a few options, but I think the ether-wake command is easiest, and is included in the net-tools package.
rpm -qa |
[ $? -
0 ] ;
Just ether-wake, the local interface and the MAC address of the WOL nic. The MAC address 00:00:00:00:00:00 is used as an example here.
ether-wake -i eth0 00:00:00:00:00:00(Comments)