I have a shell script which uses etherwake to wake up a machine on my local network. After the machine is awake, I\'m not sure of the IP address.
While trying to answer
You could try the arp command and grep by mac address
arp -a | grep "00:00:00:00:00:00"
(replace with your own mac addr)