Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to remove the need of connecting my Time Machine USB disk directly to my MacBook. I don't need any other functionality which Apple Time Capsule offers.

  1. Is it possible to use my router with a connected USB disk (already working with Time Machine) and installed OpenWRT as network Time Capsule?

  2. Can I use a Samba share as Time Capsule disk?

share|improve this question
    
This also seems like it has a good answer. –  CajunLuke Sep 24 '12 at 23:11

2 Answers 2

up vote 0 down vote accepted

HFS+ will get you nowhere since Linux cannot write it reliably. I don't know how to configure your OpenWRT hardware exactly but here is my solution used on both x86 Ubuntu and Raspberry Pi (I think the latter is close enough to an router - at least a smartphone)

  1. You need some packages to make AFP and mDNS/DNS-SD work:

    apt-get install avahi-daemon netatalk
    
  2. Now configure your netatalk to share the volume on your Linux box. The filesystem does not make any difference, I used ext4 as it is close enough to modern HFS+ systems. (On my RPi, the only way to access files on it is to use either SSH or AFP, I uninstalled Samba)

  3. At this point, you can hack your mac to force it to use your Linux box as Time Capsule, or you can find a real Time Capsule (or OS X Server) and replicate all its extra DNS-SD records using Avahi.

share|improve this answer

To #1, yes you can do that, it doesn't need to be formatted to "Time Capsule" format, what you would do is format the drive to HFS+, "bless" the drive with your mac then connect it to your openWRT router.

For #2, yes you can do that, here is a brief guide on how: http://blog.xemantic.com/2008/04/timemachine-backups-on-smb-share.html

share|improve this answer
    
Wrong. HFS+ will not work in a linux router. –  mspasov Apr 18 '11 at 8:08
    
Depends on how he wants to go about it, it can be done. –  edude05 Apr 19 '11 at 0:20
    
He just cannot use journaling (which sucks for large drives): en.wikipedia.org/wiki/HFS_Plus#Linux –  XQYZ Jun 17 '11 at 5:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.