Giter Site home page Giter Site logo

coolsnowwolf / luci Goto Github PK

View Code? Open in Web Editor NEW
301.0 21.0 594.0 16.15 MB

LuCI - OpenWrt Configuration Interface

License: Apache License 2.0

Makefile 2.50% Lua 40.71% HTML 15.45% Shell 7.44% JavaScript 1.93% Perl 0.79% CSS 3.80% C 18.47% C# 0.69% Java 0.80% Lex 0.12% Yacc 0.24% CMake 0.01% Visual Basic .NET 0.54% Terra 0.01% Ada 0.01% Dockerfile 0.01% Python 6.44% Roff 0.04% Batchfile 0.01%

luci's Introduction

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

luci's People

Contributors

0x5e avatar 0x676e67 avatar aiamadeus avatar arrio464 avatar asushugo avatar beginner-go avatar coolsnowwolf avatar devome avatar dfldylan avatar dhso avatar jjm2473 avatar lienol avatar lisaac avatar lxg2001 avatar lyin888 avatar messense avatar monsterzzzz avatar nanchuci avatar nftbty avatar ntlf9t avatar qingtian110 avatar saxon-sun avatar sdf8057 avatar sheip9 avatar silenker avatar sjtuross avatar stupidloud avatar xsm1997 avatar ywt114 avatar zhengmz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luci's Issues

Contribute to upstream

Hi, I'm always trying to motivate people to contribute their fork changes to upstream, since I can't find you in the list of contributors I'm wondering if you need some help to get your changes in the main repository?

wireguard编译报错,是不是上游更新了啥东西啊大佬

SHELL= flock /workdir/openwrt/tmp/.root-copy.flock -c 'cp -fpR /workdir/openwrt/build_dir/target-x86_64_musl/linux-x86_64/packages/.pkgdir/kernel/. /workdir/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /workdir/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.kernel_installed
Package kmod-wireguard is missing dependencies for the following libraries:
libblake2s.ko
make[3]: *** [/workdir/openwrt/bin/targets/x86/64/packages/kmod-wireguard_5.4.195-1_x86_64.ipk] Error 1
modules/netsupport.mk:1313: recipe for target '/workdir/openwrt/bin/targets/x86/64/packages/kmod-wireguard_5.4.195-1_x86_64.ipk' failed
make[3]: Leaving directory '/workdir/openwrt/package/kernel/linux'
time: package/kernel/linux/compile#2.80#0.25#3.03
ERROR: package/kernel/linux failed to build.
make[2]: *** [package/kernel/linux/compile] Error 1
package/Makefile:114: recipe for target 'package/kernel/linux/compile' failed
make[2]: Leaving directory '/workdir/openwrt'
package/Makefile:110: recipe for target '/workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/workdir/openwrt'
make: *** [world] Error 2
/workdir/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
Error: Process completed with exit code 2.

luci-app-socat

luci-app-socatg不好用,luci-app-socat能加回来吗

Turbo ACC 未适配 FullCone-NAT 高性能模式

在防火墙中更改为高性能模式,turbo acc中状态无法同步,仍然显示兼容模式
查看/etc/config/turboacc 发现 option fullcone_nat '1' 也就是值没有更改为2

更改为高性能模式时,全锥形NAT会显示未运行

Originally posted by @WCJ23333 in #165 (comment)

luci-app-easymesh 的一些问题

首先我要声明,我对lede项目并不是很熟悉,所以可能会有一些误解,欢迎指正。
openwrt在21.02采用了一个非常激进的改进,就是将原本的openssl迁移到了wolfssl,造成了非常多的问题。因为很多旧版本的软件包依然依赖openssl,而默认的配置中大多数都已经改为了默认依赖wolfssl,在编译时,openssl和wolfssl同时安装会产生冲突,所以我们会看到 ntlf9t/luci-app-easymesh#7 这样的issue
我个人使用时更偏向wolfssl,所以我是硬编码修改了依赖到wolfssl,而官方库更多的是提供一个编译选项,可以手动选择openssl还是wolfssl
这是第一个问题。

第二个问题其实并不是luci-app-easymesh 本身的问题
因为一直以来luci并不支持 batman-adv 协议,所以相对应的网络端口的显示的是不支持的协议,前几天我在完善自用的路由器固件时发现openwrt其实已经在master分支引入了 luci-proto-batman-adv https://github.com/openwrt/luci/tree/master/protocols/luci-proto-batman-adv 试用之后发现这个网络端口的显示应该是暴露出来了 luci-app-easymesh 本身的一些配置项,因为对其中的配置不是很懂,所以我没多浏览,主要的疑问是 bat0 这样的端口,它默认是没有防火墙区域的,是否要对它配置防火墙?还有就是如果我开启了访客wifi并且设置了vlan,在mesh中又要如何配置呢?

luci-app-advanced-reboot页面布局混乱

luci-app-advanced-reboot的luasrc/view/advanced_reboot/advanced_reboot.htm的CSS属性描述的是表格属性(TABLE TR TD),而该htm实际使用的是DIV布局,导致luci 18.06下实际页面布局混乱。把div标签改成css描述的表格属性标签,页面就能正常显示。
例如:
<div class="tr cbi-section-table-titles">
改成:
<tr class="tr cbi-section-table-titles">`
Linksys Wrt32x亲测

阿里云盘 WebDAV勾选启用无用

勾选启用和停用没法立即启用和停用,只能通过重启路由器实现启用和停用,Refresh Token失效了替换的时候需要重启才成

新的luci-app-statistics出现警告提示!

WARNING: Makefile 'package/feeds/luci/luci-app-statistics/Makefile' has a dependency on 'luci-lib-iptparser', which does not exist
经查,在/luci/modules/luci-base/luasrc/sys目录中存在iptparser.lua、iptparser.luadoc两个文件,编译时最终root时报错,提示存在两个文件,luci-lib-iptparser编译失败

主题显示不一样

同一个ipk,我安装在您的源码编译的固件上会显示的很简单,有些地方也不正常。
微信图片_20191010020234
微信截图_20191010020335
微信截图_20191010020528
而安装在openwrt官方的固件上则是正常的。
微信截图_20191010021220
微信截图_20191010021236
微信截图_20191010021247

用的是官方带的rosy主题。我如果切换主题的话也是不正常。

TurboACC高性能模式,貌似无法启动?

拉取了最新源码编译,选了高性能模式,还是显示未运行,选兼容模式,确实是运行的。

选禁用和高性能模式:
Chain zone_wan_postrouting (0 references)
target prot opt source destination
postrouting_wan_rule all -- anywhere anywhere /* !fw3: Custom wan postrouting rule chain /
MASQUERADE all -- anywhere anywhere / !fw3 */

image

选兼容模式:
Chain zone_wan_postrouting (0 references)
target prot opt source destination
postrouting_wan_rule all -- anywhere anywhere /* !fw3: Custom wan postrouting rule chain /
FULLCONENAT all -- anywhere anywhere / !fw3 */

image

大佬 luci-app-qbittorrent 能增加 “使用备用 Web UI” 设置功能项吗?

想自定义这个设置,但是保存后是不生效的,重启 qbittorrent 后自定义过的设置全部丢失了

希望大佬可以让 luci-app-qbittorrent 支持设置 “使用备用 Web UI” 功能。因为 qbittorrent 默认的webui 不是自适应浏览器的,如果在手机上操作非常困难。如果支持备用Web UI 设置,自己上传UI 到目录就能解决浏览器自适应问题了

QQ截图20220221190133

simpleform 部分功能缺失

在 simpleform 实际使用过程中,部分方法失效,均与 js 有关

  • Value 中的 :value() 方法失效
  • DynamicList 失效
  • :depends() 方法失效

初步判定是 simpleform 中缺失js 方法 cbi_init() 所致,但是仍存在一些问题,烦请大佬解决。

luci返回至概况存在bug

只要任何app使用了luci自带的返回至概况就会默认增加一个无效的数据添加,比如就拿frp做例子,添加一个动态dns 然后直接点击返回,默认就会增加一个无效的数据,按理我没有进行保存就不应该保留这条数据才对,这个牵扯htm的修改,有会的人可以看下,我理解的返回是放弃当前操作,不应该保留该次操作记录才对,除非点击了保存,此时在点击返回,这条数据才应该保留才对,目前测试有问题的app比较多,passwall dns ssr frp 都有这个问题
image
image
image

qBittorrent-simple打开管理页面出现的是html代码

管理设置页面以HTML形式出现

<[summary]>管理设置页面以HTML形式出现
!DOCTYPE html>
<html lang="${LANG}">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=10" />
    <meta name="application-name" content="qBittorrent" />
    <title>qBittorrent Web UI</title>
    <link rel="icon" type="image/png" href="images/qbittorrent32.png" sizes="32x32" />
    <link rel="icon" type="image/svg+xml" href="icons/qbittorrent-tray.svg" sizes="any" />
    <link rel="stylesheet" type="text/css" href="css/dynamicTable.css?v=${CACHEID}" />
    <link rel="stylesheet" type="text/css" href="css/style.css?v=${CACHEID}" />
    <!--<link rel="stylesheet" type="text/css" href="css/Content.css" />-->
    <link rel="stylesheet" type="text/css" href="css/Core.css?v=${CACHEID}" />
    <link rel="stylesheet" type="text/css" href="css/Layout.css?v=${CACHEID}" />
    <link rel="stylesheet" type="text/css" href="css/Window.css?v=${CACHEID}" />
    <link rel="stylesheet" type="text/css" href="css/Tabs.css?v=${CACHEID}" />
    <noscript>
        <link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}" />
    </noscript>
    <script src="scripts/lib/MooTools-Core-1.6.0-compat-compressed.js"></script>
    <script src="scripts/lib/MooTools-More-1.6.0-compat-compressed.js"></script>
    <script src="scripts/lib/mocha.min.js"></script>
    <script src="scripts/preferences.js"></script>
    <script src="scripts/mocha-init.js?locale=${LANG}&v=${CACHEID}"></script>
    <script src="scripts/lib/clipboard.min.js"></script>
    <script src="scripts/filesystem.js?v=${CACHEID}"></script>
    <script src="scripts/misc.js?locale=${LANG}&v=${CACHEID}"></script>
    <script src="scripts/progressbar.js?v=${CACHEID}"></script>
    <script src="scripts/file-tree.js?v=${CACHEID}"></script>
    <script src="scripts/dynamicTable.js?locale=${LANG}&v=${CACHEID}"></script>
    <script src="scripts/client.js?locale=${LANG}&v=${CACHEID}"></script>
    <script src="scripts/contextmenu.js?locale=${LANG}&v=${CACHEID}"></script>
</head>

<body>
    <noscript id="noscript">
        <h1>QBT_TR(JavaScript Required! You must enable JavaScript for the Web UI to work properly)QBT_TR[CONTEXT=HttpServer]</h1>
    </noscript>
    <div id="desktop">
        <div id="desktopHeader">
            <!--<div id="desktopTitlebar">
                <h1 class="applicationTitle">qBittorrent Web User Interface <span class="version">version 2.0.0</span></h1>
            </div>-->
            <div id="desktopNavbar">
                <ul>
                    <li>
                        <a class="returnFalse">QBT_TR(File)QBT_TR[CONTEXT=MainWindow]</a>
                        <ul>
                            <li><a id="uploadLink"><img class="MyMenuIcon" alt="QBT_TR(Add Torrent File...)QBT_TR[CONTEXT=MainWindow]" src="icons/list-add.svg" width="16" height="16" />QBT_TR(Add Torrent File...)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="downloadLink"><img class="MyMenuIcon" alt="QBT_TR(Add Torrent Link...)QBT_TR[CONTEXT=MainWindow]" src="icons/insert-link.svg" width="16" height="16" />QBT_TR(Add Torrent Link...)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="logoutLink"><img class="MyMenuIcon" alt="QBT_TR(Logout)QBT_TR[CONTEXT=HttpServer]" src="icons/system-log-out.svg" width="16" height="16" />QBT_TR(Logout)QBT_TR[CONTEXT=HttpServer]</a></li>
                            <li><a id="shutdownLink"><img class="MyMenuIcon" alt="QBT_TR(Exit qBittorrent)QBT_TR[CONTEXT=HttpServer]" src="icons/application-exit.svg" width="16" height="16" />QBT_TR(Exit qBittorrent)QBT_TR[CONTEXT=HttpServer]</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="returnFalse">QBT_TR(Edit)QBT_TR[CONTEXT=MainWindow]</a>
                        <ul>
                            <li><a id="resumeAllLink"><img class="MyMenuIcon" alt="QBT_TR(Resume All)QBT_TR[CONTEXT=MainWindow]" src="icons/media-playback-start.svg" width="16" height="16" />QBT_TR(Resume All)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="pauseAllLink"><img class="MyMenuIcon" alt="QBT_TR(Pause All)QBT_TR[CONTEXT=MainWindow]" src="icons/media-playback-pause.svg" width="16" height="16" />QBT_TR(Pause All)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="resumeLink"><img class="MyMenuIcon" alt="QBT_TR(Resume)QBT_TR[CONTEXT=MainWindow]" src="icons/media-playback-start.svg" width="16" height="16" />QBT_TR(Resume)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="pauseLink"><img class="MyMenuIcon" src="icons/media-playback-pause.svg" alt="QBT_TR(Pause)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Pause)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="deleteLink"><img class="MyMenuIcon" src="icons/list-remove.svg" alt="QBT_TR(Delete)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Delete)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li id="topQueuePosItem" class="divider"><a id="topPrioLink"><img class="MyMenuIcon" src="icons/go-top.svg" alt="QBT_TR(Top of Queue)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Top of Queue)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li id="increaseQueuePosItem"><a id="increasePrioLink"><img class="MyMenuIcon" src="icons/go-up.svg" alt="QBT_TR(Move Up Queue)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Move Up Queue)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li id="decreaseQueuePosItem"><a id="decreasePrioLink"><img class="MyMenuIcon" src="icons/go-down.svg" alt="QBT_TR(Move Down Queue)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Move Down Queue)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li id="bottomQueuePosItem"><a id="bottomPrioLink"><img class="MyMenuIcon" src="icons/go-bottom.svg" alt="QBT_TR(Bottom of Queue)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Bottom of Queue)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="recheckLink"><img class="MyMenuIcon" src="icons/document-edit-verify.svg" alt="QBT_TR(Force Recheck)QBT_TR[CONTEXT=TransferListWidget]" width="16" height="16" />QBT_TR(Force recheck)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="returnFalse">QBT_TR(View)QBT_TR[CONTEXT=MainWindow]</a>
                        <ul>
                            <li><a id="showTopToolbarLink"><img class="MyMenuIcon" src="icons/checked.svg" alt="QBT_TR(Top Toolbar)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Top Toolbar)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="showStatusBarLink"><img class="MyMenuIcon" src="icons/checked.svg" alt="QBT_TR(Status Bar)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Status Bar)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="speedInBrowserTitleBarLink"><img class="MyMenuIcon" src="icons/checked.svg" alt="QBT_TR(Speed in Title Bar)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Speed in Title Bar)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="showSearchEngineLink"><img class="MyMenuIcon" src="icons/checked.svg" alt="QBT_TR(Search Engine)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Search Engine)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="showRssReaderLink"><img class="MyMenuIcon" src="icons/checked.svg" alt="QBT_TR(RSS)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(RSS Reader)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="StatisticsLink"><img class="MyMenuIcon" src="icons/view-statistics.svg" alt="QBT_TR(Statistics)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Statistics)QBT_TR[CONTEXT=MainWindow]</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="returnFalse">QBT_TR(Tools)QBT_TR[CONTEXT=MainWindow]</a>
                        <ul>
                            <li><a id="preferencesLink"><img class="MyMenuIcon" src="icons/configure.svg" alt="QBT_TR(Options...)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Options...)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="registerMagnetHandlerLink"><img class="MyMenuIcon" src="icons/kt-magnet.svg" alt="QBT_TR(Register to handle magnet links...)QBT_TR[CONTEXT=HttpServer]" width="16" height="16" />QBT_TR(Register to handle magnet links...)QBT_TR[CONTEXT=HttpServer]</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="returnFalse">QBT_TR(Help)QBT_TR[CONTEXT=MainWindow]</a>
                        <ul>
                            <li><a id="docsLink" target="_blank" href="http://wiki.qbittorrent.org/"><img class="MyMenuIcon" src="icons/help-contents.svg" alt="QBT_TR(Documentation)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Documentation)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li class="divider"><a id="bugLink" target="_blank" href="https://www.qbittorrent.org/donate"><img class="MyMenuIcon" src="icons/wallet-open.svg" alt="QBT_TR(Donate!)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(Donate!)QBT_TR[CONTEXT=MainWindow]</a></li>
                            <li><a id="aboutLink"><img class="MyMenuIcon" src="icons/help-about.svg" alt="QBT_TR(About)QBT_TR[CONTEXT=MainWindow]" width="16" height="16" />QBT_TR(About)QBT_TR[CONTEXT=MainWindow]</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div id="mochaToolbar">
                &nbsp;&nbsp;
                <a id="downloadButton"><img class="mochaToolButton" title="QBT_TR(Add Torrent Link...)QBT_TR[CONTEXT=MainWindow]" src="icons/insert-link.svg" alt="QBT_TR(Add Torrent Link...)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                <a id="uploadButton"><img class="mochaToolButton" title="QBT_TR(Add Torrent File...)QBT_TR[CONTEXT=MainWindow]" src="icons/list-add.svg" alt="QBT_TR(Add Torrent File...)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                <a id="deleteButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Delete)QBT_TR[CONTEXT=TransferListWidget]" src="icons/list-remove.svg" alt="QBT_TR(Delete)QBT_TR[CONTEXT=TransferListWidget]" width="24" height="24" /></a>
                <a id="resumeButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Resume)QBT_TR[CONTEXT=TransferListWidget]" src="icons/media-playback-start.svg" alt="QBT_TR(Resume)QBT_TR[CONTEXT=TransferListWidget]" width="24" height="24" /></a>
                <a id="pauseButton"><img class="mochaToolButton" title="QBT_TR(Pause)QBT_TR[CONTEXT=TransferListWidget]" src="icons/media-playback-pause.svg" alt="QBT_TR(Pause)QBT_TR[CONTEXT=TransferListWidget]" width="24" height="24" /></a>
                <span id="queueingButtons">
                    <a id="topPrioButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Move to the top of the queue)QBT_TR[CONTEXT=MainWindow]" src="icons/go-top.svg" alt="QBT_TR(Top of Queue)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                    <a id="increasePrioButton"><img class="mochaToolButton" title="QBT_TR(Move up in the queue)QBT_TR[CONTEXT=MainWindow]" src="icons/go-up.svg" alt="QBT_TR(Move Up Queue)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                    <a id="decreasePrioButton"><img class="mochaToolButton" title="QBT_TR(Move down in the queue)QBT_TR[CONTEXT=MainWindow]" src="icons/go-down.svg" alt="QBT_TR(Move Down Queue)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                    <a id="bottomPrioButton"><img class="mochaToolButton" title="QBT_TR(Move to the bottom of the queue)QBT_TR[CONTEXT=MainWindow]" src="icons/go-bottom.svg" alt="QBT_TR(Bottom of Queue)QBT_TR[CONTEXT=MainWindow]" width="24" height="24" /></a>
                </span>
                <a id="preferencesButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Options)QBT_TR[CONTEXT=OptionsDialog]" src="icons/configure.svg" alt="QBT_TR(Options)QBT_TR[CONTEXT=OptionsDialog]" width="24" height="24" /></a>
                <div id="mainWindowTabs" class="toolbarTabs">
                    <ul id="mainWindowTabsList" class="tab-menu">
                        <li id="transfersTabLink" class="selected"><a class="tab">QBT_TR(Transfers)QBT_TR[CONTEXT=MainWindow]</a></li>
                        <li id="searchTabLink"><a class="tab">QBT_TR(Search)QBT_TR[CONTEXT=MainWindow]</a></li>
                        <li id="rssTabLink"><a class="tab">QBT_TR(RSS)QBT_TR[CONTEXT=MainWindow]</a></li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div id="torrentsFilterToolbar">
                    <input type="text" id="torrentsFilterInput" placeholder="QBT_TR(Filter torrent list...)QBT_TR[CONTEXT=MainWindow]" autocorrect="off" autocapitalize="none" />
                </div>
            </div>
        </div>
        <div id="pageWrapper">
        </div>
    </div>
    <ul id="torrentsTableMenu" class="contextMenu">
        <li><a href="#start"><img src="icons/media-playback-start.svg" alt="QBT_TR(Resume)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Resume)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#pause"><img src="icons/media-playback-pause.svg" alt="QBT_TR(Pause)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Pause)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#forceStart"><img src="icons/media-seek-forward.svg" alt="QBT_TR(Force Resume)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Force Resume)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li class="separator"><a href="#delete"><img src="icons/list-remove.svg" alt="QBT_TR(Delete)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Delete)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li class="separator">
            <a href="#setLocation"><img src="icons/inode-directory.svg" alt="QBT_TR(Set location...)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Set location...)QBT_TR[CONTEXT=TransferListWidget]</a>
            <a href="#rename"><img src="icons/edit-rename.svg" alt="QBT_TR(Rename...)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Rename...)QBT_TR[CONTEXT=TransferListWidget]</a>
        </li>
        <li>
            <a href="#Category" class="arrow-right"><img src="icons/view-categories.svg" alt="QBT_TR(Category)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Category)QBT_TR[CONTEXT=TransferListWidget]</a>
            <ul id="contextCategoryList" class="scrollableMenu"></ul>
        </li>
        <li>
            <a href="#Tags" class="arrow-right"><img src="icons/view-categories.svg" alt="QBT_TR(Tags)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Tags)QBT_TR[CONTEXT=TransferListWidget]</a>
            <ul id="contextTagList" class="scrollableMenu"></ul>
        </li>
        <li>
            <a href="#autoTorrentManagement"><img src="icons/checked.svg" alt="QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget]</a>
        </li>
        <li class="separator"><a href="#downloadLimit"><img src="icons/kt-set-max-download-speed.svg" alt="QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#uploadLimit"><img src="icons/kt-set-max-upload-speed.svg" alt="QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#shareRatio"><img src="icons/ratio.svg" alt="QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#superSeeding"><img src="icons/checked.svg" alt="QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li class="separator"><a href="#sequentialDownload"><img src="icons/checked.svg" alt="QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#firstLastPiecePrio"><img src="icons/checked.svg" alt="QBT_TR(Download first and last pieces first)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Download first and last pieces first)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li class="separator"><a href="#forceRecheck"><img src="icons/document-edit-verify.svg" alt="QBT_TR(Force recheck)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Force recheck)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li><a href="#forceReannounce"><img src="icons/document-edit-verify.svg" alt="QBT_TR(Force reannounce)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Force reannounce)QBT_TR[CONTEXT=TransferListWidget]</a></li>
        <li id="queueingMenuItems" class="separator">
            <a href="#queue" class="arrow-right"><span style="display: inline-block; width:16px"></span> QBT_TR(Queue)QBT_TR[CONTEXT=TransferListWidget]</a>
            <ul>
                <li><a href="#queueTop"><img src="icons/go-top.svg" alt="QBT_TR(Move to top)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Move to top)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#queueUp"><img src="icons/go-up.svg" alt="QBT_TR(Move up)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Move up)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#queueDown"><img src="icons/go-down.svg" alt="QBT_TR(Move down)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Move down)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#queueBottom"><img src="icons/go-bottom.svg" alt="QBT_TR(Move to bottom)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Move to bottom)QBT_TR[CONTEXT=TransferListWidget]</a></li>
            </ul>
        </li>
        <li>
            <a href="#" class="arrow-right"><img src="icons/edit-copy.svg" alt="QBT_TR(Copy)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Copy)QBT_TR[CONTEXT=TransferListWidget]</a>
            <ul>
                <li><a href="#" id="copyName" class="copyToClipboard"><img src="icons/edit-copy.svg" alt="QBT_TR(Name)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Name)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#" id="copyInfohash1" class="copyToClipboard"><img src="icons/edit-copy.svg" alt="QBT_TR(Info hash v1)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Info hash v1)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#" id="copyInfohash2" class="copyToClipboard"><img src="icons/edit-copy.svg" alt="QBT_TR(Info hash v2)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Info hash v2)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#" id="copyMagnetLink" class="copyToClipboard"><img src="icons/kt-magnet.svg" alt="QBT_TR(Magnet link)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Magnet link)QBT_TR[CONTEXT=TransferListWidget]</a></li>
                <li><a href="#" id="copyID" class="copyToClipboard"><img src="icons/edit-copy.svg" alt="QBT_TR(Torrent ID)QBT_TR[CONTEXT=TransferListWidget]" /> QBT_TR(Torrent ID)QBT_TR[CONTEXT=TransferListWidget]</a></li>
            </ul>
        </li>
    </ul>
    <ul id="categoriesFilterMenu" class="contextMenu">
        <li><a href="#createCategory"><img src="icons/list-add.svg" alt="QBT_TR(Add category...)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Add category...)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li><a href="#editCategory"><img src="icons/document-edit.svg" alt="QBT_TR(Edit category...)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Edit category...)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li><a href="#deleteCategory"><img src="icons/list-remove.svg" alt="QBT_TR(Remove category)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Remove category)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li><a href="#deleteUnusedCategories"><img src="icons/list-remove.svg" alt="QBT_TR(Remove unused categories)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Remove unused categories)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li class="separator"><a href="#startTorrentsByCategory"><img src="icons/media-playback-start.svg" alt="QBT_TR(Resume torrents)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Resume torrents)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li><a href="#pauseTorrentsByCategory"><img src="icons/media-playback-pause.svg" alt="QBT_TR(Pause torrents)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Pause torrents)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
        <li><a href="#deleteTorrentsByCategory"><img src="icons/edit-delete.svg" alt="QBT_TR(Delete torrents)QBT_TR[CONTEXT=CategoryFilterWidget]" /> QBT_TR(Delete torrents)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
    </ul>
    <ul id="tagsFilterMenu" class="contextMenu">
        <li><a href="#createTag"><img src="icons/list-add.svg" alt="QBT_TR(Add tag...)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Add tag...)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
        <li><a href="#deleteTag"><img src="icons/list-remove.svg" alt="QBT_TR(Remove tag)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Remove tag)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
        <li><a href="#deleteUnusedTags"><img src="icons/list-remove.svg" alt="QBT_TR(Remove unused tags)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Remove unused tags)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
        <li class="separator"><a href="#startTorrentsByTag"><img src="icons/media-playback-start.svg" alt="QBT_TR(Resume torrents)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Resume torrents)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
        <li><a href="#pauseTorrentsByTag"><img src="icons/media-playback-pause.svg" alt="QBT_TR(Pause torrents)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Pause torrents)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
        <li><a href="#deleteTorrentsByTag"><img src="icons/edit-delete.svg" alt="QBT_TR(Delete torrents)QBT_TR[CONTEXT=TagFilterWidget]" /> QBT_TR(Delete torrents)QBT_TR[CONTEXT=TagFilterWidget]</a></li>
    </ul>
    <ul id="trackersFilterMenu" class="contextMenu">
        <li><a href="#resumeTorrentsByTracker"><img src="icons/media-playback-start.svg" alt="QBT_TR(Resume torrents)QBT_TR[CONTEXT=TrackerFiltersList]" /> QBT_TR(Resume torrents)QBT_TR[CONTEXT=TrackerFiltersList]</a></li>
        <li><a href="#pauseTorrentsByTracker"><img src="icons/media-playback-pause.svg" alt="QBT_TR(Pause torrents)QBT_TR[CONTEXT=TrackerFiltersList]" /> QBT_TR(Pause torrents)QBT_TR[CONTEXT=TrackerFiltersList]</a></li>
        <li><a href="#deleteTorrentsByTracker"><img src="icons/edit-delete.svg" alt="QBT_TR(Delete torrents)QBT_TR[CONTEXT=TrackerFiltersList]" /> QBT_TR(Delete torrents)QBT_TR[CONTEXT=TrackerFiltersList]</a></li>
    </ul>
    <ul id="torrentTrackersMenu" class="contextMenu">
        <li><a href="#AddTracker"><img src="icons/list-add.svg" alt="QBT_TR(Add a new tracker...)QBT_TR[CONTEXT=TrackerListWidget]" /> QBT_TR(Add a new tracker...)QBT_TR[CONTEXT=TrackerListWidget]</a></li>
        <li class="separator"><a href="#EditTracker"><img src="icons/document-edit.svg" alt="QBT_TR(Edit tracker URL...)QBT_TR[CONTEXT=TrackerListWidget]" /> QBT_TR(Edit tracker URL...)QBT_TR[CONTEXT=TrackerListWidget]</a></li>
        <li><a href="#RemoveTracker"><img src="icons/list-remove.svg" alt="QBT_TR(Remove tracker)QBT_TR[CONTEXT=TrackerListWidget]" /> QBT_TR(Remove tracker)QBT_TR[CONTEXT=TrackerListWidget]</a></li>
        <li><a href="#CopyTrackerUrl" id="CopyTrackerUrl"><img src="icons/edit-copy.svg" alt="QBT_TR(Copy tracker URL)QBT_TR[CONTEXT=TrackerListWidget]" /> QBT_TR(Copy tracker URL)QBT_TR[CONTEXT=TrackerListWidget]</a></li>
    </ul>
    <ul id="torrentPeersMenu" class="contextMenu">
        <li><a href="#addPeer"><img src="icons/list-add.svg" alt="QBT_TR(Add peers...)QBT_TR[CONTEXT=PeerListWidget]" /> QBT_TR(Add peers...)QBT_TR[CONTEXT=PeerListWidget]</a></li>
        <li><a href="#copyPeer" id="CopyPeerInfo"><img src="icons/edit-copy.svg" alt="QBT_TR(Copy IP:port)QBT_TR[CONTEXT=PeerListWidget]" /> QBT_TR(Copy IP:port)QBT_TR[CONTEXT=PeerListWidget]</a></li>
        <li class="separator"><a href="#banPeer"><img src="icons/user-group-delete.svg" alt="QBT_TR(Ban peer permanently)QBT_TR[CONTEXT=PeerListWidget]" /> QBT_TR(Ban peer permanently)QBT_TR[CONTEXT=PeerListWidget]</a></li>
    </ul>
    <ul id="torrentFilesMenu" class="contextMenu">
        <li><a href="#Rename"><img src="icons/edit-rename.svg" alt="QBT_TR(Rename...)QBT_TR[CONTEXT=PropertiesWidget]" /> QBT_TR(Rename...)QBT_TR[CONTEXT=PropertiesWidget]</a></li>
        <li class="separator">
            <a href="#FilePrio" class="arrow-right"><span style="display: inline-block; width: 16px;"></span> QBT_TR(Priority)QBT_TR[CONTEXT=PropertiesWidget]</a>
            <ul>
                <li><a href="#FilePrioIgnore"><span style="display: inline-block; width: 16px;"></span> QBT_TR(Do not download)QBT_TR[CONTEXT=PropListDelegate]</a></li>
                <li><a href="#FilePrioNormal"><span style="display: inline-block; width: 16px;"></span> QBT_TR(Normal)QBT_TR[CONTEXT=PropListDelegate]</a></li>
                <li><a href="#FilePrioHigh"><span style="display: inline-block; width: 16px;"></span> QBT_TR(High)QBT_TR[CONTEXT=PropListDelegate]</a></li>
                <li><a href="#FilePrioMaximum"><span style="display: inline-block; width: 16px;"></span> QBT_TR(Maximum)QBT_TR[CONTEXT=PropListDelegate]</a></li>
            </ul>
        </li>
    </ul>
    <div id="desktopFooterWrapper">
        <div id="desktopFooter">
            <span id="error_div"></span>
            <table style="position: absolute; right: 5px;">
                <tr>
                    <td id="freeSpaceOnDisk"></td>
                    <td class="statusBarSeparator"></td>
                    <td id="DHTNodes"></td>
                    <td class="statusBarSeparator"></td>
                    <td><img id="connectionStatus" alt="QBT_TR(Connection status)QBT_TR[CONTEXT=MainWindow]" title="QBT_TR(Connection status)QBT_TR[CONTEXT=MainWindow]" src="icons/firewalled.svg" style="height: 1.5em;" /></td>
                    <td class="statusBarSeparator"></td>
                    <td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" title="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="icons/slow_off.svg" style="height: 1em;" /></td>
                    <td class="statusBarSeparator"></td>
                    <td class="speedLabel"><img src="icons/downloading_small.svg" alt="QBT_TR(Download speed icon)QBT_TR[CONTEXT=MainWindow]" style="height: 1.4em; padding-right: 5px; margin-bottom: -4px;"><span id="DlInfos"></span></td>
                    <td class="statusBarSeparator"></td>
                    <td class="speedLabel"><img src="icons/seeding.svg" alt="QBT_TR(Upload speed icon)QBT_TR[CONTEXT=MainWindow]" style="height: 1.4em; padding-right: 5px; margin-bottom: -3px;"><span id="UpInfos"></span></td>
                </tr>
            </table>
        </div>
    </div>
</body>

</html>

luci-app-filetransfer 在 imageBuilder 打包的时候报错 sed: can't read /usr/lib/lua/luci/dispatcher.lua: No such file or directory

$ make image PACKAGES="$PACKAGES ${extra_pkgs}" FILES="files"
...
...
Configuring ipvsadm.
Configuring luci-proto-ncm.
Configuring kmod-net-rtl8192su.

Finalizing root filesystem...
/root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/staging_dir/host/bin/sed: can't read /usr/lib/lua/luci/dispatcher.lua: No such file or directory
/root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/staging_dir/host/bin/sed: can't read /usr/lib/lua/luci/dispatcher.lua: No such file or directory
Enabling AdGuardHome
Enabling aliyundrive-webdav
Enabling aria2
...

然后我在文件 package/lean/luci-app-filetransfer/root/etc/uci-defaults/luci-filetransfer 里hack加了句

[ ! -f /etc/openwrt_release ] && exit 0

就没这个错误了,应该有 IPKG_INSTROOT 之类的 chroot 里去执行才对,我这种hack应该是不标准的

类似问题在 feeds/luci/applications/luci-app-unblockmusic/root/etc/init.d/unblockmusic 也存在

Enabling umount
./etc/init.d/unblockmusic: line 3: /lib/functions/network.sh: No such file or directory
./etc/init.d/unblockmusic: line 82: network_flush_cache: command not found
./etc/init.d/unblockmusic: line 83: network_get_ipaddr: command not found
Enabling unblockmusic

Windows自带VPN客户端无法连接IPsec服务器

除了Windows其它都能正常用
Sat Aug 13 12:10:33 2022 daemon.info : 08[NET] received packet: from 192.168.50.189[500] to 192.168.50.1[500] (408 bytes)
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ]
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] received unknown vendor ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sat Aug 13 12:10:33 2022 daemon.info : 08[IKE] received MS NT5 ISAKMPOAKLEY vendor ID
Sat Aug 13 12:10:33 2022 daemon.info : 08[IKE] received NAT-T (RFC 3947) vendor ID
Sat Aug 13 12:10:33 2022 daemon.info : 08[IKE] received draft-ietf-ipsec-nat-t-ike-02\n vendor ID
Sat Aug 13 12:10:33 2022 daemon.info : 08[IKE] received FRAGMENTATION vendor ID
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] received unknown vendor ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] received unknown vendor ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] received unknown vendor ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sat Aug 13 12:10:33 2022 daemon.info : 08[IKE] 192.168.50.189 is initiating a Main Mode IKE_SA
Sat Aug 13 12:10:33 2022 authpriv.info : 08[IKE] 192.168.50.189 is initiating a Main Mode IKE_SA
Sat Aug 13 12:10:33 2022 daemon.info : 08[CFG] selected proposal: IKE:3DES_CBC/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024
Sat Aug 13 12:10:33 2022 daemon.info : 08[ENC] generating ID_PROT response 0 [ SA V V V V ]
Sat Aug 13 12:10:33 2022 daemon.info : 08[NET] sending packet: from 192.168.50.1[500] to 192.168.50.189[500] (156 bytes)
Sat Aug 13 12:10:33 2022 daemon.info : 12[NET] received packet: from 192.168.50.189[500] to 192.168.50.1[500] (260 bytes)
Sat Aug 13 12:10:33 2022 daemon.info : 12[ENC] parsed ID_PROT request 0 [ KE No NAT-D NAT-D ]
Sat Aug 13 12:10:33 2022 daemon.info : 12[IKE] faking NAT situation to enforce UDP encapsulation
Sat Aug 13 12:10:33 2022 daemon.info : 12[IKE] ENCRYPTION_ALGORITHM 3DES_CBC (key size 0) not supported!
Sat Aug 13 12:10:33 2022 daemon.info : 12[IKE] key derivation for pre-shared key failed
Sat Aug 13 12:10:33 2022 daemon.info : 12[ENC] generating INFORMATIONAL_V1 request 2568091693 [ HASH N(INVAL_KE) ]
Sat Aug 13 12:10:33 2022 daemon.info : 12[NET] sending packet: from 192.168.50.1[500] to 192.168.50.189[500] (80 bytes)

luci-app-qbittorrent 插件有问

qBittorrent版本:qBittorrent-static - 4.4.0_v1.2.15-1
luci-app-qbittorrent commit:https://github.com/coolsnowwolf/luci/tree/b2efe3b78cef66089898a932f2bdeb881deb8751/applications/luci-app-qbittorrent

问题:通过Luci页面-WebUI设置用户名和密码保存并应用后,使用 /etc/init.d/qbittorrent restart 命令重启服务,WebUI登录会出现账号密码错误导致无法正常登入。临时解决方法只能使用 “使子网白名单” 添加内网CIDR实现免密登入。

另外 “备用下载/上传速度限制” 设置无效,即使设置了,WebUI 上切换备用速度,它并不是Luci上设置的限制数值。

1

QQ截图20220303084110

luci-theme-argon-mod 与 luci-theme-argon 主题冲突

ConfiguriCollected errors:
 * check_data_file_clashes: Package luci-theme-argon-mod wants to install file /home/zhusir/lede_x64.config/build_dir/target-x86_64_musl/root-x86/usr/lib/lua/luci/view/themes/argon/footer.htm
        But that file is already provided by package  * luci-theme-argon
 * check_data_file_clashes: Package luci-theme-argon-mod wants to install file /home/zhusir/lede_x64.config/build_dir/target-x86_64_musl/root-x86/usr/lib/lua/luci/view/themes/argon/header.htm
        But that file is already provided by package  * luci-theme-argon
 * check_data_file_clashes: Package luci-theme-argon-mod wants to install file /home/zhusir/lede_x64.config/build_dir/target-x86_64_musl/root-x86/www/luci-static/argon/favicon.ico
        But that file is already provided by package  * luci-theme-argon
 * check_data_file_clashes: Package luci-theme-argon-mod wants to install file /home/zhusir/lede_x64.config/build_dir/target-x86_64_musl/root-x86/www/luci-static/argon/js/jquery.min.js
        But that file is already provided by package  * luci-theme-argon
 * check_data_file_clashes: Package luci-theme-argon-mod wants to install file /home/zhusir/lede_x64.config/build_dir/target-x86_64_musl/root-x86/www/luci-static/argon/js/script.js
        But that file is already provided by package  * luci-theme-argon
 * opkg_install_cmd: Cannot install package luci-theme-argon-mod.

官方版luci框架支持cbi控件retain属性,大雕是否考虑支持一下?

当cbi控件开启了depends依赖检查和rmempty=false属性时,提交表单的时候luci会从uci配置清掉不满足depends的项的值,
那么表单提交完成重载的时候会提示错误:"一个或多个必选项值为空",
有了这个属性可以在提交表单的时候不清掉依赖不满足的配置项,前端也不会提示错误,也能正常隐藏html元素,
据我所知luci官方版所有cbi控件都是支持这个属性的。
参考:
https://www.right.com.cn/forum/thread-640942-1-1.html
https://openwrt.github.io/luci/jsapi/LuCI.form.Value.html#retain
openwrt/luci#4921

L大,luci-app-adbyby-plus报错了

change conf dir to fix adbyby working with dnsmasq and proc-ujail (#173)

init.d/adbyby
WAN_FILE=/var/etc/dnsmasq-adbyby.d/03-adbyby-ipset.conf

WAN_FILE=/tmp/dnsmasq.d/dnsmasq-adbyby.d/03-adbyby-ipset.conf

好像漏改了。

请更新luci-mod-rpc版本

我在使用json rpc调用的时候,auth这步返回一直是null,看了一下官方的代码版本,

发现是modules/luci-mod-rpc/luasrc/controller/rpc.lua中一个local变量缺失造成的( openwrt/luci@364c271#diff-a35225399e97ba56b7b44df6c1394988 ),

我手工替换成最新版本后解决了这个问题,能否把这里的版本也更新一下,这样就不用手工替换了,谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.