<?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>chr.istoph, der Blog</title>
	<atom:link href="http://blog.chr.istoph.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chr.istoph.de</link>
	<description>living in a cloud</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>tail -f color</title>
		<link>http://blog.chr.istoph.de/tail-f-color/</link>
		<comments>http://blog.chr.istoph.de/tail-f-color/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 09:51:51 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4228</guid>
		<description><![CDATA[Heute musste ich den ganzen Tage ein Log File überwachen. Damit das nicht zu anstrengend wird und man Fahler nicht übersieht, habe ich das Log File einfach eingefärbt. tail -F file.log &#124; awk ' /FATAL/ {print "\033[31m" $0 "\033[39m"} /WARN/ {print "\033[33m" $0 "\033[39m"} /INFO/ {print "\033[32m" $0 "\033[39m"} ']]></description>
			<content:encoded><![CDATA[<p>Heute musste ich den ganzen Tage ein Log File überwachen. Damit das nicht zu anstrengend wird und man Fahler nicht übersieht, habe ich das Log File einfach eingefärbt. </p>
<p><code>tail -F file.log | awk '<br />
   /FATAL/ {print "\033[31m" $0 "\033[39m"}<br />
   /WARN/ {print "\033[33m" $0 "\033[39m"}<br />
   /INFO/ {print "\033[32m" $0 "\033[39m"}<br />
'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/tail-f-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Das Verhältnis unseres Planetensystem</title>
		<link>http://blog.chr.istoph.de/das-verhaltnis-unseres-planetensystem/</link>
		<comments>http://blog.chr.istoph.de/das-verhaltnis-unseres-planetensystem/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 23:38:23 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Astronomie]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4216</guid>
		<description><![CDATA[Das Verhältnis von Abständen und Größe von Sonne und Planeten in unserem Sonnensystem wird eigentlich immer falsch dargestellt. Deswegen wollte ich versuchen dies mal Nachzubilden und bin zu der tollen Erkenntnis gekommen das auch ich die Verhältnisse nicht hin bekomme. Damit man noch was außer der Sonne erkenne musste ich im den Faktor 1 zu [...]]]></description>
			<content:encoded><![CDATA[<p>Das Verhältnis von Abständen und Größe von Sonne und Planeten in unserem Sonnensystem wird eigentlich immer falsch dargestellt. Deswegen wollte ich versuchen dies mal Nachzubilden und bin zu der tollen Erkenntnis gekommen das auch ich die Verhältnisse nicht hin bekomme. Damit man noch was außer der Sonne erkenne musste ich im den Faktor 1 zu 100 pfuschen.</p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/verhaeltins-planetensystem.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/verhaeltins-planetensystem.png" alt="" title="verhaeltins-planetensystem" width="750" height="113" class="alignnone size-full wp-image-4219" /></a></p>
<p>Hier Gehst zum <a href="http://blog.christoph-hueffelmann.de/planetensystem/" target="_blank">blog.christoph-hueffelmann.de/planetensystem/</a>. </p>
<p>Meine Planetensystem ist insgesamt 9000x9000px groß. Deswegen muss man in die Mitte scrollen um die Sonne zu finden. Zukünftig sollen sich die Planeten auch noch Bewegen. Dann mehr... </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/das-verhaltnis-unseres-planetensystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paketquelle anzeigen</title>
		<link>http://blog.chr.istoph.de/paketquelle-anzeigen/</link>
		<comments>http://blog.chr.istoph.de/paketquelle-anzeigen/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 11:12:23 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4198</guid>
		<description><![CDATA[Da ich gerade mal wieder eine Viertelstunde damit vertan habe, diesen Befehl zu finden, dokumentiere ich ihn hier. Ich suchte den Befehl, mit dem ich sehen kann, aus welcher Paktequelle ein Programm kommt. Dies bauchte ich um heraus zu finden ob das Paket ggf. aus einer PPA kommt. apt-cache policy qemu qemu: Installiert: (keine) Kandidat: [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich gerade mal wieder eine Viertelstunde damit vertan habe, diesen Befehl zu finden, dokumentiere ich ihn hier.</p>
<p>Ich suchte den Befehl, mit dem ich sehen kann, aus welcher Paktequelle ein Programm kommt. Dies bauchte ich um heraus zu finden ob das Paket ggf. aus einer PPA kommt.</p>
<pre>apt-cache policy qemu
qemu:
  Installiert: (keine)
  Kandidat: 0.12.3+noroms-0ubuntu9.16
  Versions-Tabelle:
     0.12.3+noroms-0ubuntu9.16 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid-updates/universe Packages
     0.12.3+noroms-0ubuntu9.15 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid-security/universe Packages
     0.12.3+noroms-0ubuntu9 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid/universe Packages</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/paketquelle-anzeigen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>9AA38DCD55BE302B</title>
		<link>http://blog.chr.istoph.de/9aa38dcd55be302b/</link>
		<comments>http://blog.chr.istoph.de/9aa38dcd55be302b/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 18:00:14 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4171</guid>
		<description><![CDATA[Da hatte ich mal wieder ein uhr alles etch in die finger bekommen, das auch noch veraltetet Schlüssel hatte. server:~# apt-get update Get:1 http://archive.debian.org etch Release.gpg [1033B] Hit http://archive.debian.org etch Release Ign http://archive.debian.org etch/main Packages/DiffIndex Ign http://archive.debian.org etch/non-free Packages/DiffIndex Ign http://archive.debian.org etch/contrib Packages/DiffIndex Ign http://archive.debian.org etch/main Sources/DiffIndex Ign http://archive.debian.org etch/non-free Sources/DiffIndex Ign http://archive.debian.org etch/contrib Sources/DiffIndex [...]]]></description>
			<content:encoded><![CDATA[<p>Da hatte ich mal wieder ein uhr alles etch in die finger bekommen, das auch noch veraltetet Schlüssel hatte. </p>
<p><code>server:~# apt-get update<br />
Get:1 http://archive.debian.org etch Release.gpg [1033B]<br />
Hit http://archive.debian.org etch Release<br />
Ign http://archive.debian.org etch/main Packages/DiffIndex<br />
Ign http://archive.debian.org etch/non-free Packages/DiffIndex<br />
Ign http://archive.debian.org etch/contrib Packages/DiffIndex<br />
Ign http://archive.debian.org etch/main Sources/DiffIndex<br />
Ign http://archive.debian.org etch/non-free Sources/DiffIndex<br />
Ign http://archive.debian.org etch/contrib Sources/DiffIndex<br />
Hit http://archive.debian.org etch/main Packages<br />
Hit http://archive.debian.org etch/non-free Packages<br />
Hit http://archive.debian.org etch/contrib Packages<br />
Hit http://archive.debian.org etch/main Sources<br />
Hit http://archive.debian.org etch/non-free Sources<br />
Hit http://archive.debian.org etch/contrib Sources<br />
Fetched 1B in 0s (3B/s)<br />
Reading package lists... Done<br />
W: There is no public key available for the following key IDs:<br />
9AA38DCD55BE302B<br />
W: You may want to run apt-get update to correct these problems<br />
</code></p>
<p>Google verwies auf die lösung mit dem netten Server wwwkeys.eu.pgp.net der aber nicht auflösbar war.<br />
<code>server:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B<br />
gpg: requesting key 55BE302B from hkp server wwwkeys.eu.pgp.net<br />
?: wwwkeys.eu.pgp.net: Host not found<br />
gpgkeys: HTTP fetch error 7: couldn't connect: Success<br />
gpg: no valid OpenPGP data found.<br />
gpg: Total number processed: 0<br />
</code></p>
<p>Die Lösung für das problem war ein andere Key Server:<br />
<code>server:~# gpg --keyserver subkeys.pgp.net --recv-key 9AA38DCD55BE302B<br />
gpg: requesting key 55BE302B from hkp server subkeys.pgp.net<br />
gpg: /root/.gnupg/trustdb.gpg: trustdb created<br />
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" imported<br />
gpg: no ultimately trusted keys found<br />
gpg: Total number processed: 1<br />
gpg:               imported: 1  (RSA: 1)<br />
server:~# gpg --armor --export 9AA38DCD55BE302B | apt-key add -<br />
OK</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/9aa38dcd55be302b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1und1 Firewall</title>
		<link>http://blog.chr.istoph.de/1und1-firewall/</link>
		<comments>http://blog.chr.istoph.de/1und1-firewall/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 21:00:52 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4153</guid>
		<description><![CDATA[Oh man wie schlecht. 1und1 hat eine Firewall die 15 Minuten zum Aktualisierung baucht. Vermutlich gibt es dann für alle kunden alle 15 Minuten einen Aussetzer.]]></description>
			<content:encoded><![CDATA[<p>Oh man wie schlecht. 1und1 hat eine Firewall die 15 Minuten zum Aktualisierung baucht. Vermutlich gibt es dann für alle kunden alle 15 Minuten einen Aussetzer. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/1-1-Control-Center-Chromium.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/1-1-Control-Center-Chromium.png" alt="" title="1-1-Control-Center - Chromium" width="499" height="275" class="alignnone size-full wp-image-4156" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/1und1-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Could not find source tarball busybox</title>
		<link>http://blog.chr.istoph.de/could-not-find-source-tarball-busybox/</link>
		<comments>http://blog.chr.istoph.de/could-not-find-source-tarball-busybox/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 13:49:24 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Gentoo]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4135</guid>
		<description><![CDATA[Da habe ich mal wieder etc-update vergessen. ... * Gentoo Linux Genkernel; Version 3.4.23 * Running with options: ramdisk Could not find source tarball /var/cache/genkernel/src/busybox-1.18.1.tar.bz2. Please refetch. gentoo # etc-update Scanning Configuration files... The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. [...]]]></description>
			<content:encoded><![CDATA[<p>Da habe ich mal wieder <code>etc-update</code> vergessen.<br />
<code>...<br />
* Gentoo Linux Genkernel; Version 3.4.23<br />
* Running with options: ramdisk</p>
<p>Could not find source tarball /var/cache/genkernel/src/busybox-1.18.1.tar.bz2. Please refetch.<br />
gentoo # etc-update<br />
Scanning Configuration files...<br />
The following is the list of files which need updating, each<br />
configuration file is followed by a list of possible replacement files.<br />
1) /etc/genkernel.conf (1)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/could-not-find-source-tarball-busybox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alle Amazon Web Service EC2 Instanzen rebooten</title>
		<link>http://blog.chr.istoph.de/alle-aws-instanzen-rebooten/</link>
		<comments>http://blog.chr.istoph.de/alle-aws-instanzen-rebooten/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 18:00:04 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Cloud]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4108</guid>
		<description><![CDATA[Heute musste ich mal alle AWS Instanzen neustarten. Dafür habe ich alle Aktiven Instanzen heraus gegept und in eine TMP Datei geschrieben. Diese habe ich dann zum neustarten der Server verwendet. [UPDATE] Das gilt natürlich nur dann wenn man auch seien SSH-KEY hinterlegt hat. [/UPDATE] #!/bin/bash export EC2_PRIVATE_KEY=$&#40;pwd&#41;/pk-xxx.pem export EC2_CERT=$&#40;pwd&#41;/cert-xxx.pem tmp=$&#40;mktemp&#41; &#160; ec2-describe-instances &#124; grep [...]]]></description>
			<content:encoded><![CDATA[<p>Heute musste ich mal alle AWS Instanzen neustarten. Dafür habe ich alle Aktiven Instanzen heraus gegept und in eine TMP Datei geschrieben. Diese habe ich dann zum neustarten der Server verwendet.<br />
[UPDATE] Das gilt natürlich nur dann wenn man auch seien SSH-KEY hinterlegt hat. [/UPDATE]</p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_PRIVATE_KEY=</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>/pk-xxx.pem
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_CERT=</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>/cert-xxx.pem
<span style="color: #007800;">tmp=</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">mktemp</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
ec2-describe-instances | <span style="color: #c20cb9; font-weight: bold;">grep</span> INSTANCE | <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $4}'</span> &gt; <span style="color: #007800;">$tmp</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> server; <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;${server}&quot;</span>
	<span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #ff0000;">&quot;${server}&quot;</span> <span style="color: #ff0000;">&quot;reboot&quot;</span> <span style="color: #000000;">1</span>&gt;/dev/null &lt; /dev/null &amp;
	<span style="color: #c20cb9; font-weight: bold;">sleep</span> .<span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">done</span> &lt; <span style="color: #007800;">$tmp</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$tmp</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/alle-aws-instanzen-rebooten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tinc Debugging</title>
		<link>http://blog.chr.istoph.de/tinc-debugging/</link>
		<comments>http://blog.chr.istoph.de/tinc-debugging/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 15:22:41 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Tinc]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4093</guid>
		<description><![CDATA[Um Tinc besser Debuggen zu können kann man das syslog einfach in den Hintergrund schreiben und mittels killall -USR2 tincd anstupsen. Das sieht dann folgender massen aus. tail -F /var/log/syslog &#038; ... killall -USR2 tincd srv01 tinc.vpn[28369]: Statistics for Linux tun/tap device (tun mode) /dev/net/tun: srv01 tinc.vpn[28369]: total bytes in: 294 srv01 tinc.vpn[28369]: total bytes [...]]]></description>
			<content:encoded><![CDATA[<p>Um Tinc besser Debuggen zu können kann man das syslog einfach in den Hintergrund schreiben und mittels <code>killall -USR2 tincd</code> anstupsen. Das sieht dann folgender massen aus. </p>
<p><code>tail -F /var/log/syslog &<br />
...<br />
killall -USR2 tincd<br />
srv01 tinc.vpn[28369]: Statistics for Linux tun/tap device (tun mode) /dev/net/tun:<br />
srv01 tinc.vpn[28369]:  total bytes in:         294<br />
srv01 tinc.vpn[28369]:  total bytes out:        294<br />
srv01 tinc.vpn[28369]: Nodes:<br />
srv01 tinc.vpn[28369]:  srv02 at 1.2.3.4 port 655 cipher 91 digest 64 maclength 4 compression 0 options d status 003a nexthop srv01 via srv01 pmtu 1451 (min 1451 max 1451)<br />
srv01 tinc.vpn[28369]: End of nodes.<br />
srv01 tinc.vpn[28369]: Edges:<br />
srv01 tinc.vpn[28369]:  srv02 to srv01 at 1.2.3.4 port 655 options d weight 328<br />
srv01 tinc.vpn[28369]:  srv01 to srv02 at 1.2.3.5 port 655 options d weight 328<br />
srv01 tinc.vpn[28369]: End of edges.<br />
srv01 tinc.vpn[28369]: Subnet list:<br />
srv01 tinc.vpn[28369]:  192.168.0.0/24#10 owner srv01<br />
srv01 tinc.vpn[28369]: End of subnet list.</code></p>
<p>Mit <code>fg</code> und <code>STRG + C</code> kann man das <code>teil -F </code>wieder aus dem Hintergrund holen und beenden. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/tinc-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tinc und GIT</title>
		<link>http://blog.chr.istoph.de/tinc-und-git/</link>
		<comments>http://blog.chr.istoph.de/tinc-und-git/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:01:56 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Tinc]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3997</guid>
		<description><![CDATA[Tinc ist im gegenstart zu OpenVPN eine mash vpn. Damit dies funktioniert müssen aber auf jemden Server die öffentlichen Schüssel/Konfigurationsdateien bekannt sein. Um diese Schlüssel zu verteilen verwende ich GIT. Hier ein aufbau zwischen zwei Servern (SRV01/SRV02). Jeweils habe den Ordner /opt/git/ erstell und das Git ausgeschekt. Den VPN Ordner habe ich dann mittels eines [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tinc-vpn.org/" target="_blank">Tinc</a> ist im gegenstart zu OpenVPN eine <a href="http://de.wikipedia.org/wiki/Vermaschtes_Netz" target="_blank">mash</a> vpn. Damit dies funktioniert müssen aber auf jemden Server die öffentlichen Schüssel/Konfigurationsdateien bekannt sein. Um diese Schlüssel zu verteilen verwende ich <a href="/linux/git/">GIT</a>.</p>
<p>Hier ein aufbau zwischen zwei Servern (SRV01/SRV02). Jeweils habe den Ordner <em>/opt/git/</em> erstell und das Git ausgeschekt. Den VPN Ordner habe ich dann mittels eines Symlinks ins <em>/etc/tinc</em> Verzeichnis gelinkt.<br />
<code>ln -s /opt/git/vpn.tinc/vpn /etc/tinc/vpn</code></p>
<p>Folgende Daten und Ordner befinden sich in meinem Git. Mittels der <em>.d</em> Verzeichnisse werden die einzelne Dateien auf den Servern gelinkt (siehe unten).<br />
<code>/etc/tinc/vpn/<br />
hosts<br />
hosts/srv01<br />
hosts/srv02<br />
tinc.conf.d<br />
tinc.conf.d/srv01.conf<br />
tinc.conf.d/srv02.conf<br />
up.d<br />
up.d/srv01-up<br />
up.d/srv02-up<br />
down.d<br />
down.d/down</code></p>
<p>Die Dateien im einzelnen.<br />
<strong>--- SRV01 ---</strong><br />
<em>hosts/srv01</em>:</p>
<pre class="ini"><span style="color: #000099;">Name </span>=<span style="color: #660066;"> srv01</span>
<span style="color: #000099;">Address </span>=<span style="color: #660066;"> srv01.chr.istoph.de</span>
<span style="color: #000099;">Cipher </span>=<span style="color: #660066;"> blowfish</span>
<span style="color: #000099;">Digest </span>=<span style="color: #660066;"> sha1</span>
<span style="color: #000099;">IndirectData </span>=<span style="color: #660066;"> yes</span>
<span style="color: #000099;">Subnet </span>=<span style="color: #660066;"> <span style="">10.8</span><span style="">.0</span><span style="">.1</span>/<span style="">32</span></span>
<span style="color: #000099;">Subnet </span>=<span style="color: #660066;"> <span style="">192.168</span><span style="">.0</span><span style="">.1</span>/<span style="">24</span></span></pre>
<p>Wichtig: bei Subnet muss einmal die Lokale Adresse auf die gelauscht werden soll mit /32 angegeben werden. Das zweite Subnet ist nur beispielhaft für weiteres netz das sich hinter SRV01 befindet. </p>
<p><em>tinc.conf.d/srv01.conf</em>:</p>
<pre class="ini"><span style="color: #000099;">Name </span>=<span style="color: #660066;"> srv01</span>
<span style="color: #000099;">AddressFamily </span>=<span style="color: #660066;"> ipv4</span>
<span style="color: #000099;">BindToInterface </span>=<span style="color: #660066;"> eth0</span>
<span style="color: #000099;">ConnectTo </span>=<span style="color: #660066;"> srv02</span>
<span style="color: #000099;">Device </span>=<span style="color: #660066;"> /dev/net/tun</span>
<span style="color: #000099;">Mode </span>=<span style="color: #660066;"> router</span>
<span style="color: #000099;">KeyExpire </span>=<span style="color: #660066;"> <span style="">3600</span></span>
<span style="color: #000099;">PrivateKeyFile </span>=<span style="color: #660066;"> /etc/tinc/vpn/rsa_key.priv</span></pre>
<p><em>up.d/srv01-up</em>:</p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
ip addr add <span style="color: #000000;">10.8</span><span style="color: #000000;">.0</span><span style="color: #000000;">.1</span>/<span style="color: #000000;">24</span> dev vpn
ip <span style="color: #c20cb9; font-weight: bold;">link</span> <span style="color: #000000; font-weight: bold;">set</span> vpn up</pre>
<p><em>down.d/down</em>:</p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span></pre>
<p>Auf SRV01 müssen dann natürlich nur folgende Symlinks erstellt werden.<br />
<code>ln -s tinc.conf.d/srv01.conf tinc.conf<br />
ln -s up.d/srv01-up tinc-up<br />
ln -s down.d/down tinc-down</code></p>
<p><strong>--- SRV02 ---</strong><br />
<em>hosts/srv02</em>:</p>
<pre class="ini"><span style="color: #000099;">Name </span>=<span style="color: #660066;"> srv02</span>
<span style="color: #000099;">Address </span>=<span style="color: #660066;"> srv02.chr.istoph.de</span>
<span style="color: #000099;">Cipher </span>=<span style="color: #660066;"> blowfish</span>
<span style="color: #000099;">Digest </span>=<span style="color: #660066;"> sha1</span>
<span style="color: #000099;">IndirectData </span>=<span style="color: #660066;"> yes</span>
<span style="color: #000099;">Subnet </span>=<span style="color: #660066;"> <span style="">10.8</span><span style="">.0</span><span style="">.2</span>/<span style="">32</span></span></pre>
<p><em>tinc.conf.d/srv02.conf</em>:</p>
<pre class="ini"><span style="color: #000099;">Name </span>=<span style="color: #660066;"> srv02</span>
<span style="color: #000099;">AddressFamily </span>=<span style="color: #660066;"> ipv4</span>
<span style="color: #000099;">BindToInterface </span>=<span style="color: #660066;"> eth0</span>
<span style="color: #000099;">ConnectTo </span>=<span style="color: #660066;"> srv01</span>
<span style="color: #000099;">Device </span>=<span style="color: #660066;"> /dev/net/tun</span>
<span style="color: #000099;">Mode </span>=<span style="color: #660066;"> router</span>
<span style="color: #000099;">KeyExpire </span>=<span style="color: #660066;"> <span style="">3600</span></span>
<span style="color: #000099;">PrivateKeyFile </span>=<span style="color: #660066;"> /etc/tinc/vpn/rsa_key.priv</span></pre>
<p><em>up.d/srv02-up</em>:</p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
ip addr add <span style="color: #000000;">10.8</span><span style="color: #000000;">.0</span><span style="color: #000000;">.2</span>/<span style="color: #000000;">24</span> dev vpn
ip <span style="color: #c20cb9; font-weight: bold;">link</span> <span style="color: #000000; font-weight: bold;">set</span> vpn up</pre>
<p><code>ln -s tinc.conf.d/srv02.conf tinc.conf<br />
ln -s up.d/srv02-up tinc-up<br />
ln -s down.d/down tinc-down</code><br />
<strong>--- END ---</strong></p>
<p>Nach dem die Dateien angelegt sind können auf dem jeweiligen Server (SRV01 / SEV02), die Keys erstellt werden.<br />
<code>tincd --generate-keys=4096 -n vpn</code></p>
<p>Dies Legt den Privaten schlüssel <em>rsa_key.priv</em> an und legt den Öffentlichen Schlüssel in die <em>host/srv01</em> Datei. </p>
<p>Vor dem Starten von Tinc müssen die up/down Scripte noch Ausführungsrechte auf den Jeweiligen Servern bekommen.<br />
<code>chmod +x up.d/srv*<br />
chmod +x down.d/down</code></p>
<p>Nun können wir alles im GIT einchecken. Nicht vergessen nach dem einchecken von SRV01 auf SRV02 zu pullen und erst dann die Dateien anzulegen um sie zu puschen.<br />
<code>git add hosts/srv01 tinc.conf.d/srv01.conf up.d/srv01-up down.d/down<br />
git commit -m "tinc: add srv01"<br />
git puch</code></p>
<p>Wichtig hierbei ist den Privaten Schlüssel <em>rsa_key.priv</em> nicht einzucken. Auch aus Backup gründen macht dies keinen Sinn da dieser immer wieder neu erstellt werden kann. </p>
<p>Bei Ubuntu Systemen muss in der Datei <em>/etc/tinc/nets.boot</em> der Name des zu startenden Netzwerkes eingetragen werden. In unserem Fall VPN.<br />
<code>## This file contains all names of the networks to be started on system startup.<br />
vpn</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/tinc-und-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWS Amazon Web Service EC2 Scripten</title>
		<link>http://blog.chr.istoph.de/aws-amazon-web-service-ec2-scripten/</link>
		<comments>http://blog.chr.istoph.de/aws-amazon-web-service-ec2-scripten/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 19:01:48 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3937</guid>
		<description><![CDATA[Für einen Lasttest habe ich etliche AWS Micro Instanzen mit Ubuntu 10.4 benötigt, die alle vorkonfiguriert werden mussten. Da man aber nicht Tausend Instanzen von Hand Einrichten und Konfigurieren will musste mal wieder ein Script her. Als erstes braucht man die ec2-api-tools sudo apt-get install ec2-api-tools Dann habe ich ein Start Script Namens run-file.sh geschrieben, [...]]]></description>
			<content:encoded><![CDATA[<p>Für einen Lasttest habe ich etliche AWS Micro Instanzen mit Ubuntu 10.4 benötigt, die alle vorkonfiguriert werden mussten. Da man aber nicht Tausend Instanzen von Hand Einrichten und Konfigurieren will musste mal wieder ein Script her. </p>
<p>Als erstes braucht man die ec2-api-tools<br />
<code>sudo apt-get install ec2-api-tools</code></p>
<p>Dann habe ich ein Start Script Namens <code>run-file.sh</code> geschrieben, das z.b. so aussieht:<br />
<code>#!/bin/bash</p>
<p>apt-get update<br />
apt-get install -y apache2-utils<br />
ab http://blog.chr.istoph.de/</code></p>
<p>Dann habe ich die Instanzen mittels eine for Schleife gestartet.<br />
<code>for i in {1..1000}; do<br />
ec2-run-instances ami-e52ce68c --instance-type t1.micro --region us-east-1 --key ca -K pk-xxx.pem -C cert-xxx.pem -user-data-file run-file.sh<br />
done</code></p>
<p>Das starten der Instanzen sollte nicht mittels <code>&</code> in den Hintergrund geschoben werden, da das Programm ec2-run-instances ein sehr Speicherfressendes Java Programm ist. </p>
<p>Nachdem man jetzt die 1000 Instanzen eine Weile laufen gelassen hat muss man diese auch wieder beenden. Dazu kann man sich folgendermaßen alle Instanzen anzeigen:<br />
<code>ec2-describe-instances -K pk-xxx.pem -C cert-xxx.pem</code></p>
<p>Dem endsprechen kann man auch ALLE existierende Instanzen gelöscht werden:<br />
<code>ec2-terminate-instances -K pk-xxx.pem -C cert-xxx.pem $(ec2-describe-instances -K pk-xxx.pem -C cert-xxx.pem | grep INSTANCE | awk '{print $2}')</code></p>
<p><em>Quelle:  <a href=" https://help.ubuntu.com/community/CloudInit" target="_blank">help.ubuntu.com</a><br />
<a href="http://uec-images.ubuntu.com/lucid/current/" target="_blank">uec-images.ubuntu.com</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/aws-amazon-web-service-ec2-scripten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mein Galaxy Nexus</title>
		<link>http://blog.chr.istoph.de/mein-galaxy-nexus/</link>
		<comments>http://blog.chr.istoph.de/mein-galaxy-nexus/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 12:17:38 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Aktuell]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3883</guid>
		<description><![CDATA[seit gestern ist das erste Android 4.0 Handy Lieferbar und gerade per Amazone Overnight Express gekommen.]]></description>
			<content:encoded><![CDATA[<p>seit gestern ist das erste Android 4.0 Handy Lieferbar und gerade per Amazone Overnight Express gekommen.</p>
<p><center><a href="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus03.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus03.jpg" alt="" title="galaxy-nexus03" width="325" class="alignnone size-full wp-image-3886" /></a></center></p>
<p><center><a href="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus01.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus01.jpg" alt="" title="galaxy-nexus01" height="500"  class="alignnone size-full wp-image-3889" /></a><a href="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus02.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/galaxy-nexus02.jpg" alt="" title="galaxy-nexus02"  height="500" class="alignnone size-full wp-image-3892" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/mein-galaxy-nexus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSH Fingerprinte im DNS</title>
		<link>http://blog.chr.istoph.de/openssh-fingerprinte-im-dns/</link>
		<comments>http://blog.chr.istoph.de/openssh-fingerprinte-im-dns/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 13:10:49 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3847</guid>
		<description><![CDATA[Jetzt habe ich endlich mal eine einfache Anleitung gefunden um OpenSSH Fingerprinte im DNS zu hinterlegen (RFC4255). Denn ssh-keygen kann diereckt den für BIND nötigen SSHFP record erstellen. root@ns01:~# ssh-keygen -r ns01.caix.de -f /etc/ssh/ssh_host_rsa_key.pub ns01.caix.de IN SSHFP 1 1 e208441777cba0459c52e8680b617b254183f711 root@ns01:~# ssh-keygen -r ns01.caix.de -f /etc/ssh/ssh_host_dsa_key.pub ns01.caix.de IN SSHFP 2 1 0476a2a57fb720fbee586b78e28490929501d8c6 Nach dem veröffentlichen [...]]]></description>
			<content:encoded><![CDATA[<p>Jetzt habe ich endlich mal eine einfache Anleitung gefunden um OpenSSH Fingerprinte im DNS zu hinterlegen (<a href="http://tools.ietf.org/html/rfc4255" target="_blank">RFC4255</a>). </p>
<p>Denn <code>ssh-keygen</code> kann diereckt den für BIND nötigen <a href="http://de.wikipedia.org/wiki/SSHFP_Resource_Record" target="_blank">SSHFP record</a> erstellen. </p>
<p><code>root@ns01:~# ssh-keygen -r ns01.caix.de -f /etc/ssh/ssh_host_rsa_key.pub<br />
ns01.caix.de IN SSHFP 1 1 e208441777cba0459c52e8680b617b254183f711<br />
root@ns01:~# ssh-keygen -r ns01.caix.de -f /etc/ssh/ssh_host_dsa_key.pub<br />
ns01.caix.de IN SSHFP 2 1 0476a2a57fb720fbee586b78e28490929501d8c6</code></p>
<p>Nach dem veröffentlichen im DNS kann mal den Record mit <code>dig</code> abrufe.<br />
<code>dig -t SSHFP ns01.caix.de</code></p>
<p><code>;; ANSWER SECTION:<br />
ns01.caix.de.		7200	IN	SSHFP	1 1 E208441777CBA0459C52E8680B617B254183F711<br />
ns01.caix.de.		7200	IN	SSHFP	2 1 0476A2A57FB720FBEE586B78E28490929501D8C6</code></p>
<p>Testen kann mal das ganze dann mit der Option <code>VerifyHostKeyDNS</code> und <code>-v</code> für den Debug mode. Die zwei entscheiden Zielen habe ich unten aufgeführt.</p>
<p><code>ssh root@ns01.caix.de -o VerifyHostKeyDNS=yes -v<br />
...<br />
debug1: found 2 insecure fingerprints in DNS<br />
debug1: matching host key fingerprint found in DNS<br />
...<br />
</code></p>
<p><em>Quelle: <a href="http://bd.hauke-lampe.de/dnssec/how-to-get-dnssec-ad-flag-with-glibc.html">bd.hauke-lampe.de</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/openssh-fingerprinte-im-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ein neuer USB Stick</title>
		<link>http://blog.chr.istoph.de/ein-neuer-usb-stick/</link>
		<comments>http://blog.chr.istoph.de/ein-neuer-usb-stick/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 20:06:53 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Speichermedien]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3835</guid>
		<description><![CDATA[diesmal ein Verbatim Store'n'Go Micro USB Device 16Gb, idVendor=18a5, idProduct=0300 # time $(dd if=/dev/zero of=/mnt/test.img bs=512 count=2048000 conv=sync) 2048000+0 records in 2048000+0 records out 1048576000 bytes (1.0 GB) copied, 57.3301 s, 18.3 MB/s real 0m57.332s user 0m0.437s sys 0m5.213s # time $(cat /mnt/test.img > /dev/zero) real 0m36.847s user 0m0.037s sys 0m1.127s]]></description>
			<content:encoded><![CDATA[<p>diesmal ein Verbatim Store'n'Go Micro USB Device 16Gb, idVendor=18a5, idProduct=0300</p>
<p><code># time $(dd if=/dev/zero of=/mnt/test.img bs=512 count=2048000 conv=sync)<br />
2048000+0 records in<br />
2048000+0 records out<br />
1048576000 bytes (1.0 GB) copied, 57.3301 s, 18.3 MB/s</p>
<p>real    0m57.332s<br />
user    0m0.437s<br />
sys     0m5.213s</code></p>
<p><code># time $(cat /mnt/test.img > /dev/zero)</p>
<p>real    0m36.847s<br />
user    0m0.037s<br />
sys     0m1.127s<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/ein-neuer-usb-stick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>date + stdin</title>
		<link>http://blog.chr.istoph.de/date-stdin/</link>
		<comments>http://blog.chr.istoph.de/date-stdin/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 23:44:18 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=3823</guid>
		<description><![CDATA[Endlich hab ich auf der Alug erfahren wie ich in einem Einzeller ein stdin mit einem Datum am Anfang der Zeilen versehe. Dies Brauche ich Natürlich nicht für Syslog sonden für logs die noch keine Zeitangaben in jeder Zeile haben. tail -f /var/log/syslog &#124; awk '{print strftime() " " $0}']]></description>
			<content:encoded><![CDATA[<p>Endlich hab ich auf der Alug erfahren wie ich in einem Einzeller ein stdin mit einem Datum am Anfang der Zeilen versehe. Dies Brauche ich Natürlich nicht für Syslog sonden für logs die noch keine Zeitangaben in jeder Zeile haben. </p>
<p><code>tail -f /var/log/syslog | awk '{print strftime() " " $0}' </code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/date-stdin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gzip vs pigz</title>
		<link>http://blog.chr.istoph.de/gzip-vs-pigz/</link>
		<comments>http://blog.chr.istoph.de/gzip-vs-pigz/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 22:00:33 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3808</guid>
		<description><![CDATA[Heute bin ich auf das Programm pigz gestossen worden. Im Gegensatze zu gzip ist es wie der Name schon sag eine "parallel implementation of gzip". Hier habe eich mal versucht es vergleichbar zumachen. # dd if=datei &#124; gzip -c &#124; dd of=/dev/null 384896+0 Datensätze ein 384896+0 Datensätze aus 197066752 Bytes (197 MB) kopiert, 2,90005 s, [...]]]></description>
			<content:encoded><![CDATA[<p>Heute bin ich auf das Programm pigz gestossen worden. Im Gegensatze zu gzip ist es wie der Name schon sag eine "parallel implementation of gzip". Hier habe eich mal versucht es vergleichbar zumachen. </p>
<p><code># dd if=datei | gzip -c | dd of=/dev/null<br />
384896+0 Datensätze ein<br />
384896+0 Datensätze aus<br />
197066752 Bytes (197 MB) kopiert, 2,90005 s, 68,0 MB/s<br />
24368+1 Datensätze ein<br />
24368+1 Datensätze aus<br />
12476596 Bytes (12 MB) kopiert, 2,89903 s, 4,3 MB/s</code></p>
<p><code># dd if=datei | pigz -c | dd of=/dev/null<br />
384896+0 Datensätze ein<br />
384896+0 Datensätze aus<br />
197066752 Bytes (197 MB) kopiert, 2,16703 s, 90,9 MB/s<br />
23787+1493 Datensätze ein<br />
24287+1 Datensätze aus<br />
12435252 Bytes (12 MB) kopiert, 2,17414 s, 5,7 MB/s</code></p>
<p>Man muss dazu sagen das die Datei aus dem cache kommt.<br />
<em>Quelle: <a href="http://www.zlib.net/pigz/" target="_blank">www.zlib.net/pigz</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/gzip-vs-pigz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IO Scheduler</title>
		<link>http://blog.chr.istoph.de/io-scheduler-2/</link>
		<comments>http://blog.chr.istoph.de/io-scheduler-2/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 09:00:25 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mdadm]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1996</guid>
		<description><![CDATA[Vor einem Jahr habe ich wegen Performance Problemen im Forum mal Leitungstest mit dem IO Scheduler gemacht. Meine Testumgebung dafür war ein Syncendes RAID. Da ich gerade festgestellt habe das ich diesen Artikel nie veröffentlicht habe stelle ich ihn hier mal online. Leider habe ich vergessen zu Dokumentiert mit welchem Kernel ich das gemacht habe. [...]]]></description>
			<content:encoded><![CDATA[<p>Vor einem Jahr habe ich wegen Performance Problemen im Forum mal Leitungstest mit dem IO Scheduler gemacht. Meine Testumgebung dafür war ein Syncendes RAID. Da ich gerade festgestellt habe das ich diesen Artikel nie veröffentlicht habe stelle ich ihn hier mal online. Leider habe ich vergessen zu Dokumentiert mit welchem Kernel ich das gemacht habe. Dem entsprechend muss das was ich hier gemacht habe eh noch mal wiederholt werden.</p>
<p>Mittels <a href="http://blog.chr.istoph.de/reshapen-beschleunigen/">speed_limit</a> habe ich das Syncen der HDs auf Maximum gestellt. </p>
<p>Dann habe ich den Scheduler verstellt.<br />
<code>cat /sys/block/sd*/queue/scheduler</code></p>
<p>Dabei kamm folgendes raus:</p>
<p>deadline 5500K/sec<br />
noop 5200K/sec<br />
anticipatory 45000K/sec<br />
cfq  39000K/sec</p>
<p>Wobei ich von cfq sehr erschrocken war. Und dies bei Gelegenheit unter anderen umstehenden noch mal überprüfen werde. </p>
<p><em>(Geschreiben am: 17.02.2010)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/io-scheduler-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Die Zeiten des at&#8217;s sind Vobei&#8230;</title>
		<link>http://blog.chr.istoph.de/die-zeiten-des-ats-sind-vobei/</link>
		<comments>http://blog.chr.istoph.de/die-zeiten-des-ats-sind-vobei/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 09:00:28 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Sprueche]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2217</guid>
		<description><![CDATA[Neulich im Chanel: 11:22 moin t... und d@nke 11:23 s/@/a/ 11:23 (die zeiten sind doch mittlerweile wirklich vorbei, oder?)]]></description>
			<content:encoded><![CDATA[<p>Neulich im Chanel:<br />
11:22 <@K...> moin t... und d@nke<br />
11:23 <@t...> s/@/a/<br />
11:23 <@t...> (die zeiten sind doch mittlerweile wirklich vorbei, oder?)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/die-zeiten-des-ats-sind-vobei/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>swap reconfigure</title>
		<link>http://blog.chr.istoph.de/swap-reconfigure/</link>
		<comments>http://blog.chr.istoph.de/swap-reconfigure/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 09:00:08 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2435</guid>
		<description><![CDATA[blkid /dev/sda5: UUID="000000000000-0000-0000-0000-000000000000" TYPE="swap" Wenn blkid keine SWAP Partition anzeigt muss dieser erst erzeugt werden. Welches der richtige Pfad ist findet man über fstab -l heraus. mkswap /dev/sda5 Anschließend den alten SWAP Pfad aus der /etc/fstab entfernen und den neuen hinzufügen: grep -v swap /etc/fstab > /etc/.fstab blkid &#124; grep swap &#124; awk '{ print [...]]]></description>
			<content:encoded><![CDATA[<p><code>blkid<br />
/dev/sda5: UUID="000000000000-0000-0000-0000-000000000000" TYPE="swap"</code></p>
<p>Wenn <em>blkid</em> keine SWAP Partition anzeigt muss dieser erst erzeugt werden. Welches der richtige Pfad ist findet man über <code>fstab -l</code> heraus.<br />
<code>mkswap /dev/sda5</code></p>
<p>Anschließend den alten SWAP Pfad aus der <em>/etc/fstab</em> entfernen und den neuen hinzufügen:<br />
<code>grep -v swap /etc/fstab > /etc/.fstab<br />
blkid | grep swap | awk '{ print $2 " none            swap    sw              0       0"}' >> /etc/.fstab<br />
mv /etc/.fstab /etc/fstab<br />
swapon -a</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/swap-reconfigure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geschützt: Die Auflösung hätte ich auch gerne</title>
		<link>http://blog.chr.istoph.de/die-auflosung-hatte-ich-auch-gerne/</link>
		<comments>http://blog.chr.istoph.de/die-auflosung-hatte-ich-auch-gerne/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 07:00:40 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=3631</guid>
		<description><![CDATA[Es gibt keine Kurzfassung, da dies ein geschützter Artikel ist.]]></description>
			<content:encoded><![CDATA[<form action="http://blog.chr.istoph.de/wp-pass.php" method="post">
<p>Dieser Artikel ist passwortgeschützt. Um ihn anzusehen, trage das Passwort bitte hier ein:</p>
<p><label for="pwbox-3631">Passwort:<br />
<input name="post_password" id="pwbox-3631" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Senden" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/die-auflosung-hatte-ich-auch-gerne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nvidia-settings</title>
		<link>http://blog.chr.istoph.de/nvidia-settings/</link>
		<comments>http://blog.chr.istoph.de/nvidia-settings/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 09:00:14 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2727</guid>
		<description><![CDATA[Öfters muss ich die Grafikeinstellungen Remote vornehmen. Wenn man dies mit X11 forwarding macht muss nvidia-settings mitgeteilt werden welchen Monitor er Editoren soll, sonnst nimmt er den lokalen. nvidia-settings -c :0.0]]></description>
			<content:encoded><![CDATA[<p>Öfters muss ich die Grafikeinstellungen Remote vornehmen. Wenn man dies mit X11 forwarding macht muss nvidia-settings mitgeteilt werden welchen Monitor er Editoren soll, sonnst nimmt er den lokalen. </p>
<p><code>nvidia-settings -c :0.0</code></p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-11.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-11.png" alt="" title="Bildschirmfoto-1" width="698" height="616" class="aligncenter size-full wp-image-2751" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/nvidia-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

