请选择 进入手机版 | 继续访问电脑版

 找回密码
 立即注册
搜索
查看: 3683|回复: 4

X-wrt安装提示

[复制链接]

1

主题

2

回帖

33

积分

新手上路

积分
33
发表于 2020-11-5 01:49:52 | 显示全部楼层 |阅读模式
X-wrt安装后进入系统,提示“权限不足,无法读取UCI配置。

QQ截图20201105014854.jpg

28

主题

1363

回帖

7655

积分

管理员

积分
7655
发表于 2020-11-5 09:14:08 | 显示全部楼层
https://www.right.com.cn/forum/thread-4033034-1-1.html
看起来和此问题类似,你可以试一下先


1

主题

2

回帖

33

积分

新手上路

积分
33
 楼主| 发表于 2020-11-5 14:33:57 | 显示全部楼层
本帖最后由 rmyfile 于 2020-11-5 14:43 编辑

参考了,网上一些大神,在/usr/share/rpcd/acl.d
修改luci-base.json

添加红色代码    "uci-access": {
        "description": "Grant uci write access to all configurations",
        "read": {
            "uci": [ "*" ]
        },
        "write": {
            "uci": [ "*" ]
             }
          },

  1. {
  2.         "unauthenticated": {
  3.                 "description": "Allow system feature probing",
  4.                 "read": {
  5.                         "ubus": {
  6.                                 "luci": [ "getFeatures" ]
  7.                         }
  8.                 }
  9.         },

  10.         "luci-base": {
  11.                 "description": "Grant access to basic LuCI procedures",
  12.                 "read": {
  13.                         "file": {
  14.                                 "/": [ "list" ],
  15.                                 "/*": [ "list" ]
  16.                         },
  17.                         "ubus": {
  18.                                 "file": [ "list" ],
  19.                                 "uci": [ "changes", "get" ]
  20.                         }
  21.                 },
  22.                 "write": {
  23.                         "cgi-io": [ "upload" ],
  24.                         "file": {
  25.                                 "/etc/luci-uploads/*": [ "write" ]
  26.                         },
  27.                         "ubus": {
  28.                                 "file": [ "remove" ],
  29.                                 "uci": [ "add", "apply", "confirm", "delete", "order", "rename", "set" ]
  30.                         }
  31.                 }
  32.         },

  33.     "uci-access": {
  34.         "description": "Grant uci write access to all configurations",
  35.         "read": {
  36.             "uci": [ "*" ]
  37.         },
  38.         "write": {
  39.             "uci": [ "*" ]
  40.              }
  41.           },


  42.         "luci-base-network-status": {
  43.                 "description": "Grant access to network status information",
  44.                 "read": {
  45.                         "ubus": {
  46.                                 "luci-rpc": [ "getBoardJSON", "getHostHints", "getNetworkDevices", "getWirelessDevices" ],
  47.                                 "network": [ "get_proto_handlers" ],
  48.                                 "network.interface": [ "dump" ]
  49.                         },
  50.                         "uci": [ "luci", "network", "wireless" ]
  51.                 }
  52.         }
  53. }
复制代码
后台,verysync显示了。但还是无法启动verysync,不能打开verysync软件控制界面

360截图20201105142739373.jpg



28

主题

1363

回帖

7655

积分

管理员

积分
7655
发表于 2020-11-12 13:41:43 | 显示全部楼层
底下获取版本,选择一下保存才开始下载核心,下载完才算安装好。

0

主题

594

回帖

1196

积分

金牌会员

积分
1196
发表于 2022-11-27 01:11:58 | 显示全部楼层
好好好好好好好好好好好好好好好好好顶
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|微力同步 ( 京ICP备20030739号-4 )

GMT+8, 2024-3-29 15:13 , Processed in 0.021740 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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