Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shuxiao9058/9dd54869e4c2e0c53d0f300125fccd49 to your computer and use it in GitHub Desktop.
Save shuxiao9058/9dd54869e4c2e0c53d0f300125fccd49 to your computer and use it in GitHub Desktop.
Mount TimeCapsule on RaspberryPi
# Install dependencies
% apt-get install cifs-utils
# Create mount point folder
% mkdir /mnt/capsule
# Create credentials file
% touch /root/.cifs/capsule
% cat /root/.cifs/capsule
username=username
password=password
# Backup your fstab file
% cp /etc/fstab /etc/fstab.bak
# Put mount options in fstab and reboot system
% echo "//server/sharename /mnt/capsule cifs credentials=/root/.cifs/capsule,rw,sec=ntlm,iocharset=utf8 0 0" >> /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment