Linux--Ubuntu17.10下的测试
NERD-k opened this issue · 3 comments
nerd@ubuntu:/var/log$ cat dogcom.log
[2018/04/03 Tue 00:51:07] [Challenge sent] 0700080001000000
[2018/04/03 Tue 00:51:07] [Challenge recv] 070010000200000093b3d9010a9db530a8ac00004fe416c100000000dc020000
[2018/04/03 Tue 00:51:07] [PPPoE_login sent] 0701600003000000000000000a9db5300062002a93b3d901b8d926e80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[2018/04/03 Tue 00:51:07] [PPPoE_login recv] 07013000040020008ac6d335010000004439d8eda0bc00fd1db082b35b810451b0820060000000000000000000000000
[2018/04/03 Tue 00:51:10] [Keepalive2_file sent] 070028000b010f272f12000000000000000000000000000000000000000000000000000000000000
[2018/04/03 Tue 00:51:10] [Keepalive2_file recv] 070010010b06dc022f12000000000000a8ac00004fe416c100000000dc0200004d5a900003000000
[2018/04/03 Tue 00:51:10] [Keepalive2_A sent] 070128000b01dc022f12000000000000000000000000000000000000000000000000000000000000
[2018/04/03 Tue 00:51:10] [Keepalive2_B recv] 070128000b02dc022f12000000000000b6b3d9010000000000000000000000000000000000000000
[2018/04/03 Tue 00:51:10] [Keepalive2_C sent] 070228000b03dc022f12000000000000b6b3d901000000000000000000000000c72f31017e000000
[2018/04/03 Tue 00:51:10] [Keepalive2_D recv] 070228000b04dc022f12000000000000b6b3d9010000000000000000000000000000000000000000
[2018/04/03 Tue 00:51:10] PPPoE in loop.
请问大神,这是成功了吗?我使用的是Ubuntu17.10
,对于C语言版本的dogcom看不懂啊,没有简介各个文件;还有就是这是在pppoe端输入的帐号和密码吗?
能上网就是成功了,不能就是失败。
dogcom跟drcom-generic一样,不参与拨号,你需要先拨号以获得与验证服务器通讯的机会。
在drcom-generic中的P版的PPPoE拨号中,有这样的一句话。。。
如果你的P版的话,先进行PPPoE拨号,然后再运行心跳。 有一些同学的可能会出现什么691之类的错误,然后拨不上。请这些同学先用wireshark或者tcpdump把登录过程完整的抓起来(方法请自行搜索),接下来进行分析。
那是先执行pppoe-start
再执行./dogcom -m pppoe
,还是先执行./dogcom -m pppoe
再执行pppoe-start
先执行pppoe-start再执行./dogcom -m pppoe