Created
October 31, 2018 12:34
-
-
Save raultm/0d4afcd064a106c469306332cf4c5395 to your computer and use it in GitHub Desktop.
Wol Interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# interfaces(5) file used by ifup(8) and ifdown(8) | |
auto lo | |
iface lo inet loopback | |
# Cambiar enp6s2 por la interfaz que queramos usar en nuestra maquina | |
auto enp6s2 | |
iface enp6s2 inet dhcp | |
post-up /sbin/ethtool -s $IFACE wol g | |
post-down /sbin/ethtool -s $IFACE wol g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment