Sunday, February 18, 2018

Enable Wake on lan on Ubuntu

Note to self, next time I'm wondering why WOL doesn't work with Ubuntu.

Enable it the convoluted ways of NetworkManager. What was wrong with /etc/network/interfaces?

  nmcli connection show 
  sudo nmcli connection modify 802-3-ethernet.wake-on-lan magic

Make sure some over-zealous daemon does not thwart your efforts and shut down your NIC on suspend.

  sudo sed -i.bak -e 's/^WOL_DISABLE=Y/WOL_DISABLE=N/'

Reboot and confirm the settings are good

  sudo ethtool | grep "Wake-on"
Supports Wake-on: pumbg
Wake-on: g

Suspend your Ubuntu

  sudo pm-suspend

Double check the link led is on.

Set up and run a client on your favorite OS


  sudo port install wakeonlan

  wakeonlan


No comments:

Post a Comment