Power up your pc from internet.
To configure via router port forward port 9 and put your broadcast address most of the times 192.168.1.255 Link-sys routers or 192.168.0.255 D-Link routes . then you can power your pc via net from here or via terminal with the program wakeonlan
$ sudo apt-get install wakeonlan etherwake (or) powernap powerwake
you need also $ sudo apt-get install acpitool ethtool
wakeonlan -i <broadcast address> default 255.255.255.255 -p 7 (default 9) 01:02:03:04:05
check this too if you still go problems check this
"LANC" seemed like the one, verified working by running this command:
sudo sh -c "echo LANC > /proc/acpi/wakeup"
I then made the change permanent by creating the script /etc/init.d/wakefroms3.sh with these contents:
#!/bin/sh
# Set /proc/acpi/wakeup to allow PCI ethernet device to wake system
# sudo sh -c "echo LANC > /proc/acpi/wakeup"
echo LANC > /proc/acpi/wakeup
I added the script to my system startup with this command:
sudo update-rc.d /etc/init.d/wakefroms3.sh defaults