openwrt设置samba共享

·

填写好你要共享的文件路径和名称,最好不用启用匿名

image

编辑模板

image

这个要注释掉invalid users = root

允许root用户

设置root用户密码

samba中的root用户不是你登录openwrt系统的那个root用户。

ssh登录系统

touch /etc/samba/smbpasswd
smbpasswd  -a root

设置密码

然后试试访问你设备的共享吧。记得用户名是root 密码是你刚刚设置的密码

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注