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

电脑测试能上,但路由器不能上 #33

Closed
starsingchow opened this issue Nov 19, 2015 · 3 comments
Closed

电脑测试能上,但路由器不能上 #33

starsingchow opened this issue Nov 19, 2015 · 3 comments
Assignees

Comments

@starsingchow
Copy link

我在电脑上测试了能上的,但是放到路由器上就不行了
我 python /usr/bin/drcom
但就会显示
DrCOM Auth Router for GDUFE
[challenge] challenge packet sent.
Traceback (most recent call last):
File "/usr/bin/drcom", line 345, in
main()
File "/usr/bin/drcom", line 323, in main
loginpart()
File "/usr/bin/drcom", line 329, in loginpart
package_tail = login(username, password, server)
File "/usr/bin/drcom", line 258, in login
packet = mkpkt(salt, usr, pwd, mac)
File "/usr/bin/drcom", line 214, in mkpkt
data += dump(int(data[4:10].encode('hex'),16)^mac).rjust(6,'\x00') #mac xor md51
LookupError: no codec search functions registered: can't find encoding
这应该是路由器没插网线的情况下出现吧?但通过opkg update能过更新列表的(ustc的软件源,学校不用登都能上)这说明网线有插的
哪我是什么原因导致不能上?

@mchome
Copy link
Member

mchome commented Nov 20, 2015

应该是你的路由器的python环境有问题。

@starsingchow
Copy link
Author

解决了的确是python环境问题,加上python-codecs后就可以了。
还有在这里表示一下对作者和对这项目参与者的感激

@tdxddt
Copy link

tdxddt commented Oct 2, 2016

解决了我的问题 谢谢

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