Hi!
How to use the block:
How to use the block:
- Enter the broadcast IP address into the BroadcastIP variable in the following format: 192.168.0.255
The broadcasting address can be obtained by running the following commands:
Windows: open a terminal and run the following command: ipconfig /all
Linux: Open a terminal and run the following command: ip address show
Android: Go to settings and search for IP or MAC and select suitable search results
As an example you might get something like this:
IP v4 address: 192.168.0.145
IP v4 subnet mask: 255.255.255.0
MAC (physical addr.): A0:AC:10:55:31:BA
The broadcast IP address can be calculated online by inputting the IP address and IP v4 subnet mask from above: Broadcast address calculator CompSciLib
Broadcast IP v4 address: 192.168.0.255 - Enter your MAC into the variable MAC_with_colons in the following format: AA:AA:AA:AA:AA:AA
- You can change the port from port 9 by changing the WoL_port variable, but this is optional.
Attachments
Last edited: