WikiJS/home/linux/wake-on-lan.md

29 lines
661 B
Markdown

---
title: Wake-On-LAN Setup
description: Steps to enable Wake-On-LAN capabilities.
published: true
date: 2024-07-08T02:44:51.968Z
tags:
editor: markdown
dateCreated: 2024-07-08T02:44:51.968Z
---
# Wake-On-LAN Setup
### Assumptions:
1. BIOS is already set to allow Wake-On-LAN on interface of choice
2. Understanding of what the MAC address is
### Steps:
1.`sudo touch /etc/systemd/network/50-wired.link`
2. Add the following lines and replace `aa:bb:cc:dd:ee:ff` with host's MAC Address:
```
[Match]
MACAddress=aa:bb:cc:dd:ee:ff
[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent
WakeOnLan=magic
```
3. Save & Exit
4. Reboot