共享文件夹不能访问
Tofloor
poster avatar
solothink
deepin
2020-11-19 00:34
Author

我以前一台deepin20,共享文件夹是正常的,现在别的机器不能访问,想请教用什么命令查看,另外如何恢复?谢谢!采用smbclient 命令也报 “connection to spring2 failed(error NT_STATUS_HOST_UNREACHABLE)

Reply Favorite View the author
All Replies
solothink
deepin
2020-11-19 06:39
#1

命令 service smb restart,显示 Failed to restart smb.service: Unit smb.service not found.


Reply View the author
xiaomingstudent
deepin
2020-11-21 08:15
#2

命令可能是:service smbd restart,而不是service smb restart;另外别的机器不能访问,可以参考我的帖子看能不能解决https://bbs.deepin.org/post/206400

Reply View the author
solothink
deepin
2020-11-22 17:36
#3
xiaomingstudent

命令可能是:service smbd restart,而不是service smb restart;另外别的机器不能访问,可以参考我的帖子看能不能解决https://bbs.deepin.org/post/206400

你的帖子我看,写得挺好的。我这次情况应该是服务端的问题,我想可能是某个依赖要重新装一下,我前面安装、删除过不少通讯程序,之后就不对了。

Reply View the author
solothink
deepin
2020-11-30 04:15
#4
xiaomingstudent

命令可能是:service smbd restart,而不是service smb restart;另外别的机器不能访问,可以参考我的帖子看能不能解决https://bbs.deepin.org/post/206400

我解决了,我回顾了一下之后,觉得是安装宝塔之后的事情。当时没装成功,我就把宝塔删了,但是防火墙设置没有改回来。原来默认是关闭了共享端口的。我用ufw的命令把139,445端口加上,共享打印机和共享文件夹的服务都正常了。

还是谢谢你!

Reply View the author