This script was not working, and I saw that the LED in my router corresponding to the computer I wanted to wake was going off when I powered off the computer.

So I decided to try to remove -i from halt as suggested, and it worked!!!

This is what I did (I'm running Edgy), I warn you that I am not an expert so I don't know if it's OK to do this:

- Make a backup of the /etc/init.d/halt script
- edit the /etc/init.d/halt script
- Locate the line where the halt command is invoked:
Code:
halt -d -f -i $poweroff $hddown
- Remove the -i

That's it. Hope it works for you!!