Photonicat 网络共享/samba4: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==方法1== | |||
目前可以通过修改以下配置文件: (可以通过自带的terminal 界面) | |||
mkdir /share | mkdir /share | ||
Line 18: | Line 19: | ||
/etc/init.d/samba4 restart | /etc/init.d/samba4 restart | ||
==方法2== | |||
使用Luci 配置,并在terminal输入: | |||
uci set samba4.@samba[0].disable_async_io=1 | |||
uci commit | |||
然后尝试重启服务。 |
Revision as of 17:26, 25 October 2022
方法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
然后尝试重启服务。