[solved] No Wake-On-Lan with Network-Manager

Started by orinoco, 2015/09/20, 23:46:01

Previous topic - Next topic

orinoco

Hello,

my system with eth0 controlled by network-manager, wake-on-lan doesn't work anymore. How can I configure network-manager that eth0 is listening for wol-packets even the computer is powered off?

With the sysv-scripts I was able to configure this in /etc/default/halt with NETDOWN=no.

der_bud

Found this in ArchWiki#Wake-on-LAN, gives on my system:
- Firstnmcli con show

NAME                         UUID                                  TYP             GERÄT
Kabelgebundene Verbindung 1  so999888-melo-ngnu-mber-777here  802-3-ethernet  eth0 


- Then nmcli con show "Kabelgebundene Verbindung 1" | grep wake

802-3-ethernet.wake-on-lan:             default
802-3-ethernet.wake-on-lan-password:    --


- Change nmcli c modify "Kabelgebundene Verbindung 1" 802-3-ethernet.wake-on-lan magic

They describe other possibilies also in that wiki, i.e via systemd-networks or systemd-services. Don't know what works for you on siduction, as I do not use WOL.
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

orinoco

Quote from: der_bud on 2015/09/21, 10:55:18


nmcli c modify "Kabelgebundene Verbindung 1" 802-3-ethernet.wake-on-lan magic
That was the trick. This setting survives a reboot, too. Thanks a lot.