Wake on LAN: Difference between revisions
Had a lot of thing in Hardware Settings section from ArchWiki and writed how i enabled to Wake on Lan. |
m Had to restart my computer like the addition says. Could maybe be another way too but this worked for me Tags: Mobile edit Mobile web edit Visual edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
# Enable the Wake on LAN feature. Different motherboard manufacturers use slightly different language for this feature. Look for terminology such as "PCI Power up", "Allow PCI wake up event" or "Boot from PCI/PCI-E". | # Enable the Wake on LAN feature. Different motherboard manufacturers use slightly different language for this feature. Look for terminology such as "PCI Power up", "Allow PCI wake up event" or "Boot from PCI/PCI-E". | ||
# (If available in BIOS/UEFI) Make sure that ErP is '''disabled''', otherwise your Ethernet card will not be powered and will not be able to recieve any wake-up packets sent form another device. | # (If available in BIOS/UEFI) Make sure that ErP is '''disabled''', otherwise your Ethernet card will not be powered and will not be able to recieve any wake-up packets sent form another device. | ||
# (If available in BIOS/UEFI) Make sure that "Deep Sx" is '''disabled''', otherwise your Ethernet card might not be powered when the computer is powered off (S5 state). Found at ''Advanced > Chipset Configuration > PCH Configuration > Deep Sx'' in the Aptio Setup Utility, American Megatrends, Inc. Version 2.15.1227, Core Version: 4.6.5.3, BIOS Version 5404 x64 on an ''ASUS Z9PE-D8 WS'' Mainboard. | |||
== 2 NixOS Configuration == | == 2 NixOS Configuration == | ||
== 2.1 Enable Wake on Lan for a Network Interface == | == 2.1 Enable Wake on Lan for a Network Interface == | ||
The following example enables Wake on Lan for '''ens3''' interface and opens port 9 (WoL UDP Port) for target computer. | The following example enables Wake on Lan for '''ens3''' interface and opens port 9 (WoL UDP Port) for target computer. After enabling, you may need to restart your computer too see these changes take effect. | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 42: | Line 43: | ||
wakeonlan -i 192.168.1.50 {your_link/ether_adress} | wakeonlan -i 192.168.1.50 {your_link/ether_adress} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Networking]] | |||
[[Category:Configuration]] | |||