<?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>treibsand.com</title>
	<atom:link href="http://www.treibsand.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.treibsand.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Aug 2010 13:33:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>iPhone 4 hat Probleme mit Bluetooth</title>
		<link>http://www.treibsand.com/2010/08/10/iphone-4-hat-probleme-mit-bluetooth/</link>
		<comments>http://www.treibsand.com/2010/08/10/iphone-4-hat-probleme-mit-bluetooth/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:30:16 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=528</guid>
		<description><![CDATA[Ich habe mich richtig gefreut, als dieses Wochenende mein neues iPhone per DHL kam, zumal ich mich eigentlich noch darauf eingestellt hatte, dass die Lieferzeit 9 Wochen beträgt. Ich wurde nach 5 Tagen dann aber positiv überrascht. Momentan hört man ja ziemlich viel, dass das iPhone 4 starke Probleme mit der verbauten Antenne hat. Das [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: left;" title="what-is-bluetooth-technology-745447-200x200.png" src="http://www.treibsand.com/wp-content/uploads/2010/08/what-is-bluetooth-technology-745447-200x200.png" border="0" alt="Bluetooth" width="200" height="200" />Ich habe mich richtig gefreut, als dieses Wochenende mein neues iPhone per DHL kam, zumal ich mich eigentlich noch darauf eingestellt hatte, dass die Lieferzeit 9 Wochen beträgt. Ich wurde nach 5 Tagen dann aber positiv überrascht.</p>

<p><p>Momentan hört man ja ziemlich viel, dass das iPhone 4 starke Probleme mit der verbauten Antenne hat. Das kann ich überhaupt nicht nachvollziehen. Bei mir funktioniert der Empfang einwandfrei, auch wenn die entsprechende Stelle komplett von der Hand umschlossen ist.</p>
<p>Was mir allerdings recht schnell aufgefallen ist, ist dass mein Philips Stereo Bluetooth Headset nicht mehr funktioniert. Mit dem iPhone 3G hatte ich nie Probleme, auch mit iOS 4 nicht. Versuche ich allerdings das Neue mit dem Headset zu koppeln funktioniert es überhaupt nicht. Die Geräte können sich nicht finden. Wenn man danach bei Google sucht, findet man auch tatsächlich einige Leute, die genau das gleiche Problem haben.</p>
<p>Scheinbar ist die Bluetooth Implementierung in iOS4 mit dem iPhone 4 etwas wählerisch bzw. fehlerhaft geworden. So berichten mehrere Personen darüber, dass sich Headsets gar nicht koppeln lassen, die Audio Qualität sehr schlecht ist und die Bluetooth Verbindung wieder abbricht.</p>
<p>Hoffentlich gibt es bald ein iOS Update, mit welchem die Probleme behoben werden :-/</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/08/10/iphone-4-hat-probleme-mit-bluetooth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kleine C-Übung</title>
		<link>http://www.treibsand.com/2010/07/02/kleine-c-ubung/</link>
		<comments>http://www.treibsand.com/2010/07/02/kleine-c-ubung/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 08:50:06 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=520</guid>
		<description><![CDATA[Heute hat mir ein Kollege einen kleinen C Quelltext geschickt und mich gebeten, das Ergebnis mal nachzuvollziehen, ohne dabei das Programm zu kompilieren. Ich muss sagen, beim ersten Anlauf hatte ich nicht alle Werte der Variablen richtig. Es gibt doch einige Fallstricke Aber versucht es mal selber! Was kommt raus? Und bitte nicht kompilieren&#8230; #include [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hat mir ein Kollege einen kleinen C Quelltext geschickt und mich gebeten, das Ergebnis mal nachzuvollziehen, ohne dabei das Programm zu kompilieren. Ich muss sagen, beim ersten Anlauf hatte ich nicht alle Werte der Variablen richtig. Es gibt doch einige Fallstricke <img src='http://www.treibsand.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p><span id="more-520"></span></p>

<p>Aber versucht es mal selber! Was kommt raus? Und bitte <b>nicht</b> kompilieren&#8230;</p>


<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
&nbsp;
<span style="color: #993333;">int</span> func <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> a<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> b<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #993333;">static</span> <span style="color: #993333;">int</span> c <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> a <span style="color: #339933;">+</span> b <span style="color: #339933;">*</span> <span style="color: #009900;">&#40;</span>c <span style="color: #339933;">*=</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> main <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #993333;">int</span> a <span style="color: #339933;">=</span> <span style="color: #0000dd;">2</span><span style="color: #339933;">,</span> b <span style="color: #339933;">=</span> <span style="color: #0000dd;">3</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">int</span> c <span style="color: #339933;">=</span> func<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span> b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	a <span style="color: #339933;">*=</span> a<span style="color: #339933;">++;</span>
	b <span style="color: #339933;">*=</span> <span style="color: #339933;">++</span>b<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%d %d %d %d<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> a<span style="color: #339933;">,</span> b<span style="color: #339933;">,</span> c<span style="color: #339933;">,</span> func<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span> b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/07/02/kleine-c-ubung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mit Windows Sprachsteuerung Perl programmieren</title>
		<link>http://www.treibsand.com/2010/06/17/mit-windows-sprachsteuerung-perl-programmieren/</link>
		<comments>http://www.treibsand.com/2010/06/17/mit-windows-sprachsteuerung-perl-programmieren/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 13:11:01 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=517</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/KyLqUf4cdwc&#038;hl=de_DE&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KyLqUf4cdwc&#038;hl=de_DE&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/06/17/mit-windows-sprachsteuerung-perl-programmieren/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Konfigurationsdatei für Rails Anwendungen</title>
		<link>http://www.treibsand.com/2010/06/17/konfigurationsdatei-fur-rails-anwendungen/</link>
		<comments>http://www.treibsand.com/2010/06/17/konfigurationsdatei-fur-rails-anwendungen/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 11:49:14 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/2010/06/17/konfigurationsdatei-fur-rails-anwendungen/</guid>
		<description><![CDATA[Oft kommt es vor, dass man für eine Rails Anwendung neben der Datenbank noch eine benutzerdefinierte Konfigurationsdatei braucht. Allerdings ist es auch nicht wirklich lesbar bzw. schön alles in die environment.rb zu schreiben. Als gute Lösung, ohne zusätzliches Plugin könnte man eine eigene config.yml im config Ordner erstellen defaults: &#38;defaults webservice_url: http://my.webservi.ce/rpc &#160; development: &#60;&#60;: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.treibsand.com/wp-content/uploads/2010/06/rails-full.png" class="image-link" rel="lightbox[513]"><img class="linked-to-original" src="http://www.treibsand.com/wp-content/uploads/2010/06/rails-thumb.png" height="111" align="right" width="87" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a>Oft kommt es vor, dass man für eine Rails Anwendung neben der Datenbank noch eine benutzerdefinierte Konfigurationsdatei braucht. Allerdings ist es auch nicht wirklich lesbar bzw. schön alles in die <strong>environment.rb</strong> zu schreiben.</p><br />
<span id="more-513"></span></p>

<p>Als gute Lösung, ohne zusätzliches Plugin könnte man eine eigene <strong>config.yml</strong> im <strong>config</strong> Ordner erstellen</p>


<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">defaults: <span style="color:#006600; font-weight:bold;">&amp;</span>defaults
  webservice_url: http:<span style="color:#006600; font-weight:bold;">//</span>my.<span style="color:#9900CC;">webservi</span>.<span style="color:#9900CC;">ce</span><span style="color:#006600; font-weight:bold;">/</span>rpc
&nbsp;
development:
  <span style="color:#006600; font-weight:bold;">&lt;&lt;</span>: <span style="color:#006600; font-weight:bold;">*</span>defaults
&nbsp;
test:
  <span style="color:#006600; font-weight:bold;">&lt;&lt;</span>: <span style="color:#006600; font-weight:bold;">*</span>defaults
&nbsp;
production:
  <span style="color:#006600; font-weight:bold;">&lt;&lt;</span>: <span style="color:#006600; font-weight:bold;">*</span>defaults</pre></div></div>


<p>Die Datei muss dann nur noch geladen werden. Dies kann man in <strong>config/</strong><strong>initializers </strong> mit einem eigenen initializer machen</p>


<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">APP_CONFIG = <span style="color:#CC00FF; font-weight:bold;">YAML</span>.<span style="color:#9900CC;">load_file</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{RAILS_ROOT}/config/config.yml&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#91;</span>RAILS_ENV<span style="color:#006600; font-weight:bold;">&#93;</span></pre></div></div>


<p>Danach können die eingestellten Werte in der Rails Applikation einfach mit</p>


<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">webservice_url = APP_CONFIG<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'webservice_url'</span><span style="color:#006600; font-weight:bold;">&#93;</span></pre></div></div>


<p>abgefragt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/06/17/konfigurationsdatei-fur-rails-anwendungen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActiveLdap sucht subschemaSubentry</title>
		<link>http://www.treibsand.com/2010/06/16/activeldap-sucht-subschemasubentry/</link>
		<comments>http://www.treibsand.com/2010/06/16/activeldap-sucht-subschemasubentry/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 12:13:21 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=488</guid>
		<description><![CDATA[Heute bin ich über ein interessantes Problem mit OpenLDAP und ActiveLdap für Ruby gestolpert. ActiveLdap wollte mir einfach keine Ergebnisse liefern, obwohl die Abfragen gestimmt haben&#8230; Es kam immer zu folgendem Fehler&#8230; ActiveLdap::LdapError::NoSuchObject&#40;No such object&#41;: filter &#40;objectClass=subschema&#41;: attributes: &#91;&#34;objectClasses&#34;, &#34;attributeTypes&#34;, &#34;matchingRules&#34;, &#34;matchingRuleUse&#34;, &#34;dITStructureRules&#34;, &#34;dITContentRules&#34;, &#34;nameForms&#34;, &#34;ldapSyntaxes&#34;&#93; ActiveLdap hat eine zusätzliche Abfrage gemacht, und sich immer [...]]]></description>
			<content:encoded><![CDATA[<p>Heute bin ich über ein interessantes Problem mit OpenLDAP und ActiveLdap für Ruby gestolpert. ActiveLdap wollte mir einfach keine Ergebnisse liefern, obwohl die Abfragen gestimmt haben&#8230;</p>

<p><span id="more-488"></span></p>

<p>Es kam immer zu folgendem Fehler&#8230;</p>


<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#6666ff; font-weight:bold;">ActiveLdap::LdapError::NoSuchObject</span><span style="color:#006600; font-weight:bold;">&#40;</span>No such object<span style="color:#006600; font-weight:bold;">&#41;</span>: filter 
<span style="color:#006600; font-weight:bold;">&#40;</span>objectClass=subschema<span style="color:#006600; font-weight:bold;">&#41;</span>: attributes: <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">&quot;objectClasses&quot;</span>, <span style="color:#996600;">&quot;attributeTypes&quot;</span>, <span style="color:#996600;">&quot;matchingRules&quot;</span>,
<span style="color:#996600;">&quot;matchingRuleUse&quot;</span>, <span style="color:#996600;">&quot;dITStructureRules&quot;</span>, <span style="color:#996600;">&quot;dITContentRules&quot;</span>, <span style="color:#996600;">&quot;nameForms&quot;</span>,
<span style="color:#996600;">&quot;ldapSyntaxes&quot;</span><span style="color:#006600; font-weight:bold;">&#93;</span></pre></div></div>


<p>ActiveLdap hat eine zusätzliche Abfrage gemacht, und sich immer als anonymous beim LDAP Server angemeldet. Sobald man sehr restriktive ACLs auf dem LDAP Server hat, begegnet man diesem Problem sehr früh. Sobald also die ACL keine anonymen Verbindungen zulässt fliegt ActiveLdap auf die Nase.</p>

<p>Wenn folgende ACLs eingetragen werden</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">access to dn.base=<span style="color: #ff0000;">&quot;&quot;</span> by <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #c20cb9; font-weight: bold;">read</span>
access to dn.base=<span style="color: #ff0000;">&quot;cn=Subschema&quot;</span> by <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #c20cb9; font-weight: bold;">read</span></pre></div></div>


<p>dann funktioniert es auch&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/06/16/activeldap-sucht-subschemasubentry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails mit existierender Datenbank verwenden</title>
		<link>http://www.treibsand.com/2010/06/16/rails-mit-existierender-datenbank-verwenden/</link>
		<comments>http://www.treibsand.com/2010/06/16/rails-mit-existierender-datenbank-verwenden/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 12:11:17 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=497</guid>
		<description><![CDATA[Man stelle sich mal vor, man muss eine Rails Anwendung anhand einer vorhandenen Datenbank mit ca. 100 Tabellen erstellen. Das könnte ganz schön aufwendig werden, für jede Tabelle ein Model zu erstellen. Aber zum Glück gibt es mit Rails auch eine einfachere Methode&#8230; Mit dem Gem magic&#95;model&#95;generator ist das überhaupt kein Problem. Zuerst müssen wir [...]]]></description>
			<content:encoded><![CDATA[<p>Man stelle sich mal vor, man muss eine Rails Anwendung anhand einer vorhandenen Datenbank mit ca. 100 Tabellen erstellen. Das könnte ganz schön aufwendig werden, für jede Tabelle ein Model zu erstellen. Aber zum Glück gibt es mit Rails auch eine einfachere Methode&#8230;</p>

<p><span id="more-497"></span></p>

<p>Mit dem Gem <b>magic&#95;model&#95;generator</b> ist das überhaupt kein Problem. Zuerst müssen wir uns erst mal das Gem installieren:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> magic_model_generator</pre></div></div>


<p>Als nächstes sollte die Datenbank Konfiguration der Rails Anwendung auf die bestehende Datenbank geändert werden. Danach brauchen wir noch eine aktuelle
<b>schema.rb</b> Datei. Diese kann mit</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rake db:schema:dump</pre></div></div>


<p>schnell erzeugt werden. Und am Ende können die Models mit</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ .<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate magic_model</pre></div></div>


<p>generiert werden. Momentan ist es aber leider noch nicht möglich, bereits vorhandene Models zu mergen, diese können nur überschrieben bzw. ignoriert werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/06/16/rails-mit-existierender-datenbank-verwenden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS als VirtualBox Gast</title>
		<link>http://www.treibsand.com/2010/02/23/centos-als-virtualbox-gast/</link>
		<comments>http://www.treibsand.com/2010/02/23/centos-als-virtualbox-gast/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 11:41:32 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=465</guid>
		<description><![CDATA[Unter Mac OS X ist VirtualBox wirklich ein sehr gutes Programm. Jedes Betriebssystem lief bisher ohne Probleme als Gast&#8230;naja, bis vor kurzem, als ich CentOS 5.4 installiert habe&#8230; Nach der Installation merkte ich, dass meine CPU immer zwischen 80-90% ausgelastet war, obwohl die VM eine Load von 0 hatte und nichts machte. Es hat mich [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both;"><a class="image-link" href="http://www.treibsand.com/wp-content/uploads/2010/02/centos_logo_45.png" rel="lightbox[465]"><img class="linked-to-original" style="display: inline; float: right; margin: 0 0 10px 10px;" src="http://www.treibsand.com/wp-content/uploads/2010/02/centos_logo_45-thumb.png" alt="" width="208" height="45" align="right" /></a>Unter Mac OS X ist VirtualBox wirklich ein sehr gutes Programm. Jedes Betriebssystem lief bisher ohne Probleme als Gast&#8230;naja, bis vor kurzem, als ich CentOS 5.4 installiert habe&#8230;</p>

<p><p style="clear: both;"><!-- more --><span id="more-465"></span>
Nach der Installation merkte ich, dass meine CPU immer zwischen 80-90% ausgelastet war, obwohl die VM eine Load von 0 hatte und nichts machte.</p>
<p style="clear: both;">Es hat mich einige Zeit gekostet den Fehler zu finden. Grund hierfür war der Kernel von CentOS, dieser wurde nämlich mit einem internem &#8220;Takt&#8221; von 1000Hz kompiliert. Andere Distributionen verwenden hier noch 100Hz. Dies hatte zur Folge, dass VirtualBox sehr viel zu tun hatte und die CPU im Host-System nahezu ausgelastet war.</p>
<p style="clear: both;">Das Problem kann aber recht einfach gelöst werden, indem der Kernel mit der Option <strong>divider=10 </strong>gebootet wird. Einfach an die Kernel Zeile in der grub.conf hängen und alles läuft.</p>
<br class="final-break" style="clear: both;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/02/23/centos-als-virtualbox-gast/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Der neue Harman Kardon AVR 255</title>
		<link>http://www.treibsand.com/2010/01/12/avr255/</link>
		<comments>http://www.treibsand.com/2010/01/12/avr255/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 10:56:08 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Einfach cool]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Harman Kardon]]></category>
		<category><![CDATA[HiFi]]></category>
		<category><![CDATA[Receiver]]></category>
		<category><![CDATA[Surround]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=409</guid>
		<description><![CDATA[Nach 12 Jahren wurde es mal Zeit meinen alten Harman Kardon AVR 3000 Surround Receiver auszutauschen. Er war zwar ein prima Gerät, welches damals schon DTS konnte, war aber jetzt nicht mehr zeitgemäß. Es fehlten z.B. HDMI Anschlüsse&#8230;. Ich habe mir einige Zeit lang alle möglichen Receiver angeschaut, jedes Gerät kann so ziemlich das gleiche, [...]]]></description>
			<content:encoded><![CDATA[<p>Nach 12 Jahren wurde es mal Zeit meinen alten Harman Kardon AVR 3000 Surround Receiver auszutauschen. Er war zwar ein prima Gerät, welches damals schon DTS konnte, war aber jetzt nicht mehr zeitgemäß. Es fehlten z.B. HDMI Anschlüsse&#8230;.</p>

<p><span id="more-409"></span><img class="size-full wp-image-410 alignright" title="Harman Kardon AVR255" src="http://www.treibsand.com/wp-content/uploads/2010/01/31Dbg4jkS2L._SS350_.jpg" alt="" width="280" height="280" /></p>

<p>Ich habe mir einige Zeit lang alle möglichen Receiver angeschaut, jedes Gerät kann so ziemlich das gleiche, sehen aber immer irgendwie optisch nicht ansprechend aus. Immerhin soll so ein Gerät sich auch richtig in die Einrichtung integrieren.</p>

<p>Nur Harman Kardon hatte auch optisch ansprechende Receiver, deswegen entschied ich mich für den AVR 255. Nachdem alles verkabelt wurde, war ich einfach nur begeistert. Selbst mit meinen alten Boxen (Canton) hörte man einen deutlichen Unterschied. Mit den 3 HDMI Eingängen konnte ich auch endlich alle Geräte zentral am Receiver anschließen und nicht immer beim Fernseher den Eingangskanal wechseln.</p>

<p>Da ich nur 5 Boxen hatte, musste ich den Receiver auch für Dolby 5.1 konfigurieren. Allerdings fand ich durch Zufall heraus, dass die 2 unbenutzten Boxenanschlüsse (eigentlich für 7.1 Anlegen gedacht) auch zur Beschallung eines anderen Raumses verwendet werden können. Da ich im Arbeitszimmer noch 2 Boxen an der Wand habe, welche momentan nicht benutzt wurden, habe ich die kurzerhand an den 2 freien Ausgängen angeschlossen. Durch den Mehrraumanschluss habe ich jetzt die Möglichkeit über den Receiver z.B. im Arbeitszimmer Radio zu hören und im Wohnzimmer fernzusehen. Natürlich kann man auch nur eine Quelle verwenden, um beide Räume zu beschallen.</p>

<p>Ebenfalls interessant ist die Art und Weise wie die Boxen eingerichtet werden. Mitgeliefert wird ein Mikrofon, welches sogar auf ein Foto Stativ angebracht werden kann. Dieses Mikrofon muss dort positioniert werden, wo man gewöhnlich sitzt. Der Receiver schickt nun ca. 5 Minuten aus jeder Box Tonsignale um die Boxen perfekt einzustellen.</p>

<p>Das einzige was noch fehlt, sind die passenden Harman Kardon Boxen (HKTS), welche sogar schon bestellt sind <img src='http://www.treibsand.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2010/01/12/avr255/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS Server unter Solaris 10</title>
		<link>http://www.treibsand.com/2009/11/17/nfs-server-unter-solaris-10/</link>
		<comments>http://www.treibsand.com/2009/11/17/nfs-server-unter-solaris-10/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 10:50:06 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=395</guid>
		<description><![CDATA[Solaris ist ein wunderbares Betriebssystem, allerdings schaut man grundsätzlich erstmal in die Röhre, wenn man z.B. von FreeBSD kommt. Neulich brauchte ich einen NFS Server auf einem Solaris System und war zuerst etwas verwirrt wie es konfiguriert wird&#8230; Die Konfiguration unterscheidet sich ziemlich von der unter FreeBSD, so dass erst mal die Handbücher gewälzt werden [...]]]></description>
			<content:encoded><![CDATA[<p>Solaris ist ein wunderbares Betriebssystem, allerdings schaut man grundsätzlich erstmal in die Röhre, wenn man z.B. von FreeBSD kommt. Neulich brauchte ich einen NFS Server auf einem Solaris System und war zuerst etwas verwirrt wie es konfiguriert wird&#8230;</p>

<p><span id="more-395"></span>
Die Konfiguration unterscheidet sich ziemlich von der unter FreeBSD, so dass erst mal die Handbücher gewälzt werden mussten.</p>

<p>Als erstes sollte der NFS Service gestartet werden&#8230;</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">svcadm <span style="color: #660033;">-v</span> <span style="color: #7a0874; font-weight: bold;">enable</span> <span style="color: #660033;">-r</span> network<span style="color: #000000; font-weight: bold;">/</span>nfs<span style="color: #000000; font-weight: bold;">/</span>server</pre></div></div>


<p>Danach ist die NFS Freigabe nötig, bei FreeBSD stehen die in <em>/etc/exports</em>, unter Solaris allerdings in <em>/etc/dfs/dfstab</em>. Eine Freigabe kann man allerdings auch auf der Konsole machen:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">share <span style="color: #660033;">-F</span> nfs <span style="color: #660033;">-o</span> rw <span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">export</span></pre></div></div>


<p>Diese Methode überlebt allerdings keinen Reboot, so dass für eine permanente Freigabe die Zeile in der Datei <em>/etc/dfs/dfstab</em> eingetragen werden sollte.</p>

<p>Wenn auch der Benutzer <em>root</em> auf den NFS Clients verwendet werden soll, dann muss dies explizit freigegeben werden:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">share <span style="color: #660033;">-F</span> nfs <span style="color: #660033;">-o</span> rw,<span style="color: #007800;">root</span>=host1:host2 <span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">export</span></pre></div></div>


<p>Die Option <em>root=access_list</em> legt fest von welchem Host der Benutzer <em>root</em> für die Freigabe Zugriff hat.</p>

<p>Um die Freigabe auf dem anderen System zu mounten, reicht der Befehl:</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;">-F</span> nfs server:<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #000000; font-weight: bold;">/</span>mount_point</pre></div></div>


<p>Um das Volumen dauerhaft auf dem Client einzubinden, muss dies in der Datei <em>/etc/vfstab</em> definiert werden:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server:<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">export</span>   -   <span style="color: #000000; font-weight: bold;">/</span>mount_point   nfs   -   <span style="color: #c20cb9; font-weight: bold;">yes</span>    rw,soft</pre></div></div>


<p>Also eigentlich gar nicht so schwer&#8230;man muss nur wissen, wo man alles nachlesen kann <img src='http://www.treibsand.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>Alle Sun Administration Handücher können übrigens unter <a href="http://docs.sun.com/app/docs/coll/47.16?l=de">http://docs.sun.com/app/docs/coll/47.16?l=de</a> gefunden werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2009/11/17/nfs-server-unter-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mplayer aus den MacPorts unter Snow Leopard</title>
		<link>http://www.treibsand.com/2009/10/28/mplayer-aus-den-macports-unter-snow-leopard/</link>
		<comments>http://www.treibsand.com/2009/10/28/mplayer-aus-den-macports-unter-snow-leopard/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 07:25:39 +0000</pubDate>
		<dc:creator>Toast</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[Mplayer]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.treibsand.com/?p=382</guid>
		<description><![CDATA[Das Update auf Snow Leopard ging ja eigentlich ganz gut, nur die MacPorts haben etwas gezickt. Mplayer wollte überhaupt nicht bauen, weder der normale Port noch der mplayer-devel Port&#8230; Im Bugtracker der MacPorts hat sich sehr lange wenig getan, das Problem wurde zwar scheinbar erkannt, es gab aber keine Lösung. Ohne einen Patch, lässt er [...]]]></description>
			<content:encoded><![CDATA[<p>Das Update auf Snow Leopard ging ja eigentlich ganz gut, nur die <a href="http://www.macports.org">MacPorts</a> haben etwas gezickt. Mplayer wollte überhaupt nicht bauen, weder der normale Port noch der mplayer-devel Port&#8230;</p>

<p><span id="more-382"></span>
Im Bugtracker der MacPorts hat sich sehr lange wenig getan, das Problem wurde zwar scheinbar erkannt, es gab aber keine Lösung. Ohne einen Patch, lässt er sich immer noch nicht kompilieren.  Damit er auch wirklich baut, muss das Portfile vom mplayer-devel Port mit folgendem <a href='http://www.treibsand.com/wp-content/uploads/2009/10/mplayer-devel-10.6.diff'>Patch</a> gepatcht werden.</p>

<p>Ist das geschehen, kann man endlich den Mplayer verwenden. Bin mal gespannt, wann es auch über den normalen Weg funktioniert.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treibsand.com/2009/10/28/mplayer-aus-den-macports-unter-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
