<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Wake on Lan with Linux and Windows</title>
	<atom:link href="http://www.tjansson.dk/?feed=rss2&#038;p=83" rel="self" type="application/rss+xml" />
	<link>http://www.tjansson.dk/?p=83</link>
	<description>Computers and physics - does it get any better?</description>
	<lastBuildDate>Fri, 27 Aug 2010 09:40:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Thomas Jansson</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32580</link>
		<dc:creator>Thomas Jansson</dc:creator>
		<pubDate>Mon, 09 Aug 2010 20:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32580</guid>
		<description>Besho - I don&#039;t really understand what you are writing. But Wake On Lan is a method to wake make a computer boot that is completely shutoff beside that the network card - which listens for a magic packet (WOL).</description>
		<content:encoded><![CDATA[<p>Besho &#8211; I don&#8217;t really understand what you are writing. But Wake On Lan is a method to wake make a computer boot that is completely shutoff beside that the network card &#8211; which listens for a magic packet (WOL).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: besho</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32579</link>
		<dc:creator>besho</dc:creator>
		<pubDate>Mon, 09 Aug 2010 01:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32579</guid>
		<description>Great, thanks so much, but I don&#039;t realize that this is for waking up from shut down, look at this site :

http://onlineforall.info/2010/08/how-to-wake-your-pc-on-lan/

I thought it&#039;s only form standby !!!</description>
		<content:encoded><![CDATA[<p>Great, thanks so much, but I don&#8217;t realize that this is for waking up from shut down, look at this site :</p>
<p><a href="http://onlineforall.info/2010/08/how-to-wake-your-pc-on-lan/" rel="nofollow">http://onlineforall.info/2010/08/how-to-wake-your-pc-on-lan/</a></p>
<p>I thought it&#8217;s only form standby !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noobie</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32478</link>
		<dc:creator>Noobie</dc:creator>
		<pubDate>Wed, 23 Jun 2010 06:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32478</guid>
		<description>Thanks a lot. I haven&#039;t had a chance myself to test this, but I&#039;m going to for sure! :)

I want to thank you for all your help, and I will be coming back if this doesn&#039;t work either, but for now Thank You Thomas Jansson :D</description>
		<content:encoded><![CDATA[<p>Thanks a lot. I haven&#8217;t had a chance myself to test this, but I&#8217;m going to for sure! <img src='http://www.tjansson.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I want to thank you for all your help, and I will be coming back if this doesn&#8217;t work either, but for now Thank You Thomas Jansson <img src='http://www.tjansson.dk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Jansson</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32467</link>
		<dc:creator>Thomas Jansson</dc:creator>
		<pubDate>Mon, 21 Jun 2010 10:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32467</guid>
		<description>This is not your fault - I need to rewrite the script to make it compatible with chkconfig. I can&#039;t do this at the moment as I have to test it on a redhat based machine, but if you would like to experiment yourself take a look at a pages as:
http://www.instiki.org/show/RedhatInitScript

There is however a quick hack. Instead of using wol.sh just add the following line to the file /etc/rc.d/rc.local - now the line will be done on every restart:
&lt;pre lang=&quot;shell&quot;&gt; 
ethtool -s eth1 wol g
&lt;/pre&gt;
This is very appropriate in our case since we don&#039;t need a fullblown script but just on command that needs to be run at each restart. The same can by the way be done on Debian based system in the file
/etc/rc.local</description>
		<content:encoded><![CDATA[<p>This is not your fault &#8211; I need to rewrite the script to make it compatible with chkconfig. I can&#8217;t do this at the moment as I have to test it on a redhat based machine, but if you would like to experiment yourself take a look at a pages as:<br />
<a href="http://www.instiki.org/show/RedhatInitScript" rel="nofollow">http://www.instiki.org/show/RedhatInitScript</a></p>
<p>There is however a quick hack. Instead of using wol.sh just add the following line to the file /etc/rc.d/rc.local &#8211; now the line will be done on every restart:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">ethtool -s eth1 wol g</pre></div></div>

<p>This is very appropriate in our case since we don&#8217;t need a fullblown script but just on command that needs to be run at each restart. The same can by the way be done on Debian based system in the file<br />
/etc/rc.local</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noobie</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32466</link>
		<dc:creator>Noobie</dc:creator>
		<pubDate>Mon, 21 Jun 2010 09:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32466</guid>
		<description>Thx for your help, but my problems doesnt seem to end here...

I manged to find out, that i had to use the chkconfig

When i type in chkconfig i get a list of usage

list, add, del, override, level.

But when i try to type what u suggested: &quot;/sbin/chkconfig wol.sh on&quot; it gave the following respond :(

&quot;service wol.sh does not support chkconfig&quot;

Now I&#039;m seriously down in the mud... I can&#039;t seem to find any solution to this</description>
		<content:encoded><![CDATA[<p>Thx for your help, but my problems doesnt seem to end here&#8230;</p>
<p>I manged to find out, that i had to use the chkconfig</p>
<p>When i type in chkconfig i get a list of usage</p>
<p>list, add, del, override, level.</p>
<p>But when i try to type what u suggested: &#8220;/sbin/chkconfig wol.sh on&#8221; it gave the following respond <img src='http://www.tjansson.dk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>&#8220;service wol.sh does not support chkconfig&#8221;</p>
<p>Now I&#8217;m seriously down in the mud&#8230; I can&#8217;t seem to find any solution to this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Jansson</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32465</link>
		<dc:creator>Thomas Jansson</dc:creator>
		<pubDate>Mon, 21 Jun 2010 09:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32465</guid>
		<description>This is because was written to fit debian based Linux. I think that openfiler is Redhat based, so in this case you should use:

&lt;pre lang=&quot;shell&quot;&gt;
/sbin/chkconfig wol.sh on 
&lt;/pre&gt;

The difference is the programs &quot;update-rc.d&quot; and &quot;chkconfig&quot; used to set which programs should be run at startup.</description>
		<content:encoded><![CDATA[<p>This is because was written to fit debian based Linux. I think that openfiler is Redhat based, so in this case you should use:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">/sbin/chkconfig wol.sh on</pre></div></div>

<p>The difference is the programs &#8220;update-rc.d&#8221; and &#8220;chkconfig&#8221; used to set which programs should be run at startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noobie</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32464</link>
		<dc:creator>Noobie</dc:creator>
		<pubDate>Mon, 21 Jun 2010 07:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32464</guid>
		<description>Update to my privious post.

I have now managed to craete a script file, also to write in it, save it, give it permission, so completely forget about my privious post, and read this post instead :).

but when i write &quot;update-rc.d -f wol.sh defaults&quot;

It says &quot;-bash: update-rc.d: command not found&quot;

I&#039;m not certain, but I think it might be because I use OpenFiler. Anyone who could give any help on other &quot;start on start-up&quot; commands?</description>
		<content:encoded><![CDATA[<p>Update to my privious post.</p>
<p>I have now managed to craete a script file, also to write in it, save it, give it permission, so completely forget about my privious post, and read this post instead <img src='http://www.tjansson.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>but when i write &#8220;update-rc.d -f wol.sh defaults&#8221;</p>
<p>It says &#8220;-bash: update-rc.d: command not found&#8221;</p>
<p>I&#8217;m not certain, but I think it might be because I use OpenFiler. Anyone who could give any help on other &#8220;start on start-up&#8221; commands?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noobie</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32463</link>
		<dc:creator>Noobie</dc:creator>
		<pubDate>Mon, 21 Jun 2010 07:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32463</guid>
		<description>Sorry that i didnt spell correctly.

It said &quot;No such file or directory found&quot; (such became usch)

I think i know what the problem is. You wrote that you &quot;make a script in /etc/init.d/ called wol.sh. 

I don&#039;t know how to make that script... im not sitting with a GUI linux, like ubuntu. Im sitting with a OS called OpenFiler, and it ONLY has a commando prompt, or terminal.

Is there anyway to make that script, then add the lines of the script, from the terminal?</description>
		<content:encoded><![CDATA[<p>Sorry that i didnt spell correctly.</p>
<p>It said &#8220;No such file or directory found&#8221; (such became usch)</p>
<p>I think i know what the problem is. You wrote that you &#8220;make a script in /etc/init.d/ called wol.sh. </p>
<p>I don&#8217;t know how to make that script&#8230; im not sitting with a GUI linux, like ubuntu. Im sitting with a OS called OpenFiler, and it ONLY has a commando prompt, or terminal.</p>
<p>Is there anyway to make that script, then add the lines of the script, from the terminal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Jansson</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32462</link>
		<dc:creator>Thomas Jansson</dc:creator>
		<pubDate>Sun, 20 Jun 2010 16:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32462</guid>
		<description>Noobie: /etc is a folder on the filesystem that traditionally contains all configuration files for the programs installed. If you are in doubt about other folders try googling &quot;Linux Filesystem Hierarchy&quot; which should give plenty reading on the subject. The following seems as a decent introduction:
http://www.tuxradar.com/content/take-linux-filesystem-tour

So now that /etc is established, /etc/init.d/ contain all the control scripts for most of the daemons you on the machine. Putting wol.sh here seems reasonable. The comand &quot;chmod&quot; changes permissions for files and folders. &quot;chmod +x&quot; adds executable permissions to the argument and in my case I used this to make the script wol.sh executable. 

Are you sure you shell said &quot;ushc&quot;? I think you might have made a type in the filename or on the command you wrote in console?

I am sorry but I don&#039;t have the time to teach how to move around int the shell but luckily there is plenty of good documentation:
https://help.ubuntu.com/
Try especially the following document called &quot;Using the Command Line&quot; which will certainly get you started. 
https://help.ubuntu.com/10.04/basic-commands/C/
Happy reading and welcome to the world Linux - you will not regret it.</description>
		<content:encoded><![CDATA[<p>Noobie: /etc is a folder on the filesystem that traditionally contains all configuration files for the programs installed. If you are in doubt about other folders try googling &#8220;Linux Filesystem Hierarchy&#8221; which should give plenty reading on the subject. The following seems as a decent introduction:<br />
<a href="http://www.tuxradar.com/content/take-linux-filesystem-tour" rel="nofollow">http://www.tuxradar.com/content/take-linux-filesystem-tour</a></p>
<p>So now that /etc is established, /etc/init.d/ contain all the control scripts for most of the daemons you on the machine. Putting wol.sh here seems reasonable. The comand &#8220;chmod&#8221; changes permissions for files and folders. &#8220;chmod +x&#8221; adds executable permissions to the argument and in my case I used this to make the script wol.sh executable. </p>
<p>Are you sure you shell said &#8220;ushc&#8221;? I think you might have made a type in the filename or on the command you wrote in console?</p>
<p>I am sorry but I don&#8217;t have the time to teach how to move around int the shell but luckily there is plenty of good documentation:<br />
<a href="https://help.ubuntu.com/" rel="nofollow">https://help.ubuntu.com/</a><br />
Try especially the following document called &#8220;Using the Command Line&#8221; which will certainly get you started.<br />
<a href="https://help.ubuntu.com/10.04/basic-commands/C/" rel="nofollow">https://help.ubuntu.com/10.04/basic-commands/C/</a><br />
Happy reading and welcome to the world Linux &#8211; you will not regret it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noobie</title>
		<link>http://www.tjansson.dk/?p=83&#038;cpage=1#comment-32460</link>
		<dc:creator>Noobie</dc:creator>
		<pubDate>Sat, 19 Jun 2010 23:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.tjansson.dk/?p=83#comment-32460</guid>
		<description>I have a problem with the 

root@bohr:/etc/init.d# chmod +x wol.sh

part

When i type in that command, i get &quot;No ushc file or directory... Im totally new to linux and only type what im told, so if that &quot;ect&quot; stands for something that i have to put in myself, then please help me to find out what i should put it.

Also i wrote the &quot;#!/bin/bash&quot; command... Im not sure if i should do that either. If anyone would help it would be great :)</description>
		<content:encoded><![CDATA[<p>I have a problem with the </p>
<p>root@bohr:/etc/init.d# chmod +x wol.sh</p>
<p>part</p>
<p>When i type in that command, i get &#8220;No ushc file or directory&#8230; Im totally new to linux and only type what im told, so if that &#8220;ect&#8221; stands for something that i have to put in myself, then please help me to find out what i should put it.</p>
<p>Also i wrote the &#8220;#!/bin/bash&#8221; command&#8230; Im not sure if i should do that either. If anyone would help it would be great <img src='http://www.tjansson.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.488 seconds -->
