<?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>Blog Amain &#187; debian</title>
	<atom:link href="http://blog.zoomeren.nl/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zoomeren.nl</link>
	<description>Open Source / Linux</description>
	<lastBuildDate>Fri, 21 May 2010 21:47:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wake-on-LAN (wol)</title>
		<link>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/</link>
		<comments>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 23:35:06 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etherwake]]></category>
		<category><![CDATA[ethtool]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[powerwake]]></category>
		<category><![CDATA[wake-on-lan]]></category>
		<category><![CDATA[wakeonlan]]></category>
		<category><![CDATA[wol]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=121</guid>
		<description><![CDATA[On the to-be-woken-up computer make sure to enable ACPI/APM (S3/STR) and Wake-On-Lan(WOL) in the BIOS and add in /etc/network/interfaces:

post-up /usr/sbin/ethtool -s eth0 wol g
post-down /usr/sbin/ethtool -s eth0 wol g

Write down the MAC-ADDRESS. Powerdown the computer. Only when the computer is powered down to S3 or STR(Suspend to ram), the computer can be woken up. A [...]]]></description>
			<content:encoded><![CDATA[<p>On the to-be-woken-up computer make sure to enable ACPI/APM (<strong>S3/STR)</strong> and Wake-On-Lan(WOL) in the BIOS and add in <em>/etc/network/interfaces</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">post-up <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>ethtool <span style="color: #660033;">-s</span> eth0 wol g
post-down <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>ethtool <span style="color: #660033;">-s</span> eth0 wol g</pre></div></div>

<p>Write down the <em>MAC-ADDRESS</em>. Powerdown the computer. Only when the computer is powered down to S3 or STR(Suspend to ram), the computer can be woken up. A sudden power-failure might mess with everything so the computer might not respond then to WOL requests. For STR some additional action are necessary, because STR in Linux might/will totaly power-off the ethernet device. See this <a href="http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html">link</a> for more info on that subject.</p>
<p>On another computer install a wake-on-lan package:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> wakeonlan</pre></div></div>

<p>and wake up the sleeping computer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wakeonlan MAC-ADDRESS</pre></div></div>

<p>note: create a small shell script in for example ~/bin/wol_dev.sh to make life easier and to not forget the MAC-ADDRESS:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Wake on lan server: dev</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># dev eth0 00:02:44:57:dc:33</span>
<span style="color: #666666; font-style: italic;"># dev eth1 00:10:4b:0e:ce:13</span>
&nbsp;
wakeonlan 00:02:<span style="color: #000000;">44</span>:<span style="color: #000000;">57</span>:<span style="color: #c20cb9; font-weight: bold;">dc</span>:<span style="color: #000000;">33</span></pre></div></div>

<p>That&#8217;s all!</p>
<p>Links:</p>
<ul>
<li><a href="http://xlife.zuavra.net/index.php/60/">http://xlife.zuavra.net/index.php/60/</a></li>
<li><a href="http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html">http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
