Sonntag, 31. Juli 2011

Netatalk 2.2 for DD-WRT

I successfully compiled netatalk 2.2.0 for opt ware DD-WRT build environment. It is compiled against Berkeley DB 4.7.25.

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 Firmware: DD-WRT v24-sp2 (08/12/10) mini-usb-ftp installed.

libdb 4.7 ipk
netatalk 2.2 ipk (updated August 3rd - added uams_dhx2.so)

Make a backup of your existing afpd/netatalk settings! (/opt/etc/netatalk in my case)
Install the packages on your machine in the following order:

ipkg install libdb_4.7.25-3_mipsel.ipk
ipkg install netatalk_2.2.0-2_mipsel.ipk

make sure that you use

ipkg install libdb_4.7.25-3_mipsel.ipk -force-downgrade

in case your libdb version is newer than 4.7.25.

Also in case you have not already done so - install libgcrypt which is necessary to get dhx2 authentication to work:

ipkg-opt install libgcrypt (updated August 22nd - thanks newton)

Please donate by PayPal Button if you appreciate the work!

Be aware: both packages are not guaranteed to work. They may break your system!