Skip to content

Instantly share code, notes, and snippets.

@eduavila
Last active April 22, 2025 12:15
Show Gist options
  • Save eduavila/4ed9ebc892bed7e9c5016e411673afc6 to your computer and use it in GitHub Desktop.
Save eduavila/4ed9ebc892bed7e9c5016e411673afc6 to your computer and use it in GitHub Desktop.
Montar diretorio cifs linux

Criar pasta

mkdir /mnt/linux_smb
chmod 755  /mnt/linux_smb

Editar arquivo /etc/fstab

//192.168.1.1/SharedFolder/    /mnt/linux_smb   cifs    username=winuser,password=TopSecret   0    0
mount -a

Verifica Log.

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