mailong的笔记 https://passport2.21ic.com/?650834 [收藏] [复制] [RSS]

日志

关于linux下防问WIN7 共享文件

已有 683 次阅读2014-6-22 13:08 |系统分类:ARM| linux



IP:172.16.18.56



mso-hansi-font-family:"Times New Roman"">共享文件夹:E:\test



Linuxfedora7



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"">共享文件设置(高级共享,共享权限)






  
  
  
  
  
  
  
  
  
  
  
  









EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">


路过

鸡蛋

鲜花

握手

雷人

评论 (0 个评论)