Wake On Lan for VM (Ubuntu) in Proxmox 6.0-4: Please help

gregorypeck

New Member
Nov 30, 2019
16
0
1
Dear Forum

Help would be much appreciated:
We run Proxmox (PVE Manager Version pve-manager/6.0-4/2a719255) and are wonderfully happy with this software. The host runs a few Ubuntu 18.04 VMs.

Following a normal shutdown of an Ubuntu VM, we need to start the VM up via a WOL Magic Packet from within the network.
We therefore followed the „standard“ Ubuntu procedures to enable WOL for the Ubuntu VM, see also https://help.ubuntu.com/community/WakeOnLan

Looking at the VM‘s network devices (see attached screenshot), I initially used VirtIO (Paravirtualized).
However, sudo ethtool did not give me back any WOL support for that network card.

I then changed to the Network Device to: Intel E1000, where sudo ethtool ens18 gives me back:

Settings for ens18:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)

Supports Wake-on: umbg --> Therefore WOL should be supported!
Wake-on: d

Current message level: 0x00000007 (7)
drv probe link
Link detected: yes


Following the Ubuntu help page I then tried to turn on the WOL capability with:
sudo ethtool -s ens18 wol g

Unfortunately the result was:
Cannot set new wake-on-lan settings: Operation not supported
not setting wol

Could anybody in this forum help how to enable WOL for an Ubuntu VM running in Proxmox please?


Help would be much appreciated.

Thank you!
 

Attachments

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!