Wake On LAN (WOL) does not work with Realtek RTL8111E

WhiteTiger

Member
May 16, 2020
86
3
13
Italy
My Proxmox VE is 6.3-2.
CPU(s) 4 x AMD A10-6700 APU with Radeon(tm) HD Graphics (1 Socket)
Kernel Version Linux 5.4.73-1-pve #1 SMP PVE 5.4.73-1 (Mon, 16 Nov 2020 10:52:16 +0100)
PVE Manager Version pve-manager/6.3-2/22f57405

I have an Mother Board ASRock FM2A85X-ITX with Realtek RTL8111E NIC. The datasheet reports that this NIC supports Wake On LAN (WOL).
WOL is enabled in the BIOS and this is the result from the shell:

I created the file /etc/systemd/system/wol.service
with this content:
Code:
[Unit]
Description=Configure Wake-up on LAN

[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s enp2s0 wol g

[Install]
WantedBy=basic.target

I then ran and these two commands
Code:
systemctl enable wol.service
systemctl daemon-reload

and restarted ProxMox

Then with the command from the shell I get this result
Code:
root@hvm1:~# ethtool enp2s0 | grep Wake-on
        Supports Wake-on: pumbg
        Wake-on: g

However, I cannot activate the Proxmox Server (192.168.203.12) from a PC located in the same network segment (with IP address 192.168.203.10) and on the same switch.
Where am I wrong?
 
Last edited:
You try to wake a VM from your PC?

I ask because, I don't know if a hypervisor/proxmox can sleep at all xD
And you are confusing with NAS... Dunno what you want to wake at all... Or is proxmox your NAS?
 
Last edited:
You try to wake a VM from your PC?

I ask because, I don't know if a hypervisor/proxmox can sleep at all xD
And you are confusing with NAS... Dunno what you want to wake at all... Or is proxmox your NAS?
No, it is a Proxmox Server, not a NAS.
I was wrong in writing.