Какви са "магическите пакети" за събуждане на компютрите?

Съдържание:

Какви са "магическите пакети" за събуждане на компютрите?
Какви са "магическите пакети" за събуждане на компютрите?

Видео: Какви са "магическите пакети" за събуждане на компютрите?

Видео: Какви са
Видео: How to Fix Overscan on your TV - YouTube 2024, Април
Anonim
Когато променяте или настройвате различни настройки на компютъра си, рано или късно вероятно ще се натъкнете на някои опции, които ви оставят озадачени или объркани. Имайки предвид това, днешната публикация "SuperUser Q &A" има отговорите на обърканите въпроси на читателя.
Когато променяте или настройвате различни настройки на компютъра си, рано или късно вероятно ще се натъкнете на някои опции, които ви оставят озадачени или объркани. Имайки предвид това, днешната публикация "SuperUser Q &A" има отговорите на обърканите въпроси на читателя.

Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.

Снимката е предоставена от annaspies (Flickr).

Въпроса

Reader на SuperUser AlainD иска да знае кои магически пакети за събуждане на компютрите са:

My wireless adapter (Intel Dual Band Wireless-N 7260) has two settings in Device Manager that I do not understand.

Image
Image
  • Wake on Magic Packet
  • Wake on Pattern Match

After a bit of research, I found this Microsoft TechNet article which defines the feature as follows:

WakeOnMagicPacket – Defines if a network adapter is enabled to wake a computer on the magic packet.

This rather cryptic description is a bit low on details. Can anyone help?

I would prefer that my laptop not be woken up remotely under any circumstances. I have disabled Allow this device to wake the computer on the Power Management tab, but these settings appear to be separate. Can I disable these two settings without negative consequences?

Какви са магическите пакети за събуждане на компютрите?

Отговорът

Специалистите на SuperUser Sam3000 и Ben N имат отговор за нас. Първо, Sam3000:

These two settings form a feature of most modern computers known as Wake on LAN. In a nutshell, leaving this setting on allows the network card of your system to receive sufficient power to remain in standby mode while the rest of the system is powered off. While in standby mode, it may receive a magic packet, a small amount of data specific to the MAC address of the network card, and will respond to this by turning on the system.

It is very useful for remote control situations, however, you may disable these features without any negative consequences. Kudos to you for doing some prior research as well. For further information, you can read this How-To Geek article:

How-To Geek Explains: What is Wake-on-LAN and How Do I Enable It?

Следва отговор от Ben N:

Sam3000’s answer is very nice. I will add some technical details.

Wake on Magic Packet causes the network card to awaken the computer when it receives a magic packet. A packet is considered “magic” when it contains FF FF FF FF FF FF (six instances of the largest possible byte value) followed by sixteen instances of the card’s six-byte MAC address. That sequence can appear anywhere within the frame, so the packet can be sent over any higher-level protocol. Usually, UDP is used, but sometimes raw frames with EtherType 0x0842 are used. (Source: Wikipedia)

Wake on Pattern Match is a superset of the previous one (Wake on Magic Packet). It will cause the card to wake the machine when various things come in, including a magic packet, a NetBIOS name query, a TCP SYN packet (either TCPv4 or TCPv6), etc. Those last ones may require ARP offload to be enabled. (Source: TechNet)

If you do not want or need your computer to be woken up from anywhere else, you can disable both options.

Имате ли нещо, което да добавите към обяснението? Звучи в коментарите. Искате ли да прочетете повече отговори от други потребители на Stack Exchange? Вижте цялата тема на дискусията тук.

Препоръчано: