Wake on Lan Configuration
Your device manufacturer will be able to assist you with the Wake on Lan configuration. That information is proprietary to the devices and is not provided by LanSchool.
LanSchool utilizes Wake on Lan to power on the student computers remotely. This feature is not enabled by default on many systems and will have to be enabled by the user.
Wake on Lan will need to be enabled in the student computer’s BIOS. On older systems the BIOS setting may be referred to as "WOL", on newer systems supporting PCI version 2.2, it may be referred to as "PME" (Power Management Events, which include WOL). If you are asked about the type of Packet used, select Magic Packet, or the option marked both if it's available.
Some newer BIOS’s have an option called Low Power Mode or Deep Sleep Mode. One of these options will need to be disabled, otherwise, when the computers are turned off, they will no longer monitor the Ethernet cards for the Wake Up command we send.
In the Windows Device Manager, the Ethernet card properties will often have options that refer to Wake On Lan. Make sure that the driver is set to respond to Wake On Lan calls.
The spec for WOL magic packets allow for port 0,7 or 9, LanSchool is hard coded to just use port 9.
If your student computers are Windows 10, you may have to revert the network adapter driver back to the manufacturer supplied version. The driver that Microsoft packages appears to be unreliable.
Wake on Lan Limitations
Wake on Lan is a wired only protocol. Wireless does not support the Wake On LAN features, if your student devices happen to be wireless, this feature will not work.
If you are using Macs, the Wake On LAN protocol will only allow you to bring computers out of Hibernation, not power them on when they are turned off. This is a feature not allowed by Apple.
Sometimes VLANs will not allow Wake On LAN requests to pass through. If your students are on a different subnet, this may also be an issue and UDP port 9 will need to be open between subnets.
WOL uses UDP as its Layer 4 transport, but the port varies based on the utility. A utility called mc-wol.exe utility uses UDP port 65535. AMD's Magic Packet Utility uses UDP port 2304.
After configuring Wake on LAN on each student computer's BIOS you can test with a tool called, WakeUp.exe, which is located in your LanSchool Windows\Utilities folder.
- From the teacher computer, run WakeUp.exe in a CMD prompt with the MAC address of the student machine you wish to test.
- For example: if you copied WakeUp.exe to c:\temp then type: c:\temp\WakeUp.exe 00-aa-00-12-32-33
- 00-aa-00-12-32-33 is an example MAC Address of the network card of the computer you want to wake up.
- If everything is configured correctly and the machine is off, it should power on and boot up.
- If it does not work, then you would need to check the BIOS of the workstation that you want to power on and make sure it is configured and supported.
- Verify that your network gear is properly configured to pass this type of data.
Wake Up Scripts
If you are using Windows, another simple method for waking up many machines is to place wakeup.exe in a directory like c:\util and then make a dos batch file called, wakeup.bat, that has a line for each machine you want to wake up.
Call WakeUp.exe 00-aa-00-12-32-33
Call WakeUp.exe 00-bb-11-33-55-aa
Call WakeUp.exe 00-cc-22-44-66-bb
Once setup, use the Windows Scheduler to run this each day at a certain time, or put it on the teachers workstation so when they login it will automatically run and wakes up each machine.