GithubHelp home page GithubHelp logo

ai2online / luci-app-apfree_wifidog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmnmu/luci-app-apfree_wifidog

4.0 0.0 1.0 48 KB

apfree wifidog luci 配置页面

License: GNU General Public License v3.0

Makefile 2.50% Lua 76.39% HTML 19.57% Shell 1.55%

luci-app-apfree_wifidog's Introduction

luci-app-apfree_wifidog是apfree wifidog的luci配置页面

但是存在许多问题,我已经修复一些

修复读写配置

添加在按下[保存配置并应用配置]后判断自己是否启动,如果开关勾上,就会启动

目前存在问题:状态不能显示(原代码判断状态这样写应该没错,我也觉得应该这样写,但还是显示未运行,但是实际是启动了,终端ps也能查到进程)

剩下的问题主要出现在程序apfree-wifidog上了,比如状态插叙,执行wifidogx wdctl会提示Could not open configuration file '/etc/wifidog.conf', exiting. . .

实际上在官方收录的apfree-wifidog的配置文件是/etc/config/wifidogx

尽管存在一些问题,但是目前不影响使用了

将其加入到LEDE&OpenWrt可以这样做:

准备工作

luci-app-apfree_wifidog依赖于apfree-wifidog (注意两个名称一个中杠,一个下划杠)

1.如果你用的是openwrt或者LEDE 19.07以上版本的,官方已经收录apfree-wifidog, cd openwrt/package/

git clone git clone https://github.com/ai2online/luci-app-apfree_wifidog.git

或手动下载放到package文件夹

make menuconfig

luci->application->luci-app-apfree_wifidog

make V=s

2.如果用的是其他版本的openwrt,请自行解决apfree-wifidog的编译和依赖,然后把本项目git clone或手动放到package文件夹

3.如果你是使用19.07以上 sdk单独编译放给安装,可以选择删去Makefile里的+apfree-wifidog 编译出ipk后,使用官方源安装apfree-wifidog后安装该luci-app,更方便

4.额外的(如果使用LEDE 最新的也是19.04了) cd lede/package/lean/

git clone https://github.com/ai2online/luci-app-apfree_wifidog.git

make menuconfig

############### 特别提示 ####################

如果进网页出现 no file xxx

通常在19.07以上都会出现,因为模块luci.model.ipkg不在默认存在,需要额外安装支持

opkg update

opkg install luci-lib-ipkg

################################################

如果你遇到了因其他 cbi.lua 缺失造成的崩溃,请尝试安装 luci-compat 软件包。 opkg install luci-compat

联系我们

我和原作者都在这里 QQ群 331230369

如果您觉得我们的开源对您有帮助,请不要犹豫 star

luci-app-apfree_wifidog's People

Contributors

ai2online avatar liudf0716 avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

shangyanjin

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.