Photonicat 网络共享/samba4

From Photonicat Wiki
Revision as of 17:26, 25 October 2022 by C2h2 (talk | contribs)
Jump to navigation Jump to search

方法1

目前可以通过修改以下配置文件: (可以通过自带的terminal 界面)

mkdir /share
vim /etc/samba/smb.conf

在文件最后最后添加:

[share]
    comment = Guest access share
    path = /share
    browseable = yes
    read only = no
    guest ok = yes

然后:

/etc/init.d/samba4 restart


方法2

使用Luci 配置,并在terminal输入:

uci set samba4.@samba[0].disable_async_io=1
uci commit

然后尝试重启服务。