# Setup wakeonlan ## Motherboard setup Enable option _Power up on PCI device_ on BIOS. ## OS Setup _Tested on Ubuntu Serer 20.04 LTS_ Get your interface name with `ip addr` Enable wakeonlan with `sudo ethtool -s INTERFACE wol g` ## Send magic packet Add entry in `/etc/ethers` like _08:00:20:00:61:CA pal_. Wake with ```sh sudo etherwake pal ``` You can specify interface if needed (for laptop for instance) ```sh sudo etherwake pal -i wlan ```