publishingbion.blogg.se

Ubuntu wakeonlan
Ubuntu wakeonlan






ubuntu wakeonlan

Inet6 a:b:c:d:e:f:0:1/64 scope global dynamic mngtmpaddr Link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

#Ubuntu wakeonlan mac

To get this MAC address, we use the command ip : ip aġ: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 This packet contains the ethernet address (or MAC address) of the machine we want to wake-up. The wake on lan condigured as this requires the sending of a magic packet. WakeOnLan=magic Identifying the MAC addresse On my side, I choosed the solution based on systemd, by creating the following file : There are many solutions presented on Ubuntu and Arch Linux, here and there. If we get d, we need to enable the WoL with the command : ethtool -s eth0 wol g Make it permanent

ubuntu wakeonlan ubuntu wakeonlan

If the WoL is enabled, we should get : Wake-on: g These interfaces are named differently on recent Linux distributions like Debian, Ubuntu or Centos. Where eth0 is the name of the network interface. To check if the WoL is enabled on a network interface, you need to check some attributes with the command : ethtool eth0 | egrep "^]*Wake-on: (g|d)" To wake them up, I will set-up Wake-On-Lan.įirst we need to enable the feature in the BIOS / l’UEFI, topic not handled here as it depends on the hardware manufacturer. Somes machines are desktop computers, that may be down when the backup is planified. I want to handle my backups of a set of machines thanks to ElkarBackup, that I already talked about here.








Ubuntu wakeonlan