himy 发表于 2017-5-11 19:22 这个代码怎么用呢? |
himy 发表于 2017-5-11 19:22 非常感谢,楼上代码有效 使用smb2enable命令后解决局域网访问问题,最后一段我没输入,以我三脚猫的linux水平看似乎是把设置参数文件拷贝到启动文件夹,我没试过重启,回头测试下 |
打QNAP的客服电话,然后有一个技术员联系我,远程解决。代码如下:可参考。 login as: admin admin@192.168.1.8's password: [~] # df Filesystem Size Used Available Use% Mounted on [~] # [~] # smb2status smbd (samba daemon) Version 3.6.25 smbd (samba daemon) is running. max protocol SMB 1.0 enabled. [~] # /etc/init.d/restart -sh: /etc/init.d/restart: No such file or directory [~] # /etc/init.d/smb.sh restart Restarting SMB services: Shutting down SMB services: smbd nmbd. Shutting down winbindd services: winbindd. locks path was set to /share/MD0_DATA/.locks Shutting down winbindd services: winbindd. Starting winbindd services:Starting SMB services:. done. [~] # /etc/init.d/restart -sh: /etc/init.d/restart: No such file or directory [~] # smb2status smbd (samba daemon) Version 3.6.25 smbd (samba daemon) is running. max protocol SMB 1.0 enabled. [~] # smb2status smbd (samba daemon) Version 3.6.25 smbd (samba daemon) is running. max protocol SMB 1.0 enabled. [~] # smb smb21enable smb2disable smb2enable smb2status smbtools [~] # smb smb21enable smb2disable smb2enable smb2status smbtools [~] # smb2enable Shutting down SMB services: smbd nmbd. Shutting down winbindd services: winbindd. max protocol SMB 2.0 ... enabled. locks path was set to /share/MD0_DATA/.locks Shutting down winbindd services: winbindd. Starting winbindd services:Starting SMB services:. smbd (samba daemon) Version 3.6.25 smbd (samba daemon) is running. max protocol SMB 2.0 enabled. [~] # /etc/init.d/smb.sh restart Restarting SMB services: Shutting down SMB services: smbd nmbd. Shutting down winbindd services: winbindd. locks path was set to /share/MD0_DATA/.locks Shutting down winbindd services: winbindd. Starting winbindd services:Starting SMB services:. done. [~] # df [~] # [~] # cd /share/MD0_DATA/ [/share/MD0_DATA] # ll drwxrwxrwx 46 admin administ 4.0k May 11 10:37 ./ drwxrwxr-x 31 admin administ 1.0k May 11 18:37 ../ [/share/MD0_DATA] # cd [~] # cp /etc/config/smb.conf /share/MD0_DATA/Web/ [~] # cp /etc/default_config/smb.conf /mnt/HDA_ROOT/.config/smb.conf [~] # reboot [~] # |
怎么解决的,我也是这问题 |
我是4.2.3升级到4.3.3出现此类问题,我找到了解决办法:控制台--》网络&文件服务--》win/mac/nfs--》微软网络--》高级设置--》最新smb版本:选择smb3.0最后点应用,然后一切OK了 |
我也是遇到了同样的问题,怎么解决的LZ? |
遇到了同样的问题,怎么解决的LZ? |