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

python版pc运行配置无误,路由器上报错 #6

Open
jqk808 opened this issue Oct 31, 2015 · 4 comments
Open

python版pc运行配置无误,路由器上报错 #6

jqk808 opened this issue Oct 31, 2015 · 4 comments

Comments

@jqk808
Copy link

jqk808 commented Oct 31, 2015

大大您好,我使用的jlu-drcom-client中的python版,drcom.conf中相关信息填写正确,电脑端执行无问题。路由器中以python /usr/bin/wired.py执行,屏幕持续输出"[challenge] timeout, retrying....."。不知是否为wan口设置问题(使用的wrtnode开发板,默认的wan口为port3,ip为申请的固态ip,mac利用mac地址克隆方法填的申请时的mac)。
ps:ssh登陆路由器ping 认证服务器可以ping通。(电脑通过wifi链接)

@ly0
Copy link
Owner

ly0 commented Nov 1, 2015

wrtnode好评,应该是配置错误

@jqk808
Copy link
Author

jqk808 commented Nov 1, 2015

好吧。已经崩溃了。不知道使用这个版本wan口需要固定ip地址以及PC的mac地址么?(学校是固定ip且绑定mac的)。wan口绑定的是vlan 2(eth0.2)
付一段运行代码吧。

auth svr:10.100.61.3
username:*_人肉隐藏
password:_

mac:0x1eecc61235L
os:MSDOS 8.0
hostname: localhost
DrCOM Auth Router Ver 1.2
Version feature:
[1] Auto Anti droping connection
[2] Stronger exception handling.
[challenge] timeout, retrying...
[challenge] timeout, retrying...
[challenge] timeout, retrying...
[challenge] timeout, retrying...
[challenge] timeout, retrying...
[challenge] timeout, retrying...

drcom.conf文件中配置应该是正确的,否则在pc端运行应该会出现问题。不知道shadowsocks的安装是否会对改程序干扰,但并未启用shadowsocks。。刚测试了一下将无线jlu热点作为wan进行拨号,问题依旧。。

@jqk808
Copy link
Author

jqk808 commented Nov 1, 2015

已经成功了。把openwrt降到14.07搞定了(估计是以前安装upnp的时候改了东西导致的),wan口需要固定ip地址以及进行mac地址克隆(wan,wan6)均需配置,最后直接用的nohup守护进程了。话说python真的挺吃设备的,内存直接剩30%了。。。最后感谢大大提供这么给力的东东。

@ly0
Copy link
Owner

ly0 commented Nov 2, 2015

@jqk808 可以尝试用micropython,但是需要折腾一下 @mchome 正在折腾 敬请期待。

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