Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get install samba-common smbclient samba-common-bin smbclient cifs-utils
- mkdir /mnt/abc
- mount -t cifs //server/share /mnt/abc
- mount -t cifs //server/share /mnt/abc -o user=user,pass=password,dom=domain
- umount /mnt/abc
- sudo nano /etc/fstab
- //server/share /mnt/abc cifs guest 0 0
- sudo mount -a
- //server/share /mnt/abc cifs username=username,password=password 0 0
- nano ~/.smbcredentials
- username=username
- password=password
- chmod 600 ~/.smbcredentials
- //server/share /mnt/abc cifs credentials=/home/pi/.smbcredentials 0 0
- sudo mount -a
Add Comment
Please, Sign In to add comment