记录贴,正在研究广域网远程唤醒,多多交流。远程唤醒原理、工具贴:https://www.iplaysoft.com/wol.html
被唤醒机器环境:win7旗舰、神舟战神 K650D i5 D3、网卡 Intel(R) Dual Band Wireless-AC 3160。
想要用TeamViewer远程唤醒笔记本。发现有这些方案:
WOL,Wake-on-LAN,局域网唤醒(不是我想要的,pass)
WOW,Wake-on-WLAN,广域网唤醒(需要网卡BIOS等硬件支持)
WoWLAN,Wake-on-Wireless-LAN,无线局域网唤醒。
下面是微软官方的方案:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-7/ee851581(v=ws.10)
Configure Wake on Wireless LAN (WoWLAN)
10/30/2012
2 minutes to read
Note
This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.
In Windows® 7, to enable support for Wake on Wireless LAN (WoWLAN) Group Temporal Key (GTK) Rekey, and Extensible Authentication Protocol (EAP) power-management scenarios, you must modify a registry key. GTK is used to encrypt and decrypt network traffic. EAP is an authentication framework that can be used over wired and wireless networks.
GTK Rekey and EAP wakeup are disabled by default, because not all devices support these options. A computer that is currently sleeping will not wake up on GTK or EAP actions, even if the network adapter supports them.
Warning
Support for Wake on Wireless LAN in Windows 7 drivers is optional and some drivers might not support this functionality. If you follow the process and the option to enable this is still grayed out, then your driver does not support this functionality. Follow up with your hardware manufacturer for support information.
To enable WoWLAN support for GTK and EAP scenarios
To enable WoWLAN support for GTK and EAP scenarios, create or modify the following registry key:
Key Name: EnableWoWLAN
Type: DWORD
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NativeWifiP\Parameters
Value: 1
In addition to modifying this registry key, you must also configure the network device in the Device Manager.
Open Device Manager.
Right-click the network card you want to configure and select Device Properties.
In the Power Management tab, select the Allow this device to wake up the computer check box.
After configuring this registry key, the computer will respond to requests on GTK rekeying and to an EAP request-identity packet.
配置无线局域网唤醒 (WoWLAN)
在 Windows® 7 中,若要启用对组临时密钥 (GTK) 重新生成密钥和可扩展身份验证协议 (EAP) 电源管理方案的无线局域网唤醒 (WoWLAN) 支持,必须修改注册表项。GTK 用于加密和解密网络通信。EAP 是一个可以在有线网络和无线网络上使用的身份验证框架。
默认情况下,禁用 GTK 重新生成密钥和 EAP 唤醒,因为并非所有设备都支持这些选项。对当前处于睡眠状态的计算机执行 GTK 或 EAP 操作,不会将该计算机唤醒,即使网络适配器支持这些操作也是如此。
为 GTK 和 EAP 方案启用 WoWLAN 支持若要为 GTK 和 EAP 方案启用 WoWLAN 支持,必须创建或修改以下注册表项:
项名称:EnableWoWLAN
类型:DWORD
路径:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NativeWifiP\Parameters
值:1
除修改此注册表项之外,还必须在设备管理器中配置网络设备。
打开“设备管理器”。
右键单击要配置的网卡,然后选择“设备属性”。
在“电源管理”选项卡中,选中“允许此设备唤醒计算机”复选框。
配置此注册表项之后,计算机将对有关 GTK 重新生成密钥和 EAP 请求识别数据包的请求进行响应。
2019年8月19日 16:23:04
PS:以上是windows下部分理论基础
提供内网穿透:www.nat123.com
参考文献:
微软官方:https://www.baidu.com/link?url=9Mu7z-j-PG2acYv0-pXSWaY-UZtex3MwU1juMdkNe-YVYmdp2qeGJDdnyBNhLsyX&wd=&eqid=980c95960000689b000000035c937fc9
社区:http://koolshare.cn/thread-75293-1-4.html
网络唤醒(WOL)全解指南:原理篇:https://www.cnblogs.com/zhanggaoxing/p/9657545.html