diff --git a/README.md b/README.md index 9d2cec1..103be13 100644 --- a/README.md +++ b/README.md @@ -2,33 +2,11 @@ Broadcast Wake on Lan (WoL) magic packet to network devices in the local network. -## Installation - -Install [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) - -```bash -cargo install --git -``` - -## Usage - -``` -woly aa:bb:cc:dd:ee:ff -``` - -or define a nickname in `woly.conf` as - -```woly.conf -idly=aa:bb:cc:dd:ee:ff -``` - -``` -woly idly -``` - ## Magic Packet -Magic packet is constructed as follows +If MAC = aa:bb:cc:dd:ee:ff + +UDP packet is constructed as follows, and sent to 255.255.255.255:9 FF x 6; Mac Address x 16 @@ -52,9 +30,3 @@ AA BB CC DD EE FF AA BB CC DD EE FF AA BB CC DD EE FF ``` - -### Target Destination - -The magic packet shall be sent to limited broadcast IP - `255.255.255.255` and the Discard Protocol Port `9`. - -While sending it to targeted IP, for eg. 192.168.0.2 bound to desired mac address of the device might work, it is not reliable as sometimes the ARP cache will not be updated by router due to device being in low power mode and will drop this packet.