<?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>info.michael-simons.eu &#187; Linux</title>
	<atom:link href="http://info.michael-simons.eu/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.michael-simons.eu</link>
	<description>Just another nerd blog</description>
	<lastBuildDate>Fri, 09 Jul 2010 07:40:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Linux: Persistent wake-on-lan</title>
		<link>http://info.michael-simons.eu/2010/03/03/linux-persistent-wake-on-lan/</link>
		<comments>http://info.michael-simons.eu/2010/03/03/linux-persistent-wake-on-lan/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 08:36:22 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[ethtool]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/?p=399</guid>
		<description><![CDATA[Just a quick reminder for myself: You need to enable wake-on-lan on the nic in most linux distributions via ethtool. If your nic supports WOL, it probably needs to be enabled in your computers BIOS first. Most WOL tools use the &#8220;MagicPacket(tm)&#8221; method, so the right command to enable it on the nic &#8220;eth0&#8243; would [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick reminder for myself: You need to enable wake-on-lan on the nic in most linux distributions via <em>ethtool</em>.</p>
<p>If your nic supports WOL, it probably needs to be enabled in your computers BIOS first.</p>
<p>Most WOL tools use the &#8220;MagicPacket(tm)&#8221; method, so the right command to enable it on the nic &#8220;eth0&#8243; would be</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ethtool <span style="color: #660033;">-s</span> eth0 wol g</pre></div></div>

<p>This is not a persistent setting and it is gone after a reboot. Most tips around recommend creating a runlevel script for executing this command after boot or before shutdown.</p>
<p>I&#8217;ve added the command as a hook in my network scripts:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">auto eth0
iface eth0 inet dhcp
        pre-down ethtool <span style="color: #660033;">-s</span> eth0 wol g</pre></div></div>

<p>You can also use post-up. I like this method because i tend to forget about my runlevel scripts and so i keep the network stuff in one place <img src='http://info.michael-simons.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you are a debian user, you maybe need to stop your system from turning off the nic on HALT. To do so, add</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">NETDOWN</span>=no</pre></div></div>

<p>to &#8220;/etc/default/halt&#8221;.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=399&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_399" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2010/03/03/linux-persistent-wake-on-lan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursively md5sum all files in a directory tree</title>
		<link>http://info.michael-simons.eu/2008/10/25/recursively-md5sum-all-files-in-a-directory-tree/</link>
		<comments>http://info.michael-simons.eu/2008/10/25/recursively-md5sum-all-files-in-a-directory-tree/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 09:31:21 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/?p=219</guid>
		<description><![CDATA[After a server crash a wanted to compare all actual files with the backuped data. An easy way is to compare the md5 hashes like that: First create recursively md5 hashes from all files in that directory: find ./backup -type f -print0 &#124; xargs -0 md5sum &#62; /checksums_backup.md5 Then check the actual data: md5sum -c [...]]]></description>
			<content:encoded><![CDATA[<p>After a server crash a wanted to compare all actual files with the backuped data. An easy way is to compare the md5 hashes like that:</p>
<p>First create recursively md5 hashes from all files in that directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span>backup <span style="color: #660033;">-type</span> f <span style="color: #660033;">-print0</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">-0</span> md5sum <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>checksums_backup.md5</pre></div></div>

<p>Then check the actual data:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">md5sum <span style="color: #660033;">-c</span> checksums_backup.md5</pre></div></div>

<p>I was lucky, no files where damaged.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=219&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_219" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2008/10/25/recursively-md5sum-all-files-in-a-directory-tree/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3 days with Linux</title>
		<link>http://info.michael-simons.eu/2008/02/08/3-days-with-linux/</link>
		<comments>http://info.michael-simons.eu/2008/02/08/3-days-with-linux/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 10:40:04 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[English posts]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/2008/02/08/3-days-with-linux/</guid>
		<description><![CDATA[Since Tuesday i installed Debian Linux 4 times on my new Dell Vostro 200. The choice of hardware was kinda stupid. I thought, well this thing is not a special thingy but plain standard. Well, seems, it isn&#8217;t. The first setback was, that the Debian installer booted from CD-Rom but didn&#8217;t recognize it afterwards. Yippie&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Since Tuesday i installed Debian Linux 4 times on my new Dell Vostro 200.</p>
<p>The choice of hardware was kinda stupid. I thought, well this thing is not a special thingy but plain standard. Well, seems, it isn&#8217;t.</p>
<p>The first setback was, that the Debian installer booted from CD-Rom but didn&#8217;t recognize it afterwards. Yippie&#8230; I had to change the SATA Bios settings from IDE to RAID which means in reality, to <a href="http://de.wikipedia.org/wiki/Advanced_Host_Controller_Interface">AHCI</a>. 2 things changed: Debian can be installed from CD-Rom and the dualboot Windows went nuts, i.e. crashed with a BSOD, even in safe mode. Solution to that was first switching back to IDE mode, installing some Intel driver for RAID thingies (really, there&#8217;s no raid in the machine&#8230; *sigh*), switch back et voila.</p>
<p>Next thing: The ethernet controller was to new. It&#8217;s kinda e1000 but not yet supported in the current testing kernel. The driver can be downloaded <a href="http://downloadcenter.intel.com/detail_desc.aspx?strState=LIVE&#038;DwnldID=9180&#038;agr=Y&#038;lang=eng">at intels</a> site. I&#8217;ve chosen to skip network while installation and downloaded a full image. If you want to install from a netinstall image and have no 2nd nic at hand, <a href="http://www.hardwarefetish.com/blog/index.php?/archives/219-DELL-Vostro-200-mit-Debian-aufsetzen.html">here you&#8217;ll find a precompiled module</a>. The blogs seems well written, but i wouldn&#8217;t call the Vostro a bunch of crap. The thing is very low noise, with Windows XP rock solid (at least at my workplace {i actually have two of them, at work and now at home}) and i appreciate the Dell pickup service. Another great howto is presented at the <a href="http://ubuntuforums.org/showthread.php?p=3370406">Ubuntu forums</a>.</p>
<p>The next closed source thing i installed where the ATI drivers from <a href="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/catalyst_81_linux.html">here</a> without a problem.</p>
<p>The things that lead to multiple reinstalls where the decision between KDE and GNOME. I just wanted to test them and didn&#8217;t want to purge every single package afterwards. In the end i went for GNOME.</p>
<p>So now i have a Desktop with the preinstalled Vista on a one partition and my new all day Debian system on a fully encrypted LVM partition. The later one was really no big deal to create with the Debian installer. The whole filesystem is encrypted except a boot partition and a relatively big space which i wanna spent on virtual machines.</p>
<p><a href="http://info.michael-simons.eu/2008/01/31/i-care/#comment-6424">prego</a> stated that i should spent some energy into compiz. I already are accustomed to continuous zoom in the whole desktop, some nice effects and semi transparent windows through Mac OS X, for that to say, but i didn&#8217;t want to add non &#8220;official&#8221; repositories. In the end, i give it a try and followed the instructions <a href="http://www.pendrivelinux.com/2007/11/03/how-to-install-compiz-fusion-on-debian-lenny/">here</a> and used the instructions for the xorg.conf from <a href="http://handyfloss.wordpress.com/2007/08/14/compiz-fusion-under-debian-lenny-on-my-laptop/">here</a> without that Xgl thingies. What can i say: It works and looks great. The wobbling windows are hilarious <img src='http://info.michael-simons.eu/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>For my photo collection i already installed digiKam, which is a great tool.</p>
<p>Next steps are migrating my email from Apple Mail.app to a local IMAP server. Anyone suggestions which email client to use?</p>
<p>A friend tried to convince me several times to reinstall my Macbook for good but i don&#8217;t want to. Things used to work and broke with an OS update. And no, i&#8217;m not using *any* of the OS X system hacks. I used to be able to upgrade from release to release (hell, the iMac made it from 10.3.8 to 10.5.1 without a problem) and all of sudden i&#8217;m back in windows times: Upgrade and you&#8217;re doomed. Suck my dick&#8230; I don&#8217;t wanna go this path ever again. And then there the recent developments with Apple. I&#8217;ve been wearing a t with &#8220;Think different&#8221; know for about 5 years, i always like their products, the integration of Unix and eyecandy. But the apps are getting worse with every new release the last months. Apples behaviour to make you pay for a simple software upgrade (sarbane oxley my ass&#8230;, i&#8217;m expecting the first bugfix to be payed because the OS is no abo related model). OS Xs unablity to encrypt the whole volume (it can encrypt your home folder in some silly image file) without external tools (recently, <a href="http://www.truecrypt.org/">Truecrypt</a> can do this.</p>
<p>Stop. Must&#8230; breath&#8230; again. </p>
<p>In the end, i think three days without much <a href="http://dailyfratze.de/michael/2008/2/7">sleep</a> were well spend.</p>
<p>As before, i&#8217;ll keep you updated, if you like <img src='http://info.michael-simons.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=148&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_148" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2008/02/08/3-days-with-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>I care.</title>
		<link>http://info.michael-simons.eu/2008/01/31/i-care/</link>
		<comments>http://info.michael-simons.eu/2008/01/31/i-care/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 07:54:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[RL]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/2008/01/31/i-care/</guid>
		<description><![CDATA[Tante did it again and wrote a wity rant agains &#8220;CrApple&#8221;, read it here. This post among a lots of other things that i recently experienced with OS X 10.5.x on my MacBook and my PPC iMac lead me to one conclusion: Just try it linux for the desktop once again. The last time i [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.the-gay-bar.com">Tante</a> did it again and wrote a wity rant agains &#8220;CrApple&#8221;, read it <a href="http://the-gay-bar.com/index.php?/archives/1168-Why-people-dont-care-about-Freedom-Zero.html">here</a>.</p>
<p>This post among a lots of other things that i recently experienced with OS X 10.5.x on my MacBook and my PPC iMac lead me to one conclusion: Just try it linux for the desktop once again. The last time i did it was around 2002, 2003&#8230; Not a too pleasant experience. In the meantime, thinks have changed, i guess and i myself do have some good knowledge with Debian Linux on multiple servers so why not try to bring this back to my office.</p>
<p>So, welcome my new desktop, which will hopefully be delivered by next week:</p>
<div style="text-align:center;">
<img src="http://info.michael-simons.eu/wp-content/uploads/2008/01/vostro.jpg" alt="Dell Vostro 200" />
</div>
<p>This Dell Vostro 200 comes with Vista Business&#8230; I won&#8217;t touch this but install a 2nd hardrive and opt for Debian/Lenny. I&#8217;m not under any time pressure, so i&#8217;ll try to fit the environment to my needs in every detail as possible. I you&#8217;re interested, i&#8217;ll keep posting about it.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=145&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_145" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2008/01/31/i-care/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
