Skip to content

Instantly share code, notes, and snippets.

@billsuxx
Created February 12, 2014 19:01
Show Gist options
  • Save billsuxx/8962214 to your computer and use it in GitHub Desktop.
Save billsuxx/8962214 to your computer and use it in GitHub Desktop.
samba share mount
sudo mkdir /media/hd
gedit ~/.smbcredentials
username=msusername
password=mspassword
chmod 600 ~/.smbcredentials
sudo mcedit /etc/fstab file
//pi/hd /media/hd cifs credentials=/home/scott/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
sudo mount -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment