Estou tentando configurar o wake on LAN na minha área de trabalho, que tem o Ubuntu 16.04 em execução.
Eu tentei muito, seguindo manuais e soluções de problemas diferentes, mas sem sorte.
Quando o computador está desligado ou ligado, uma luz laranja está na placa de rede, ocasionalmente piscando levemente. Preciso retomar ou ligar o computador via LAN, se estiver suspenso ou desligado, respectivamente.
Acredito que tenha ativado a LAN ativada na BIOS.
Algumas saídas que eu acho que podem ser relevantes,
$ sudo ethtool enp2s0 | grep Wake
Supports Wake-on: pumbg
Wake-on: g
$ sudo ethtool -i enp2s0 | grep bus
bus-info: 0000:02:00.0
$ cat /proc/acpi/wakeup | grep 0000:02:00.0
PXSX S4 *enabled pci:0000:02:00.0
$ lspci | grep Ethernet
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
$ cat /etc/default/halt
# Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
HALT=poweroff
NETDOWN=no
$ sudo tcpdump -i enp2s0 '(udp and port 7) or (udp and port 9)'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
15:31:38.121365 IP <ip>.51603 > <broadcast_ip>.discard: UDP, length 102
Eu até tentei o driver r8168 sem sorte.
Estou enviando o sinal WOL com o seguinte comando
$ wakeonlan -i <broadcast_ip> <mac_addr>
Alguma idéia?