I have a new GNU/Linux Debian 9 server installation.
This is what I get from ethtool:
root@web-server:~# ethtool enp2s0
Settings for enp2s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
So, you see the Magic Packet is on (Wake-on: g).
I am waking this computer from power off state like this:
./wolcmd 00********** 192.168.0.104 255.255.255.0 7 # I've hidden the MAC address here
from Cygwin on Windows 10 using Depicus Wake On Lan Command Line.
What I do not understand is, why I need to specify the IP address and mask or port number?
Why is MAC address not enough? Could anyone elaborate...