I'm on Lubuntu 14.04. I'm trying to automatically mount a USB disk attached to an Apple Time Capsule. There seems to be quite a few users who have done this successfully, but for the life of me I cannot make it mount after hours of trying.
/etc/fstab line looks like this:
//10.0.0.10/MOMO/LaCie\040Rugged /media/LaCie\040Rugged cifs password=fakepassword,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlm,nounix
The Time Capsule is statically set to always be 10.0.0.10. It is named MOMO. The USB disk attached to it is named "LaCie Rugged" and, as far as I know, the space in the name is properly escaped with
\040. When I tried to mount it without making the local directory "/media/LaCie Rugged" first, I got an error that the folder didn't exist. I created it, and that error did not show up again, so I know that path is correct and correctly escaped.
I assume the first path--the path to the share on the Time Capsule--is also escaped correctly, but possibly not, as it seems to be the reason for getting the error "Unable to find suitable address" or so the internet tells me.
SO. I try to ping the IP address and it works.
$ ping 10.0.0.10 PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. 64 bytes from 10.0.0.10: icmp_seq=1 ttl=64 time=85.7 ms 64 bytes from 10.0.0.10: icmp_seq=2 ttl=64 time=107 ms 64 bytes from 10.0.0.10: icmp_seq=3 ttl=64 time=129 ms 64 bytes from 10.0.0.10: icmp_seq=4 ttl=64 time=49.7 ms 64 bytes from 10.0.0.10: icmp_seq=5 ttl=64 time=70.9 ms 64 bytes from 10.0.0.10: icmp_seq=6 ttl=64 time=95.0 ms 64 bytes from 10.0.0.10: icmp_seq=7 ttl=64 time=15.8 ms ^C --- 10.0.0.10 ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6008ms rtt min/avg/max/mdev = 15.878/79.149/129.265/34.919 ms andy@eeePC8G:~$ sudo mount -a Unable to find suitable address.
But when I try to run
sudo mount -a, I always get the error "Unable to find suitable address."
I have no clue why it doesn't work or what that error is pointing out. I need help. :(
How do I automatically mount a Time Capsule share in Lubuntu using fstab?