<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4339816687822113505</id><updated>2024-10-18T09:47:20.504+02:00</updated><category term="WNR3500L"/><category term="dd-wrt"/><category term="libdb"/><category term="timemachine"/><category term="netatalk"/><category term="lion"/><category term="optware"/><category term="uams_dhx2"/><category term="2.2.2"/><category term="cross compiling"/><category term="netatalk 2.2"/><category term="ubuntu"/><category term="2.2"/><category term="2.2.1"/><category term="2.2.3"/><category term="AppleVolumes.default"/><category term="afpd"/><category term="afpd.conf"/><category term="avahi"/><category term="avahi-daemon.conf"/><category term="netatalk 2.2.1"/><category term="netatalk.conf"/><title type='text'>Netatalk 2.2 for DD-WRT</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-1149923776463594678</id><published>2012-09-08T16:47:00.002+02:00</published><updated>2012-09-08T16:48:53.425+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.2.3"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="lion"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk"/><category scheme="http://www.blogger.com/atom/ns#" term="optware"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><category scheme="http://www.blogger.com/atom/ns#" term="uams_dhx2"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Netatalk 2.2.3 for DD-WRT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The new version 2.2.3 is available&amp;nbsp;&lt;a href=&quot;http://dl.dropbox.com/u/2025540/netatalk_2.2.3-3_mipsel.ipk&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
As before it has been compiled against BerkeleyDB 4.7.25 and works with OSX Lion (10.7). It has not been tested with Mountain Lion (10.8).&lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/1149923776463594678/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/09/netatalk-223-for-dd-wrt.html#comment-form' title='9 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/1149923776463594678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/1149923776463594678'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/09/netatalk-223-for-dd-wrt.html' title='Netatalk 2.2.3 for DD-WRT'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-8180635689292092533</id><published>2012-02-04T11:46:00.000+01:00</published><updated>2012-09-08T16:42:09.061+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="lion"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk"/><category scheme="http://www.blogger.com/atom/ns#" term="optware"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><category scheme="http://www.blogger.com/atom/ns#" term="uams_dhx2"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Netatalk 2.2.2 for DD-WRT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I just compiled version 2.2.2 of netatalk for DD-WRT you can download it here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/netatalk_2.2.2-2_mipsel.ipk&quot;&gt;netatalk_2.2.2-2_mipsel.ipk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I still use &lt;a href=&quot;http://dl.dropbox.com/u/2025540/libdb_4.7.25-3_mipsel.ipk&quot;&gt;Berkeley DB 4.7.25&lt;/a&gt;&amp;nbsp;to compile against so make sure you installed it. Instructions on how to downgrade after the break.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Make a backup of your existing afpd/netatalk settings! (/opt/etc/netatalk in my case)&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Install the packages on your machine in the following order:&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install netatalk_2.2.1-2_mipsel.ipk&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
make sure that you use&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk -force-downgrade&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
in case your libdb version is newer than 4.7.25.&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Also in case you have not already done so - install libgcrypt which is necessary to get dhx2 authentication to work:&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg-opt install libgcrypt&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Please donate by PayPal button if you appreciate the work!&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Be aware: both packages are not guaranteed to work. They may break your system!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/8180635689292092533/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/02/netatalk-222-for-dd-wrt.html#comment-form' title='13 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/8180635689292092533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/8180635689292092533'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/02/netatalk-222-for-dd-wrt.html' title='Netatalk 2.2.2 for DD-WRT'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-5269625964373403335</id><published>2012-02-01T14:01:00.000+01:00</published><updated>2012-02-01T14:02:27.432+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><title type='text'>Netatalk 2.2.2 is available</title><content type='html'>The new netatalk version 2.2.2 has been released. I will compile a new package shortly. Meanwhile here is the change log:&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;ul style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;NEW: afpd: New option &quot;adminauthuser&quot;. Specifying eg &quot;-adminauthuser root&quot; whenever a normal user login fails, afpd tries to authenticate as the specified adminauthuser. If this succeeds, a normal session is created for the original connecting user. Said differently: if you know the password of adminauthuser, you can authenticate as any other user.&lt;/li&gt;
&lt;li&gt;NEW: configure option &quot;--enable-suse-systemd&quot; for openSUSE12.1 and later. &quot;--enable-redhat-systemd&quot; and &quot;--enable-suse-systemd&quot; are same as &quot;--enable-systemd&quot;. &quot;--enable-suse&quot; is renamed &quot;--enable-suse-sysv&quot;.&lt;/li&gt;
&lt;li&gt;NEW: experimental systemd service files in distrib/systemd/&lt;/li&gt;
&lt;li&gt;UPD: afpd: Enhanced POSIX ACL mapping semantics, from Laura Mueller&lt;/li&gt;
&lt;li&gt;UPD: afpd: Reset options every time a :DEFAULT: line is found in a AppleVolumes file&lt;/li&gt;
&lt;li&gt;UPD: afpd: Convert passwords from legacy encoding (wire format) to host encoding, NetAFP Bug ID #14&lt;/li&gt;
&lt;li&gt;UPD: afpd: Don’t set ATTRBIT_SHARED flag for directories&lt;/li&gt;
&lt;li&gt;UPD: afpd: Use sendfile() on Solaris and FreeBSD for sending data&lt;/li&gt;
&lt;li&gt;UPD: afpd: Faster volume used size calculation for &quot;volsizelimit&quot; option, cf man AppleVolume.default for details&lt;/li&gt;
&lt;li&gt;FIX: afpd: ACL access checking&lt;/li&gt;
&lt;li&gt;FIX: afpd: Fix an error when duplicating files that lacked an AppleDouble file which lead to a possible Finder crash&lt;/li&gt;
&lt;li&gt;FIX: afpd: Read-only filesystems lead to afpd processes running as root&lt;/li&gt;
&lt;li&gt;FIX: afpd: Fix for filesystem without NFSv4 ACL support on Solaris&lt;/li&gt;
&lt;li&gt;FIX: afpd: Fix catsearch bug, NetAFP Bug ID #12&lt;/li&gt;
&lt;li&gt;FIX: afpd: Fix dircache bug, NetAFP Bug ID #13&lt;/li&gt;
&lt;li&gt;FIX: dbd: Better checking for duplicated or bogus CNIDs from AppleDouble files&lt;/li&gt;
&lt;li&gt;FIX: dbd: Remove BerkeleyDB database environment after running&amp;nbsp;&lt;span class=&quot;monospaced&quot;&gt;dbd&lt;/span&gt;. This is crucial for the automatic BerkeleyDB database upgrade feature which is built into cnid_dbd and dbd.&lt;/li&gt;
&lt;li&gt;FIX: Fix compilation error when AppleTalk support is disabled&lt;/li&gt;
&lt;li&gt;FIX: Portability fixes&lt;/li&gt;
&lt;li&gt;FIX: search of surrogate pair&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;
Source:&amp;nbsp;&lt;a href=&quot;http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.2.html&quot;&gt;http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.2.html&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/5269625964373403335/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/02/netatalk-222-is-available.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/5269625964373403335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/5269625964373403335'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2012/02/netatalk-222-is-available.html' title='Netatalk 2.2.2 is available'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-3498447132045761492</id><published>2011-11-22T13:42:00.001+01:00</published><updated>2012-02-04T11:49:33.823+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.2.1"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="lion"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk"/><category scheme="http://www.blogger.com/atom/ns#" term="optware"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><category scheme="http://www.blogger.com/atom/ns#" term="uams_dhx2"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Netatalk 2.2.1 for DD-WRT</title><content type='html'>I compiled the newer netatalk version 2.2.1 for DD-WRT. I still use a Netgear WNR3500L router. I tested this build with the previously used Berkeley DB 4.7.25 (&lt;a href=&quot;http://dl.dropbox.com/u/2025540/libdb_4.7.25-3_mipsel.ipk&quot;&gt;libdb_4.7.25-3_mipsel.ipk&lt;/a&gt;). OS X Lion worked like a charm with it.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/netatalk_2.2.1-2_mipsel.ipk&quot;&gt;netatalk_2.2.1-2_mipsel.ipk&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Make a backup of your existing afpd/netatalk settings! (/opt/etc/netatalk in my case)&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Install the packages on your machine in the following order:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install netatalk_2.2.1-2_mipsel.ipk&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
make sure that you use&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk -force-downgrade&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
in case your libdb version is newer than 4.7.25.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Also in case you have not already done so - install libgcrypt which is necessary to get dhx2 authentication to work:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
ipkg-opt install libgcrypt&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Please donate by PayPal button if you appreciate the work!&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Be aware: both packages are not guaranteed to work. They may break your system!&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/3498447132045761492/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/11/netatalk-221-for-dd-wrt.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/3498447132045761492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/3498447132045761492'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/11/netatalk-221-for-dd-wrt.html' title='Netatalk 2.2.1 for DD-WRT'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-6996688727246779298</id><published>2011-11-22T10:02:00.001+01:00</published><updated>2011-11-23T09:52:41.059+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cross compiling"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk 2.2.1"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Cross Compiling Netatalk 2.2.1 for DD-WRT on Ubuntu 11.10</title><content type='html'>Here is an update on how to cross compile netatalk for dd-wrt. Once again I have my Netgear WNR3500L as my target device. I recently upgraded to Ubuntu 11.10 which to my surprise works pretty good! I am very satisfied with &amp;nbsp;it. But let&#39;s get started. Fire up you terminals.&lt;br /&gt;
&lt;br /&gt;
In case you want to take a shortcut here are the modified makefiles:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/netatalk.mk&quot;&gt;netatalk.mk&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/libdb.mk&quot;&gt;libdb.mk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
If you did not already do so you have to install&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;i&gt;bison,&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;i&gt;flex,&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;i&gt;texinfo &lt;/i&gt;and&lt;i&gt; subversion:&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt; sudo apt-get install bison flex texinfo subversion&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Now we can retrieve the optware packages und install our toolchain. Change to a directory you want this workspace located and execute:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;nbsp;svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;Setup the target environment once the checkout returns successfully:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt; cd optware&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt; make ddwrt-target&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt; cd ddwrt&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt;&amp;nbsp;make directories ipkg-utils toolchain&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;&lt;b&gt;Note: the target depends on your router and the build of dd-wrt you have installed! The dd-wrt-target happens to fit in this case. Read up on what target system you need before starting out!&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;The compiling of the toolchain might take some time. I ran into some trouble building the toolchain. In two cases the packages were not found. For the binutils package I changed to a different mirror. In order to do so I modified the &lt;i&gt;binutils.mk&lt;/i&gt; in &lt;i&gt;optware/ddwrt/toolchain/buildroot/toolchain/binutils/&lt;/i&gt;. I replaced all references of the kernel.org site with &lt;i&gt;http://ftp-stud.hs-esslingen.de/Mirrors/ftp.kernel.org/pub/linux/devel/binutils/.&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;Beware this mirror might change in the future. A more suitable fix should be used. This was just a quick fix!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;Also I had to change the version indicator for the gdb package. The character &#39;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;&#39; was appended. I updated the &lt;i&gt;gdb.mk&lt;/i&gt; file in &lt;i&gt;optware/ddwrt/toolchain/buildroot/toolchain/gdb/&lt;/i&gt; to reflect this modification (around line 8):&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;GDB_SOURCE:=gdb-$(GDB_VERSION)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;.tar.bz2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Now we can get started. First we need to build the dependencies (openssl, libgcrypt and libdb):&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;gt; make openssl-stage&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;gt; make libgcrypt-stage&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;I use libdb 4.7.25. In order to build that particular version I altered the &lt;i&gt;libdb.mk&lt;/i&gt; in&lt;i&gt; optware/ddwrt/make/&lt;/i&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;LIBDB_VERSION=4.7.25&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;LIBDB_LIB_VERSION=4.7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Secondly we need to add a configuration flag (around line 127):&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;--with-mutex=MIPS/gcc-assembly \&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;This configuration flag is important so libdb is not linked against libpthread. When this flag is not set libdb will not play nice with netatalk and OS X will create a warning each and every time you want to access a share. Save the changes and compile!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;gt; make libdb-ipk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&amp;gt; make libdb-stage&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Next we modify the &lt;i&gt;netatalk.mk&lt;/i&gt; file in&lt;i&gt; optware/ddwrt/make/&lt;/i&gt; to reflect the new version. Also I disabled one patch and added support for the cnid-cdb-backend:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;NETATALK_VERSION=2.2.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt; #(around line 8)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;NETATALK_PATCHES +=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;$(NETATALK_SOURCE_DIR)/afp_asp_include.patch #(around line 55)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;--with-cnid-cdb-backend \ #(around line 149)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;$(PATCH_LIBTOOL) $(@D)/libtool&amp;nbsp;#(around line 162)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;sed -i -e &quot;s/db_strerror/db_strerror$(DB_VERSION)/g&quot; $(@D)/etc/cnid_dbd/dbif.c&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;sed -i -e &quot;s/db_create/db_create$(DB_VERSION)/g&quot; $(@D)/etc/cnid_dbd/dbif.c&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;sed -i -e &quot;s/db_env_create/db_env_create$(DB_VERSION)/g&quot; $(@D)/etc/cnid_dbd/dbif.c&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;touch $@&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;That should be it. Build the netatalk 2.2.1 ipk:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;gt; make netatalk-ipk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;In &lt;i&gt;optware/ddwrt/builds the netatalk_2.2.1-2_mipsel.ipk&lt;/i&gt; should have appeared. Transfer the package to you router and proceed with the install. Remove the previous version of &lt;i&gt;libdb&lt;/i&gt; first and install the new &lt;i&gt;libdb&lt;/i&gt;&amp;nbsp;package:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;gt; ipkg&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;install libdb_4.7.25-3_mipsel.ipk&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;Then backup your netatalk settings for they will be replaced. Mine are in &lt;i&gt;/opt/etc/netatalk/&lt;/i&gt;. Upgrade the previous netatalk version to the new one.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;gt; killall afpd&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 18px;&quot;&gt;&amp;gt; ipkg install netatalk_2.2.1-2_mipsel.ipk&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;Now you can restore your settings and start netatalk again:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;gt; afpd -D&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/6996688727246779298/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/11/cross-compiling-netatalk-221-for-dd-wrt.html#comment-form' title='7 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/6996688727246779298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/6996688727246779298'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/11/cross-compiling-netatalk-221-for-dd-wrt.html' title='Cross Compiling Netatalk 2.2.1 for DD-WRT on Ubuntu 11.10'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-2381788762435354809</id><published>2011-08-03T18:44:00.000+02:00</published><updated>2012-02-04T11:49:10.820+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cross compiling"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk 2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Cross Compiling Netatalk 2.2 for DD-WRT on Ubuntu 11.04</title><content type='html'>This is a&amp;nbsp;straight&amp;nbsp;up history on how I got netatalk 2.2 compiled to run on my Netgear WNR3500L router. I used Ubuntu 11.04 but this should work on various distributions.&lt;br /&gt;
&lt;br /&gt;
I am not an expert on the matter. So in case you are wondering about some commands that might not be necessary ... its just how I got it to work. It might not be the most efficient way!&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;On my machine I needed the packages &lt;i&gt;bison,&lt;/i&gt;&amp;nbsp;&lt;i&gt;flex&lt;/i&gt;&amp;nbsp;and &lt;i&gt;texinfo&lt;/i&gt; installed before I could start cross compiling. So we start up a Terminal and install them:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; sudo apt-get install bison flex texinfo&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;In case you do not have &lt;i&gt;subversion&lt;/i&gt; installed:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; sudo apt-get install subversion&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Now we are set to retrieve the optware packages und install our toolchain. Change to a directory you want this workspace located and execute:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt;&amp;nbsp;svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Once that completed successfully we want to setup the dd-wrt toolchain. So change into the optware directory:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; cd optware&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make ddwrt-target&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; cd ddwrt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt;&amp;nbsp;make directories ipkg-utils toolchain&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;Note: the target depends on your router and the build of dd-wrt you have installed! The dd-wrt target happens to fit in this case. Read up on what target system you need before starting out!&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Now that will take some time. Afterwards however we are ready to go. There are several&amp;nbsp;dependencies netatalk needs. These are: &lt;i&gt;openssl&lt;/i&gt;, &lt;i&gt;libgcrypt&lt;/i&gt;&amp;nbsp;and &lt;i&gt;libdb&lt;/i&gt; (Berkeley DB &amp;gt; =4.6). So we are starting out by compiling &lt;i&gt;openssl&lt;/i&gt; and &lt;i&gt;libgcrypt&lt;/i&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make openssl-stage&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make libgcrypt-stage&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;For libdb we need to alter the libdb.mk file in the directory make. There are two things we need to change in order for this lib to play nice on the router later on. First we need to chose the correct version, which in my case is 4.7.25:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;LIBDB_VERSION=4.7.25&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;LIBDB_LIB_VERSION=4.7&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Secondly we need to add a configuration flag (around line 127):&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;--with-mutex=MIPS/gcc-assembly \&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;This configuration flag is important so libdb is not linked against libpthread. When this flag is not set libdb will not play nice with netatalk and OS X will create a warning each and every time you want to access a share. Save the changes and compile!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make libdb-ipk&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make libdb-stage&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Now we are set to get to netatalk. First we need to change the version in make/netatalk.mk just as we did with libdb. We change it to version 2.2.0:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;NETATALK_VERSION=2.2.0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;and disable the line where patches are applied (line 49)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;#NETATALK_PATCHES=$(NETATALK_SOURCE_DIR)/db3-check.patch&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;also we need to change the libgcrypt configuration flag around line 137 from&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;--with-libgcrypt-prefix=$(STAGING_PREFIX) \&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;to&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;--with-libgcrypt-dir=$(STAGING_PREFIX) \&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;This puts uams_dhx2.so into our ipk. &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Also add the configuration flag:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;--with-cnid-cdb-backend \&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;We are ready to compile netatalk now:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make netatalk-ipk&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;The process might stop on an error telling you that the variable AI_NUMERICSERV is nowhere to be found. I fixed this by adding:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;#ifndef AI_NUMERICSERV&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;#define AI_NUMERICSERV 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;#endif&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;in builds/netatalk/libatalk/cnid/dbd/cnid_dbd.c right before the function &lt;i&gt;static int tsock_getfd(const char *host, const char *port) &lt;/i&gt;&amp;nbsp;Now we are starting the building process again and it should run smoothly and create the ipk.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;gt; make netatalk-ipk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Thats it! We have created libdb and netatalk packages which we can deploy on the router now. Copy builds/libdb_4.7.25-3_mipsel.ipk and builds/netatalk_2.2.0-2_mipsel.ipk onto your router and install them (in case afpd is running kill it first):&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ipkg install&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;libdb_4.7.25-3_mipsel.ipk&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;ipkg install netatalk_2.2.0-2_mipsel.ipk&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Cheers!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/2381788762435354809/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/08/cross-compiling-netatalk-22-for-dd-wrt.html#comment-form' title='8 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/2381788762435354809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/2381788762435354809'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/08/cross-compiling-netatalk-22-for-dd-wrt.html' title='Cross Compiling Netatalk 2.2 for DD-WRT on Ubuntu 11.04'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-1695099062166987758</id><published>2011-08-01T12:20:00.000+02:00</published><updated>2011-08-22T18:41:56.470+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="afpd"/><category scheme="http://www.blogger.com/atom/ns#" term="afpd.conf"/><category scheme="http://www.blogger.com/atom/ns#" term="AppleVolumes.default"/><category scheme="http://www.blogger.com/atom/ns#" term="avahi"/><category scheme="http://www.blogger.com/atom/ns#" term="avahi-daemon.conf"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk 2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk.conf"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><title type='text'>Netatalk 2.2 configurations</title><content type='html'>Here is how I got my netatalk/afpd running with Apple&#39;s Time Machine service. After installing netatalk 2.2 (and its dependency libdb and libgcrypt - see previous post) there should be configuration files in &lt;b&gt;/opt/etc/netatalk/&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;afpd.conf&lt;/b&gt;: &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: xx-small;&quot;&gt;(updated August 3rd)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;- -transall -nouservol -setuplog &quot;default log_info /var/log/afpd.log&quot; -defaultvol /opt/etc/netatalk/AppleVolumes.default -systemvol /opt/etc/netatalk/AppleVolumes.system -passwdfile /opt/etc/netatalk/afppasswd -uamlist uams_clrtxt.so,uams_guest.so,uams_randnum.so,uams_dhx.so&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;,uams_dhx2.so&lt;/span&gt; -nosavepassword -advertise_ssh&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AppleVolumes.default&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;/path/to/Volume &quot;TimeMachine&quot; cnidscheme:cdb options:tm&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;netatalk.conf&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Appletalk configuration&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Change this to increase the maximum number of clients that can connect:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;AFPD_MAX_CLIENTS=50&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Change this to set the machine&#39;s atalk name and zone, the latter containing&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# the &#39;@&#39; sign as first character -- compare with nbp_name(3) if in doubt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# NOTE: If Netatalk should register AppleTalk services in the standard zone&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; then you need not to specify a zone name here.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; If your zone has spaces in it, you&#39;re better off specifying&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; it in afpd.conf if you realize that your distribution doesn&#39;t&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; handle spaces correctly in the startup script. Remember to use&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; quotes here if the zone name contains spaces.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#ATALK_ZONE=&quot;@some zone&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# specify the Mac and unix charsets to be used&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ATALK_MAC_CHARSET=&#39;MAC_ROMAN&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ATALK_UNIX_CHARSET=&#39;LOCALE&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# specify this if you don&#39;t want dhx and dhx2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# available options: uams_guest.so, uams_clrtxt.so,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;uams_dhx.so, uams_dhx2.so,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;uams_randnum.so&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#AFPD_UAMLIST=&quot;-U uams_dhx.so,uams_dhx2.so&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Change this to set the id of the guest user&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;AFPD_GUEST=nobody&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Set which daemons to run (papd is dependent upon atalkd):&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ATALKD_RUN=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;PAPD_RUN=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;CNID_METAD_RUN=yes&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;AFPD_RUN=yes&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;TIMELORD_RUN=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;A2BOOT_RUN=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# Control whether the daemons are started in the background&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ATALK_BGROUND=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# export the charsets, read form ENV by apps&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;export ATALK_MAC_CHARSET&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;export ATALK_UNIX_CHARSET&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Also if you want to get the netatalk service to be advertised you need install the avahi-daemon and edit its settings. The settings reside in&amp;nbsp;&lt;b&gt;/opt/etc/avahi/&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;avahi-daemon.conf:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;[server]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;host-name=TimeMachine&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;use-ipv4=yes&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;use-ipv6=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;allow-interfaces=br0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;enable-dbus=no&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Also create a file in &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;/opt/etc/avahi/services&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Mine is called &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;afpd.service&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; standalone=&#39;no&#39;?&amp;gt;&amp;lt;!--*-nxml-*--&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE service-group SYSTEM &quot;avahi-service.dtd&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;service-group&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;name replace-wildcards=&quot;yes&quot;&amp;gt;%h&amp;lt;/name&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;service&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;type&amp;gt;_afpovertcp._tcp&amp;lt;/type&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;port&amp;gt;548&amp;lt;/port&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/service&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;service&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;type&amp;gt;_device-info._tcp&amp;lt;/type&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;port&amp;gt;0&amp;lt;/port&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;txt-record&amp;gt;model=Xserve&amp;lt;/txt-record&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/service&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/service-group&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Last but not least issue the command &#39;&lt;i&gt;adduser avahi&#39;&amp;nbsp;&lt;/i&gt;then&lt;i&gt;&amp;nbsp;&#39;avahi-daemon &amp;amp;&#39;. &lt;/i&gt;Now you are set to start the service by typing &#39;&lt;i&gt;afpd&lt;/i&gt;&#39;. You should now be able to see &#39;TimeMachine&#39; in the shared section of your Finder window. After mounting it is available in the Time Machine preferences.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Thanks to&amp;nbsp;&lt;a href=&quot;http://www.myopenrouter.com/forum/thread/25959/WNR3500L-Mac-OSX-Time-Machine-with-afpd/#9786&quot;&gt;myopenrouter&lt;/a&gt;&amp;nbsp;- their tutorial initially got me started fiddling around with Time Machine and dd-wrt afpd/netatalk half a year ago. I found s&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;ome more settings&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;using&amp;nbsp;&lt;a href=&quot;http://www.google.com/&quot;&gt;www.google.com&lt;/a&gt;. My configurations are most certainly not the best there is but for me they worked. I hope they do the same&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;for you&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/1695099062166987758/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/08/netatalk-configurations.html#comment-form' title='20 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/1695099062166987758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/1695099062166987758'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/08/netatalk-configurations.html' title='Netatalk 2.2 configurations'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4339816687822113505.post-5245215848299182535</id><published>2011-07-31T16:16:00.000+02:00</published><updated>2012-02-04T11:48:20.091+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="libdb"/><category scheme="http://www.blogger.com/atom/ns#" term="lion"/><category scheme="http://www.blogger.com/atom/ns#" term="netatalk"/><category scheme="http://www.blogger.com/atom/ns#" term="optware"/><category scheme="http://www.blogger.com/atom/ns#" term="timemachine"/><category scheme="http://www.blogger.com/atom/ns#" term="uams_dhx2"/><category scheme="http://www.blogger.com/atom/ns#" term="WNR3500L"/><title type='text'>Netatalk 2.2 for DD-WRT</title><content type='html'>I successfully compiled netatalk 2.2.0 for opt ware DD-WRT build environment. It is compiled against Berkeley DB 4.7.25.&lt;br /&gt;
&lt;br /&gt;
I tested it with OS X 10.6.8 aka Snow Leopard and OS X 10.7 aka Lion. Both worked with Apples Time Machine. My router is a Netgear WNR3500L with&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Firmware:&amp;nbsp;DD-WRT v24-sp2 (08/12/10) mini-usb-ftp installed.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/libdb_4.7.25-3_mipsel.ipk&quot;&gt;libdb 4.7 ipk&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/2025540/netatalk_2.2.0-2_mipsel.ipk&quot;&gt;netatalk 2.2 ipk&lt;/a&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;(updated August 3rd - added uams_dhx2.so)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Make a backup of your existing afpd/netatalk settings! (/opt/etc/netatalk in my case)&lt;br /&gt;
Install the packages on your machine in the following order:&lt;br /&gt;
&lt;br /&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk&lt;br /&gt;
ipkg install netatalk_2.2.0-2_mipsel.ipk&lt;br /&gt;
&lt;br /&gt;
make sure that you use&lt;br /&gt;
&lt;br /&gt;
ipkg install libdb_4.7.25-3_mipsel.ipk -force-downgrade&lt;br /&gt;
&lt;br /&gt;
in case your libdb version is newer than 4.7.25.&lt;br /&gt;
&lt;br /&gt;
Also in case you have not already done so - install libgcrypt which is necessary to get dhx2 authentication to work:&lt;br /&gt;
&lt;br /&gt;
ipkg-opt install libgcrypt&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;(updated August 22nd - thanks newton)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Please donate by PayPal Button if you appreciate the work!&lt;br /&gt;
&lt;br /&gt;
Be aware: both packages are not guaranteed to work. They may break your system!</content><link rel='replies' type='application/atom+xml' href='http://netatalk-ddwrt.blogspot.com/feeds/5245215848299182535/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/07/netatalk-22-for-dd-wrt.html#comment-form' title='28 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/5245215848299182535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4339816687822113505/posts/default/5245215848299182535'/><link rel='alternate' type='text/html' href='http://netatalk-ddwrt.blogspot.com/2011/07/netatalk-22-for-dd-wrt.html' title='Netatalk 2.2 for DD-WRT'/><author><name>nGotme</name><uri>http://www.blogger.com/profile/02345092246778066011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir44CUgrut9gLR2-oQA9UfZ3i8aLnTTUBsZoC5A_c3u_enlxsLIi9LljedcgG2Dn1AKVXSaTymTQEKngNP8v8vdMBZq5jmpdJ5zF_N4y1LZVYMYAS6-21CCEqnzAjznCQ/s220/blogger_avatar.png'/></author><thr:total>28</thr:total></entry></feed>