Wake-on-LAN 退出使用最新内核 (Bionic)

Org*_*ble 5 wakeonlan

WOL 在 Bionic 上运行良好,直到昨天的内核更新。如何诊断/恢复?

编辑:如果设置为从 4.15.0-23 内核启动,它可以工作。如果设置为从 4.15.0-24 启动,则不会。

编辑 2:可以启用 WoL

sudo ethtool -s [card] wol g
Run Code Online (Sandbox Code Playgroud)

但它不是持久的。搜索如何在每次启动时设置它。

Edit3:根据 Kai-Heng Feng 对此错误报告的评论,这是一个有意的更改!(因此不是错误)

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
Run Code Online (Sandbox Code Playgroud)

Org*_*ble 8

为了使这个持久化,我在 /etc/network/if-up.d 中创建了一个脚本

#!/bin/sh

/sbin/ethtool -s [card] wol g
Run Code Online (Sandbox Code Playgroud)

这会在每次启动时重新启用 WoL。

  • 现在有10个! (2认同)