Comments (26)
这个是mbed TLS 的library文件,并不是openssl的。你可以考虑编译一个mbedtls。
from openwrt-netkeeper.
谢谢你的回复。我用openwrt编译的SDK编译了mbedtls,然后成功编译出DaoNet,可是在openwrt上面不能运行,只显示not found,我是否遗漏了什么?
from openwrt-netkeeper.
编译的时候是否使用了动态库?
from openwrt-netkeeper.
可以了,原来是我把DaoNet放在了其他目录,放到usr/bin就可以运行了。谢谢
from openwrt-netkeeper.
@Cheukfung 你是怎么编译mbedtls的? 有的是哪个版本哦?
from openwrt-netkeeper.
@whatnamegood 用下载的gcc编译mbedtls,然后放到lib文件夹
from openwrt-netkeeper.
@Cheukfung 怎么用下载GCC编译呢?直接设置环境变量吗?
from openwrt-netkeeper.
[root@localhost DaoNet]# make
mips-openwrt-linux-gcc -o DaoNet main.o frame.o netutils.o netkeeper.o /home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/libmbedcrypto.a -g -Wall -Wimplicit-function-declaration -I /home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/
/home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: /home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/libmbedcrypto.a(aes.o): Relocations in generic ELF (EM: 62)
/home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: /home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/libmbedcrypto.a(aes.o): Relocations in generic ELF (EM: 62)
/home/li/Open/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/libmbedcrypto.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make: *** [DaoNet] 错误 1
[root@localhost DaoNet]#
from openwrt-netkeeper.
这里是说libmbedcrypto.a 文件类型错误 那也就是说编译时没有用到交叉编译的gcc
from openwrt-netkeeper.
@Cheukfung 你好
from openwrt-netkeeper.
@whatnamegood 修改mbedtls下library下的makefile,添加CC=xxxx,xxxx为你下载的gcc路径,然后make就可以了。
from openwrt-netkeeper.
@Cheukfung 谢谢你 我已经成功编译了 可是要怎么使用呢?
root@OpenWrt:# DaoNet#
WARRNING: Support for ShanXi Netkeeper temporary.
Missing arguments.
Usage: daonet [OPTIONS]
Options:
--username, -u: Username.
--password, -p: Password.
--ipaddress, -i: IP Address.
--version, -v: Version.
--aeskey, -k: Aes key.
--interval, -I: Interval.
--target, -t: Target.
--port, -P: Port.
--help, -h: Help.
root@OpenWrt:
这里是要填写其配置文件? 还是要在编译是把账号信息写入到源码在编译? 或者接选项-u -p 然后接参数执行呢?
from openwrt-netkeeper.
直接带参数执行。注意ip地址是你拨号获得的ip
from openwrt-netkeeper.
能给个实例吗?
from openwrt-netkeeper.
from openwrt-netkeeper.
DaoNet -u <宽带账号> -p <密码> -i <你拨号获得的IP地址> -v 2.5.0016v32 -k wanglibinwanglei -I 120 -t 117.21.209.186 -P 443
from openwrt-netkeeper.
谢谢! 这里的-k 的key 是固定吗 是不是各个地区的都不同?
from openwrt-netkeeper.
王立彬王雷?
from openwrt-netkeeper.
root@OpenWrt:# ./daonet.sh# WARRNING: Support for ShanXi Netkeeper temporary.
root@OpenWrt:
INFO: Send packet succeed.
ERROR: Wait for packet timeout.
INFO: Wait 120 seconds.
这样是正常的吗? ERROR: Wait for packet timeout.
from openwrt-netkeeper.
没事,江西没有回复包,正常
from openwrt-netkeeper.
@sunflyer 湖北E信可以使用这个心跳插件吗?需不需要改什么?
from openwrt-netkeeper.
湖北不能
from openwrt-netkeeper.
QAQ 难道只能直接插网线用您的SimpleNetkeeper了吗,湖北地区求救啊
from openwrt-netkeeper.
最快下周出op支持吧,看情况
from openwrt-netkeeper.
多谢!
from openwrt-netkeeper.
您好,请问您有空吗?我想编译一个daonet但是并不会,您能指导一下吗?
from openwrt-netkeeper.
Related Issues (20)
- nk4conf运行出错 HOT 9
- 南昌的netkeeper今天更新了吗 HOT 18
- 湖北飞Young,大佬帮个忙看一下,之前的版本更新了 HOT 1
- 坐标西安,Netkeeper(Vkeeper)使用的是VPN认证,IKEv2认证类型 HOT 4
- 有没有使用软路由的? HOT 4
- 请问重庆地区5.2版本的还能使用吗? HOT 4
- 编译最后一步sh nk4config.sh 的时候断开连接
- 该项目是否能在运行openwrt的树莓派上正常工作? HOT 1
- 南昌NetKeeper
- 不知道现在跟着教程还能不能用
- Openwrt的拦截拨号插件 HOT 1
- 不知软路由可不可以用 HOT 2
- 使用本方法出现被监测设备数问题
- x86 64位 pppd版本2.4.8的插件,需要自取 HOT 8
- 拦截成功,如何添加脚本然后可以进行,断电二次自动拨号 HOT 1
- 请问作者怎么联系你,有个事情想私聊下 HOT 1
- x86-64 pppd版本2.4.9的插件,需要自取(仅编译,未测试) HOT 1
- 重庆nk遇到问题,家人们有没有遇到相同问题的 HOT 3
- 浙江闪讯是不是根本没加密 就纯PPPoE 拨号 HOT 4
- 求一个ppp2.4.9编译运行的so
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt-netkeeper.