In some forums there are some hot topics that some people can no longer share their network to Mac OS X Lion after they update their servers to Ubuntu 11.10 due to Netatalk can not run properly. For additional information, Netatalk is a daemon which provides POSIX-compliant *NIX/*BSD systems with the ability to share files and printers with Apple Macintosh computers.
So through this post I want to share how to fix Netatalk on Ubuntu server 11.10 so you can share your network with a Mac Lion. Follow the steps below:
- Remove Netatalk completely:
sudo apt-get remove netatalk --purge
sudo rm /etc/netatalk -R -f - Edit the sources.list file to add a new repository with Netatalk 2.2.1. Add two lines below:
deb http://ppa.launchpad.net/jstrunk-math/ppa/ubuntu oneiric main
deb-src http://ppa.launchpad.net/jstrunk-math/ppa/ubuntu oneiric main - Reinstall the Netatalk:
sudo apt-get update
sudo apt-get install netatalk - Edit the file /etc/netatalk/afpd.conf:
- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -setuplog "default log_info /var/log/afpd.log"
There was little change in the afpd.conf file above with Netatalk used on earlier Ubuntu version where uams_dhx2.so replaced with uams_dhx2_passwd.so. The change refers to bug, see it on https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732. - Edit /etc/netatalk/AppleVolumes.default with your normal shares:
# The line below sets some DEFAULT, starting with Netatalk 2.1.
:DEFAULT: options:upriv,usedots
/media/data "Data" cnidscheme:dbd options:usedots,upriv - The last, restart Netatalk:
sudo service netatalk restart
That's all to make your Netatalk run properly in Ubuntu Server 11.10 so you can share your network to OS X Lion computer. Hope it useful...
Via Denoo.
No comments:
Post a Comment