Giter Club home page Giter Club logo

luci-app-mentohust's Introduction

OpenWrt/LEDE LuCI for MentoHUST

简介

本软件包是 MentoHUST 的 LuCI 控制界面,

软件包文件结构:

/
├── etc/
│   ├── config/
│   │   └── mentohust                               // UCI 配置文件
│   └── init.d/
│       └── mentohust                               // init 脚本
└── usr/
    └── lib/
        └── lua/
            └── luci/                               // LuCI 部分
                ├── controller/
                │   └── mentohust.lua               // LuCI 菜单配置
                ├── i18n/                           // LuCI 语言文件目录
                │   └── mentohust.zh-cn.lmo
                └── model/
                    └── cbi/
                        └── mentohust/
                            ├── general.lua         // LuCI 基本设置
                            └── log.lua             // LuCI 日志读取

依赖

软件包不显式依赖二进制文件 mentohust. 可通过编译安装 MentoHUST-OpenWrt-ipk 获得.
只有当文件存在时, 相应的功能才可被使用, 并显示相应的 LuCI 设置界面.
请注意:mentohust 二进制文件必须支持所有参数。如:-u -p -n -i -m -g -s -o -t -e -r -a -d -b -y -f -c -w

可执行文件 可选 功能
mentohust 进行802.11x验证

注: 可执行文件需要在 $PATH 环境变量所表示的搜索路径中, 可被正常调用,否则不会出现LUCI界面.

配置

软件包的配置文件路径: /etc/config/mentohust
此文件为 UCI 配置文件, 配置方式可参考 OpenWrt Wiki

编译

从 OpenWrt/LEDE 的 SDK 编译

# 解压下载好的 SDK
tar xjf lede-sdk-17.01.4-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.bz2
cd lede-sdk-*
# Clone 项目
git clone https://github.com/BoringCat/luci-app-mentohust.git package/luci-app-mentohust
# 编译 po2lmo (如果有po2lmo可跳过)
git clone https://github.com/openwrt-dev/po2lmo.git
pushd po2lmo
make && sudo make install
popd
# 选择要编译的包 LuCI -> 3. Applications
make menuconfig
# 开始编译
make package/luci-app-mentohust/compile V=99

luci-app-mentohust's People

Contributors

boringcat avatar

Watchers

James Cloos avatar

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.