Skip to content

Instantly share code, notes, and snippets.

How to setup SMB/CIFS on PIs to access my NAS
install smb client on all pis in your cluster:
$ sudo apt install samba samba-common-bin smbclient cifs-utils
create credentials file for your NAS access locally on all of your pis
$ vi /home/pi/.smbcredentials
username=yourusername
password=yourpassword