Skip to content

minieap的openwrt Makefile(升级0.93版本)

Notifications You must be signed in to change notification settings

kenvix/minieap-openwrt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

minieap的Openwrt Makefile

需配合SDK使用,具备一定的Linux操作能力与交叉编译知识
LUCI界面在做了在做了

这个Makefile干了什么?

  1. 拉取minieap的源码
  2. 切换到PKG_VERSION指定的Tag
  3. 用sed替换ICONV为GBCONV
  4. make

配合SDK使用方法

  1. 下载路由器对应OpenWRT版本的SDK
  2. 进入SDK目录,执行命令获取Makefile
git clone https://github.com/BoringCat/minieap-openwrt.git package/minieap
  1. 执行make命令
# 多线程编译
make defconfig
make package/minieap/compile -j$(grep processor /proc/cpuinfo | wc -l)

(上下二选一)

# 显示详情
make defconfig
make package/minieap/compile V=s
  1. 找到ipk文件
find -name '*minieap*.ipk' -type f
  1. 将ipk文件拷贝到路由器中,执行opkg安装

配合 toolchain 使用方法(需要交叉编译基础)

  1. 找到toolchain的bin目录,设好PATH变量
  2. 执行 git clone https://github.com/updateing/minieap.git 下载minieap源码
  3. 进入minieap目录,根据项目README文件配置config.mk文件
    • 注意!需配置CC := $(toolchain的gcc)
  4. 将编译出来的minieap可执行文件拷贝到路由器上

认证方法

请参考官方文档和程序帮助minieap -h

(附件) 广东技术师范大学6.84版本锐捷认证方法(2019-10-11)

  1. 由于服务器设定的“用户服务”为中文,需要将配置文件文件编码转换为GBK
$ file /etc/minieap.conf
/etc/minieap.conf.gpk: ISO-8859 text
  1. dhcp-type选项需为1(二次认证),否则无法通过动态IP验证
  2. 服务名需要使用客户端查看,Linux客户端查看比较方便 :)
  3. !!若不正确使用路由器影响到校园网,将按照学生手册处理!!
  4. !!若下联设备触犯网络安全法以及被检测到危险的网络行为,认证账号人需付相应的民事/刑事责任。!!

About

minieap的openwrt Makefile(升级0.93版本)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%