Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

锐捷校园网无法认证,版本4.96-0426。 #47

Closed
fangzr opened this issue May 18, 2019 · 2 comments
Closed

锐捷校园网无法认证,版本4.96-0426。 #47

fangzr opened this issue May 18, 2019 · 2 comments

Comments

@fangzr
Copy link

fangzr commented May 18, 2019

环境:树莓派3b+ OpenWrt(自己编译的)、华科有线校园网(动态获取ip)
错误提示:

root@OpenWrt:~# minieap -u 用户名 -p 密码 -n eth0 -d 1
MiniEAP 0.92.1
Hamster Tian, 2016

[2019/4/24 18:26:32][E] 无法打开配置文件: No such file or directory (2)
[2019/4/24 18:26:32][W] 配置文件解析出错,请注意命令行参数是否完整
[2019/4/24 18:26:32][I] ========================
[2019/4/24 18:26:32][I] MiniEAP 0.92.1已启动
[2019/4/24 18:26:32][I] 正在查找认证服务器
[2019/4/24 18:26:32][I] 正在回应用户名请求
[2019/4/24 18:26:32][I] 正在回应密码请求
[2019/4/24 18:26:32][W] 认证失败 1 次,将在 30 秒或服务器请求后重试……
[2019/4/24 18:26:42][I] 正在回应用户名请求
[2019/4/24 18:26:42][I] 正在回应密码请求
[2019/4/24 18:26:42][W] 认证失败 2 次,将在 30 秒或服务器请求后重试……
[2019/4/24 18:26:52][I] 正在回应用户名请求
[2019/4/24 18:26:52][I] 正在回应密码请求
[2019/4/24 18:26:52][E] 认证失败 3 次,已达到指定次数,正在退出……
[2019/4/24 18:26:52][I] MiniEAP 已退出

这是/etc/config/network配置

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd6a:efde:c07d::/48'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option proto 'dhcp'
        option ifname 'eth0'

之前使用mentohust可以认证但是无法获取ip。minieap显示认证失败。
又麻烦各位大佬看看啥情况了。。。O(∩_∩)O谢谢

@Droid-MAX
Copy link
Contributor

你启用了锐捷认证的模块了吗?

@fangzr
Copy link
Author

fangzr commented May 18, 2019

你启用了锐捷认证的模块了吗?

感谢,我看了之前的帖子,找到了解决办法,花了一整天终于成功认证!

  1. 交叉编译,成功运行后提示Segmentation fault #39 可以在 config.mk 里关闭 ENABLE_ICONV 并打开 ENABLE_GBCONV
  2. 指令:minieap -u 用户名 -p 密码 -n eth0 --module printer --module rjv3 --module printer --if-impl libpcap --fake-dns2 8.8.8.8

@fangzr fangzr closed this as completed May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants