<?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; debian</title>
	<atom:link href="http://www.disgruntled-dutch.com/tag/debian/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>How I build my 2 TB NAS</title>
		<link>http://www.disgruntled-dutch.com/2007/life/how-i-build-my-2-tb-nas</link>
		<comments>http://www.disgruntled-dutch.com/2007/life/how-i-build-my-2-tb-nas#comments</comments>
		<pubDate>Tue, 16 Oct 2007 23:53:03 +0000</pubDate>
		<dc:creator>Yvo</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[netatalk]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.disgruntled-dutch.com/2007/life/how-i-build-my-2-tb-nas/</guid>
		<description><![CDATA[I mentioned in my last post that I procured 4x 500GB at a very good price. The intention the entire time was to build a cost effective but reliable NAS in order to store my various files centrally instead of a copy on the iMac, a copy on the laptop and another copy elsewhere. Not [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned in my last post that I procured 4x 500GB at a very good price. The intention the entire time was to build a cost effective but reliable NAS in order to store my various files centrally instead of a copy on the iMac, a copy on the laptop and another copy elsewhere. Not to mention that all these systems only had one hard drive, meaning one single failure could wipe out some of my data (with exception to the iMac which has a 250gb firewire drive to which it syncs data every night with my own little written rsync script). </p>
<p>There are some software solutions that have been released that purely focus on the ability to quickly create a NAS. I had simple requirements. I needed Samba for my Windows based laptops, NFS for my Linux workstation and AFP for the Macs. FreeNAS was the first thing that came to my mind. Openfiler was out, one because it hadn&#8217;t been developed in over a year (doesn&#8217;t show developer commitment in my mind then) and NAS lite required you to have a hardware RAID controller. While ideally that would&#8217;ve been the nicest, there are some software solutions that do a very well job. Unfortunately FreeNAS was not reliable. The latest RC missed a ata.timeout flag, which caused my disks to get &#8220;detached&#8221; because the spinup too longer then my 5 seconds. I tried the beta which did include this functionality but after the loads were without any clear reason why at 2.x &#8211; 3.x and my file transfers were moving like molasses, I rebooted the machine. It never came back up. The restart process literally damaged the software based RAID. At this point I let the idea rest for 3 days until I decided that I didn&#8217;t need a dedicated NAS solution/package to get my NAS to work. I have enough experience now to get my own machine together and it&#8217;ll be exactly what I want. </p>
<p>My current job requires me to use Red Hat and Solaris. Both are very well developed operating systems (I&#8217;m even going to a Solaris training camp in December paid by my work) but they aren&#8217;t my choice of operating system. My last employment had me use Debian and I really like how Debian works and is setup. DEB packages are fantastic and aptitude (apt-get previously) makes it even better. It is, in my opinion, years ahead of RPMs and the Yum software. So I downloaded the 140MB Debian 4.0 Netinst CD and I was on my way to getting Debian rolled onto my old desktop.</p>
<p><span id="more-618"></span></p>
<p>I ran into some problems with the power settings my ASUS BIOS was handing to Debian. Adding pci=noacpi and disabling Hyperthreading (what was Intel thinking) made the problems go away. Debian comes with the md software package which includes mdadm. A great utility to manage software raids. I created a 4 disk RAID 5 array with disk 4 being a &#8220;spare&#8221; drive. I know you are probably thinking that I am nuts as that&#8217;ll cost me 500gb of usable space (plus the 500ish that RAID5 requires for parity data) leaving me only with 1 TB instead of 1.5TB of storage capacity. I&#8217;d rather be safe then sorry and if that means giving up a bit of space to make sure that I have a reliable setup, then so be it. </p>
<p>After installation I setup up netatalk (had to get the apt sources and flip a switch as the default one comes with ssl disabled thus only clear text passwords, which PAM doesn&#8217;t accept are sent to the server), samba and NFS. My home partition is where the big partition is mounted. I have a symlink called /share pointed to /home/share. Reason I did home is so that Cam can also put our personal documents in unique home directories. </p>
<p>Machine has been up for a week now without any issue.</p>
<p>References I used from other sources to help me get that perfect setup (giving credit where credit is due):<br />
<a href="http://www.debian-administration.org/articles/512">Software RAID5 and LVM with the Etch Installer</a><br />
<a href="http://blog.our-files.com/?p=5">Apple File Server on Linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disgruntled-dutch.com/2007/life/how-i-build-my-2-tb-nas/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
