walkingsky / luci-wifidog Goto Github PK
View Code? Open in Web Editor NEWwifidog的luci管理界面,基于openwert的可编译package
License: GNU General Public License v2.0
wifidog的luci管理界面,基于openwert的可编译package
License: GNU General Public License v2.0
大佬好,请问有兴趣做一个opennds luci吗?
最近刚好在玩wifidog
在最新的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
/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
请问这个该如何解决呢?
/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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.