Chinaunix

标题: pppoe链接出错,帮看看出错信息!谢谢! [打印本页]

作者: heizi_liu    时间: 2008-05-15 11:24
标题: pppoe链接出错,帮看看出错信息!谢谢!
我的设备使用PPPOE链接,链接的时候出现下面的错误信息,这是为什么,帮忙分析一下大侠们!谢谢 !

May 14 19:32:45 localhost pppd[32698]: pppd 2.4.4 started by root, uid 0
May 14 19:32:45 localhost pppd[32698]: sam: new_style_driver:1
May 14 19:32:45 localhost pppd[32698]: using channel 2
May 14 19:32:45 localhost pppd[32698]: Using interface ppp0
May 14 19:32:45 localhost pppd[32698]: Connect: ppp0 <--> /dev/ttyp0
May 14 19:32:46 localhost pppoe[459]: PPP session is 132 (0x84)
May 14 19:32:46 localhost pppoe[459]: Session 132 terminated -- received PADT from peer
May 14 19:32:46 localhost pppoe[459]: Sent PADT
May 14 19:33:16 localhost pppd[32698]: No response to PAP authenticate-requests
May 14 19:33:20 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.4
May 14 19:33:20 localhost dhcpd: Copyright 2004-2006 Internet Systems Consortium.
May 14 19:33:20 localhost dhcpd: All rights reserved.
May 14 19:33:20 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
May 14 19:33:22 localhost pppd[32698]: Connection terminated.
May 14 19:33:22 localhost pppd[32698]: Modem hangup
May 14 19:33:22 localhost pppd[32698]: Exit.
作者: heizi_liu    时间: 2008-05-15 13:23
我分析包,原来服务器需要chap验证,我以前一直搞定pap验证,怎么去改呢!
作者: ssffzz1    时间: 2008-05-15 13:37
配PPPOE文件里不能配吗?
作者: heizi_liu    时间: 2008-05-15 14:23
哎!急了,不知道怎么配置了!
作者: heizi_liu    时间: 2008-05-15 15:15
这么说吧: 通信认证双方选择的认证方法可能不一样,如一方选择PAP,另一方选择CHAP,这时双方的认证协商将失败。为了避免身份认证协议过程中出现这样的失败,可以配置使用两种认证方法。当第一种认证协商失败后,可以选择尝试用另一种身份认证方法,我现在的就是发现如果不是PAP的方式就再也不会尝试CHAP,问题就出在这,不知道咋修改!
作者: C.J    时间: 2008-05-16 08:55
do you  use rp-pppoe server? if that you need just modify pppoe-server-options file which is  under /etc/ppp dir(debian system).

the content in that is same as pppd's options file.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2