找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 13117|回复: 12

【求助】【已解决】LEDE固件网络共享用户登录

[复制链接]
本帖最后由 那年的风筝 于 2018-4-10 14:53 编辑

【4-10更新】
目前可以用新建的用户登录,但root直接登录仍然不行。
1、编辑etc\passwd文件,添加一行。
myyanyan:*:1000:65534:myyanyan:/tmp/mnt/sda6:/bin/false
标红的部分请自行修改。
关于passwd文件,可以参考https://blog.csdn.net/a1154490629/article/details/52190801
2、putty下,输入命令 smbpasswd -a myyanyan 。设置密码。
3、配置如下,即可。


——————————————————————————————————————————————————————
斐讯K3,LEDE固件。
已屏蔽 invalid users = root ,且 smbpasswd -a root 已设置root的密码。
但是“网络共享”还是没法登陆。配置及错误如图:


该如何解决?谢谢。

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层

【求助】LEDE固件网络共享用户登录

斐讯K3,LEDE固件。

已屏蔽 invalid users = root ,且 smbpasswd -a root 已设置root的密码。

但是“网络共享”还是没法登陆。配置及错误如图:



该如何解决?谢谢。

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

权限没打开。

点评

请问在哪儿打开?  详情 回复 发表于 2018-3-29 14:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

先挂载!

点评

[attachimg]208364[/attachimg] 已经挂载了呀  详情 回复 发表于 2018-3-29 14:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

请问在哪儿打开?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层


已经挂载了呀

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

那年的风筝 发表于 2018-3-29 14:04
请问在哪儿打开?

http://koolshare.cn/thread-110543-1-3.html详细设置

点评

就是按这个来的 还是不行  详情 回复 发表于 2018-3-29 14:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
山水青 发表于 2018-3-29 14:14
http://koolshare.cn/thread-110543-1-3.html详细设置

就是按这个来的 还是不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我是找人帮忙远程搞的,反正弄的挺麻烦的,自己搞不定
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你的smb.conf文件发出来看看

点评

请查看,谢谢。 [global] netbios name = OpenWrt display charset = UTF-8 interfaces = lo br-lan server string = OpenWrt unix charset = UTF-8 workgroup = WORKGROUP bind interfaces only  详情 回复 发表于 2018-3-29 22:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
stevemorrislian 发表于 2018-3-29 21:53
你的smb.conf文件发出来看看

请查看,谢谢。

[global]
        netbios name = OpenWrt
        display charset = UTF-8
        interfaces = lo br-lan
        server string = OpenWrt
        unix charset = UTF-8
        workgroup = WORKGROUP
        bind interfaces only = yes
        deadtime = 30
        enable core files = no
#        invalid users = root
        local master = no
        map to guest = Bad User
        max protocol = SMB2
        min receivefile size = 16384
        null passwords = yes
        passdb backend = smbpasswd
        security = user
        smb passwd file = /etc/samba/smbpasswd
        use sendfile = yes

        # Perfomance tweak
        read size = 65536
        read prediction = yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
        write raw = yes
        read raw = yes
        aio read size = 16384
        aio write size = 16384
        write cache size = 262144
        getwd cache = yes
        large readwrite = yes

[homes]
        comment     = Home Directories
        browsable   = no
        read only   = no
        create mode = 0750

[Disk_sda1]
        path = /tmp/mnt/sda1
        read only = no
        guest ok = yes
        public = yes
        create mask = 0777
        directory mask = 0777
        browseable = yes

[Disk_sda3]
        path = /tmp/mnt/sda3
        read only = no
        guest ok = yes
        public = yes
        create mask = 0777
        directory mask = 0777
        browseable = yes

[Disk_sda5]
        path = /tmp/mnt/sda5
        read only = no
        guest ok = yes
        public = yes
        create mask = 0777
        directory mask = 0777
        browseable = yes

[Disk_sda6]
        path = /tmp/mnt/sda6
        read only = no
        guest ok = no
        public = no
        create mask = 0777
        directory mask = 0777
        browseable = yes

[Disk_sda7]
        path = /tmp/mnt/sda7
        read only = no
        guest ok = yes
        public = yes
        create mask = 0777
        directory mask = 0777
        browseable = yes

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

别挂在tmp试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wsh75 发表于 2018-3-30 01:20
别挂在tmp试试

我觉得也是,还有别在var
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-28 07:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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