1 在位址欄中輸入下面内容:
smb://windows ip/share folder name,smb為server message block協定的簡稱,是一種ibm協定,運作在tcp/ip協定之上。
從windows 95開始,microsoft windows都提供了server和client的smb協定支援,microsoft為internet提供了smb開源版本,及cifs(common internet file system),通用檔案系統。
2 将windows的共享檔案夾挂載到本地
在終端中輸入指令mount -t cifs -o username="admin",password="" //192.168.1.1/sharefolder /mnt/myshare
注意指令行中的空格和逗号,空密碼也可以。
此指令就是将192.168.1.1上的共享檔案夾sharefolder 挂載到本地的/mnt/myshare檔案夾,執行完,就可在myshare裡看到sharefolder裡的内容。
删除挂載用指令:umount /mnt/myshare