Windows7访问Debian的samba很慢解决

来源:互联网 发布:电脑电视直播软件排名 编辑:程序博客网 时间:2024/06/04 23:53

1、环境:

主机:Windows 7

虚拟机:Debian 8

2、问题:

Debian搭建samba服务器,并配置如下:

[android]   comment = Android4.4.2   path = /home/liangqx/Workspace/weiqian/android   browseable = yes    writable = yes    public = yes    valid users = liangqx

在Windows 7通过问题共享目录,常常会卡顿;复制文件进来时,使用快捷键或点击右键就会卡住,窗口无响应。


3、解决:

发现:

cat /etc/hosts 127.0.0.1localhost127.0.1.1lqxdebian.weiqian.comlqxdebian# The following lines are desirable for IPv6 capable hosts::1     localhost ip6-localhost ip6-loopbackff02::1 ip6-allnodesff02::2 ip6-allrouterscat /etc/hostnamelqxdebian


修改/etc/hosts

127.0.0.1localhost lqxdebian# The following lines are desirable for IPv6 capable hosts::1     localhost ip6-localhost ip6-loopbackff02::1 ip6-allnodesff02::2 ip6-allrouters

再测试时,可以正常拷贝文件了。


4、总结

参考网友博客http://extjs.org.cn/fatjames/archives/460,得到思路解决,但不太清楚真正的原因。

由于使用的系统不同,具体的修改也有不同,要结合具体的LINUX系统。

继续测试使用,希望不要再有这样的问题,很影响工作效率。


原创粉丝点击