Skip to content

Instantly share code, notes, and snippets.

@raultm
Created October 31, 2018 12:34
Show Gist options
  • Save raultm/0d4afcd064a106c469306332cf4c5395 to your computer and use it in GitHub Desktop.
Save raultm/0d4afcd064a106c469306332cf4c5395 to your computer and use it in GitHub Desktop.
Wol Interfaces
# 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