Current location - Quotes Website - Collection of slogans - Help, how to realize remote boot of network card
Help, how to realize remote boot of network card
Network remote boot, also known as wake-up on LAN, is a management function provided by hardware devices. This function can command the network card to send a power-on instruction to the motherboard by sending a specific data packet to the network card when the computer is in the shutdown or hibernation state, so as to realize power-on and power-on.

It can be seen that network wake-up needs the support of hardware (mainly motherboard and network card). At present, almost all brands of hardware support WOL (hardware products before 2000 may or may not have this function), but it is possible that WOL is turned off by default in software (why not turned on by default? Of course, for security reasons), how to enable these two functions of hardware, there are many such articles on the network, and the following is also a brief introduction. The interfaces of different products are slightly different, but these are very simple.

A. motherboard WOL startup: enter the BIOS, and set the items of "LAN Wake-up" or "LAN Recovery" in "Power Management Settings" to "Enabled" or "On".

B. Network card WOL startup: After entering windows, enter the device manager, select the network card to be used for WOL, enter the properties window, and select the "Advanced" tab. You can find whether the setting value of "Wake-up Ability" is "Magic Pack" or "Both" in the list.

If you can find the above two settings, your hardware supports WOL. After these functions are enabled, you can wake up through the LAN.

It should be noted that if the computer shuts down abnormally (for example, pressing the power button to shut down forcibly), it still cannot WOL. Only after normal shutdown, the network card will still be active and can receive network data.

Use WakeOnLanGui to wake up remotely.

Take WOL software depicus as an example to illustrate.

You can download WOL for Windows/Wake-on-LAN/Wake-on-LAN-GUI. aspx here. It is a small green software with a size of only a few hundred K..

First, get the MAC address of the awakened computer network card (which can be found by looking at the properties of the corresponding network card), and then select the send option as the local subnet. Other items are not important when waking up in the LAN, that is to say, as long as the MAC is correct, click "wake me up" to wake up the corresponding computer.

If you need to wake up through the network, you must also ensure that you can wake up normally in the local area network. In the local area network, the software will send the broadcast package of the magic package. If the network card corresponding to the MAC address receives the packet, it can respond and start the computer.

Wake up remotely through the internet

The difference between WAN and LAN is that there are many routers and other network devices on WAN, which may prevent the packets of Magic Packet from reaching the computer network card we want to wake up. So if you want to wake up through the network, you must get the support of the router.

Take TP-Link WR54 1G+ wireless routing as an example to illustrate the configuration process.

First of all, it is necessary to ensure that the router can access the Internet normally, that is, to obtain a public IP through the service provider (ADSL and Cable Modem are common ways to access the Internet at home). When the MagicPacket sent from the router's WEB configuration page is input, it needs to be forwarded to 192. 168. 1 due to the port mapping. However, because the computer is turned off, ARP can't find the computer192.168.1.1,and the magic packet will be discarded by the router, so static IP-MAC binding is carried out, so that the data packet can be used as 00-1.

So far, in theory, it can be successful to wake up remotely through the Internet. But in order to work better, there is still some work to be supplemented.

C. In order to ensure that the computer can get the IP of192.168.101,it is necessary to set a static address allocation in the DHCP server, that is, MAC 00-15-60-.

D. Use the dynamic DNS function on the router, so that you can use the domain name to access without looking at the frequently changing public network IP (the IP of ADSL dial-up Internet is always changing). At the same time, it allows the router to carry out unprovoked WEB management, so that we can check the status of the router anytime and anywhere. Please refer to relevant materials for specific operations.

After configuring the router (it may be necessary to restart the router), you can use the above windows WOL to wake up through the Internet process.

Let's talk about the meaning of other items in the interface in detail.

MAC address: You also need to enter the MAC address of the network card.

Internet address: IP address. Enter the public IP address (or domain name) of the router.

Subnet mask: Subnet mask. Enter the subnet mask of this IP, which requires 255.255.255.255. This is a place that needs special attention, because ordinary home routers don't support (or can't configure) subnet directional broadcasting, so if you enter a mask like 255.255.255.0, you can't let the router forward Magic Packet packets. But for the router that allows subnet directional broadcasting, we don't need the complicated configuration of the router, just turn on the subnet directional broadcasting function.