1.1 安装samba客户端
sudo apt-get
install smbclient -y
1.2 查看文件共享权限
smbclient -L
//192.168.100.6
1.3 创建挂载点
mkdir -p /mnt/Myshare
1.4 临时挂载
sudo mount -t cifs -o user=<username>,password=<password>
//192.168.100.6/Software /mnt/Myshare/
1.5 开机自动挂载
//192.168.100.6/Software /mnt/Myshare cifs user=<username>,password=<password> 0 0
转载于:https://www.cnblogs.com/Wolf-Dreams/p/11241198.html