找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 789|回复: 2

求助,openwrt,设置了samba,小米摄像机3PRO nas存储

[复制链接]
发表于 2024-2-29 00:03 | 显示全部楼层 |阅读模式
如题,在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
这个部分是网上看其他大佬说的,但是好像没有效果。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2024-2-29 00:51 | 显示全部楼层
本帖最后由 banana2207 于 2024-2-29 01:12 编辑

刚刚开了DLNA,然后有个发现,DLNA下能到到samba下看不到的MP4文件,有大佬知道如何设置没有?估计是哪儿设置不对。现在电脑映射的硬盘,看不到mp4,但是手机和电视都可以通过DLNA看到小米摄像机的mp4文件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2024-7-30 11:24 | 显示全部楼层
我也是3pro摄像头,连接openwrt,请问有相关的教程吗
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-9-28 17:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表