On 15.07.2020 11:27, Michael J. Baars wrote:
> Hi Michal,
>
> This is my network card:
>
> 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
> Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
> Kernel driver in use: r8169
>
> On the Realtek website
> (https://www.realtek.com/en/products/communications-network-ics/item/rtl8168e)
> it says that both wake-on-lan and remote wake-on-lan are
> supported. I got the wake-on-lan from my local network working, but I have
> problems getting the remote wake-on-lan to work.
>
> When I set 'Wake-on' to 'g' and suspend my system, everything works fine (the
> router does lose the ip address assigned to the mac address of the system). I
> figured the SecureOn password is meant to forward magic packets to the
> correct machine when the router does not have an ip address assigned to a mac
> address,
> i.e. port-forwarding does not work.
>
> Ethtool 'Supports Wake-on' gives 'pumbg', and when I try to set 'Wake-on' to
> 's' I get:
>
> netlink error: cannot enable unsupported WoL mode (offset 36)
> netlink error: Invalid argument
>
> Does this mean that remote wake-on-lan is not supported (according to
> ethtool)?
>
> ---
>
> I also tried to set 'Wake-on' to 'b' and 'bg' but then the systems turns back
> on almost immediately for both settings.
>
> ---
>
> Hope you can help getting the remote wake-on-lan to work,
>
> Best regards,
> Mischa.
>
>
>
>
This isn't really a question to Michal. r8169 supports pumbg as mentioned by
you.
On DASH-capable systems with Windows more may be supported by the vendor driver.
But Realtek doesn't release any public datasheets, therefore there's no DASH
support under Linux.