Created
October 31, 2018 12:31
-
-
Save raultm/056aa97866ed58362abfa60d7b910489 to your computer and use it in GitHub Desktop.
Activar Wake On Lan en un ordenador con XUbuntu 18
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 |
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
tcpdump -i enp6s2 '(udp and port 7) or (udp and port 9)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment