There is a 2TB Time Capsule on my home network (IP 192.168.0.1). How can I mount the Time Capsule's disk from my Raspberry Pi, automatically after reboots?
Put it in fstab.
sudo su mkdir /mnt/timecapsule echo "//timeCapsuleIp/Data /mnt/timecapsule cifs user=timecapsuleUsername,pass=timecapsuleUserPassword,rw,uid=1000,iocharset=utf8,sec=ntlm 0 0" >> /etc/fstab
cifs-utils package should be already provided on raspbian.
Of course change timecapsuleUsername and timecapsuleUserPassword. The uid=1000 sets owner of mounted files to user pi. If using other user check it's uid with
id -u username. Check if "Data" folder is right for you - list resources by issuing command
smbclient -Uusername -I ip-address -L.
I got adding sec=ntlm to the options, the complete command is:
sudo su mkdir /mnt/timecapsule echo "//timeCapsuleIp/Data /mnt/timecapsule cifs user= timecapsuleUsername,pass= timecapsuleUserPassword,rw,uid=1000,iocharset=utf8,sec=ntlm 0 0" >> /etc/fstab
Then, run this command:
You should no get any errors.
protected by Community♦ May 13 '15 at 22:07
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?