Skip to content

Instantly share code, notes, and snippets.

@raultm
Created October 31, 2018 12:31
Show Gist options
  • Save raultm/056aa97866ed58362abfa60d7b910489 to your computer and use it in GitHub Desktop.
Save raultm/056aa97866ed58362abfa60d7b910489 to your computer and use it in GitHub Desktop.
Activar Wake On Lan en un ordenador con XUbuntu 18
# 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
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