<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:ymaps="http://api.maps.yahoo.com/Maps/V2/AnnotatedMaps.xsd">

<channel>
	<title>Michael`s Blog &#187; it</title>
	<atom:link href="http://blog.streb.name/category/all-it-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.streb.name</link>
	<description>OSS/Linux, networking and my private life</description>
	<lastBuildDate>Thu, 27 Jan 2011 12:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Hallo Lastpass &#8211; auf Wiedersehen 1password</title>
		<link>http://blog.streb.name/2010/10/28/hallo-lastpass-auf-wiedersehen-1password/</link>
		<comments>http://blog.streb.name/2010/10/28/hallo-lastpass-auf-wiedersehen-1password/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 13:19:24 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[1password]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[lastpass]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[passwort]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=369</guid>
		<description><![CDATA[An all die 1password Benutzer da draußen:
es gibt eine Alternative die sogar noch plattformübergreifend funktioniert
Zu finden ist das ganze unter Lastpass.com dabei agiert gerade die Browserintegration ähnlich zu 1password. Mit einem Master Passwort wird die Keychain freigeschalten und man kann auf die vorhandenen Passwörter zugreifen. Die Integration erfolgt ebenfalls über einen Button in Safari und ...]]></description>
			<content:encoded><![CDATA[<p>An all die <a href="http://agilewebsolutions.com/onepassword">1password</a> Benutzer da draußen:</p>
<p style="text-align: center;"><strong>es gibt eine Alternative die sogar noch plattformübergreifend funktioniert</strong></p>
<p style="text-align: left;">Zu finden ist das ganze unter <a href="https://lastpass.com/">Lastpass.com</a> dabei agiert gerade die Browserintegration ähnlich zu <a href="http://agilewebsolutions.com/onepassword">1password</a>. Mit einem Master Passwort wird die Keychain freigeschalten und man kann auf die vorhandenen Passwörter zugreifen. Die Integration erfolgt ebenfalls über einen Button in Safari und eben auch Firefox, InternetExplorer, Chrome, usw. aber lest einfach selbst wo <a href="https://lastpass.com/">Lastpass</a> überall funktioniert, zu finden ist das <a href="https://lastpass.com/misc_download.php">hier</a>.</p>
<p style="text-align: left;">Einzig die iPhone App erfordert ein <a href="https://lastpass.com/features_joinpremium.php">Upgrade</a> auf die Pro Version und kostet in Form einer jährlichen Zahlung, die iPad App ist ähnlich der von <a href="http://agilewebsolutions.com/onepassword">1password</a> und sogar kostenlos.</p>
<p style="text-align: left;">Ich nutze <a href="https://lastpass.com/">Lastpass</a> jetzt seit zwei Wochen und bin restlos begeistert, <a href="http://agilewebsolutions.com/onepassword">1password</a> ist bereits verschwunden! <img src='http://blog.streb.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="wp-flattr-button"></p> <p><a href="http://blog.streb.name/?flattrss_redirect&amp;id=369&amp;md5=2d2234782f6c7cf0cb58f07bf603b4db" title="Flattr" target="_blank"><img src="http://blog.streb.name/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/10/28/hallo-lastpass-auf-wiedersehen-1password/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AppleMail CPU Auslastung bei 25%</title>
		<link>http://blog.streb.name/2010/09/07/applemail-cpu-auslastung-bei-25/</link>
		<comments>http://blog.streb.name/2010/09/07/applemail-cpu-auslastung-bei-25/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 19:07:27 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=353</guid>
		<description><![CDATA[Nachdem ich wieder ein Problem mit AppleMail und einer kontinuierlichen CPU Auslastung von ~25% hatte, hier für alle mit dem gleichen Fehler eine Lösung.

Anscheinend geht irgendwas mit der Adressbuchsynchronisation schief und das verursacht die Auslastung, zu finden ist die Problemlösung unter: http://discussions.info.apple.com/message.jspa?messageID=11471415

Zusammengefasst hilft folgendes Kommando:
# rm ~/Library/Application\ Support/AddressBook/Sources/*]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich wieder ein Problem mit AppleMail und einer kontinuierlichen CPU Auslastung von ~25% hatte, hier für alle mit dem gleichen Fehler eine Lösung.</p>
<p>Anscheinend geht irgendwas mit der Adressbuchsynchronisation schief und das verursacht die Auslastung, zu finden ist die Problemlösung unter: <a href="http://discussions.info.apple.com/message.jspa?messageID=11471415">http://discussions.info.apple.com/message.jspa?messageID=11471415</a></p>
<p>Zusammengefasst hilft folgendes Kommando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># rm ~/Library/Application\ Support/AddressBook/Sources/*</span></pre></div></div>

<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/09/07/applemail-cpu-auslastung-bei-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stromsparender Fileserver mit Suspend</title>
		<link>http://blog.streb.name/2010/08/15/stromsparender-fileserver-mit-suspend/</link>
		<comments>http://blog.streb.name/2010/08/15/stromsparender-fileserver-mit-suspend/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 19:34:05 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=322</guid>
		<description><![CDATA[Nachdem jetzt eine ewige Zeit lang bei mir 24x7 ein Server lief, habe ich mich entschlossen diesen nun auszumustern und eine stromsparendere Variante zu bauen. Ziel war es einen Fileserver zu haben, der per Wake-on-LAN aufgeweckt werden kann und nicht ständig laufen muss. Wichtig war mir auch ein möglichst schnelles Aufwachen des Servers, wer ...]]></description>
			<content:encoded><![CDATA[<p>Nachdem jetzt eine ewige Zeit lang bei mir 24x7 ein Server lief, habe ich mich entschlossen diesen nun auszumustern und eine stromsparendere Variante zu bauen. Ziel war es einen Fileserver zu haben, der per Wake-on-LAN aufgeweckt werden kann und nicht ständig laufen muss. Wichtig war mir auch ein möglichst schnelles Aufwachen des Servers, wer will schon lange warten um auf Dokumente zuzugreifen.</p>
<p>Um das Problem zu lösen läuft jetzt ein Debian Lenny mit aktuellem Kernel aus den Backports.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">puppy:~<span style="color: #666666; font-style: italic;"># uname -r</span>
2.6.32-bpo.5-amd64</pre></div></div>

<p>Allein das Aktualisieren des Kernels hat durch die aktivierten Stromsparfeatures (vor allem cpufreq) den Verbrauch um ca. 20 Watt verringert.</p>
<p>Zusätzlich will ich den Server nicht immer manuell Runterfahren müssen, also bin ich auf die Suche nach einem bereits vorhandenem Checker gegangen der zum einen prüft ob jemand per SSH verbunden ist, zum anderen aber im Netzwerk die üblichen Verdächtigen auf Aktivität prüft um sicherzustellen, daß der Server nicht runtergefahren wird wenn er benötigt wird.<br />
Fündig wurde ich beim "server-sleepd", anscheinend wurde das Teil mal von Heise gebaut, zu finden ist das Shell Skript unter <a href="http://mercurial.intuxication.org/hg/server-sleepd">http://mercurial.intuxication.org/hg/server-sleepd</a>.<br />
Innerhalb des Skriptes kann unterschieden werden was mit dem Server beim Herunterfahren passieren soll, in meinem Fall wird "pm-suspend" aufgerufen um Ihn Schlafen zu legen.</p>
<p>Probleme hatte ich allerdings beim WOL, mir war es nicht möglich den Server wieder aufzuwecken. Der Fehler ist schlicht bei einem deaktiverem WOL auf der Netzwerkkarte und dem deaktivertem Wakeup Event der Netzwerkkarte im ACPI zu suchen.</p>
<p>Aussehen sollte das ganze wie folgt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">puppy:~<span style="color: #666666; font-style: italic;"># cat /proc/acpi/wakeup</span>
Device	S-state	  Status   Sysfs node
PS2K	  S4	 disabled  pnp:00:0a
UAR1	  S4	 disabled  pnp:00:0b
NSMB	  S4	 disabled  pci:0000:00:<span style="color: #000000;">01.1</span>
USB0	  S4	 disabled  pci:0000:00:<span style="color: #000000;">02.0</span>
USB2	  S4	 disabled  pci:0000:00:<span style="color: #000000;">02.1</span>
NMAC	  S5	 enabled   pci:0000:00:<span style="color: #000000;">07.0</span>
P0P1	  S4	 disabled  pci:0000:00:<span style="color: #000000;">04.0</span>
HDAC	  S4	 disabled  pci:0000:00:<span style="color: #000000;">05.0</span>
BR10	  S4	 disabled  pci:0000:00:<span style="color: #000000;">09.0</span>
BR12	  S4	 disabled  pci:0000:00:0c.0
BR11	  S4	 disabled  pci:0000:00:0b.0
puppy:~<span style="color: #666666; font-style: italic;"># ethtool eth0</span>
Settings <span style="color: #000000; font-weight: bold;">for</span> eth0:
	Supported ports: <span style="color: #7a0874; font-weight: bold;">&#91;</span> MII <span style="color: #7a0874; font-weight: bold;">&#93;</span>
	Supported <span style="color: #c20cb9; font-weight: bold;">link</span> modes:   10baseT<span style="color: #000000; font-weight: bold;">/</span>Half 10baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	                        100baseT<span style="color: #000000; font-weight: bold;">/</span>Half 100baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	                        1000baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	Supports auto-negotiation: Yes
	Advertised <span style="color: #c20cb9; font-weight: bold;">link</span> modes:  10baseT<span style="color: #000000; font-weight: bold;">/</span>Half 10baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	                        100baseT<span style="color: #000000; font-weight: bold;">/</span>Half 100baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	                        1000baseT<span style="color: #000000; font-weight: bold;">/</span>Full
	Advertised auto-negotiation: Yes
	Speed: 1000Mb<span style="color: #000000; font-weight: bold;">/</span>s
	Duplex: Full
	Port: MII
	PHYAD: <span style="color: #000000;">1</span>
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: g
	Wake-on: g
	Link detected: <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p>Wichtig hierbei ist, das in /proc/acpi/wakeup bei der jeweiligen Netzwerkkarte "enabled" im Status steht, ansonsten werden Events von dieser Source nicht zum Aufwecken verwendet.<br />
Die richtige PCI ID der Netzwerkkarte findet sich über "lspci".</p>
<p>Gesetzt wird das ganze bei mir in /etc/network/interfaces beim Starten der Netzwerkverbindungen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">up ethtool <span style="color: #660033;">-s</span> eth0 wol g
up <span style="color: #7a0874; font-weight: bold;">echo</span> NMAC <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>acpi<span style="color: #000000; font-weight: bold;">/</span>wakeup</pre></div></div>

<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/08/15/stromsparender-fileserver-mit-suspend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SLES11 Mirror</title>
		<link>http://blog.streb.name/2010/08/06/sles11-mirror/</link>
		<comments>http://blog.streb.name/2010/08/06/sles11-mirror/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 06:42:36 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[Mirror]]></category>
		<category><![CDATA[sles]]></category>
		<category><![CDATA[Suse]]></category>

		<guid isPermaLink="false">http://blog.streb.name/2010/08/06/sles11-mirror/</guid>
		<description><![CDATA[Analog zum SLES10 Mirror bietet die UNI Regensburg auch wieder sämtliche Pakete für SLES11 an. 
Zu finden ist der Spiegel unter http://demeter.uni-regensburg.de]]></description>
			<content:encoded><![CDATA[<p>Analog zum SLES10 Mirror bietet die UNI Regensburg auch wieder sämtliche Pakete für SLES11 an.<br />
Zu finden ist der Spiegel unter <a href="http://demeter.uni-regensburg.de/">http://demeter.uni-regensburg.de</a><a></a></p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/08/06/sles11-mirror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alix 2D13 als Firewall</title>
		<link>http://blog.streb.name/2010/08/05/alix-2d13-als-firewall/</link>
		<comments>http://blog.streb.name/2010/08/05/alix-2d13-als-firewall/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 11:33:31 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[routing]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=306</guid>
		<description><![CDATA[Seit kurzem betreibe ich ein Alix 2d13 als Firewall bei mir am Entertain Anschluss.

Bestellt hab ich das Teil als Bundle bestehend aus dem Alix, Gehäuse, CF-Karte und Netzteil beim Varia-Store. Als Firewall Distribution habe ich mich für IPFire entschieden, Grund hierfür war die native Alix sowie VDSL Unterstützung mit VLAN7 und 8 für IPTV, zusätzlich ...]]></description>
			<content:encoded><![CDATA[<p>Seit kurzem betreibe ich ein Alix 2d13 als Firewall bei mir am Entertain Anschluss.</p>
<p>Bestellt hab ich das Teil als <a href="http://shop.varia-store.com/product_info.php?info=p725_Mainboard-ALIX-2D13--Bundle--Board--Netzteil--4GB-CF--Gehaeuse-.html">Bundle</a> bestehend aus dem Alix, Gehäuse, CF-Karte und Netzteil beim <a href="http://www.varia-store.com/">Varia-Store</a>. Als Firewall Distribution habe ich mich für <a href="http://www.ipfire.org/de/index">IPFire</a> entschieden, Grund hierfür war die native Alix sowie VDSL Unterstützung mit VLAN7 und 8 für IPTV, zusätzlich gibt es ein Paket für den notwendigen igmpproxy.</p>
<p>Das ganze Teil funktionert wirklich perfekt und die Performance gerade beim VPN ist deutlich besser als bei meinem vorherigen Telekomrouter bzw. der gefritzten Version davon. Die Installation ist sogar Schritt für Schritt in der <a href="http://wiki.ipfire.org/fr/installation/start#installation_auf_einem_alix-board">Dokumentation</a> beschrieben.</p>
<p>Das letzte große Update von IPFire 2.5 auf 2.7 hat zwar bei der Installation ein wenig Zeit erfordert hat aber in Summe ohne Fehler funktioniert, spricht also für die Qualitativ hochwertige Arbeit in der IPFire Distribution</p>
<p>Alles in allem ein gelungenes Paket und jedem weiter zu empfehlen der ein Händchen für Hardware und Linux hat.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/08/05/alix-2d13-als-firewall/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Apps</title>
		<link>http://blog.streb.name/2010/01/13/google-apps/</link>
		<comments>http://blog.streb.name/2010/01/13/google-apps/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 17:29:06 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[google apps]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=293</guid>
		<description><![CDATA[Nach langer Zeit habe ich mich entschieden meinen eigenen Mailserver hinter der DSL Leitung zu entsorgen.

Die neue Plattform für mich ist dabei Google apps, ein kostenloser Dienst den Google zur Verfügung stellt. Die Besonderheit hierbei ist die Verwendung eigener Domains, in meinem Fall "streb.name"

Google apps bietet ähnlich einem "normalen" GMail Konto folgende features:

	Google Mail ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://www.google.com/intl/de/images/logos/apps_logo.gif" alt="Goolge apps Logo" width="161" height="40" />Nach langer Zeit habe ich mich entschieden meinen eigenen Mailserver hinter der DSL Leitung zu entsorgen.</p>
<p>Die neue Plattform für mich ist dabei Google apps, ein kostenloser Dienst den Google zur Verfügung stellt. Die Besonderheit hierbei ist die Verwendung eigener Domains, in meinem Fall "streb.name"</p>
<p>Google apps bietet ähnlich einem "normalen" GMail Konto folgende features:</p>
<ul>
<li>Google Mail mit eigener Domain und einem unschlagbaren SPAM-Filter</li>
<li>Google Sites</li>
<li>Google Docs</li>
<li>Google Calendar</li>
<li>Google Contacts</li>
<li>und final Google Talk (ein Jabber Account mit der eigenen Domain)</li>
</ul>
<p>Von den zur Verfügung stehenden apps nutze ich aktuell "nur" GMail und Google Talk mit einem ICQ Transport, zu finden ist eine Liste von "offenen" Jabberservern mit Transports unter: <a href="http://www.jabberes.org/servers/">http://www.jabberes.org/servers/</a></p>
<p>Für die Umstellung an sich ist nicht viel notwendig, ein beispielhaftes Zonenfile für die Nutzung von Google apps findet sich <a href="http://owahab.com/content/google-apps-bind-zone-file">hier</a>. Einzig mit Google Talk und Jabber Services auf anderen Jabberservern, für z.B. ICQ oder AIM Transports gab es etwas Probleme die jedoch durch Ergänzen der bei mir fehlenden SRV Records im DNS gelöst werden konnten.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2010/01/13/google-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>File merge am Mac</title>
		<link>http://blog.streb.name/2009/12/28/file-merge-am-mac/</link>
		<comments>http://blog.streb.name/2009/12/28/file-merge-am-mac/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 10:20:34 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[merge]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=277</guid>
		<description><![CDATA[Vor kurzem hatte ich das Problem zwei Dateien mergen zu müssen, d.h. die Dateien haben den gleichen Ursprung aber beide wurden parallel weiter editiert.

Um diese wieder zusammenzuführen hilft opendiff am Mac, enthalten ist das Tool in XCode.







Um den gewünschten Inhalt der neuen Datei auszuwählen einfach rechts unter bei Actions den gewünschten merge Mechanismus auswählen.]]></description>
			<content:encoded><![CDATA[<p>Vor kurzem hatte ich das Problem zwei Dateien mergen zu müssen, d.h. die Dateien haben den gleichen Ursprung aber beide wurden parallel weiter editiert.</p>
<p>Um diese wieder zusammenzuführen hilft opendiff am Mac, enthalten ist das Tool in <a href="http://developer.apple.com/tools/xcode/">XCode</a>.</p>
<p><a href="http://blog.streb.name/wp-content/uploads/2009/12/Terminal_diff.jpg" rel="lightbox[277]"><br />
<img class="aligncenter size-medium wp-image-283" title="Terminal_diff" src="http://blog.streb.name/wp-content/uploads/2009/12/Terminal_diff-300x195.jpg" alt="" width="300" height="195" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://blog.streb.name/wp-content/uploads/2009/12/Terminal_diff.jpg" rel="lightbox[277]"></a></p>
<p><a href="http://blog.streb.name/wp-content/uploads/2009/12/FileMerge.jpg" rel="lightbox[277]"><img class="aligncenter size-medium wp-image-282" title="FileMerge" src="http://blog.streb.name/wp-content/uploads/2009/12/FileMerge-300x178.jpg" alt="" width="300" height="178" /></a></p>
<p>Um den gewünschten Inhalt der neuen Datei auszuwählen einfach rechts unter bei Actions den gewünschten merge Mechanismus auswählen.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2009/12/28/file-merge-am-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TimeMachine und iSCSI</title>
		<link>http://blog.streb.name/2009/12/18/timemachine-und-iscsi/</link>
		<comments>http://blog.streb.name/2009/12/18/timemachine-und-iscsi/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 08:00:25 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=262</guid>
		<description><![CDATA[Nachdem mein TimeMachine Backup auf einen SMB Share nach einiger Zeit wegen Problemen mit dem Image Probleme gemacht hat habe ich mich dazu entschlossen einen neuen Weg zu suchen. Aktuell wird für das Storage iSCSI auf einen Linux Server verwendet. Benötigt wird hierfür lediglich das iSCSI Target unter Linux (in diesem fall Debian) und ...]]></description>
			<content:encoded><![CDATA[<p>Nachdem mein TimeMachine Backup auf einen SMB Share nach einiger Zeit wegen Problemen mit dem Image Probleme gemacht hat habe ich mich dazu entschlossen einen neuen Weg zu suchen. Aktuell wird für das Storage iSCSI auf einen Linux Server verwendet. Benötigt wird hierfür lediglich das iSCSI Target unter Linux (in diesem fall Debian) und ein iSCSI Initiator für den Mac da sowohl in Leopard als auch Snow Leopard iSCSI nicht nativ unterstützt wird.</p>
<p>Die Installation des Targets geht unter Debian mittels:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> iscsitarget iscsitarget-modules-<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p>Danach folgt die Konfiguration des Targets in <code>/etc/ietd.conf</code></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Target iqn.2009-<span style="color: #000000;">12</span>.name.streb:storage.timemachine
    Lun <span style="color: #000000;">0</span> <span style="color: #007800;">Path</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg_data<span style="color: #000000; font-weight: bold;">/</span>lv_timemachine,<span style="color: #007800;">Type</span>=blockio
    Alias Timemachine</pre></div></div>

<p>Die Konfigurationsänderung wird durch den Neustart des Target Daemons initiiert: <code>/etc/init.d/iscsitarget restart</code>.</p>
<p>Vorher muss allerdings <code>/etc/default/iscsitarget</code> editiert werden um das Starten des Daemons zu erlauben.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">ISCSITARGET_ENABLE</span>=<span style="color: #c20cb9; font-weight: bold;">true</span></pre></div></div>

<p>Um iSCSI auf dem Mac nutzbar zu machen kann "globalSAN iSCSI" verwendet werden, zu finden ist die Software hier: <a href="http://www.studionetworksolutions.com/support/faq.php?pi=11&amp;fi=51">http://www.studionetworksolutions.com/support/faq.php?pi=11&amp;fi=51</a>.<br />
Nach erfolgreicher Installation kann das Volume eingebunden werden.<br />
Zum setzen der Einstellungen bringt globalSAN ein SystemPref mit in dem unter "Portal" der iSCSI Target Host zu setzten ist.</p>
<div id="attachment_268" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-268 " title="iscsi_portal" src="http://blog.streb.name/wp-content/uploads/2009/12/iscsi_portal-300x234.jpg" alt="globalSAN iSCSI Portal" width="300" height="234" /><p class="wp-caption-text">globalSAN iSCSI Portal</p></div>
<p>Danach werden unter "Targets" die zur Verfügung gestellten Dateisysteme sichtbar.</p>
<div id="attachment_270" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-270 " title="iscsi_target" src="http://blog.streb.name/wp-content/uploads/2009/12/iscsi_target-300x234.jpg" alt="globalSAN iSCSI Target" width="300" height="234" /><p class="wp-caption-text">globalSAN iSCSI Target</p></div>
<p>Danach wird TimeMachine wie gewohnt auf das neue Volume gesetzt und los gehts.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2009/12/18/timemachine-und-iscsi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenNMS Prowl Alerts</title>
		<link>http://blog.streb.name/2009/12/14/opennms-prowl-alerts/</link>
		<comments>http://blog.streb.name/2009/12/14/opennms-prowl-alerts/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 08:02:43 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[opennms]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[prowl]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=240</guid>
		<description><![CDATA[Nachdem ich als iPhone Nutzer auch Prowl installiert habe ging es nun darum mein OpenNMS mit Prowl für die Alarmierung zu koppeln.
Da Prowl eine gut beschriebene API bietet und ebenfalls fertige Skripte für diese in verschiedenen Sprachen (Perl,Python,...) zur Verfügung stellt habe ich mich für diese Variante entschieden.
Benutzt habe ich hierfür die Perl Variante, ...]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich als iPhone Nutzer auch <a href="http://prowl.weks.net/">Prowl</a> installiert habe ging es nun darum mein OpenNMS mit Prowl für die Alarmierung zu koppeln.<br />
Da Prowl eine gut beschriebene <a href="http://prowl.weks.net/api.php">API</a> bietet und ebenfalls fertige Skripte für diese in verschiedenen Sprachen (Perl,Python,...) zur Verfügung stellt habe ich mich für diese Variante entschieden.<br />
Benutzt habe ich hierfür die Perl Variante, downloadbar ist prowl.pl <a href="http://prowl.weks.net/static/prowl.pl">hier</a>. </p>
<p>Allerdings gab es bei der Parameterübergabe(API Key, Application, usw.) aus OpenNMS an prowl.pl etwas Schwierigkeiten. Lösung des Problems ist ein kleiner Wrapper der von OpenNMS aufgerufen wird und im Hintergrund entsprechend parametrisiert prowl.pl aufruft.</p>
<p><strong>prowl_wrapper.pl</strong></p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl -w</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$prowl</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/usr/local/bin/prowl.pl&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$apikey</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$application</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;OpenNMS&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$priority</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$event</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;Alert&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$msg</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span><span style="color: #000000; font-weight: bold;">ARGV</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #0000ff;">$msg</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">$_</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$cmd</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$prowl</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot; -apikey &quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$apikey</span><span style="color: #339933;">.</span>
<span style="color: #ff0000;">&quot; -application=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$application</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> -priority=&quot;</span><span style="color: #339933;">.</span>
<span style="color: #0000ff;">$priority</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot; -event=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$event</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> -notification=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$msg</span><span style="color: #339933;">.</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$return</span> <span style="color: #339933;">=</span> <span style="color: #000066;">qx</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$cmd</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">print</span> <span style="color: #0000ff;">$return</span><span style="color: #339933;">;</span></pre></div></div>

<p>Wichtig ist hier die jeweiligen Prowl API-Key für den Wrapper richtig anzupassen, hierfür habe ich die PagerEmail Adresse in OpenNMS verwendet um so für jeden Kontakt eine andere angeben zu können.</p>
<p>Anbei finden sich die notwendigen configs für OpenNMS:</p>
<p><strong>notificationCommands.xml</strong></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;command</span> <span style="color: #000066;">binary</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>notifyProwl<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;execute<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/usr/local/bin/prowl_wrapper.pl<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/execute<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;comment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>send Prowl notifications<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/comment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;argument</span> <span style="color: #000066;">streamed</span>=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;switch<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>-pemail<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/switch<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/argument<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;argument</span> <span style="color: #000066;">streamed</span>=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;switch<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>-subject<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/switch<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/argument<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/command<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2009/12/14/opennms-prowl-alerts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>rootdelay beim Linux Boot</title>
		<link>http://blog.streb.name/2009/12/10/rootdelay-beim-linux-boot/</link>
		<comments>http://blog.streb.name/2009/12/10/rootdelay-beim-linux-boot/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 17:54:40 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rootdelay]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=235</guid>
		<description><![CDATA[Gerade eben hatte ich bei einer nagelneuen Linux Installation ein Problem beim ersten Booten des neuen Systems. Der Fehler war nicht von Anfang an ersichtlich, nach längerem Debugging hat sich der Fehler wie folgt dargestellt:

Beim Übergang vom Initrd zum Kernel und dem Mounten des Filesystems meldete Grub folgenden Fehler:


ALERT! /dev/sda2 does not exist. Dropping ...]]></description>
			<content:encoded><![CDATA[<p>Gerade eben hatte ich bei einer nagelneuen Linux Installation ein Problem beim ersten Booten des neuen Systems. Der Fehler war nicht von Anfang an ersichtlich, nach längerem Debugging hat sich der Fehler wie folgt dargestellt:</p>
<p>Beim Übergang vom Initrd zum Kernel und dem Mounten des Filesystems meldete Grub folgenden Fehler:</p>
<p><code>
ALERT! /dev/sda2 does not exist. Dropping to a shell!
</code></p>
<p>Danach begrüßte mich eine BusyBox Shell von der ich leider nicht weiter kam.</p>
<p>Problem war schlicht das beim Laden des SAS-Controller Modules (mptsas) braucht das System viel zu lange um die Platten zu finden und bricht mit einem Timeout ab.</p>
<p>Der Fehler lässt sich durch den Parameter</p>
<p><code>
rootdelay=45
</code></p>
<p>in der Kernel Commandline beheben.</p>
<p>Siehe auch <a href="https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/278176">hier bei Launchpad</a> beschrieben.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2009/12/10/rootdelay-beim-linux-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

