Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 8011  / 1 Year ago, tue, december 6, 2022, 1:58:00

WOL was working great on Bionic until yesterday's kernel update. How to diagnose/recover it?



Edit: if set to boot from 4.15.0-23 kernel it works. If set to boot from 4.15.0-24 it does not.



Edit2: WoL can be enabled with



sudo ethtool -s [card] wol g


but it isn't persistent. Searching for how to set it every boot.



Edit3: Per a comment by Kai-Heng Feng on this bug report this was an advertent change! (and therefore not a bug)



This is because the fix of LP: #1752772 has one commit [1] that disables WoL by default.
Set WoL explicitly should solve your issue.

[1] https://github.com/torvalds/linux/commit/7edf6d314cd061e1d0a1b7bc0b511d64322c3f72

More From » wakeonlan

 Answers
2

To make this persistent I created a script in /etc/network/if-up.d



#!/bin/sh

/sbin/ethtool -s [card] wol g


This re-enables WoL every boot.


[#7762] Wednesday, December 7, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dileble

Total Points: 169
Total Questions: 105
Total Answers: 141

Location: Sao Tome and Principe
Member since Wed, Dec 29, 2021
2 Years ago
;