||
IP:172.16.18.56
mso-hansi-font-family:"Times New Roman"">共享文件夹:E:\test
Linux:fedora7
mso-hansi-font-family:"Times New Roman"">步骤:
1.检查windows共享文件夹是否可用,在局域网中的其它主机上运行 \\172.16.18.56,如果可以登陆就没有问题了。如果登陆有问题怎么办呢?我碰到登陆提示“网络登录服务没有启动”,在windows上启动Net Logon服务就正常了。
2.在windows上添加用户bluesky/123456,方法:在命令提示符中运行net user bluesky /add,或者在控制面板-> mso-hansi-font-family:"Times New Roman"">用户账户
mso-hansi-font-family:"Times New Roman"">中添加用户。
3.Linux下挂载共享文件夹
mount -t cifs -o
username=bluesky,password=123456 //172.16.18.56/test /mnt
mso-hansi-font-family:"Times New Roman"">注意:
mso-hansi-font-family:"Times New Roman"">第一步最好检查下,今天就是没有去检查,结果Linux mso-hansi-font-family:"Times New Roman"">挂载一直显示出错:
root@fedora7 ~]# mount -t cifs -o
username=bluesky,password=123456 //172.16.18.56/test /mnt
mount error 92 = Protocol not available
Refer to the mount.cifs(8) manual page
(e.g.man mount.cifs)
WIN7
mso-hansi-font-family:"Times New Roman"">共享文件设置(高级共享,共享权限)