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

问题 #1

Open
cell3389 opened this issue Oct 16, 2021 · 3 comments
Open

问题 #1

cell3389 opened this issue Oct 16, 2021 · 3 comments

Comments

@cell3389
Copy link

PS C:\Users\admin\Desktop\a> python3.7.exe .\gwa.py
2021-10-16 20:52:23 - 当前认证状态为【已认证】
2021-10-16 20:52:23 - 认证结束
PS C:\Users\admin\Desktop\a>

认证以后还不是链接不上

http://192.168.250.2/gportal/web/login

@imldy
Copy link
Owner

imldy commented Oct 16, 2021

你好,这个日志输出是代表程序判断认为当前已认证,所以没有进行认证流程。
我更新了一下判断条件,可以再试试。

@qingchunzhang
Copy link

你好,我使用了您更新的脚本
2021-10-16 22:52:33 - 读取本地保存的网关地址发生错误:[Errno 2] No such file or directory: 'gw_address'
2021-10-16 22:52:33 - 未登录,开始下一步
2021-10-16 22:52:33 - 出现异常:Invalid URL 'http://:/wifidog/get_auth_state': No host supplied
2021-10-16 22:52:33 - 正在尝试第1次认证
2021-10-16 22:52:33 - 读取本地保存的网关地址发生错误:[Errno 2] No such file or directory: 'gw_address'
2021-10-16 22:52:33 - 未登录,开始下一步
2021-10-16 22:52:33 - 出现异常:Invalid URL 'http://:/wifidog/get_auth_state': No host supplied

GIWIFI认证登录网址为: http://192.168.250.2/gportal/web/login

@imldy
Copy link
Owner

imldy commented Oct 16, 2021

你好,可能是你那边的GiWiFi认证策略跟我这边不一样。这样就帮不到你了。
假如你是想在路由器上进行认证,可以尝试在路由器下接的设备上使用官方提供的方式进行手动认证,认证成功后(一般情况)路由器下接的其他设备都能上网。

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

3 participants