<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WOL &#8211; Simon</title>
	<atom:link href="https://www.luisimon.com/tag/wol/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.luisimon.com</link>
	<description>blog</description>
	<lastBuildDate>Tue, 10 Dec 2024 01:43:44 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>

<image>
	<url>https://www.luisimon.com/wp-content/uploads/2019/09/cbrks-x5t4i-001.ico</url>
	<title>WOL &#8211; Simon</title>
	<link>https://www.luisimon.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>解决MSI微星主板开启WOL远程唤醒无效</title>
		<link>https://www.luisimon.com/2024/07/09/860/</link>
		
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Tue, 09 Jul 2024 04:31:11 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[BIOS]]></category>
		<category><![CDATA[MSI]]></category>
		<category><![CDATA[Wake On Lan]]></category>
		<category><![CDATA[WOL]]></category>
		<category><![CDATA[主板]]></category>
		<category><![CDATA[微星]]></category>
		<category><![CDATA[远程开机]]></category>
		<guid isPermaLink="false">https://www.luisimon.com/?p=860</guid>

					<description><![CDATA[今天升级了电脑的微星主板BIOS后发现在[唤醒事件设置]里启用了[PCIe设备唤醒]依然无效。 我找到原因了， ... <a title="解决MSI微星主板开启WOL远程唤醒无效" class="read-more" href="https://www.luisimon.com/2024/07/09/860/" aria-label="继续阅读解决MSI微星主板开启WOL远程唤醒无效">阅读更多</a>]]></description>
										<content:encoded><![CDATA[
<p>今天升级了电脑的微星主板BIOS后发现在<strong>[唤醒事件设置]</strong>里启用了<strong>[PCIe设备唤醒]</strong>依然无效。</p>



<p>我找到原因了，下面来讲一下。</p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">关键是在于<strong>开启【PCIE设备唤醒】</strong>和<strong>关闭【ErP Ready】</strong></mark></p>



<ul class="wp-block-list">
<li>开机后一直按<strong>[Del]</strong>键进入BIOS，如下图，找到 <strong>[SETTINGS]</strong> -> <strong>[高级]</strong></li>
</ul>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1024" height="768" src="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_00.jpg" alt="" class="wp-image-867" srcset="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_00.jpg 1024w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_00-300x225.jpg 300w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_00-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>进入 <strong>[唤醒事件设置]</strong></li>
</ul>



<ol class="wp-block-list"></ol>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="768" data-id="868" src="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_01.jpg" alt="" class="wp-image-868" srcset="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_01.jpg 1024w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_01-300x225.jpg 300w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_01-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<ul class="wp-block-list">
<li>选择<strong> [PCIE设备唤醒]</strong> -> <strong>[允许]</strong></li>
</ul>



<p><strong>为什么是PCIE设备呢？</strong>因为WOL远程唤醒是通过板载<strong>以太网卡</strong>来实现的，网卡虽然不是直接插在PCIE插槽上，但实际上线路使用的是PCIE的通道。所以<strong>网卡属于PCIE设备</strong></p>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="768" src="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_03.jpg" alt="" class="wp-image-869" srcset="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_03.jpg 1024w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_03-300x225.jpg 300w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_03-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>返回 <strong>[高级]</strong> 菜单，选择 <strong>[电源管理设置]</strong></li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="768" src="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_04.jpg" alt="" class="wp-image-870" srcset="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_04.jpg 1024w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_04-300x225.jpg 300w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_04-768x576.jpg 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>选择 <strong>[ErP Ready] </strong>-> <strong>[禁止]</strong></li>
</ul>



<p>我猜测是禁止了节能模式，网卡在关机后才能正常供电。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="768" src="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_06.jpg" alt="" class="wp-image-871" srcset="https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_06.jpg 1024w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_06-300x225.jpg 300w, https://www.luisimon.com/wp-content/uploads/2024/07/MSI_SnapShot_06-768x576.jpg 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>最后 <strong>[保存并退出]</strong> 设置，或者直接按 <strong>[F10]</strong> 保存</li>
</ul>



<p><strong>测试远程开机成功！</strong></p>



<p><em>后记</em></p>



<p><em>你的主板界面上有所区别，不过基本就是按照这个菜单模式，可以自己找一找。</em></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>TrueNAS Scale系统开启Wake On Lan（网络唤醒）功能（教程）</title>
		<link>https://www.luisimon.com/2023/07/16/727/</link>
		
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Sat, 15 Jul 2023 18:04:42 +0000</pubDate>
				<category><![CDATA[Linux日记]]></category>
		<category><![CDATA[极客记录]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[TrueNAS]]></category>
		<category><![CDATA[WOL]]></category>
		<guid isPermaLink="false">https://www.luisimon.com/?p=727</guid>

					<description><![CDATA[Wake-on-LAN简称WOL或WoL，中文多译为“网路唤醒”、“远端唤醒”技术。WOL是一种技术，同时也是 ... <a title="TrueNAS Scale系统开启Wake On Lan（网络唤醒）功能（教程）" class="read-more" href="https://www.luisimon.com/2023/07/16/727/" aria-label="继续阅读TrueNAS Scale系统开启Wake On Lan（网络唤醒）功能（教程）">阅读更多</a>]]></description>
										<content:encoded><![CDATA[
<p><strong>Wake-on-LAN</strong>简称<strong>WOL</strong>或<strong>WoL</strong>，中文多译为“<strong>网路唤醒</strong>”、“<strong>远端唤醒</strong>”技术。WOL是一种技术，同时也是该技术的规范标准，它的功效在于让<a href="https://www.luisimon.com/goto/57h5" rel="nofollow">休眠</a>状态或<a href="https://www.luisimon.com/goto/csi9" rel="nofollow">关机</a>状态的电脑，透过<a href="https://www.luisimon.com/goto/jzy1" rel="nofollow">区域网路</a>的另一台电脑对其发令，使其唤醒、恢复成运作状态，或从关机状态转成<a href="https://www.luisimon.com/goto/gi4s" rel="nofollow">开机</a>状态。该消息通常由在连接到同一局域网的设备上执行的程序发送到目标计算机。也可以使用子网定向广播或 WoL 网关服务从另一个网络发起消息。<strong>——<em>维基百科</em></strong></p>



<p>我使用昂达的一款<strong>昂达B365CD4</strong>主板安装了TrueNAS Scale系统，出于节能减碳的需要，设置了晚上自动关机。清晨使用WOL唤醒机器。</p>



<p>开启WOL共功能</p>



<p>开机，在屏幕出现主板logo或者其他信息的时候按Del进入BIOS</p>



<p><strong>开启PXE功能</strong>，如下图，将<strong>Network Stack</strong>配置下的<strong>Ipv4 PXE Support</strong>设置为<strong>Enable</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://www.pomato.eu.org/img/20230715_102309-16893922115971.jpg" alt=""/></figure>



<p>开启网卡的WOL功能</p>



<pre class="wp-block-code"><code># 用以下命令查看网卡名称
ifconfig</code></pre>



<pre class="wp-block-code"><code># 添加WOL配置文件
# 这里的eth0需要跟wol唤醒网卡的名称
vim /etc/network/interfaces.d/eth0</code></pre>



<pre class="wp-block-code"><code># 配置文件内容
auto enp8s0
iface enp8s0 inet dhcp
    ethernet-wol g</code></pre>



<p><strong>重新系统后测试是否成功</strong></p>



<p><strong><em>注：如果网络唤醒失效，尝试重新保存eth0文件（猜测是重新保存才能令设置生效，从而系统会按当前设置去修改BIOS）。by Alan</em></strong></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
