如题,在openwrt中,设置了,samba,电脑上映射了openwrt挂载的硬盘。在米家中设置好了小米摄像机3PRO 云台版的nas存储,手机app显示传输正常。但是电脑打开openwrt挂载的硬盘,找到摄像机文件的文件夹,能看到摄像机的mp4文件,但是刷新或者退出文件夹然后再进入,mp4文件就没有了。请大佬帮忙看看,是设置不对?
[global]
netbios name = |NAME|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
case sensitive = yes
deadtime = 30
encrypt passwords = yes
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
# max protocol = SMB2
min receivefile size = 16384
obey pam restrictions = yes
os level = |OSLEVEL|
passdb backend = smbpasswd
preferred master = yes
printable = no
inherit owner = yes
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
max xmit = 65535
max connections = 8
dns proxy = no
writeable = yes
vfs objects = posixacl
aio read size = 0
aio write size = 0
# strict allocate = yes
;allow android phone, etc.
server min protocol = NT1
;vista and later
server min protocol = SMB2
;only allow win8 and later
server min protocol = SMB3
[global]
netbios name = |NAME|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
case sensitive = yes
deadtime = 30
encrypt passwords = yes
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
# max protocol = SMB2
min receivefile size = 16384
obey pam restrictions = yes
os level = |OSLEVEL|
passdb backend = smbpasswd
preferred master = yes
printable = no
inherit owner = yes
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
max xmit = 65535
max connections = 8
dns proxy = no
writeable = yes
vfs objects = posixacl
aio read size = 0
aio write size = 0
# strict allocate = yes
;allow android phone, etc.
server min protocol = NT1
;vista and later
server min protocol = SMB2
;only allow win8 and later
server min protocol = SMB3
最后的 ;allow android phone, etc.
server min protocol = NT1
;vista and later
server min protocol = SMB2
;only allow win8 and later
server min protocol = SMB3
这个部分是网上看其他大佬说的,但是好像没有效果。
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|