Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Created September 12, 2020 22:10
Show Gist options
  • Save sam0x17/9d61b204e69ccaf194a504e72a0f61d9 to your computer and use it in GitHub Desktop.
Save sam0x17/9d61b204e69ccaf194a504e72a0f61d9 to your computer and use it in GitHub Desktop.
linux mount smb fstab
//plex-server/d /mnt/plex_d cifs uid=sam,credentials=/home/sam/.smbcredentials,iocharset=utf8,vers=3.0 0 0
//plex-server/e /mnt/plex_e cifs uid=sam,credentials=/home/sam/.smbcredentials,iocharset=utf8,vers=3.0 0 0
@sam0x17
Copy link
Author

sam0x17 commented Sep 12, 2020

.smbcredentials syntax:

username=username
password=password

@sam0x17
Copy link
Author

sam0x17 commented Nov 16, 2020

  1. install sudo apt install cifs-utils
  2. create .smbcredentials file
  3. add plex-server to hosts file
  4. restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment