I had 12.04. Recently I upgraded it to 14.04. Before upgrade I made a full hdd copy to very same hdd model(both bought at the same time).
In 12.04 wake on lan works if I do
sudo pm-hibernate
or if I in UI from desktop select "Shutdown".
I upgraded a full HDD copy of 12.04 to 14.04. Use same hardware and wake on lan doesn't work. If I do same steps.
I tried sudo ethtool -s enp2s0 wol g
(enp2s0 is a network interface name), but it was previously in g. So no effect.
I have a fresh installation of 16.04.1 and I was able to wake it only once after I set NETDOWN=no
in /etc/default/halt
, but it did not work after I wanted to verify it once again.
Added at the end of /etc/network/interfaces
next 6 lines
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto enp2s0
iface enp2s0 inet static
address 192.168.0.12
netmask 255.255.255.0
gateway 192.168.0.1
up ethtool s enp2s0 wol g
And did sudo pm-hibernate
and was not able to wake up. Only once it worked when I logged in and in UI locally clicked shutdown. After that tried few times and no luck.