GithubHelp home page GithubHelp logo

walkingsky / luci-wifidog Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 11.0 20 KB

wifidog的luci管理界面,基于openwert的可编译package

License: GNU General Public License v2.0

Makefile 3.01% Shell 44.83% Lua 52.17%

luci-wifidog's Issues

最新openwrt trunk编译不过去

在最新的openwrt trunk代码下编译不过去:
make[4]: Entering directory `/home64/projects/jiasudu/router/4imp/openwrt-trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-wifidog'
Makefile:4: ../../build/config.mk: No such file or directory
Makefile:5: ../../build/module.mk: No such file or directory
luci下面根本就没有config.mk, 整个代码包都没有module.mk

在官方21.02.2正式版中报错

/usr/lib/lua/luci/model/cbi/wifidog/wifidog_cfg.lua:85: attempt to index global 'ip' (a nil value)
stack traceback:
	/usr/lib/lua/luci/model/cbi/wifidog/wifidog_cfg.lua:85: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:1369: in function '_cbi'
	/usr/lib/lua/luci/dispatcher.lua:1040: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:484: in function </usr/lib/lua/luci/dispatcher.lua:483>

编译失败

使用的是openwrt最新git仓库
放到自己做的feeds里面,编译提示 cp 出错,没有dist目录
查看src目录还有build下面的,的确没这个目录

编译失败

在lede下编译提示这个:
make[1]: Entering directory '/home/xosadmin/lede'
make[1]: *** No rule to make target 'package/lean/luci-app-wifidog/install'. Stop.
make[1]: Leaving directory '/home/xosadmin/lede'
make: *** [/home/xosadmin/lede/include/toplevel.mk:218: package/lean/luci-app-wifidog/install] Error 2

请问这个该如何解决呢?

o19-x64出错

/usr/lib/lua/luci/dispatcher.lua:469: Failed to execute cbi dispatcher target for entry '/admin/services/wifidog'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/wifidog/wifidog_cfg.lua:84: attempt to call field 'arptable' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

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.