<?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>derzeit namenlos &#187; FreeBSD</title>
	<atom:link href="http://blog.lostpackets.de/category/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lostpackets.de</link>
	<description></description>
	<lastBuildDate>Mon, 05 Dec 2011 19:33:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FreeBSD/Postgresql</title>
		<link>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/</link>
		<comments>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 17:09:36 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd postgresql semaphores]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=582</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>Error: postgres[993]: [1-1] FATAL: could not create semaphores: No space left on device postgres[993]: [1-2] DETAIL: Failed system call was semget(5432003, 17, 03600). postgres[993]: [1-3] HINT: This error does *not* mean that you have run out of disk space. postgres[993]: [1-4] It occurs when either the system limit for the maximum number of semaphore sets [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>Error:</p>
<blockquote><p>
postgres[993]: [1-1] FATAL:  could not create semaphores: No space left on device<br />
postgres[993]: [1-2] DETAIL:  Failed system call was semget(5432003, 17, 03600).<br />
postgres[993]: [1-3] HINT:  This error does *not* mean that you have run out of disk space.<br />
postgres[993]: [1-4]     It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of<br />
postgres[993]: [1-5]  semaphores (SEMMNS), would be exceeded.  You need to raise the respective kernel parameter.  Alternatively, reduce PostgreSQL&#8217;s<br />
postgres[993]: [1-6]  consumption of semaphores by reducing its max_connections parameter (currently 40).<br />
postgres[993]: [1-7]     The PostgreSQL documentation contains more information about configuring your system for PostgreSQL. </p>
</blockquote>
<p>Fix:</p>
<p>add the following to <em>/boot/loader.conf</em></p>
<blockquote><p>
kern.ipc.semmni=255<br />
kern.ipc.semmns=512<br />
kern.ipc.semmnu=256
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ABBYY CLI OCR on FreeBSD 8.1</title>
		<link>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/</link>
		<comments>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 12:30:26 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ocr]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=562</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>ABBYY CLI OCR for Linux installs (and works) nicely on FreeBSD. Just install the linuxulator ( I use emulators/linux_base-f9), if your / is on a SD Card like mine you might want to mount something else to /opt, as ABBYY OCR takes more than 730MB there. Just run the .sh executable to install. Before being [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p><a href="http://www.ocr4linux.com">ABBYY CLI OCR for Linux</a> installs (and works) nicely on FreeBSD. Just install the <a href="http://www.freebsd.org/doc/handbook/linuxemu.html">linuxulator</a> ( I use <span class="mono">emulators/linux_base-f9</span>), if your / is on a SD Card like mine you might want to mount something else to <span class="mono">/opt</span>, as ABBYY OCR takes more than 730MB there. Just run the <span class="mono">.sh</span> executable to install. Before being able to run <span class="mono">abbyyocr</span> you need to <span class="mono">export LD_LIBRARY_PATH=/opt/ABBYYOCR</span> ( I put it in my <span class="mono">.shellrc</span>). Happy OCRing!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching: aus open wird see</title>
		<link>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/</link>
		<comments>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 00:43:27 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=551</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/>Wer OS Xs Kommandozeilentool open gerne benutzt, dem sei hiermit run-mailcap empfohlen. run-mailcap öffnet je nach Option Dateien zum lesen, editieren oder drucken, auf Debian sind dafür auch schon entsprechenden Aliase bereits gesetzt (see, edit, compose, print) auf FreeBSD muss selber Hand angelegt werden. Vorteil: es können auch weiter CLI Programme geöffnet werden. Der MIME [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/><p>Wer OS Xs Kommandozeilentool <span class="mono">open</span> gerne benutzt, dem sei hiermit <span class="mono">run-mailcap</span> empfohlen. <span class="mono">run-mailcap</span> öffnet je nach Option Dateien zum lesen, editieren oder drucken, auf Debian sind dafür auch schon entsprechenden Aliase bereits gesetzt (<span class="mono">see, edit, compose, print</span>) auf FreeBSD muss selber Hand angelegt werden. Vorteil: es können auch weiter CLI Programme geöffnet werden.</p>
<p>Der MIME Typ läßt sich übrigens mit <span class="mono">file &#8211;mime-type</span> bestimmen.</p>
<p>Mit welchem Programm die Datei geöffnet wird, hängt von den Einstellungen in <em>~/.mailcap</em> und <em>~/.mime.types</em> ab, die entsprechenden Systemeinstellungen sind <em>/etc/mailcap</em> und <em>/etc/mime.types</em>, bzw bei FreeBSD in <em>/usr/local/etc/</em> zu finden.</p>
<p>Für alte GNU/Linux/*BSD Hasen wird das nichts neues sein, ich hab erst heute danach gesucht.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching</title>
		<link>http://blog.lostpackets.de/2010/10/09/switching/</link>
		<comments>http://blog.lostpackets.de/2010/10/09/switching/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 22:35:36 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=522</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/>Ich verabschiede mich mehr und mehr aus praktischen und ideologischen Gründen von OS X. Die meisten Programme die ich benutze sind zwar Open Source, aber ein paar OS X spezifische nutze (oder nutzte) ich dann doch. Daher schaue ich mich derzeit nach Alternativen für solche Programme um. Hier die ersten vier: EDA (Eagle) GPLeda (gschem [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/><p>Ich verabschiede mich mehr und mehr aus praktischen und ideologischen Gründen von OS X. Die meisten Programme die ich benutze sind zwar Open Source, aber ein paar OS X spezifische nutze (oder nutzte) ich dann doch. Daher schaue ich mich derzeit nach Alternativen für solche Programme um. Hier die ersten vier:</p>
<p><strong>EDA</strong> (Eagle)</p>
<ul>
<li>
<a href="http://www.gpleda.org/index.html">GPLeda (gschem &#038; pcb)</a> zwar etwas gewöhnungsbedürftig (nicht das EAGLE das nicht wäre), aber dann schnell zu bedienen, kann alles was man erwartet und macht mehr Spaß als Eagle. Benutze ich auch schon länger auf OS X.
</li>
</ul>
<p> <strong>Musicplayer</strong> (iTunes)</p>
<ul>
<li><a href="http://banshee.fm/">banshee</a>: echter iTunes Klon, gefällt mir aber mitlerweile besser als iTunes, fühlt sich schneller an, synchronisiert mit meinem Android Telefon. Gibt es auch als Beta (instabil und nicht fehlender Device Support) für OS X.</li>
</ul>
<p><strong>OCR Software</strong>(ABBYY Reaader)</p>
<ul>
<li><a href="http://www.ocr4linux.com/">ABBYY CLI OCR for Linux</a> <del datetime="2010-10-10T12:31:49+00:00">selbst noch nicht ausprobiert aber ABBYY Fine Reader for Mac rockt.,</del> Die einzige proprietäre Software die ich bislang auf freien Betriebsystemen einsetze: Kosten: 149€ (einmal) für 12 000  Seiten pro Jahr (gibt natürlich auch größere Seitenanzahlen, aber mit 12 000 Seiten werde ich wohl im Jahr auskommen). Man kann einen <a href="http://www.abbyy.com/sdk/fre/request?purpose=trial">Demo Key anfordern</a> (wird auch prompt zugesendet). Wer nicht gerne für Software Geld ausgibt (ich habe kein Problem damit) wird sich wohl mit einer der freien OCR Pakete auseinandersetzen müssen.  Besonders gut sieht das aber noch nicht aus, siehe <a href="http://www.splitbrain.org/blog/2010-06/15-linux_ocr_software_comparison">Linux OCR Software Comparison<br />
</a></li>
</ul>
<ul></ul>
<p><strong>Outliner</strong> (Omni Outliner) </p>
<ul>
<li><a href="http://orgmode.org">emacs org-mode</a> emacs, igitt, pfui, bäh, Fingerkrampf, aber bester Outliner ever! (vim-outliner kann leider nichts&#8230;) Werd mich wohl noch etwas an emacs gewöhnen müssen, aber da muss ich jetzt durch</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/09/switching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>etherpad FreeBSD</title>
		<link>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/</link>
		<comments>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 22:38:32 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[etherpad]]></category>
		<category><![CDATA[mod_proxy]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=468</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>etherpad works very well on FreeBSD. Installing it is pretty straight forward and you can mostly follow &#8220;generic&#8221; Linux Howtos, but there are some differences, listed here. update 20.08.2011: added basic rc.d script update 2010-10-2: make sure you install scala 2.7.7, scala 2.8.0 won&#8217;t work you don&#8217;t have to change the EXPORT and cp commands [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>etherpad works very well on FreeBSD. Installing it is pretty straight forward and you can mostly follow &#8220;generic&#8221; Linux Howtos, but there are some differences, listed here.<br />
<span id="more-468"></span></p>
<p><strong>update 20.08.2011:</strong><br />
added basic rc.d script</p>
<p><strong>update 2010-10-2:</strong></p>
<ul>
<li>make sure you install scala 2.7.7, scala 2.8.0 won&#8217;t work</li>
<li>you don&#8217;t have to change the EXPORT and cp commands any more, just get <a href="http://github.com/redhog/pad">redhog</a>s etherpad version from github <em>git clone http://github.com/redhog/pad.git</em> which has some nice additions anyway</li>
</ul>
<p>/update</p>
<p>Some etherpad Linux Howtos:</p>
<ul>
<li><a href="http://code.google.com/p/etherpad/wiki/Instructions">instructions from google code wiki</a></li>
<li><a href="http://mclear.co.uk/2010/03/10/installing-etherpad-on-debian/">etherpad on debian</a></li>
<li><a href="http://pauleira.com/13/installing-etherpad/">very elaborate on for CentOS</a></li>
</ul>
<p>install:</p>
<ul>
<li>JDK, I use <span class="mono">java/jdk16</span></li>
<li><span class="mono">lang/scala</span></li>
<li>mysql, I use <span class="mono">databases/mysql51-server</span></li>
<li><span class="mono">databases/mysql-connector-java</span></li>
<li><span class="mono">shells/bash</span></li>
<li><span class="mono">devel/mercurial</span></li>
</ul>
<p>since some of the scripts use <span class=mono>#!/bin/shell</span> I do</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ln -s /usr/local/bin/bash /bin/bash</div></div>
<p>otherwise you can just grep through the source later and replace all <span class=mono>#!/bin/bash</span> with <span class=mono>#!/usr/local/bin/bash</span></p>
<p>make sure that <span class=mono>CP_CMD=&#8221;/bin/cp -R -n&#8221; </span> in <em>etherpad/trunk/infrastructure/bin/compilecache.sh</em> i.e. by replacing Darwin with FreeBSD in line 18 or just change line 17.</p>
<p>the exports are:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export JAVA_HOME=&quot;/usr/local/diablo-jdk1.6.0&quot;<br />
export SCALA_HOME=&quot;/usr/local/share/scala-2.7.7&quot;<br />
export JAVA=&quot;$JAVA_HOME/bin/java&quot;<br />
export SCALA=&quot;$SCALA_HOME/bin/scala&quot;<br />
export PATH=&quot;$JAVA_HOME/bin:$SCALA_HOME/bin:/usr/local/mysql/bin:$PATH&quot;<br />
export MYSQL_CONNECTOR_JAR=&quot;/usr/local/share/java/classes/mysql-connector-java.jar&quot;</div></div>
<p>you might consider to add an etherpad user.</p>
<p>for reaching etherpad through port 80 I use apache&#8217;s mod_proxy. The configurations I found didn&#8217;t work for me, this did:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;virtualhost *:80&gt;<br />
&nbsp; ServerName yourdomain.tld<br />
&nbsp; ServerSignature Off<br />
<br />
&nbsp; ErrorLog /var/log/apache2/yourdomain.tld/error.log<br />
&nbsp; LogLevel warn<br />
&nbsp; CustomLog /var/log/apache2/yourdomain.tld/access.log combined<br />
&nbsp; <br />
&nbsp; ProxyRequests Off<br />
&nbsp; <br />
&nbsp; &lt;proxy *&gt;<br />
&nbsp; &nbsp; Order deny,allow<br />
&nbsp; &nbsp; Allow from all <br />
&nbsp; &lt;/proxy&gt;<br />
<br />
&nbsp; ProxyPass / http://localhost:9000/<br />
&nbsp; ProxyPassReverse / http://localhost:9000/<br />
&nbsp; ProxyPreserveHost on<br />
&lt;/virtualhost&gt;</div></div>
<p>don&#8217;t forget to load mod_proxy and mod_proxy_http</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">LoadModule proxy_module libexec/apache2/mod_proxy.so<br />
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so</div></div>
<p>if you are using apache2 and don&#8217;t have mod_proxy installed, just make it again with <span class=mono>WITH_PROXY_MODULES=yes</span></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /usr/ports/www/apache20<br />
make WITH_PROXY_MODULES=yes<br />
make deinstall<br />
make reinstall</div></div>
<p>Here is a very basic rc.d script (can only start etherpad). You have to change the path to your etherpad installation.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">!/bin/sh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
#<br />
<br />
# PROVIDE: etherpad<br />
# REQUIRE: LOGIN<br />
# KEYWORD: shutdown<br />
#<br />
# Add the following line to /etc/rc.conf to enable etherpad:<br />
#<br />
# etherpad_enable=&quot;YES&quot;<br />
#<br />
<br />
. /etc/rc.subr<br />
<br />
name=&quot;etherpad&quot;<br />
rcvar=${name}_enable<br />
<br />
<br />
start_cmd=&quot;${name}_start&quot;<br />
#stop_cmd=&quot;${name}_stop&quot;<br />
<br />
load_rc_config $name<br />
<br />
etherpad_user=&quot;etherpad&quot;<br />
procname=&quot;java&quot;<br />
<br />
<br />
pidfile=/var/run/etherpad/etherpad.pid<br />
daemon_args=&quot; -c -f /path/to/etherpad/bin/run.sh&quot;<br />
etherpad_start()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; su -l ${etherpad_user} -c &quot;/usr/sbin/daemon ${daemon_args}&quot;<br />
}<br />
<br />
run_rc_command &quot;$1&quot;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD im Apple Netz (mit TimeMachine) [update 4]</title>
		<link>http://blog.lostpackets.de/2008/10/06/freebsd-im-apple-netz/</link>
		<comments>http://blog.lostpackets.de/2008/10/06/freebsd-im-apple-netz/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 19:53:02 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=240</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/>[letztes update vom 15.06.2010] afpd mit mDNS/zeroconf/Bonjour auf FreeBSD 8 (aber genauso auf FreeBSD 7 bzw 7.1 ) netatalk-2.1.1_1,1 als AFP Server avahi-0.6.24 für den mDNS Broadcoast nss_mdns-0.10_1 als mDNS Resolver neuen Kernel kompilen mit options NETATALK Mag zwar nicht wirklich nötig sein, denn afp läuft auch ohne, aber dann taucht in /var/log/messages bei jedem [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/><p>[letztes update vom 15.06.2010]<br />
afpd mit mDNS/zeroconf/Bonjour auf FreeBSD 8 (aber genauso auf FreeBSD 7 bzw 7.1 )</p>
<p><span class="mono">netatalk-2.1.1_1,1</span> als AFP Server<br />
<span class="mono">avahi-0.6.24</span> für den mDNS Broadcoast<br />
<span class="mono">nss_mdns-0.10_1</span> als mDNS Resolver</p>
<p><span id="more-240"></span><br />
neuen Kernel kompilen mit<br />
<em>options NETATALK </em><br />
Mag zwar nicht wirklich nötig sein, denn afp läuft auch ohne, aber dann taucht in <em>/var/log/messages</em> bei jedem Start ein <em>Mar 21 11:13:52 brutus afpd[1127]: main: atp_open: Protocol not supported</em> auf.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># cd /usr/ports/net/netatalk<br />
# make install clean<br />
# cd /usr/ports/dns/nss_mdns<br />
# make install clean</div></div>
<p>avahi ist Vorraussetzung für nss_mdns, wird also direkt mitinstalliert, default Konfiguration bis auf [X] LIBDNS.<br />
in <em>/etc/rc.conf</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dbus_enable=&quot;YES&quot;<br />
avahi_daemon_enable=&quot;YES&quot;<br />
cnid_metad_enable=&quot;YES&quot; # cnid backend für afpd<br />
netatalk_enable=&quot;YES&quot;<br />
afpd_enable=&quot;YES&quot;</div></div>
<p><em>/usr/local/etc/netatalk.conf</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ATALKD_RUN=no # kein AppleTalk<br />
PAPD_RUN=no<br />
AFPD_RUN=yes</div></div>
<p>Für jeden zu veröffentlichenden Dienst ist in <em>/usr/local/etc/avahi/services</em> eine XML-Datei nachfolgendem Schema anzulegen, hier ein Beispiel für afp, Name der Datei z.B. <em>afp.service</em>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&amp;lt; ?xml version=&quot;1.0&quot; standalone='no'?&amp;gt;&lt;!--*-nxml-*--&gt;<br />
&amp;lt; !DOCTYPE service-group SYSTEM &quot;avahi-service.dtd&quot;&amp;gt;<br />
<br />
%h<br />
<br />
_afpovertcp._tcp<br />
548</div></div>
<p>Alle (?) Service Types sind hier beschrieben: <a href="http://www.dns-sd.org/ServiceTypes.html">http://www.dns-sd.org/ServiceTypes.html</a></p>
<p>Wer in der Findersidebar gerne einen anderes Bild als das standard Apple Display sehen möchte, fügt noch direkt über &lt;/service-group&gt; ein:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">_device-info._tcp<br />
model=bsd<br />
0</div></div>
<p>Statt <em>model=Xserve</em> sind noch mehrere andere Modelle möglich.</p>
<p>Damit auch <em>hostname.local</em> aufgelöst wird die Zeile <em>host: </em> in <em>/etc/nsswitch.conf</em> bearbeiten:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">hosts: files mdns_minimal [NOTFOUND=return] dns mdns</div></div>
<p>Die zu exportierenden Volumes hier eintragen:<br />
<em>/usr/local/etc/AppleVolumes.default</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/data allow:user1,user2,@group1, @group2 dbpath:/var/AppleDB options:usedot,noadouble,nohex</div></div>
<p><span class="mono">/data</span> wird geshared<br />
die Benutzer <span class="mono">user1</span> und <span class="mono">user</span>, sowie die Gruppen (bzw deren. Mitglieder) <span class="mono">group1</span> und <span class="mono">group2</span> haben Zugriff.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dbpath:/var/AppleDB</div></div>
<p>verlegt den .AppleDB Ordner<br />
für weiter optionen siehe: <a href="http://netatalk.sourceforge.net/2.0/htmldocs/AppleVolumes.default.5.html">AppleVolumes.default</a></p>
<p>ein &#8220;~&#8221; in einer Zeile shared die Home-Verzeichnisse.</p>
<p>Die Optiontmstellt das Volumen Time Machine zur Verfügung.</p>
<p>hat man mehr als ein Network Interface evtl. noch <em>/usr/local/etc/afpd.conf</em> editieren.</p>
<p>will man nicht neustarten:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># /usr/local/etc/rc.d/netatalk start<br />
# /usr/local/etc/rc.d/dbus start<br />
# /usr/local/etc/rc.d/avahi-daemon start</div></div>
<p>In <em>/var/log/messages</em> tauchen ein paar Warnungen auf:<br />
<em>“WARNING: No NSS support for mDNS detected, consider installing nss-dns!”</em><br />
trotz installiertem (und funktionierendem!) nss-dns. Nunja.</p>
<p><del datetime="2010-06-15T18:51:23+00:00">Und mehr oder weniger regelmäßig im Betrieb:<br />
<em>Mar 18 21:44:16 brutus afpd[pid]: bad function 4C</em><br />
<em>Mar 18 21:46:12 brutus afpd[pid]: bad function 4E</em><br />
<em>Mar 18 21:46:18 brutus afpd[pid]: bad function 4F</em></del><br />
unter netatalk 2.1 tauchen diese Fehlermeldungen nicht mehr auf und sind evtl implementiert.</p>
<p>Diese Funktionen sind bisher undokumentierte Änderungen im AFP Protokoll, siehe hier: <a href="http://lists.apple.com/archives/filesystem-dev/2008/Apr/msg00031.html"><br />
http://lists.apple.com/archives/filesystem-dev/2008/Apr/msg00031.html</a> (4C in hex ist 76 dezimal, 4E 78 und 4F 79.)</p>
<p>76 ist ein Spotlight Kommando. 78 und 79 werden für Timemachine Backups auf den AFP-Volumen benötigt, unter anderem sicher gehen, dass die Daten auch wirklich auf der Platte sind und nicht noch im Cache liegen. Wann und ob diese Funktionen von netatalk bereitgestellt werden, scheint noch nicht festzustehen.</p>
<p><del datetime="2010-06-15T18:51:23+00:00"><br />
Wer unbedingt möchte, kann natürlich auch schon jetzt TimeMachine Backups auf den AFP Server machen ( <a href="http://www.macosxhints.com/article.php?story=20071028173642747">http://www.macosxhints.com/article.php?story=20071028173642747</a> ), besonders sicher scheint dies aber nicht zu sein.</del></p>
<p><del datetime="2009-10-10T08:29:43+00:00">[update2 17.6.2009]<br />
TimeMachine Unterstützung ist bereits in HEAD und wird wohl mit netatalk 2.1 released werden (<a href="http://marc.info/?l=netatalk-devel&amp;m=124414449730140&amp;w=2">Re: [Netatalk-devel] Development Roadmap</a>)</del></p>
<p>[update 3 10.10.2009] Time Machine Unterstützung kommt schon mit Netatalk 2.0.5, der zweite Release Canditade ist schon veröffentlicht, siehe: <a href="http://www.netafp.com/node/4">http://www.netafp.com/node/4</a></p>
<p>[update1 20.03.2009] Umstieg von howl auf avahi, mehr Informationen zu undokumentieten Funktionen</p>
</p><p class="technocrati">Technorati Tags: <a href="http://technorati.com/tag/FreeBSD" rel="tag">FreeBSD</a>, <a href="http://technorati.com/tag/Apple" rel="tag"> Apple</a>, <a href="http://technorati.com/tag/OSX" rel="tag"> OSX</a>, <a href="http://technorati.com/tag/afpd" rel="tag"> afpd</a>, <a href="http://technorati.com/tag/netatalk" rel="tag"> netatalk</a>, <a href="http://technorati.com/tag/bonjour" rel="tag"> bonjour</a>, <a href="http://technorati.com/tag/zeroconf" rel="tag"> zeroconf</a>, <a href="http://technorati.com/tag/mDNS" rel="tag"> mDNS</a>, <a href="http://technorati.com/tag/howto" rel="tag"> howto</a>, <a href="http://technorati.com/tag/lang%3Ade" rel="tag"> lang:de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2008/10/06/freebsd-im-apple-netz/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>fusefs/sshfs korrumpiert mein Filesystem, argh!</title>
		<link>http://blog.lostpackets.de/2008/09/14/fusefssshfs-korrumpiert-mein-filesystem-argh/</link>
		<comments>http://blog.lostpackets.de/2008/09/14/fusefssshfs-korrumpiert-mein-filesystem-argh/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 12:29:42 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=208</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>Für diese Art von Posts sollte ich vielleicht einen meiner nie benutzten Microblogging-accounts reaktivieren&#8230;Technorati Tags: freebsd, fusefs, sshfs, filesystem, corrupt]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>Für diese Art von Posts sollte ich vielleicht einen meiner nie benutzten Microblogging-accounts reaktivieren&#8230;</p><p class="technocrati">Technorati Tags: <a href="http://technorati.com/tag/freebsd" rel="tag">freebsd</a>, <a href="http://technorati.com/tag/fusefs" rel="tag"> fusefs</a>, <a href="http://technorati.com/tag/sshfs" rel="tag"> sshfs</a>, <a href="http://technorati.com/tag/filesystem" rel="tag"> filesystem</a>, <a href="http://technorati.com/tag/corrupt" rel="tag"> corrupt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2008/09/14/fusefssshfs-korrumpiert-mein-filesystem-argh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>transmission daemon endlich als freebsd port</title>
		<link>http://blog.lostpackets.de/2008/05/08/transmission-daemon-endlich-als-freebsd-port/</link>
		<comments>http://blog.lostpackets.de/2008/05/08/transmission-daemon-endlich-als-freebsd-port/#comments</comments>
		<pubDate>Thu, 08 May 2008 19:29:58 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=193</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>http://www.freshports.org/net-p2p/transmission-daemon/ nicht ganz frisch, aber ich habs erst jetzt bemerkt]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p><a href="http://www.freshports.org/net-p2p/transmission-daemon/">http://www.freshports.org/net-p2p/transmission-daemon/</a><br />
nicht ganz frisch, aber ich habs erst jetzt bemerkt</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2008/05/08/transmission-daemon-endlich-als-freebsd-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD-update auf 6.3-RELEASE</title>
		<link>http://blog.lostpackets.de/2008/01/20/freebsd-update-auf-63-release/</link>
		<comments>http://blog.lostpackets.de/2008/01/20/freebsd-update-auf-63-release/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 00:23:05 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[6.2-RELEASE]]></category>
		<category><![CDATA[FreeBSD-update]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/2008/01/20/freebsd-update-auf-63-release/</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>Wer gerade mittels FreeBSD-update auf FreeBSD 6.3-RELEASE updaten will, bekommt eventuell folgendes zu sehen: Looking up update1.FreeBSD.org mirrors... none found. Fetching metadata signature from update1.FreeBSD.org... failed. No mirrors remaining, giving up. In meinem Fall war der Grund, dass ich seit 6.2-RELEASE schon einmal neue Kernelsourcen ausgecheckt und auch einen Kernel gebaut hatte, so dass % [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>Wer gerade mittels FreeBSD-update auf <a href="http://www.freebsd.org/releases/6.3R/announce.html">FreeBSD 6.3-RELEASE updaten</a> will, bekommt eventuell folgendes zu sehen:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Looking up update1.FreeBSD.org mirrors... none found.<br />
Fetching metadata signature from update1.FreeBSD.org... failed.<br />
No mirrors remaining, giving up.</div></div>
<p>In meinem Fall war der Grund, dass ich seit 6.2-RELEASE schon einmal neue Kernelsourcen ausgecheckt und auch einen Kernel gebaut hatte, so dass <tt>% uname -r</tt> ein <em>6.3-PRERELEASE</em> ausgab und damit weiss FreeBSD-update leider nichts anzufangen. </p>
<p>Folgt man der oben verlinkten Anleitung, ändert man einfach in <em>freebsd-update.sh</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">RELNUM=`uname -r |<br />
&nbsp; &nbsp; &nbsp; &nbsp; sed -E 's,-p[0-9]+,,' |<br />
&nbsp; &nbsp; &nbsp; &nbsp; sed -E 's,-SECURITY,-RELEASE,'`</div></div>
<p>in ein</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">RELNUM='6.2-RELEASE'</div></div>
<p>um (oder was auch immer für einen zutrifft). Da das einzige was ich von 6.2-R verändert hatte, der Kernel war, dieser eh ausgetausch wird und ich zudem einen eigenen Kernel brauche, hab ich hier keine Bedenken. Ab hier hat bei mir alles problemlos geklappt und ein eigener Kernel ist auch schon wieder gebaut.<br /></p><p class="technocrati">Technorati Tags: <a href="http://technorati.com/tag/FreeBSD" rel="tag">FreeBSD</a>, <a href="http://technorati.com/tag/FreeBSD-update" rel="tag"> FreeBSD-update</a>, <a href="http://technorati.com/tag/6.2-RELEASE" rel="tag"> 6.2-RELEASE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2008/01/20/freebsd-update-auf-63-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

