← 返回命令列表

Linux command

etherwake 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Wake computer by MAC address

sudo etherwake [00:11:22:33:44:55]

Wake using specific interface

sudo etherwake -i [eth0] [00:11:22:33:44:55]

Wake with broadcast

sudo etherwake -b [00:11:22:33:44:55]

Wake with password

sudo etherwake -p [password] [00:11:22:33:44:55]

Debug mode

sudo etherwake -D [00:11:22:33:44:55]

说明

etherwake sends Wake-on-LAN (WoL) magic packets to wake computers from sleep, hibernation, or powered-off state. The target computer must have WoL enabled in BIOS/UEFI and on the network interface. The magic packet contains a sync stream followed by the target MAC address repeated 16 times. When the network card detects this pattern, it signals the computer to power on.

参数

-i _interface_
Network interface to use.
-b
Use broadcast address.
-D
Debug mode; show packet contents.
-p _password_
SecureOn password (6 bytes).
-V
Show version.

FAQ

What is the etherwake command used for?

etherwake sends Wake-on-LAN (WoL) magic packets to wake computers from sleep, hibernation, or powered-off state. The target computer must have WoL enabled in BIOS/UEFI and on the network interface. The magic packet contains a sync stream followed by the target MAC address repeated 16 times. When the network card detects this pattern, it signals the computer to power on.

How do I run a basic etherwake example?

Run `sudo etherwake [00:11:22:33:44:55]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i _interface_ do in etherwake?

Network interface to use.