The good news – I can see my share and drop a jpeg file one it and see it with ‘display’ on the server side. Now lets hope that Mountain Lion doesn’t change too much… So I went with 2.2.2 and that worked perfectly (just go through the tutorial again, starting from the wget command and skipping the avahi stuff – but don’t forget to restart netatalk!). So I decided to downgrade to the version used in this tutorial (first run dpkg -r netatalk), but 2.2.1 exits ‘make’ with an error. And although it changed some things, it never got rid of the error OS X threw out. Tried quite a few things I found while googleing. After digging a bit further, this must mean “aspNoServers: No servers at that address” Please contact your system administrator to resolve the problem.” When trying to mount the filesystem over the command line (using mount_afp) I get “mount_afp: AFPMountURL returned error -1069, errno is -1069”. I’ve just installed 2.2.3 as well and it gives me the same error: “The version of the server you are trying to connect to is not supported. it could be that I’ve also installed before setting up netatalk: apt-get install libavahi-client-dev Your Lion machine should be able to create one by itself. If things are all right you won’t need to prepare a sparsebudle file on your Lion machine and copy it to your TimeMachine Volume. Enable Time Machine and the first backup should fire up. If prompted for credentials, reenter them. Things should work now and you can open your Time Machine, and click “Select Disk…” Choose the mounted drive that you just opened. Open Finder, from the menu bar choose go -> connect to server, and enter in the server address: afp:// Ĭlick connect and enter the right password. To do this open a terminal window and execute: Defaults write TMShowUnsupportedNetworkVolumes 1 You’re Ubutu machine is now ready for action! The Lion setup:įirst you will need to enable unsupported drives in time machine. Now you can start netatalk and avahi: sudo /etc/init.d/netatalk restart & service avahi-daemon reload # Add this to new file: %h _afpovertcp._tcp 548 _device-info._tcp 0 model=Xserve Īdd the timemachine user: sudo adduser timemachineĬreate the required backup folder: sudo mkdir /data/backup sudo mkdir /data/backup/TimeMachine sudo chown timemachine /backup/TimeMachine Now you will need adjust the config file as indicated below: sudo vim /etc/avahi/services/rvice Now you will need to install avahi sudo apt-get install avahi-daemon Somewhere half way you will find the following section: ATALKD_RUN=no PAPD_RUN=no CNID_METAD_RUN=yes AFPD_RUN=yes TIMELORD_RUN=no A2BOOT_RUN=no Now make sure that the cnid_metad demon is running, you activate it in sudo nano -w /etc/default/netatalk So if this directory still exists remove it: rm /etc/netatalkĪdjust your fault config: sudo nano /usr/local/etc/netatalk/faultĪdd tm to the default options to fault: DEFAULT: options:tm,upriv,usedotsĪnd comment out ~/ home directory entry in the last lines of the fileĪnd add the following line, below: /data/backup/TimeMachine "TimeMachine" cnidscheme:dbd allow:timemachineuser In that case we don't want to use /etc/netatalk. Note that you netatalk config files are now in a different location in case you upgrade from a previously installed package: /usr/local/etc/netatalk/…… Install the package properly using checkinstall: sudo checkinstall -pkgname=netatalk -pkgversion="$(date +%Y%m%d%H%M)" -backup=no -deldoc=yes -default configure -enable-debian -enable-zerconf make In this post we will use 2.2.1 as an example but change the lines below accordingly to the latest version number: sudo apt-get install libdb4.8-dev libcrack2-dev libssl-dev libgcrypt11-dev wget tar xvf netatalk-2.2.1.tar.gz cd netatalk-2.2.1. Now download the latest version of netatalk. Install Netatalk Download netatalk sources You will also need checkinstall: sudo apt-get install checkinstall if not sudo aptitude install build-essential Follow the path below and you will become a happy time traveller!īefore doing so make sure you have a compiler installed. As with many things once you know the recipe the procedure is straightforward, but I've found many posts our there of people who tried but didn't succeed. That is the strategy we will follow in this post. OS-X Lion requires netatalk > 2.2.1, however there seems to be no package for that available on the regular sources, but you can also build it yourself! This post is for all Ubuntu Geeks who got frustrated that their time machine didn't run anymore after intallation of OS-X Lion or for those out there trying to get it running for the first time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |