<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Bonjour / AVAHI &#038; Netatalk to share files files between Ubuntu 10.4 &#038; Mac OS X	</title>
	<atom:link href="https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/</link>
	<description>Internet Bandwidth Development: Composting the Internet for over Two Decades</description>
	<lastBuildDate>Sat, 17 Nov 2012 04:44:45 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1</generator>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>
		By: Leslie		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-5183</link>

		<dc:creator><![CDATA[Leslie]]></dc:creator>
		<pubDate>Sat, 17 Nov 2012 04:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-5183</guid>

					<description><![CDATA[For those who are getting authentication issues as soon as you put in the credentials...

It&#039;s a bug in netatalk

To confirm check your /var/log/messages (or /var/log/syslog) and you&#039;ll find that afpd is crashing

Seems to only occur if you also happen to have Samba installed as well.

https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732]]></description>
			<content:encoded><![CDATA[<p>For those who are getting authentication issues as soon as you put in the credentials&#8230;</p>
<p>It&#8217;s a bug in netatalk</p>
<p>To confirm check your /var/log/messages (or /var/log/syslog) and you&#8217;ll find that afpd is crashing</p>
<p>Seems to only occur if you also happen to have Samba installed as well.</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732" rel="nofollow ugc">https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert J Berger		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-4366</link>

		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 01:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-4366</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-4214&quot;&gt;Paresh Rana&lt;/a&gt;.

I believe this is normal behavior of modern OS&#039;s assuming that the Memory utilization shows that the memory is mostly in the cached memory. If you run the free command you&#039;ll see something like:
&lt;pre&gt;&lt;code&gt;
# free -m
             total       used       free     shared    buffers     cached
Mem:         15011      10128       4882          0        200       4783
-/+ buffers/cache:       5145       9865
&lt;/code&gt;&lt;/pre&gt;

Notice that the cached value is pretty high. If you see that the free value is low and the cached value is high, that is cool. The OS is sucking any idle memory and using it for disk and other caches. But if a process needs memory, it will take it from the cache, not declare its out of memory. This is generally a good thing. So when you do a big transfer it will allocate the memory to caches and then lazily release the caches only when processes need it.

If you see low &quot;free&quot; memory AND low &quot;cached&quot; memory, then you might have a problem...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-4214">Paresh Rana</a>.</p>
<p>I believe this is normal behavior of modern OS&#8217;s assuming that the Memory utilization shows that the memory is mostly in the cached memory. If you run the free command you&#8217;ll see something like:</p>
<pre><code>
# free -m
             total       used       free     shared    buffers     cached
Mem:         15011      10128       4882          0        200       4783
-/+ buffers/cache:       5145       9865
</code></pre>
<p>Notice that the cached value is pretty high. If you see that the free value is low and the cached value is high, that is cool. The OS is sucking any idle memory and using it for disk and other caches. But if a process needs memory, it will take it from the cache, not declare its out of memory. This is generally a good thing. So when you do a big transfer it will allocate the memory to caches and then lazily release the caches only when processes need it.</p>
<p>If you see low &#8220;free&#8221; memory AND low &#8220;cached&#8221; memory, then you might have a problem&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paresh Rana		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-4214</link>

		<dc:creator><![CDATA[Paresh Rana]]></dc:creator>
		<pubDate>Mon, 19 Dec 2011 18:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-4214</guid>

					<description><![CDATA[You Rock! I too found other article to refer to and use older versions of Ubuntu Server and am always a little cautious to follow this instructions. Thank you for making the time and effort to provide a simple and succinct solution that worked for me like a charm.

One thing I did notice on my Ubuntu box though... I did some throughput tests by copying a 2Gb folder/directory of files from my Mac to the server. I watched the men utilization on the server (which has 4Gb of RAM) and noticed that as the files were copying the men utilization climbed till it reached a little less that 4Gb. After 12 hours, it has not dropped back down.

Do you know if there is some kind of caching going on that might have flush parameters for afp?

PS: I am amazed with the &#062; 4Gb/min (66MB/s) throughput to the server I am getting.

Thank you again.]]></description>
			<content:encoded><![CDATA[<p>You Rock! I too found other article to refer to and use older versions of Ubuntu Server and am always a little cautious to follow this instructions. Thank you for making the time and effort to provide a simple and succinct solution that worked for me like a charm.</p>
<p>One thing I did notice on my Ubuntu box though&#8230; I did some throughput tests by copying a 2Gb folder/directory of files from my Mac to the server. I watched the men utilization on the server (which has 4Gb of RAM) and noticed that as the files were copying the men utilization climbed till it reached a little less that 4Gb. After 12 hours, it has not dropped back down.</p>
<p>Do you know if there is some kind of caching going on that might have flush parameters for afp?</p>
<p>PS: I am amazed with the &gt; 4Gb/min (66MB/s) throughput to the server I am getting.</p>
<p>Thank you again.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: PeterE		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1677</link>

		<dc:creator><![CDATA[PeterE]]></dc:creator>
		<pubDate>Fri, 02 Sep 2011 18:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1677</guid>

					<description><![CDATA[Robert,

Many thanks for taking the time to put this together and publishing it.

I have followed various threads over the last week about getting Mac OSX client working with Ubuntu Server (10.04) and with no success until now. I expect that shortly I will be nominated for father of the year, after a fresh install of the Ubuntu Server and following this succinct tutorial my son&#039;s MacBook Pro connected no problem after which he promptly kicked off a Time Machine backup. 

Brilliant!]]></description>
			<content:encoded><![CDATA[<p>Robert,</p>
<p>Many thanks for taking the time to put this together and publishing it.</p>
<p>I have followed various threads over the last week about getting Mac OSX client working with Ubuntu Server (10.04) and with no success until now. I expect that shortly I will be nominated for father of the year, after a fresh install of the Ubuntu Server and following this succinct tutorial my son&#8217;s MacBook Pro connected no problem after which he promptly kicked off a Time Machine backup. </p>
<p>Brilliant!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1200</link>

		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Fri, 22 Jul 2011 20:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1200</guid>

					<description><![CDATA[Just a follow up to my earlier message, I have made some changes which mean I can now connect to my share (BUT... using cleartext passwords).
I dont really understand why encryption wasnt working properly on Snow Leapord. If anyone else just wants it working, and is happy with cleartext then you can do this...

1) OSX Leopard and above, no longer allows you to connect to shares using cleartext. You can override this using...
defaults write com.apple.AppleShareClient afp_cleartext_allow -bool YES

2) edit afpd.conf - we need to add the cleartext module to the bottom line you added earlier...
-uamlist uams_clrtxt.so

3) Finally, on ubuntu, you need to create a .passwd file in your home directory, containing your cleartext password
cd ~
echo password &#062; .passwd
chown *YOUR_USERNAME* .passwd
chmod 600 .passwd

4) Restart netatalk

Not that Im recommending plaintext passwords, and definitely not if you&#039;re on a shared LAN, but for my secure home LAN, Im just happy to get it working at all now]]></description>
			<content:encoded><![CDATA[<p>Just a follow up to my earlier message, I have made some changes which mean I can now connect to my share (BUT&#8230; using cleartext passwords).<br />
I dont really understand why encryption wasnt working properly on Snow Leapord. If anyone else just wants it working, and is happy with cleartext then you can do this&#8230;</p>
<p>1) OSX Leopard and above, no longer allows you to connect to shares using cleartext. You can override this using&#8230;<br />
defaults write com.apple.AppleShareClient afp_cleartext_allow -bool YES</p>
<p>2) edit afpd.conf &#8211; we need to add the cleartext module to the bottom line you added earlier&#8230;<br />
-uamlist uams_clrtxt.so</p>
<p>3) Finally, on ubuntu, you need to create a .passwd file in your home directory, containing your cleartext password<br />
cd ~<br />
echo password &gt; .passwd<br />
chown *YOUR_USERNAME* .passwd<br />
chmod 600 .passwd</p>
<p>4) Restart netatalk</p>
<p>Not that Im recommending plaintext passwords, and definitely not if you&#8217;re on a shared LAN, but for my secure home LAN, Im just happy to get it working at all now</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1199</link>

		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Fri, 22 Jul 2011 20:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1199</guid>

					<description><![CDATA[Hi, thanks for the tute. 

Its the third or fourth tute I&#039;ve tried, but Im always having the same problem. I can see my share in Finder, but attempting to connect to it constantly rejects username and password (Im entering the login on the remote linux box). This is a fresh Ubuntu 10 box 

Tailing all the log files on Ubuntu, I can see my local Mac connecting to afpd, but there doesnt seem to be any log entries when I hit enter on the login box (or any log entries saying auth failed etc). Do you know of a way I can troubleshoot this please?
Ive tried using both CBD and DBD for the cnidscheme, and also removed the allow:username so according to the docs even guest users should have access

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi, thanks for the tute. </p>
<p>Its the third or fourth tute I&#8217;ve tried, but Im always having the same problem. I can see my share in Finder, but attempting to connect to it constantly rejects username and password (Im entering the login on the remote linux box). This is a fresh Ubuntu 10 box </p>
<p>Tailing all the log files on Ubuntu, I can see my local Mac connecting to afpd, but there doesnt seem to be any log entries when I hit enter on the login box (or any log entries saying auth failed etc). Do you know of a way I can troubleshoot this please?<br />
Ive tried using both CBD and DBD for the cnidscheme, and also removed the allow:username so according to the docs even guest users should have access</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Harald Ronge		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1198</link>

		<dc:creator><![CDATA[Harald Ronge]]></dc:creator>
		<pubDate>Fri, 22 Jul 2011 16:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1198</guid>

					<description><![CDATA[Your article worked perfectly well for me, thank you.
There is a &quot;missing line&quot; in your description: (# Copy your public key[s] to .ssh/authorized_keys (not shown here).
Being a fairly ignorant Unix-user it took me some time to figure this out :-)

I would like to add what worked for me, hope this helps.

Configuring (passwordless) authentication when using ssh from a Mac to Ubuntu

On your Mac:

1. Start a terminal session and go to your home directory. 

2. run ssh-keygen -t rsa
	
	Just press Enter on all questions. This will generate a private-public keypair as two files named id_rsa and id_rsa.pub in a .ssh sub-directory.

3. Next you need to copy your public key from the Mac to Ubuntu. The most convenient way to get this done is a script named ssh-copy-id. It is not included in OSX.
I found several other descriptions how to get your public key to the host-computer that should have worked - but for some reason unknown to me never did.
Probably running as a wrong user. Anyway: ssh-copy-id does something right …

	sudo curl &quot;http://phildawson.co.uk/ssh-copy-id&quot; -o /usr/bin/ssh-copy-id
	sudo chmod +x /usr/bin/ssh-copy-id

4. Run ssh-copy-id user@hostnameoraddress

	This will create a .ssh directory and a file authorized_keys in the home directory of the user on Ubuntu.

On Ubuntu:

1. Log in to Ubuntu using the same user (!) as before. Run with this identity

	chmod 644 ~/.ssh/authorized_keys
	chmod 700 ~/.ssh

2. Change configuration file for ssh

- sudo gedit /etc/ssh/sshd_config

- check whether the following entries are as shown. Uncomment entries if necessary

	PermitRootLogin no
	RSAAuthentication yes
	PubkeyAuthentication yes
	AuthorizedKeysFile	%h/.ssh/authorized_keys
	PasswordAuthentication no

The last entry is optional, but will make sure you will never be asked for an additional password when logging in from the Mac.

3. to make the changes take effect run
	sudo stop ssh
	sudo start ssh

Everything should be working.]]></description>
			<content:encoded><![CDATA[<p>Your article worked perfectly well for me, thank you.<br />
There is a &#8220;missing line&#8221; in your description: (# Copy your public key[s] to .ssh/authorized_keys (not shown here).<br />
Being a fairly ignorant Unix-user it took me some time to figure this out 🙂</p>
<p>I would like to add what worked for me, hope this helps.</p>
<p>Configuring (passwordless) authentication when using ssh from a Mac to Ubuntu</p>
<p>On your Mac:</p>
<p>1. Start a terminal session and go to your home directory. </p>
<p>2. run ssh-keygen -t rsa</p>
<p>	Just press Enter on all questions. This will generate a private-public keypair as two files named id_rsa and id_rsa.pub in a .ssh sub-directory.</p>
<p>3. Next you need to copy your public key from the Mac to Ubuntu. The most convenient way to get this done is a script named ssh-copy-id. It is not included in OSX.<br />
I found several other descriptions how to get your public key to the host-computer that should have worked &#8211; but for some reason unknown to me never did.<br />
Probably running as a wrong user. Anyway: ssh-copy-id does something right …</p>
<p>	sudo curl &#8220;http://phildawson.co.uk/ssh-copy-id&#8221; -o /usr/bin/ssh-copy-id<br />
	sudo chmod +x /usr/bin/ssh-copy-id</p>
<p>4. Run ssh-copy-id user@hostnameoraddress</p>
<p>	This will create a .ssh directory and a file authorized_keys in the home directory of the user on Ubuntu.</p>
<p>On Ubuntu:</p>
<p>1. Log in to Ubuntu using the same user (!) as before. Run with this identity</p>
<p>	chmod 644 ~/.ssh/authorized_keys<br />
	chmod 700 ~/.ssh</p>
<p>2. Change configuration file for ssh</p>
<p>&#8211; sudo gedit /etc/ssh/sshd_config</p>
<p>&#8211; check whether the following entries are as shown. Uncomment entries if necessary</p>
<p>	PermitRootLogin no<br />
	RSAAuthentication yes<br />
	PubkeyAuthentication yes<br />
	AuthorizedKeysFile	%h/.ssh/authorized_keys<br />
	PasswordAuthentication no</p>
<p>The last entry is optional, but will make sure you will never be asked for an additional password when logging in from the Mac.</p>
<p>3. to make the changes take effect run<br />
	sudo stop ssh<br />
	sudo start ssh</p>
<p>Everything should be working.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert J Berger		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1194</link>

		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Fri, 10 Jun 2011 00:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1194</guid>

					<description><![CDATA[By the way, it looks like if you mount any subdirectory of / it works ok for that directory and lower. It seems that the problem is only on / (Root)]]></description>
			<content:encoded><![CDATA[<p>By the way, it looks like if you mount any subdirectory of / it works ok for that directory and lower. It seems that the problem is only on / (Root)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert J Berger		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1193</link>

		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Fri, 10 Jun 2011 00:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1193</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1191&quot;&gt;TonyRLA&lt;/a&gt;.

Wow it looks like this is a fundamental bug in Netatalk current release. The only place I found any help though was this post:
http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/726770

I wrote the author of the bug report Alan Snelgrove and he said:



&lt;blockquote&gt;Yes I did, and the problem still exists in the  git version.

The fix is to find lchdir in etc/afpd/direcory.c and change it to chdir.
There is only one occurrence.  &lt;/blockquote&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1191">TonyRLA</a>.</p>
<p>Wow it looks like this is a fundamental bug in Netatalk current release. The only place I found any help though was this post:<br />
<a href="http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/726770" rel="nofollow ugc">http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/726770</a></p>
<p>I wrote the author of the bug report Alan Snelgrove and he said:</p>
<blockquote><p>Yes I did, and the problem still exists in the  git version.</p>
<p>The fix is to find lchdir in etc/afpd/direcory.c and change it to chdir.<br />
There is only one occurrence.  </p></blockquote>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert J Berger		</title>
		<link>https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1192</link>

		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Thu, 09 Jun 2011 20:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=574#comment-1192</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1191&quot;&gt;TonyRLA&lt;/a&gt;.

Hmm, That use to work, but I just checked on a recent Ubuntu and I&#039;m getting the exact same behavior as you described (ie the directories in root show up but nothing underneath). I&#039;m using:
&lt;code&gt;
/                       &quot;Root&quot; options:upriv,usedots
/var                    &quot;var&quot; options:upriv,usedots
&lt;/code&gt;

I&#039;ll take a look and see what I can find out...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ibd.com/howto/bonjour-avahi-netatalk-to-share-files-files-between-ubuntu-10-4-mac-os-x/comment-page-1/#comment-1191">TonyRLA</a>.</p>
<p>Hmm, That use to work, but I just checked on a recent Ubuntu and I&#8217;m getting the exact same behavior as you described (ie the directories in root show up but nothing underneath). I&#8217;m using:<br />
<code><br />
/                       "Root" options:upriv,usedots<br />
/var                    "var" options:upriv,usedots<br />
</code></p>
<p>I&#8217;ll take a look and see what I can find out&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
