<?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>disgruntled-dutch.com &#187; tech tips</title>
	<atom:link href="http://www.disgruntled-dutch.com/category/tech-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.disgruntled-dutch.com</link>
	<description>The ins and outs of Yvo's life.</description>
	<lastBuildDate>Wed, 31 Mar 2010 02:47:13 +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>Howto/Download: Netatalk 2.03 with encryption support for Debian 4.0</title>
		<link>http://www.disgruntled-dutch.com/2007/general/howtodownload-netatalk-encryption-support-debian-4</link>
		<comments>http://www.disgruntled-dutch.com/2007/general/howtodownload-netatalk-encryption-support-debian-4#comments</comments>
		<pubDate>Mon, 29 Oct 2007 15:39:02 +0000</pubDate>
		<dc:creator>Yvo</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[netatalk]]></category>

		<guid isPermaLink="false">http://www.disgruntled-dutch.com/2007/general/download-install-the-netatalk-203-package-with-encryption-support-for-debian/</guid>
		<description><![CDATA[By default Debian&#8217;s netatalk package does not come with encryption support (hence why you get a warning message in OS X 10.3 &#038; 10.4 regarding the sending of cleartext passwords). Leopard deeply cares about encryption and doesn&#8217;t even allow non-encrypted password. There are a lot of guides available on the internet, attached is a i386 [...]]]></description>
			<content:encoded><![CDATA[<p>By default Debian&#8217;s netatalk package does not come with encryption support (hence why you get a warning message in OS X 10.3 &#038; 10.4 regarding the sending of cleartext passwords). Leopard deeply cares about encryption and doesn&#8217;t even allow non-encrypted password.</p>
<p>There are a lot of guides available on the internet, attached is a i386 binary (sorry x86_64 folks) that has encryption support build in.</p>
<p>A stern warning:<br />
My deb package does NOT include printing support through Appletalk. There seems to be a library problem. Either one must disable encryption support in the binary to allow printing or the other way around. So if you were using Appletalk and using your Debian box as a print server, this will not work with this deb package. <strong>Furthermore I have no responsibility and no liability when it comes to what the altered software package does to your computer so use at your own risk! </strong></p>
<p>You need the following libararies installed in order for this to work peachy:<br />
libdb4.2<br />
cracklib2<br />
cracklib-runtime<br />
libssl0.9.8<br />
libpam-modules<br />
libauthen-pam-perl<br />
libpam0g<br />
libslp<br />
libwrap0 </p>
<p>Other requirements:<br />
-A good sense of Debian understanding if something does go wrong<br />
-Debian 4.0<br />
-libc6 2.6+ (find out by doing &#8216;dpkg -l | grep libc6&#8242;)</p>
<p>Step 1<br />
paste in (no quotes):<br />
&#8216;aptitude install libdb4.2 cracklib2 cracklib-runtime libssl0.9.8 libpam-modules libauthen-pam-perl libpam0g libslp libwrap0&#8242;</p>
<p>Step 2<br />
Download my .deb package on your debian machine:<br />
&#8216;cd /tmp; wget http://www.disgruntled-dutch.com/media/misc/netatalk_2.0.3-4_i386.deb&#8217;<br />
(linked <a href="http://www.disgruntled-dutch.com/media/misc/netatalk_2.0.3-4_i386.deb">here</a>)</p>
<p>Step 3<br />
Install deb package.<br />
&#8216;cd /tmp; dpkg -i netatalk_2.0.3-4_i386.deb&#8217;</p>
<p>Step 4<br />
Tell aptitude / apt-get to not upgrade netatalk.<br />
&#8216;aptitude hold netatalk&#8217;</p>
<p>Step 5<br />
Your done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disgruntled-dutch.com/2007/general/howtodownload-netatalk-encryption-support-debian-4/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to get your Linux-based AFP server to show up correctly in Leopard&#8217;s new Finder</title>
		<link>http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder</link>
		<comments>http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder#comments</comments>
		<pubDate>Sat, 27 Oct 2007 00:06:02 +0000</pubDate>
		<dc:creator>Yvo</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[netatalk]]></category>

		<guid isPermaLink="false">http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder/</guid>
		<description><![CDATA[I upgraded to Leopard a day early, but in that day I have already found a new feature that required a change on my Linux server to make everything work peachy. Leopard&#8217;s new Finder now lists computers under the &#8220;Shared&#8221; section on the left hand panel. This is pretty snazzy. Not only can you manually [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded to Leopard a day early, but in that day I have already found a new feature that required a change on my Linux server to make everything work peachy. </p>
<p>Leopard&#8217;s new Finder now lists computers under the &#8220;Shared&#8221; section on the left hand panel. This is pretty snazzy. Not only can you manually mount a server via Apple + K (Connect to server), all local servers show up here. However it seems that if your Mac and/or Linux based machine doesn&#8217;t have some sort of zeroconf (aka Bonjour) service advertising AFP, then it shows up as a Samba (aka PC Server) under Shared. </p>
<p><strong>Assumption:<br />
I assume you have netatalk configured correctly, as in your rebuild it correctly with dhx support <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191790">(not by default in Debian)</a>. </strong>. You can read more about that <a href="http://www.disgruntled-dutch.com/2007/general/download-install-the-netatalk-203-package-with-encryption-support-for-debian/">here</a>.<br />
So under Debian the fix is as follows:</p>
<p>1. sudo su &#8211; or su -<br />
2. aptitude install avahi-daemon<br />
3. echo &#8220;- -noddp -uamlist uams_randnum.so,uams_dhx.so&#8221; > /etc/netatalk/afpd.conf<br />
4. vi /etc/nsswitch<br />
change your hosts line to be like this:<br />
hosts:          files dns mdns4<br />
5. paste in (no quotes):<br />
&#8216;cd /etc/avahi/services; wget http://www.disgruntled-dutch.com/media/afpd.service&#8217;<br />
6. /etc/init.d/netatalk restart &#038;&#038; /etc/init.d/avahi-daemon restart &#038;&#038; tail -n70 /var/log/syslog</p>
<p>Check if it started up like for example:</p>
<pre>
<code>Oct 26 11:03:42 thenas afpd[26279]: Registering CNID module [last]
Oct 26 11:03:42 thenas afpd[26279]: Registering CNID module [cdb]
Oct 26 11:03:42 thenas afpd[26279]: Registering CNID module [dbd]
Oct 26 11:03:42 thenas afpd[26279]: Loading ConfigFile
Oct 26 11:03:42 thenas afpd[26279]: main: atp_open: Cannot assign requested address
Oct 26 11:03:42 thenas afpd[26279]: dsi_tcp: hostname 'thenas' resolves to loopback address
Oct 26 11:03:42 thenas afpd[26279]: dsi_tcp: '192.168.1.250' on interface 'eth1' will be used instead.
Oct 26 11:03:42 thenas afpd[26279]: ASIP started on 192.168.1.250:548(5) (2.0.3)
Oct 26 11:03:42 thenas afpd[26279]: Sucessfully registered afp://192.168.1.250/?NAME=thenas&amp;ZONE= with SRVLOC
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_dhx.so)
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_dhx.so loaded
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_guest.so)
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_guest.so loaded
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_clrtxt.so)
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_clrtxt.so loaded
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_passwd.so)
Oct 26 11:03:42 thenas afpd[26279]: uam_load(uams_passwd.so): mod_symbol error for symbol uams_passwd
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_passwd.so load failure
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_gss.so)
Oct 26 11:03:42 thenas avahi-daemon[26246]: Got SIGTERM, quitting.
Oct 26 11:03:42 thenas avahi-daemon[26246]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.250.
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_gss.so loaded
Oct 26 11:03:42 thenas afpd[26279]: uam: "Client Krb v2" available
Oct 26 11:03:42 thenas afpd[26279]: uam: "Cleartxt Passwrd" available
Oct 26 11:03:42 thenas afpd[26279]: uam: "No User Authent" available
Oct 26 11:03:42 thenas afpd[26279]: uam: "DHCAST128" available
Oct 26 11:03:42 thenas afpd[26279]: main: dsi_init: Address already in use
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_randnum.so)
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_randnum.so loaded
Oct 26 11:03:42 thenas afpd[26279]: uam: loading (/usr/lib/netatalk/uams_dhx.so)
Oct 26 11:03:42 thenas afpd[26279]: uam: uams_dhx.so loaded
Oct 26 11:03:42 thenas afpd[26279]: Finished parsing Config File
Oct 26 11:03:42 thenas avahi-daemon[26290]: Found user 'avahi' (UID 107) and group 'avahi' (GID 106).
Oct 26 11:03:42 thenas avahi-daemon[26290]: Successfully dropped root privileges.
Oct 26 11:03:42 thenas avahi-daemon[26290]: avahi-daemon 0.6.21 starting up.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Successfully called chroot().
Oct 26 11:03:42 thenas avahi-daemon[26290]: Successfully dropped remaining capabilities.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Loading service file /services/afpd.service.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Joining mDNS multicast group on interface eth1.IPv4 with address 192.168.1.250.
Oct 26 11:03:42 thenas avahi-daemon[26290]: New relevant interface eth1.IPv4 for mDNS.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Network interface enumeration completed.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Registering new address record for fe80::213:d4ff:fe0a:2da8 on eth1.*.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Registering new address record for 192.168.1.250 on eth1.IPv4.
Oct 26 11:03:42 thenas avahi-daemon[26290]: Registering HINFO record with values 'I686'/'LINUX'.
Oct 26 11:03:43 thenas avahi-daemon[26290]: Server startup complete. Host name is thenas.local. Local service cookie is 962578462.
Oct 26 11:03:44 thenas avahi-daemon[26290]: Service "thenas" (/services/afpd.service) successfully established.</code>
</pre>
<p>You are good to go!</p>
<p>EDIT: Had to escape the XML code.<br />
EDIT2: added a &#8216;wget step&#8217; due to mangled XML code on this blog. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>IMAP comes to Google!</title>
		<link>http://www.disgruntled-dutch.com/2007/random/imap-comes-to-google</link>
		<comments>http://www.disgruntled-dutch.com/2007/random/imap-comes-to-google#comments</comments>
		<pubDate>Wed, 24 Oct 2007 19:01:57 +0000</pubDate>
		<dc:creator>Yvo</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.disgruntled-dutch.com/2007/random/imap-comes-to-google/</guid>
		<description><![CDATA[IMAP finally comes to Google. Yay! I hated having my email &#8220;downloaded&#8221; to my iPhone and not being in sync with my gmail account. This is finally taken care of. Glad that Google caught on to using IMAP. Enable your IMAP today by going to your gmail settings > Forwarding and POP/IMAP and then click [...]]]></description>
			<content:encoded><![CDATA[<p>IMAP finally comes to Google. Yay! I hated having my email &#8220;downloaded&#8221; to my iPhone and not being in sync with my gmail account. This is finally taken care of. </p>
<p>Glad that Google caught on to using IMAP. Enable your IMAP today by going to your gmail settings > Forwarding and POP/IMAP and then click enable IMAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disgruntled-dutch.com/2007/random/imap-comes-to-google/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian apt-get error</title>
		<link>http://www.disgruntled-dutch.com/2006/work-related/debian-apt-get-error</link>
		<comments>http://www.disgruntled-dutch.com/2006/work-related/debian-apt-get-error#comments</comments>
		<pubDate>Tue, 12 Dec 2006 05:49:04 +0000</pubDate>
		<dc:creator>Yvo</dc:creator>
				<category><![CDATA[tech tips]]></category>
		<category><![CDATA[work related]]></category>

		<guid isPermaLink="false">http://www.disgruntled-dutch.com/2006/work-related/debian-apt-get-error/</guid>
		<description><![CDATA[On the Debian servers I administer recently an update to the apt &#038; gpg package has caused me to get this message when ever I run apt-get update: There are no public key available for the following key IDs: A70DAF536070D3A1 To fix this you must either be a. root or b. have proper sudo privileges. [...]]]></description>
			<content:encoded><![CDATA[<p>On the Debian servers I administer recently an update to the apt &#038; gpg package has caused me to get this message when ever I run apt-get update:<br />
<code>There are no public key available for the following key IDs: A70DAF536070D3A1</code></p>
<p>To fix this you must either be<br />
a. root<br />
or<br />
b. have proper sudo privileges.</p>
<p>I will use sudo in my example. </p>
<p><code>sudo gpg --recv-key --keyserver wwwkeys.eu.pgp.net A70DAF536070D3A1</code></p>
<p><code>sudo gpg --export A70DAF536070D3A1 | apt-key add -</code></p>
<p>So far it only seems to be affecting my debian installs that use testing as the favored repository but I&#8217;d imagine that once etch goes stable that my stable favored servers will complain (or the debian team will have fixed it by then). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.disgruntled-dutch.com/2006/work-related/debian-apt-get-error/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
